/* ==========================================================================
   Haia Travel - Master Stylesheet
   Color Palette inspired by the Haia Travel Logo:
   - Deep Navy Blue: #0F2B48
   - Secondary Blue: #193B5E
   - Accent Gold/Sand: #D4A359 / #C8963E
   - Warm Light BG: #FBF9F5
   - White: #FFFFFF
   - WhatsApp Green: #25D366
   ========================================================================== */

:root {
    --primary-navy: #0F2B48;
    --navy-light: #193B5E;
    --navy-dark: #081B2F;
    --accent-gold: #C8963E;
    --accent-gold-hover: #B2822D;
    --accent-gold-light: #F4E8D4;
    --bg-warm: #FBF9F5;
    --bg-light: #FFFFFF;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #F3F4F6;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BA5A;
    --shadow-sm: 0 2px 8px rgba(15, 43, 72, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 43, 72, 0.1);
    --shadow-lg: 0 16px 36px rgba(15, 43, 72, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition-fast: all 0.25s ease;
    --transition-normal: all 0.35s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Caveat', cursive;
}

/* Reset & Global Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Typography & Section Titles */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--primary-navy);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-navy));
    margin: 0.75rem auto 1.25rem auto;
    border-radius: 2px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 43, 72, 0.25);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #FFFFFF;
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 150, 62, 0.35);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: #FFFFFF;
    color: var(--primary-navy);
    border-color: #FFFFFF;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

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

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-navy);
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.3rem 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary-navy);
    font-weight: 600;
}

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

.nav-cta-mobile {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 9rem 0 5rem 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 60%, #204870 100%);
    color: #FFFFFF;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(200, 150, 62, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 150, 62, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.hero-slogan {
    font-family: var(--font-script);
    font-size: 2.3rem;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-card-preview {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transform: perspective(1000px) rotateY(-3deg);
    transition: var(--transition-normal);
}

.hero-card-preview:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

.hero-card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    border: 3px solid var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.hero-card-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.hero-card-inner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Features Bar
   ========================================================================== */
.features-bar {
    background-color: var(--bg-light);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-md);
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.15rem;
}

.feature-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Trips Section
   ========================================================================== */
.trips-section {
    padding: 5rem 0;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.trips-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px dashed #E5E7EB;
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.trips-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.trips-empty p {
    color: var(--text-muted);
}

/* Trip Card Styling */
.trip-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.trip-card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.trip-card:hover .trip-card-img {
    transform: scale(1.06);
}

.trip-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-navy);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-transform: uppercase;
}

.trip-badge-highlight {
    background: var(--accent-gold);
}

.trip-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.trip-destination {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trip-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.trip-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex-grow: 1;
}

.trip-details-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #F3F4F6;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.trip-detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trip-detail-item i {
    color: var(--accent-gold);
}

.trip-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.trip-price-wrapper {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.about-logo-img {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-warm);
}

.about-badge-floating {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--primary-navy);
    color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-left: 4px solid var(--accent-gold);
}

.about-badge-floating .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.about-badge-floating .label {
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-bullets {
    margin-bottom: 2rem;
}

.about-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    color: var(--text-dark);
}

.about-bullets li i {
    color: var(--accent-gold);
    font-size: 1.15rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    color: #FFFFFF;
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.cta-container p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.footer-slogan {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.footer-legajo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #FFFFFF;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-contact-list li, .footer-links li {
    margin-bottom: 0.8rem;
    font-size: 0.92rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-list i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact-list a:hover, .footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.85rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-hover);
    color: #FFFFFF;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-navy);
    color: #FFFFFF;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Responsive Media Queries (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card-preview {
        transform: none;
        max-width: 450px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-bullets li {
        justify-content: center;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2.5rem 1.5rem;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-link {
        font-size: 1.15rem;
        display: block;
        text-align: center;
    }

    .nav-cta-mobile {
        display: block;
        width: 100%;
    }

    .nav-cta-mobile .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-bar {
        margin-top: 0;
        border-radius: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-slogan {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
