/* ========================================= */
/* --- COLOR PALETTE & VARIABLES --- */
/* ========================================= */
:root {
    --burgundy-deep: #250314;
    --burgundy-main: #3b0922;
    --burgundy-light: #520c2f;
    --burgundy-bright: #701140;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa771c;
    --vintage-paper: #f7ede2;
    --text-light: #ffffff;
    --text-dark: #1f0311;
    --white: #ffffff;
    --glass-bg: rgba(37, 3, 20, 0.85);
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
}

/* ========================================= */
/* --- GLOBAL STYLES --- */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--burgundy-deep);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ========================================= */
/* --- NAVIGATION --- */
/* ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(25, 2, 13, 0.95);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-logo {
    height: 60px; 
    width: 60px;  
    border-radius: 50%;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}

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

/* ========================================= */
/* --- HERO SECTION --- */
/* ========================================= */
.hero {
    /* Use a background gradient that mimics the brush paint texture depth */
    background: radial-gradient(circle at center, rgba(112, 17, 64, 0.4) 0%, rgba(37, 3, 20, 0.95) 70%, rgba(20, 1, 10, 1) 100%), 
                linear-gradient(135deg, rgba(82, 12, 47, 0.8) 0%, rgba(37, 3, 20, 0.9) 100%);
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.gold-border-box.hero-box {
    position: relative;
    padding: 80px 60px; 
    text-align: center;
    background: var(--glass-bg);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.2);
    max-width: 950px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
}

/* Elegant glowing corners animation */
.gold-border-box.hero-box::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), transparent 30%, transparent 70%, var(--gold-light)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    animation: goldGlow 6s infinite alternate;
}

@keyframes goldGlow {
    0% { opacity: 0.7; filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5)); }
    100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.9)); }
}

.hero-box-inner-content {
    position: relative;
    z-index: 2; 
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--gold);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.edition {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--gold-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.theme-box {
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 25px 15px;
    margin: 0 auto 35px;
    max-width: 650px;
    background: rgba(27, 3, 14, 0.6);
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.theme-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.theme-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 1px;
}

.dates {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 35px;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold) !important;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--gold-gradient);
    color: var(--text-dark) !important;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

/* ========================================= */
/* --- ABOUT SECTION --- */
/* ========================================= */
.about-section {
    padding: 80px 20px;
    background-color: rgba(25, 2, 13, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.5);
}

.intro-box {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.intro-text-highlight {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    color: var(--gold-light);
    line-height: 1.8;
    margin-bottom: 45px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.intro-card {
    background: rgba(37, 3, 20, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.intro-card-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: inline-block;
}

.intro-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .intro-text-highlight {
        font-size: 1.25rem;
        margin-bottom: 25px;
    }
}

/* ========================================= */
/* --- WHY DELHI (VINTAGE LETTER) --- */
/* ========================================= */
.vintage-section {
    background-color: var(--vintage-paper);
    color: var(--text-dark);
    padding: 90px 20px;
    position: relative;
}

.letter-style {
    background-color: #ffffff;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--burgundy-main);
    border-radius: 4px;
    max-width: 850px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--burgundy-main);
    margin-bottom: 5px;
    text-align: center;
}

.signature {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.letter-style p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2b2b2b;
}

.highlight-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--burgundy-main);
    font-weight: 700;
    text-align: center;
    margin-top: 40px !important;
    line-height: 1.8;
}

/* ========================================= */
/* --- COMMITTEES (HANGING FRAMES) --- */
/* ========================================= */
.committees-section {
    padding: 90px 20px;
    background-color: var(--burgundy-deep);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.gold-text {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.section-subtitle {
    color: var(--gold-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.hanging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hanging-item {
    position: relative;
    text-align: center;
    transform-origin: 50% 5px; 
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hanging-item:hover {
    animation: gentleSwing 1.5s ease-in-out forwards;
}

@keyframes gentleSwing {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(3deg); }
    40% { transform: rotate(-2deg); }
    60% { transform: rotate(1deg); }
    80% { transform: rotate(-0.5deg); }
    100% { transform: rotate(0deg); }
}

.hanging-wires {
    width: 100%;
    height: 60px;
    display: block;
    margin: 0 auto;
}

.frame-card {
    background: linear-gradient(145deg, var(--burgundy-main), #1d0310);
    border: 3px solid var(--gold);
    border-radius: 6px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
    margin-top: -5px; 
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hanging-item:hover .frame-card {
    border-color: var(--gold-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.25);
}

.frame-image-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 30px 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px; 
}

.frame-icon {
    font-size: 3.5rem;
    color: var(--gold-light);
    opacity: 0.85;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease, color 0.3s ease;
}

.hanging-item:hover .frame-icon {
    transform: scale(1.1);
    color: var(--gold);
    opacity: 1;
}

.frame-content {
    padding: 25px 20px;
    color: var(--vintage-paper);
}

.frame-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.reveal-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.6s ease, margin-top 0.4s ease;
}

/* Auto-reveal on hover */
.hanging-item:hover .reveal-text {
    max-height: 300px; 
    opacity: 1;
    margin-top: 15px;
}

.committee-level {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.agenda {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9); 
}

/* ========================================= */
/* --- FOOTER --- */
/* ========================================= */
footer {
    background-color: rgba(18, 1, 9, 0.98);
    border-top: 4px solid var(--gold);
    color: var(--vintage-paper);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px; 
    margin: 0 auto;
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    text-align: center;
    align-items: center;
}

.footer-col h3 { 
    font-family: 'Cinzel', serif; 
    color: var(--gold); 
    margin-bottom: 15px; 
}

.footer-col a { 
    color: rgba(247, 237, 226, 0.8); 
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright { 
    text-align: center; 
    margin-top: 50px; 
    font-size: 12px; 
    opacity: 0.6; 
}

/* Dev Slab (Terminal) */
.dev-slab {
    background-color: #0d0107; 
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    text-align: left;
    display: inline-block;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.dev-slab .cmd { color: var(--gold); font-weight: bold; }
.dev-slab a { color: #38bdf8 !important; }
.dev-slab a:hover { text-decoration: underline; }

.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--gold);
    vertical-align: middle;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================================= */
/* --- RESPONSIVE MEDIA QUERIES --- */
/* ========================================= */

/* Tablet Landscape / Small Desktops */
@media (max-width: 992px) {
    .hanging-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablets Portrait & Large Phones */
@media (max-width: 768px) {
    /* Navbar */
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Hero */
    .hero {
        padding: 40px 15px;
    }
    .gold-border-box.hero-box {
        padding: 45px 25px;
    }
    .main-title { font-size: 2.6rem; }
    .edition { font-size: 1.1rem; }
    .theme-box h3 { font-size: 1.6rem; }
    .theme-box p { font-size: 1rem; }
    .dates { font-size: 1.3rem; }

    /* About */
    .intro-text { font-size: 1.15rem; }

    /* Vintage Letter */
    .vintage-section { padding: 40px 15px; }
    .letter-style { padding: 30px 20px; }
    .section-title { font-size: 1.9rem; }
    .highlight-text { font-size: 1.15rem; }

    /* Committees */
    .hanging-grid { grid-template-columns: 1fr; gap: 30px; }
    .gold-text { font-size: 2.2rem; }
    .frame-card { width: 100%; max-width: 400px; }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .main-title { font-size: 2rem; letter-spacing: 1px; }
    .nav-logo { height: 50px; width: 50px; }
    .cta-button { padding: 12px 25px; font-size: 0.95rem; }
}
