@font-face {
    font-family: 'Bebas Neue';
    src: url('./fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Literata BdIt';
    src: url('./fonts/Literata_18pt-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Literata';
    src: url('./fonts/Literata-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #FFEB99;
    /* Yellow/Gold */
    --color-background: #312916;
    /* Dark Brown */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--color-background);
    color: var(--color-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ================================
   Hero Section
   ================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    /* Better fit for mobile Safari */
    /* Full screen height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg-image {
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 200px);
    /* 50px top + 150px bottom */
    /* Overlaps into the info section */
    object-fit: cover;
    z-index: 1;
    /* Behind content */
    overflow: hidden;
}

/* ================================
   Navigation Bar
   ================================ */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 50;
    /* Above all content */
}

.nav-logo {
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

.countdown-container {
    font-family: 'Bebas Neue', serif;
    font-size: 1rem;
    display: flex;
    gap: .3rem;
    align-items: baseline;
    color: var(--color-primary);
}

.countdown-text {
    font-family: 'Bebas Neue', serif;
    font-size: 1rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

#days-count {
    font-family: 'Bebas Neue', serif;
    font-size: 1rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* In front of image */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    /* Optional: background blur/overlay for better reading, skipped per default unless required */
}

.hero-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Literata BdIt', serif;
    font-weight: normal;
    font-style: normal;
    font-size: 64px;
    line-height: 1.2;
    max-width: 800px;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}

.hero-subtitle {
    font-family: 'Literata BdIt', serif;
    font-weight: normal;
    font-style: normal;
    font-size: 48px;
    letter-spacing: 3px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    /* allow wrapping on thin mobile screens */
}

.btn-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-primary);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-text {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-info:hover {
    background-color: rgba(255, 235, 153, 0.1);
    transform: translateY(-3px);
}

.btn-ticket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 235, 153, 0.2);
}

.btn-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 235, 153, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ================================
   Info Section (Dark background by default from body)
   ================================ */
.info-section {
    position: relative;
    z-index: 2;
    /* Keep above hero image overflow */
    width: 100%;
    max-width: 900px;
    margin: 150px auto 0 auto;
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
}

.info-section p {
    font-family: 'Literata', serif;
    font-size: 32px;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;

    @media (max-width: 1200px) {
        font-size: 28px;
    }

    @media (max-width: 768px) {
        font-size: 24px;
    }

    @media (max-width: 425px) {
        font-size: 16px;
    }
}

/* ================================
   Details Section (Yellow background)
   ================================ */
.details-section {
    background-color: var(--color-primary);
    color: var(--color-background);
    width: 100%;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

/* DJ Cards Grid */
.dj-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.dj-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.dj-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    text-align: left;
}

.img-container {
    width: 100%;
    aspect-ratio: 2 / 3;
    /* Make it a square container */
    background-color: black;
    border-radius: 8px;
    /* Optional, soften edges */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Info Grid (Infos, Tickets, Kontakt) */
.info-grid {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(49, 41, 22, 0.1);
    /* subtle border matching dark color */
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row h4 {
    flex: 0 0 200px;
    /* Fixed width for labels */
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-row p,
.info-row .text-link {
    font-family: 'Literata', serif;
    flex: 1;
    font-size: 24px;
    line-height: 1.5;
    text-align: right;
    font-weight: 500;

    @media (max-width: 1200px) {
        font-size: 24px;
    }

    @media (max-width: 768px) {
        font-size: 20px;
    }

    @media (max-width: 425px) {
        font-size: 16px;
    }
}

.text-link {
    color: var(--color-background);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.text-link:hover {
    opacity: 0.7;
}

/* ================================
   Footer
   ================================ */
.footer {
    width: 100%;
    background-color: var(--color-background);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;

}

.footer-left {
    opacity: 0.8;
    font-family: 'Literata', serif;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    font-family: 'Literata', serif;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-divider {
    color: var(--color-primary);
    opacity: 0.3;
}

/* ================================
   Responsive adjustments
   ================================ */
@media (max-width: 768px) {
    .logo {
        max-width: 180px;
    }

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

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

    .info-section {
        padding: 4rem 1.5rem;
    }

    .info-section h3 {
        font-size: 2rem;
    }

    .details-section {
        padding: 4rem 1.5rem;
        gap: 4rem;
    }

    .dj-container {
        gap: 3rem;
    }

    .info-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .info-row h4 {
        flex: none;
        text-align: center;
    }

    .info-row p,
    .info-row .text-link {
        text-align: center;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}