/* ===== CSS Variables ===== */
:root {
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --border: #eaeaea;
    --text-dark: #1a1a1a;
    --text-body: #444444;
    --text-muted: #777777;
    --accent: #c8102e;
    --accent-dark: #a00d24;
    --gold: #b89a3e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header .container {
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem !important;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: var(--accent-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a0505 40%, #2a0a0a 60%, #0a0a0a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ===== Countdown ===== */
.countdown-section {
    padding: 70px 0;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 36px 0 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.event-date {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===== About ===== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    margin-top: 30px;
}

.about-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--text-body);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text strong {
    color: var(--text-dark);
}

/* ===== Gallery ===== */
.gallery {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== Why It Matters ===== */
.matters {
    padding: 80px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.matters-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.matters-text p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

/* ===== Symbols ===== */
.symbols {
    padding: 80px 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.symbol-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.symbol-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Route ===== */
.route {
    padding: 80px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.route-content {
    margin-top: 30px;
}

.route-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.route-detail {
    padding: 20px 24px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.route-detail h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 600;
}

.route-detail p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

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

.route-map img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ===== Contact ===== */
.contact {
    padding: 80px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ===== Links Section ===== */
.links-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.link-card {
    display: inline-block;
    padding: 14px 28px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.link-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--accent);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 36px;
    margin-bottom: 8px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .symbols-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .route-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .countdown {
        gap: 24px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .countdown {
        gap: 16px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}
