/* 
   Ulala Adventures - Premium Design System
   Colors:
   - Primary: #1b3d2f (Dark Green)
   - Secondary: #4a8c6f (Muted Green)
   - Accent: #ffbb00 (Gold/Yellow)
   - Background: #f9fbf9 (Light grayish green)
   - Text: #222222 (Dark Gray)
*/

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

:root {
    --primary: #1b3d2f;
    --primary-light: #2c5e48;
    --archive-green: #6ea22d; /* Brighter green from screenshot */
    --accent: #ffbb00;
    --bg-light: #f9fbf9;
    --text-dark: #111111;
    --text-muted: #555555;
    --white: #ffffff;
    --sky: #87ceeb;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Playfair Display', serif;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

/* Header & Nav */
.top-bar {
    background: var(--primary); /* Sophisticated dark green */
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar .info a {
    color: var(--white);
    text-decoration: none;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.top-bar .info a:hover {
    color: var(--archive-green);
}

.top-bar .info a i {
    text-decoration: none;
}

.top-bar .socials {
    display: flex;
    gap: 15px;
}

.top-bar .socials a {
    color: var(--white);
    font-size: 1rem;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.scrolled {
    padding: 5px 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 70px;
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 35px;
    margin-left: auto;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
    display: block;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--archive-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 25px;
}

header.scrolled .nav-links a {
    color: var(--archive-green);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--archive-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--archive-green);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(27, 61, 47, 0.7), rgba(27, 61, 47, 0.7)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.sub-hero {
    height: 40vh;
    background: linear-gradient(rgba(27, 61, 47, 0.8), rgba(27, 61, 47, 0.8)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.sub-hero h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}



/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top: 3px solid var(--archive-green);
    padding: 10px 0;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 12px 25px;
    display: block;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    color: var(--primary) !important;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(110, 162, 45, 0.05);
    padding-left: 30px;
}

header.scrolled .dropdown-menu a {
    color: var(--primary) !important; /* Green links on scroll */
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 25px;
}

.nav-links .dropdown a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Sections */
section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.2rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.dham-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

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

.card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    text-align: center;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--archive-green);
    color: var(--white);
    border-radius: 5px; /* Archive has slightly squared corners */
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Feature Row */
.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.feature-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--accent);
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-content .tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.blue-section {
    background: var(--sky);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--archive-green);
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary); /* Green on scroll */
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        padding: 100px 20px 40px;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 20px;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        color: var(--white) !important;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        display: none;
        margin-top: 10px;
        width: 100%;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 30px;
        font-size: 1rem;
    }

    .feature-row { flex-direction: column; }
    .feature-img { box-shadow: 10px 10px 0 var(--accent); }
}
