:root {
    --primary: #0ea5e9;
    /* Sky Blue */
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    /* Deep Navy */
    --accent: #f59e0b;
    /* Golden Sand */
    --ocean-gradient: linear-gradient(135deg, #0ea5e9 0%, #2dd4bf 100%);
    --deep-ocean: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f0f9ff;
    /* Very Light Blue */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgba(14, 165, 233, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(14, 165, 233, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    padding: 0.8rem 0;
    transition: all 0.4s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo i {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(14, 165, 233, 0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 50px;
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.flag-icon:hover,
.flag-icon.active-flag {
    opacity: 1;
    transform: scale(1.15);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a i {
    display: none;
    /* Hide icons on desktop */
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-primary {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    .nav-links a i {
        display: block;
        /* Show icons on mobile */
        font-size: 1.3rem;
        color: var(--primary);
    }

    .nav-links a {
        width: 100%;
        padding: 0.8rem 2.5rem;
        justify-content: flex-start;
        font-size: 1.15rem;
        border-bottom: 1px solid rgba(14, 165, 233, 0.05);
    }
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background: var(--ocean-gradient);
    color: var(--white) !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(14, 165, 233, 0.6);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--ocean-gradient);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.tour-info {
    padding: 1.5rem;
}

.tour-loc {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Section Styling */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--ocean-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ocean-gradient);
    border-radius: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Tour Cards & Grid */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(14, 165, 233, 0.05);
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.tour-image {
    position: relative;
    height: 280px;
    width: 100%;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    line-height: 1.3;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.tour-price {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.tour-price span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--deep-ocean);
    color: var(--white);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--ocean-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #cbd5e1;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #20ba5a;
}

.wa-callout {
    position: absolute;
    right: 80px;
    background: white;
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    pointer-events: none;
    animation: bounceLR 2s infinite;
}

.wa-callout::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

@keyframes bounceLR {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }

    .wa-callout {
        display: none;
        /* Hide callout on small mobile for space */
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1100px) {
    .nav-toggle {
        display: block;
        color: var(--secondary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .stats .tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Specific for about & contact pages with grid columns */
    .container[style*="grid-template-columns: 2fr 1fr"],
    .container[style*="grid-template-columns: 1fr 1.5fr"],
    .container[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .booking-sidebar {
        order: -1;
    }

    .booking-card {
        position: static !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn-primary {
        padding: 0.7rem 1.5rem;
        width: 100%;
    }

    .stats .tour-grid {
        grid-template-columns: 1fr;
    }
}