/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Ocean & Earth Tones */
    --primary-color: #2C5F6F;
    --primary-light: #3A7A8D;
    --primary-dark: #1F4452;
    --accent-color: #D4A574;
    --accent-light: #E6C7A0;
    --text-dark: #1A2E35;
    --text-light: #5A7B8A;
    --bg-light: #F8FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5EAED;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.3rem var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 70px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2C5F6F 0%, #3A7A8D 100%);
    background-image: 
        linear-gradient(135deg, rgba(44, 95, 111, 0.85) 0%, rgba(58, 122, 141, 0.85) 100%),
        url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
    color: var(--accent-light);
    display: block;
    font-weight: 400;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-light);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

/* ========================================
   Animations
   ======================================== */

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

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

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   Value Proposition Section
   ======================================== */

.value-proposition {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition-normal);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.value-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Brand Section
   ======================================== */

.brand-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.brand-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
}

.brand-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-dark);
    font-weight: 500;
}

.brand-feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.brand-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.brand-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.brand-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Offers Section with Scroll Animation
   ======================================== */

.offers-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.offers-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    position: relative;
}

.offers-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem 0;
}

.offer-item {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    opacity: 0.4;
    transition: all var(--transition-normal);
    cursor: pointer;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-item.active {
    opacity: 1;
    background: white;
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.offer-item:hover {
    opacity: 0.7;
}

.offer-item.active:hover {
    opacity: 1;
}

.offer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.offer-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.offer-details {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.offer-duration,
.offer-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.offer-duration i,
.offer-price i {
    color: var(--accent-color);
}

/* Gallery Section */
.offers-gallery {
    position: relative;
    height: 100%;
    align-self: stretch;
}

.gallery-sticky {
    position: sticky;
    top: 120px;
    height: 70vh;
    max-height: 700px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image.active {
    opacity: 1;
    z-index: 2;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   Destinations Section
   ======================================== */

.destinations {
    padding: var(--spacing-xl) 0;
    background: white;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.destination-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: var(--transition-normal);
}

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

.destination-card:hover .destination-overlay {
    background: linear-gradient(to top, rgba(44, 95, 111, 0.95), rgba(44, 95, 111, 0.7));
}

.destination-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.destination-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--accent-light);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn {
    background: white;
    color: var(--primary-color);
    padding: 2rem 3rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-md);
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn i {
    font-size: 3rem;
    color: #25D366;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
}

.whatsapp-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.contact-note {
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* ========================================
   Social Media Section
   ======================================== */

.social-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-light);
    text-align: center;
}

.social-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.social-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    color: white;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link i {
    font-size: 1.5rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo img {
    height: 90px;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-info {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-made {
    margin-top: 0.5rem;
}

.footer-made i {
    color: #FF6B6B;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

/* ========================================
   Floating WhatsApp Button
   ======================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-md);
        gap: 1.5rem;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .brand-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .brand-image {
        order: -1;
    }
    
    .brand-image img {
        height: 350px;
    }
    
    .brand-features {
        grid-template-columns: 1fr;
    }
    
    .offers-wrapper {
        grid-template-columns: 1fr;
    }
    
    .offers-gallery {
        height: 400px;
        order: -1;
    }
    
    .gallery-sticky {
        height: 300px;
        top: 80px;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .destination-card {
        height: 350px;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero {
        height: 100svh;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .whatsapp-btn {
        padding: 1.5rem 2rem;
    }
    
    .whatsapp-btn i {
        font-size: 2.5rem;
    }
    
    .whatsapp-title {
        font-size: 1.5rem;
    }
    
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ========================================
   Accessibility & Focus States
   ======================================== */

a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .nav,
    .floating-whatsapp,
    .hero-scroll,
    .social-section {
        display: none;
    }
    
    .hero {
        background-attachment: scroll;
        height: auto;
        min-height: 0;
        padding: 4rem 0;
    }
}
