/* ==========================================================================
   De Ton Classic — Elegant Vintage Theme
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
    --color-cream: #FAF8F5;
    --color-cream-dark: #F2EDE6;
    --color-burgundy: #7A2D3A;
    --color-burgundy-light: #9B4050;
    --color-gold: #B89A5A;
    --color-gold-light: #D4BE82;
    --color-dark: #2A2521;
    --color-dark-warm: #3A3430;
    --color-text: #4A423C;
    --color-text-light: #8A7F75;
    --color-white: #FFFFFF;
    --color-border: #E2DBD2;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(26, 23, 20, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 23, 20, 0.1);
    --shadow-lg: 0 8px 30px rgba(26, 23, 20, 0.12);
    --shadow-xl: 0 20px 60px rgba(26, 23, 20, 0.15);

    --radius: 4px;
    --radius-lg: 8px;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-burgundy); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--color-gold); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
    font-weight: 600;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
.site-header {
    background: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(42, 37, 33, 0.15);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo img {
    height: 55px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
}

.main-nav a {
    color: var(--color-cream);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-gold-light);
}

/* Nav CTA button */
.main-nav a.nav-cta {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    align-self: center;
}

.main-nav a.btn-outline {
    color: var(--color-gold-light);
    border-color: rgba(184, 154, 90, 0.4);
}

.main-nav a.btn-outline:hover {
    color: var(--color-white);
    background: rgba(184, 154, 90, 0.15);
    border-color: var(--color-gold-light);
}

.main-nav a.btn-outline::after {
    display: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-cream);
    margin: 6px 0;
    transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
    background: var(--color-cream);
    padding: 4rem 0 3rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-banner-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-photo {
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.hero-photo:hover {
    transform: rotate(0.5deg);
}

.hero-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 3/2;
    border: 6px solid var(--color-white);
    box-shadow: 0 8px 30px rgba(42, 37, 33, 0.2), 0 2px 8px rgba(42, 37, 33, 0.1);
}

/* Hero outline button on light bg */
.hero-btn-outline {
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.hero-btn-outline:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-burgundy);
    margin-bottom: 2rem;
}

.hero-date .location {
    display: block;
    font-size: 1rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-weight: 400;
    margin-top: 0.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
}

.btn-primary:hover {
    background: var(--color-burgundy-light);
    border-color: var(--color-burgundy-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold-light);
    border-color: rgba(184, 154, 90, 0.5);
}

.btn-outline:hover {
    background: rgba(184, 154, 90, 0.15);
    color: var(--color-white);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Decorative Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    color: var(--color-gold);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--color-border);
}

.divider-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* --- Section Styles --- */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--color-dark-warm);
    color: var(--color-cream);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-cream);
}

.section-alt {
    background: var(--color-cream-dark);
}

/* Smooth transitions between sections */
.section + .section-alt,
.section + .section-dark,
.section-alt + .section,
.section-alt + .section-dark {
    border-top: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header .subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,23,20,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Sponsor Carousel --- */
.sponsors-section {
    padding: 4rem 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.sponsor-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.sponsor-track {
    display: flex;
    animation: scroll-sponsors 80s linear infinite;
    width: max-content;
}

.sponsor-track:hover {
    animation-play-state: paused;
}

.sponsor-item {
    flex: 0 0 auto;
    width: 240px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    filter: grayscale(30%);
}

.sponsor-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Sponsors Page Grid --- */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.sponsor-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.sponsor-card:hover {
    box-shadow: 0 4px 20px rgba(42, 37, 33, 0.1);
    transform: translateY(-2px);
}

.sponsor-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sponsor-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 600;
}

@keyframes scroll-sponsors {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Page Content --- */
.page-hero {
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L30 0 L60 30 L30 60Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--color-dark-warm) 0%, #443B36 50%, var(--color-dark-warm) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold) 30%, var(--color-gold) 70%, transparent);
    opacity: 0.4;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero .subtitle {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
}

.page-content {
    padding: 4rem 0;
}

.page-content .content-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h3 {
    margin: 2rem 0 0.75rem;
    color: var(--color-burgundy);
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul {
    margin: 0.5rem 0 1.5rem 1.5rem;
}

.page-content ul li {
    margin-bottom: 0.4rem;
}

/* --- Timeline --- */
.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item .time {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-burgundy);
    min-width: 130px;
    white-space: nowrap;
}

.timeline-item .desc {
    font-size: 1.05rem;
}

/* --- Registration Form --- */
.form-section {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--color-burgundy);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A6F66' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    accent-color: var(--color-burgundy);
    width: 18px;
    height: 18px;
}

/* Klasse picker cards */
.klasse-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}
.klasse-card {
    cursor: pointer;
    position: relative;
}
.klasse-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.klasse-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.2rem;
    border: 2px solid var(--color-cream-dark);
    border-radius: 10px;
    background: var(--color-white);
    transition: all 0.25s ease;
}
.klasse-card:hover .klasse-card-inner {
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(184, 154, 90, 0.12);
}
.klasse-card input:checked + .klasse-card-inner {
    border-color: var(--color-burgundy);
    background: linear-gradient(135deg, rgba(122, 45, 58, 0.04), rgba(184, 154, 90, 0.06));
    box-shadow: 0 4px 20px rgba(122, 45, 58, 0.15);
}
.klasse-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.klasse-card:first-child .klasse-icon {
    color: var(--color-gold);
}
.klasse-card:last-child .klasse-icon {
    color: var(--color-burgundy);
}
.klasse-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}
.klasse-desc {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.4;
}
@media (max-width: 480px) {
    .klasse-picker {
        grid-template-columns: 1fr;
    }
}

.form-help {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.3rem;
}

.form-price-summary {
    background: var(--color-cream-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
}

.form-price-summary h3 {
    margin: 0 0 1rem;
    color: var(--color-dark);
    font-size: 1.2rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
    border-top: 2px solid var(--color-burgundy);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-burgundy);
}

.bank-info {
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.bank-info p {
    margin: 0;
}

.bank-info .account {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.05em;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* --- Info Boxes --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--color-white);
    border: 1px solid rgba(226, 219, 210, 0.5);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    margin-bottom: 1rem;
    color: var(--color-burgundy);
}

.info-card-icon svg {
    width: 48px;
    height: 48px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-bar {
    background: var(--color-dark-warm);
    padding: 2rem 0;
}

.contact-bar .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-cream);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--color-gold-light);
}

.contact-item a:hover {
    color: var(--color-gold);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-dark);
    color: rgba(250, 248, 245, 0.5);
    padding: 3rem 0 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-org {
    color: var(--color-cream);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.footer-address {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    opacity: 0.6;
}

.footer-crafted {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.footer-crafted:hover {
    opacity: 0.9;
}
.crafted-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}
.crafted-link:hover {
    color: var(--color-gold-light);
}
.crafted-logo {
    height: 14px;
    width: auto;
}
.crafted-logo-iworx {
    height: 16px;
}
.crafted-logo-cloudz {
    height: 13px;
}
.crafted-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

/* --- Flash Messages --- */
.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-weight: 500;
}

.flash-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.flash-error {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ffccbc;
}

/* --- Registration Closed Banner --- */
.registration-closed {
    background: var(--color-cream-dark);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.registration-closed h3 {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
    }

    .main-nav a.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-photo {
        order: 1;
        transform: rotate(0deg);
    }

    .hero-banner-img {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }

    .section {
        padding: 3rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 4rem 0 2rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .timeline-item .time {
        min-width: auto;
    }

    /* Sponsor carousel — smaller items on mobile */
    .sponsor-item {
        width: 160px;
        height: 90px;
        padding: 0.8rem 1.2rem;
    }

    /* Contact bar — stack vertically */
    .contact-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Footer links — wrap on mobile */
    .footer-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.2rem;
        justify-content: center;
    }

    /* Footer crafted — stack on very small */
    .footer-crafted {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    /* Info grid single column on mobile */
    .info-grid {
        grid-template-columns: 1fr;
    }

    /* Sponsors page grid */
    .sponsors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .sponsor-item {
        width: 140px;
        height: 80px;
        padding: 0.6rem 1rem;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 0.5rem;
}
