/* =========================================
   1. VARIABLES & THEMES
   ========================================= */
:root {
    --bg: #faf9f6;          /* Ivory */
    --card-bg: #ffffff;     /* Pure White */
    --text: #1a1a1a;        /* Pitch Black */
    --text-dim: #636366;    /* Deep Slate */
    --accent: #b08d26;      /* Muted Bronze */
    --accent-hover: #8c6d1d;
    --border: #e5e5e5;      /* Silk Grey */
    --side-padding: 8%;     /* Global Alignment Rail */
}

[data-theme="light"] {
--bg: #0d0d0d;          /* Obsidian Black */
    --card-bg: #151515;     /* Soft Onyx */
    --text: #ffffff;        /* Crisp White */
    --text-dim: #a1a1a1;    /* Concrete Grey */
    --accent: #d4af37;      /* Champagne Gold */
    --accent-hover: #f9e295;/* Brilliant Gold */
    --border: #262626;      /* Dark Graphite */



    
}

/* =========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    transition: background 0.3s ease;
    overflow-x: hidden;
}

/* Unified Alignment for all Major Containers */
.hero-container, 
.main-content, 
.footer-container,
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 1.2rem var(--side-padding); 
    background: rgba(var(--bg), 0.8);
    backdrop-filter: blur(15px); 
    z-index: 1000; 
    border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.nav-name1 { margin-right: 5px; font-weight: 700; }
.nav-name { color: var(--accent); font-weight: 700; }

.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; margin-right: 15px;
    overflow: hidden; border-radius: 8px; background: #fff;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.logo-icon img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dim); transition: 0.3s; font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
}

.bar { width: 25px; height: 3px; background-color: var(--text); transition: 0.3s; border-radius: 2px; }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background: var(--bg); display: flex; justify-content: center; align-items: center;
    z-index: 1500; transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.mobile-overlay.active { right: 0; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-nav-links li { margin: 2rem 0; }
.mobile-nav-links a { text-decoration: none; color: var(--text); font-size: 2rem; font-weight: 700; text-transform: uppercase; }

/* =========================================
   4. COMPONENTS & BUTTONS
   ========================================= */
.btn-animate {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #000; padding: 0.8rem 1.8rem; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; border: none; cursor: pointer;
    text-decoration: none; display: inline-block; transition: 0.3s;
    animation: pulse-gold 2s infinite;
}

.btn-animate:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4); color: #fff; }

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0px rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0px rgba(212, 175, 55, 0); }
}

.theme-btn {
    background: var(--card-bg); border: 1px solid var(--border);
    color: var(--text); width: 45px; height: 45px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-split { padding: 140px 0 60px; }

.hero-container {
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 4rem; 
    align-items: center;
}

.hero-text h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { color: var(--text-dim); font-size: 1.1rem; margin: 1.5rem 0 2.5rem; }

.hero-image img {
    width: 100%; border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* =========================================
   6. MAIN CONTENT SECTIONS
   ========================================= */
.section { padding: 4rem 0; }
.section-title { color: var(--accent); margin-bottom: 2rem; font-size: 2rem; }
.collection { padding: 2rem 0 1rem; color: var(--text); }

/* Gallery Masonry */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 15px;
}

.gallery-masonry div { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-masonry img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-masonry img:hover { transform: scale(1.05); }
.tall { grid-row: span 2; }

/* Awards */
.awards-container { display: flex; flex-direction: column; gap: 1.5rem; }
.award-card {
    background: var(--card-bg); padding: 1.5rem 2rem;
    border-radius: 15px; border: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; gap: 1rem; }
input, textarea { 
    background: var(--card-bg); border: 1px solid var(--border); 
    padding: 1rem; color: var(--text); border-radius: 8px; width: 100%; 
}
textarea { min-height: 150px; }

/* =========================================
   7. FOOTER
   ========================================= */
.main-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand .footer-tagline { margin-top: 1.5rem; color: var(--text-dim); font-size: 0.95rem; }

.footer-links h4, .footer-social h4 {
    color: var(--accent); font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 1.5rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { text-decoration: none; color: var(--text-dim); transition: 0.3s; }
.footer-links a:hover { color: var(--text); padding-left: 5px; }

.footer-social p { margin-bottom: 0.5rem; color: var(--text-dim); font-size: 0.9rem; }

.footer-bottom {
    padding-top: 2rem; margin-top: 4rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-dim);
}

/* =========================================
   8. UNIFIED MOBILE MEDIA QUERY (768px)
   ========================================= */
@media (max-width: 768px) {
    :root { --side-padding: 5%; }

    /* Nav */
    .nav-links, .nav-right .btn-animate { display: none; }
    .menu-toggle { display: flex; }
    .navbar { padding: 1rem var(--side-padding); }
    .logo-icon { width: 40px; height: 40px; }

    /* Hero: 2-Column Split */
    .hero-split { padding: 100px 0 40px; }
    .hero-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
        text-align: left;
    }
    .hero-text h1 { font-size: 1.6rem !important; }
    .hero-text p { font-size: 0.8rem !important; margin-bottom: 1.5rem; }
    .btn-animate { padding: 0.6rem 1.2rem; font-size: 0.75rem; }

    /* Gallery: 2-Column Grid */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 180px !important;
        gap: 10px !important;
    }
    .tall { grid-row: span 1 !important; }

    /* Footer: 2-Column Split */
    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem 1rem !important;
    }
    .footer-brand { 
        grid-column: span 2; 
        text-align: center; 
        border-bottom: 1px solid var(--border);
        padding-bottom: 2rem;
    }
    .footer-brand .footer-tagline { margin: 1rem auto 0; }

    /* Common Stacking for Cards/Forms */
    .award-card, .form-group, .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem;
    }
}

/* Extra small fixes */
@media (max-width: 480px) {
    .hero-container { gap: 1rem !important; }
    .hero-text h1 { font-size: 1.3rem !important; }
}



/* Bio Glass Container */
.bio-container {
    background: rgba(255, 255, 255, 0.03); /* Very light transparent white */
    backdrop-filter: blur(10px);          /* Adds a premium frosted glass effect */
    border: 1px solid var(--border);      /* Matches your card borders */
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Light Mode Adjustment */
[data-theme="light"] .bio-container {
    background: rgba(0, 0, 0, 0.02);      /* Very light transparent dark */
}

/* Mobile Tweak for the Bio Container */
@media (max-width: 768px) {
    .bio-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .bio {
        font-size: 0.95rem; /* Slightly smaller text for better mobile fit */
    }
}


/* Bio Glass Container */
.bio-container {
    background: rgba(255, 255, 255, 0.03); /* Subtle transparent layer */
    backdrop-filter: blur(10px);          /* Frosted glass effect */
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

/* Enhancing the Bio Text and Bolding */
.bio {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bio strong {
    color: var(--accent); /* Highlights your key points in Gold */
    font-weight: 700;
}

/* Light Mode Adjustment */
[data-theme="light"] .bio-container {
    background: rgba(0, 0, 0, 0.02);
}

/* Mobile Alignment */
@media (max-width: 768px) {
    .bio-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    .bio {
        font-size: 0.95rem;
        text-align: left; /* Better readability on small screens */
    }
}