/* ===== Variables de Color según Manual de Marca ===== */
:root {
    --color-primary: #016D77;
    --color-secondary: #D96D46;
    --color-accent-1: #83C4BE;
    --color-accent-2: #76BAD1;
    --color-accent-3: #FFC2AD;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
}

/* ===== Reset y Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== Navbar ===== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 60px;
    width: auto;
}

.nav-link {
    color: var(--color-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-2) 100%);
    background-image: 
        linear-gradient(rgba(1, 109, 119, 0.85), rgba(1, 109, 119, 0.85)),
        url('/placeholder.svg?height=1080&width=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 109, 119, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-logo img {
    max-width: 250px;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c25935;
    border-color: #c25935;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 109, 70, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ===== Text Utilities ===== */
.text-accent {
    color: var(--color-secondary);
}

/* ===== About Section ===== */
.section-about {
    background-color: white;
}

.about-image-container {
    position: relative;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent-1);
    border-radius: 10px;
    z-index: -1;
}

.signature {
    padding: 20px;
    background: var(--color-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 5px;
}

/* ===== Service Cards ===== */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 109, 119, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* ===== Why Choose Us Section ===== */
.section-why {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-accent-2) 100%);
    color: var(--color-dark);
}

.why-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent-3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.why-card h3 {
    color: var(--color-primary);
}

/* ===== Destinations Gallery ===== */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(1, 109, 119, 0.95), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.destination-card:hover .destination-overlay {
    padding-bottom: 2rem;
}

.destination-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.destination-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* ===== Contact Section ===== */
.section-contact {
    background-color: white;
}

.contact-form .form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(1, 109, 119, 0.15);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--color-light);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

.social-links .social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links .social-link:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
footer {
    background: var(--color-dark) !important;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo img {
        max-width: 200px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .logo {
        height: 50px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .about-image-container::before {
        display: none;
    }
    
    .destination-card {
        height: 250px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Section Spacing ===== */
section {
    scroll-margin-top: 80px;
}