/* 
========================================================================
   XURY 369 - Premium Landing Page Design System
   Vanilla CSS with Custom Tokens & Glassmorphism
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-bg-darkest: #05070c;
    --color-bg-dark: #0c0f17;
    --color-bg-card: rgba(15, 23, 42, 0.55);
    
    --color-gold: #c5a059;
    --color-gold-hover: #e0be7d;
    --color-gold-light: rgba(197, 160, 89, 0.15);
    
    --color-text-white: #f8fafc;
    --color-text-gray: #94a3b8;
    --color-text-dark: #475569;
    
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Borders & Shadow */
    --border-glass: 1px solid rgba(255, 255, 255, 0.05);
    --border-glass-top: 1px solid rgba(255, 255, 255, 0.12);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-gold-glow: 0 0 25px rgba(197, 160, 89, 0.25);
    
    /* Layout */
    --max-width: 1200px;
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    color: var(--color-text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.15;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    font-weight: 300;
}

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

ul {
    list-style: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(197, 160, 89, 0.15); }
    50% { box-shadow: 0 0 35px rgba(197, 160, 89, 0.35); }
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

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

.accent-gold {
    color: var(--color-gold);
}

.glass-panel {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-top: var(--border-glass-top);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(197, 160, 89, 0.3);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-darkest);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--color-success);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-whatsapp:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
    padding: 3rem 0;
    border-bottom: 2px solid var(--color-gold); /* Gold line always visible */
}

header.scrolled {
    background: rgba(5, 7, 12, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-gold);
    padding: 1.2rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px; /* Taller logo for maximum visibility */
    object-fit: contain;
    transition: height 0.4s ease;
}

header.scrolled .logo img {
    height: 56px; /* Scales down gracefully when scrolled */
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
        border-bottom: 2px solid var(--color-gold); /* Solid gold line on mobile */
    }
    header.scrolled {
        padding: 1rem 0;
    }
    .logo img {
        height: 54px;
    }
    header.scrolled .logo img {
        height: 46px;
    }
    .hero {
        padding-top: 120px;
    }
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover {
    transform: scale(1.1);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggle {
    font-size: 2.2rem !important; /* Match visual weight and height of navigation buttons */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.lang-toggle:hover {
    transform: scale(1.25) !important;
}

.menu-toggle {
    display: none;
    color: var(--color-text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(12, 15, 23, 0.3) 0%, rgba(5, 7, 12, 0.95) 100%);
    padding-top: 180px;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.05);
    filter: brightness(0.7) contrast(1.1);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 7, 12, 0.4) 0%, var(--color-bg-darkest) 100%);
}

.hero-content {
    max-width: 680px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-gray);
    max-width: 600px;
}

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

/* Stats / Features Banner */
.features-banner {
    padding: 4rem 0;
    background: var(--color-bg-dark);
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon-wrapper {
    background: var(--color-gold-light);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    padding: 0.9rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.feature-text h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.feature-text p {
    font-size: 0.9rem;
}

/* Services Section */
.services-header {
    max-width: 650px;
    margin: 0 auto 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon-box {
    color: var(--color-gold);
    margin-bottom: 1.75rem;
}

.service-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-info p {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    font-weight: 300;
}

/* Fleet Section */
.fleet {
    background-color: var(--color-bg-dark);
    position: relative;
}

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

@media (max-width: 991px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

.fleet-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fleet-card:hover {
    transform: translateY(-6px);
}

@media (min-width: 992px) {
    .fleet-card:nth-child(3n+1):last-child {
        grid-column: 2;
    }
}

.fleet-img-box {
    width: 100%;
    height: 220px;
    background: #111;
    overflow: hidden;
    position: relative;
    border-bottom: var(--border-glass);
}

.fleet-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card:hover .fleet-img-box img {
    transform: scale(1.08);
}

.fleet-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(5, 7, 12, 0.85);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
}

.fleet-details {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fleet-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.fleet-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.25rem 0 1.75rem;
}

.fleet-feature-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-gray);
}

.fleet-feature-tag i {
    color: var(--color-gold);
}

/* Stepper / How to Book Section */
.stepper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 5rem;
}

.step-card {
    padding: 3rem 2rem;
    position: relative;
}

.step-num {
    position: absolute;
    top: -2rem;
    left: 2rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, #a4813f 100%);
    border-radius: 50%;
    color: var(--color-bg-darkest);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-card p {
    font-size: 0.9rem;
}

/* Contact Section & Cards */
.contact-section {
    background-color: var(--color-bg-darkest);
}

.contact-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-header h2 {
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--color-text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-card-premium {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.contact-card-premium .contact-method-icon {
    width: 4rem;
    height: 4rem;
    background: var(--color-gold-light);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-card-premium:hover .contact-method-icon {
    transform: scale(1.1);
}

.contact-card-premium h4 {
    color: var(--color-text-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-card-premium p {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-gold);
    margin: 0;
}

.contact-card-premium span {
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

/* Footer styling */
footer {
    background-color: #030408;
    border-top: var(--border-glass);
    padding: 4rem 0 2.5rem;
    color: var(--color-text-dark);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 36px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--color-gold);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }
    .section-padding { padding: 6rem 0; }
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-dark);
        border-left: var(--border-glass);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        z-index: 99;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-controls {
        display: flex;
        gap: 0.5rem;
    }
    
    .nav-controls .btn-whatsapp {
        display: none; /* Hide header WhatsApp button on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .contact-card-premium {
        padding: 2.5rem 1.5rem;
    }
}
