:root {
    --bg-color: #fdfaf6;
    --text-color: #2d241e;
    --text-light: #5e4f44;
    --primary: #a04a2c;
    /* Terracotta */
    --primary-dark: #7a3821;
    --secondary: #d48a3d;
    /* Ochre */
    --accent: #1d4d4f;
    /* Deep Teal */
    --accent-light: #2a6d70;
    --gold: #c5a059;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(45, 36, 30, 0.85);
    --container-width: 1200px;
    --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;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    padding: 1rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    /* Bright white for better contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Shadow for readability on images */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
    /* Ochre for active state */
}

header.scrolled .nav-links a {
    color: var(--text-color);
    /* Dark text on white scrolled header */
    text-shadow: none;
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(160, 74, 44, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

/* Accent highlight card */
.event-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.event-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(160, 74, 44, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Activities */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary);
}

.activity-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Quote */
.pz-quote {
    text-align: center;
    padding: 4rem;
    position: relative;
    background: white;
    border-radius: 30px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.pz-quote p {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 2rem;
}

.pz-quote cite {
    font-weight: 600;
    font-style: normal;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Sponsor CTA Block */
.glass-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    color: white;
    padding: 5rem;
    border-radius: 30px;
}

/* Footer */
footer {
    background: #1a1614;
    color: #a59c94;
    padding: 80px 0 30px;
}

footer .logo {
    color: white;
    margin-bottom: 1rem;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

/* Page Hero */
.page-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Light background section */
.light-bg {
    background-color: #f7f2ed;
}

.text-center {
    text-align: center;
}

.narrow {
    max-width: 800px;
}

.nav-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .event-card-large {
        grid-template-columns: 1fr;
    }

    .event-image {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
