/* --- Typography & Global Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    --gold: #c5a059;
    --dark-bg: #ffffff; /* Changed from black to white */
    --card-bg: #f9f9f9; /* Changed to a very light gray for cards */
    --border: rgba(197, 160, 89, 0.3); /* Slightly increased opacity for visibility on white */
    --text-muted: #555555; /* Changed from light gray to dark gray */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: #000000; /* Changed from white to black */
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px 80px;
    /* Matching the footer background color */
    background: #1a2b4a; 
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.logo {
    color: var(--gold);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a {
    color: #ffffff; /* White text for navigation */
    text-decoration: none;
    margin-left: 40px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s;
}

nav a:hover {
    color: var(--gold); /* Keeps gold as the hover accent */
    font-weight: 700
}


/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f0f0 100%); /* Light gradient */
    position: relative;
    padding: 0 20px;
}

.hero-border-box {
    border: 1px solid var(--border);
    padding: 80px 60px;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
    color: #000; /* Ensure heading is black */
}

.hero .year {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: block;
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 30px;
    font-weight: 700
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.4s;
    font-weight: 700
}

.btn-primary:hover {
    background: var(--gold);
    color: #fff; /* White text on gold background hover looks better */
    font-weight: 700
}

/* --- Section Styling --- */
section {
    padding: 120px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #000;
}

/* Section 1: About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.abstract-pattern {
    height: 300px;
    background: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); /* Lightened pattern */
    border: 1px solid var(--border);
    opacity: 0.5;
}

/* Section 2: Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.05); /* Light dark border */
    text-align: center;
}

.pillar-card p {
    color: var(--text-muted);
}

.pillar-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700
}

/* Section 3: Credibility */
.stats-row {
    display: flex;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.stat-item h2 { 
    font-size: 2.5rem; color: var(--gold); 
    font-weight: 700
}
.stat-item span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

/* --- Footer --- */
footer {
    flex-shrink: 0;
    padding: 80px;
    background: #1a2b4a; /* Matches the header background */
    border-top: 1px solid rgba(2, 255, 255, 0.1);
    color: #ffffff; /* Ensures global footer text is white */
    display: flex;
}

/* Specifically targeting elements within the footer to be white */
.footer-content h4, 
.footer-content p, 
.footer-content nav a,
.copyright,
.footer-box p {
    color: #ffffff !important; 
}

/* Ensuring the gold stays gold in the footer */
.footer-content h3,
.footer-content .gold-text {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

/* Updating footer links to be white but turn gold on hover */
.footer-content nav a {
    text-decoration: none;
    transition: 0.3s;
}

.footer-content nav a:hover {
    color: var(--gold) !important;
    font-weight: 700;
}

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: lineScroll 2s infinite;
}

@keyframes lineScroll {
    0% { transform: translate(-50%, -20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* --- Internal Page Grid System --- */
.grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 150px 40px 100px;
    flex: 1 0 auto;
}

.page-header {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: -1px;
    font-weight: 700
}

/* --- About Page Typography --- */
.lead-text {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    color: #000000; /* Changed from white to black */
    line-height: 1.5;
    margin-bottom: 60px;
    max-width: 900px;
    font-style: italic;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.content-columns p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    text-align: justify;
}

/* --- Nomination CTA Box --- */
.nomination-cta {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 60px;
    text-align: center;
    margin-top: 40px;
}

.nomination-cta h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700
}

.nomination-cta p {
    color: #000; /* Changed from white to black */
    font-weight: 300;
    margin-bottom: 10px;
}

.email-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 700
}

.email-link:hover {
    border-bottom: 1px solid var(--gold);
    letter-spacing: 2px;
    font-weight: 700
}

/* --- Global Footer Fix --- */
.page-footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-box {
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Agenda Page Styles --- */
.agenda-details {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.agenda-item {
    border-left: 1px solid var(--border);
    padding-left: 30px;
    transition: 0.3s;
}

.agenda-item:hover {
    border-left: 1px solid var(--gold);
}

.agenda-item .time {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.agenda-item h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #000; /* Black for light mode */
}

.agenda-item p {
    color: var(--text-muted); /* Dark gray for light mode */
}

.agenda-item ul {
    list-style-type: none; 
    padding-left: 0;
    margin-top: 10px;
    color: var(--text-muted);
}

/* --- Event Page Styles --- */
.event-details {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-item {
    border-left: 1px solid var(--border);
    padding-left: 30px;
    transition: 0.3s;
}

.event-item:hover {
    border-left: 1px solid var(--gold);
}

.event-item .time {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.event-item h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #000; /* Black for light mode */
}

.event-item p {
    color: var(--text-muted); /* Dark gray for light mode */
}

/* --- Gallery Page Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    background: #f0f0f0; /* Changed from dark to light gray */
    border: 1px solid var(--border);
    transition: 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--gold);
    font-weight: 700
}

.gallery-item {
    background-image: radial-gradient(circle, #ddd 1px, transparent 1px); /* Lighter dots */
    background-size: 20px 20px;
}

@media (max-width: 850px) {
    .content-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Winners Page Specific Styles --- */

.winners-section {
    margin-bottom: 80px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.winner-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.winner-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.award-type {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700; /* Bold gold as requested */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.winner-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #000;
}

.organization {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.winner-card .divider {
    margin: 0 0 20px 0; /* Align divider to the left */
    width: 30px;
}

.winner-card .description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* Contact Form Layout */
.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Input Styling to match Winner Cards */
.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.9rem;
    color: #000;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Submit Button styled like your Email Link/CTA */
.submit-btn {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border: 1px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}