:root {
    /* Palette */
    --color-bg-main: #f8f9ff;
    --color-bg-alt: #7A8FE8;
    --color-text-accent: #E8E8F0;
    --color-contrast: #1A1A2E;

    /* Typography */
    --font-main: 'Creato Display', 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-contrast);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Countdown Banner */
.countdown-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--color-contrast);
    color: var(--color-text-accent);
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
}

.countdown-timer {
    font-family: monospace;
    font-size: 1rem;
    color: var(--color-bg-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 40px;
    /* Offset by banner height */
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(143, 164, 255, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid var(--color-contrast);
}

.nav-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-contrast);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-contrast);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-contrast);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.5rem;
    background: var(--color-contrast);
    color: var(--color-text-accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section {
    justify-content: space-between;
    padding-top: 8rem;
}

.content-section {
    border-top: 2px solid var(--color-contrast);
}

.alt-bg {
    background-color: var(--color-bg-alt);
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-contrast);
    margin-bottom: 3rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Hero Specifics */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.organizers {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-contrast);
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.sub-header {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-contrast);
    letter-spacing: 0.05em;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
    width: 100%;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-1deg);
    width: 100%;
    max-width: 800px;
    /* Limit width for the SVG */
}

.hero-title-img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    /* Prevent it from taking over the screen */
    display: block;
    filter: drop-shadow(5px 5px 0px var(--color-contrast));
    /* Recreate shadow effect on SVG */
}

.event-date {
    margin-top: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-contrast);
    text-transform: uppercase;
}

.cta-container {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-contrast);
    color: var(--color-text-accent);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid var(--color-contrast);
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-contrast);
}

.scroll-indicator {
    margin-bottom: 2rem;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Content Placeholders */
.content-placeholder {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.6;
    text-align: center;
    border: 2px dashed var(--color-contrast);
    padding: 3rem;
    width: 80%;
    max-width: 600px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-contrast);
    padding: 2rem;
    text-align: center;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.info-card p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

.small-note {
    font-size: 0.9rem !important;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--color-contrast);
    color: var(--color-text-accent);
    padding: 3rem 2rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    width: 60px;
    height: 60px;
    background: white;
    padding: 2px;
}

.ticket-info p {
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    /* Optional: Invert color if SVGs are black and need to be white on footer, 
       but footer bg is dark contrast color, so if SVGs are black they won't show.
       Let's assume SVGs are correct or apply filter if needed. 
       If SVGs are black, we need to invert them for the dark footer.
       The user said "logo drogues: drugs.svg" etc. 
       Let's assume they are black like the poster.
       So we need to invert them to be visible on the dark footer. */
    filter: invert(1);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        display: flex;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 1.5rem;
        justify-content: center;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links a {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .nav-cta {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-bg-main);
    padding: 3rem;
    border: 2px solid var(--color-contrast);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 10px 10px 0px var(--color-contrast);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-contrast);
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.option-btn {
    padding: 1rem 2rem;
    background: var(--color-contrast);
    color: var(--color-text-accent);
    border: 2px solid var(--color-contrast);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
}

.option-btn:hover {
    background: transparent;
    color: var(--color-contrast);
    transform: translateY(-2px);
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reservation Page */
.reservation-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-contrast);
    width: 0%;
    transition: width 0.3s ease;
}

.question-box {
    width: 100%;
    text-align: center;
}

.q-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-contrast);
    color: var(--color-contrast);
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
    text-align: center;
}

.q-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.q-input::placeholder {
    color: rgba(26, 26, 46, 0.5);
}

.summary {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Practical Info */
.practical-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 800px;
}

.info-item {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 2px solid var(--color-contrast);
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.info-item:hover {
    transform: scale(1.05);
    background: var(--color-contrast);
    color: var(--color-text-accent);
}

/* Map */
.map-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 3rem;
    border: 2px solid var(--color-contrast);
    filter: grayscale(100%) contrast(1.2);
}

.map-container iframe {
    display: block;
}

/* New Footer Design */
.footer {
    background-color: var(--color-contrast);
    color: var(--color-text-accent);
    padding: 4rem 2rem 1rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--color-bg-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-text-accent);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

.footer-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Adjust existing icons for new footer */
.footer .icon-circle {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.footer .icon-img {
    filter: invert(1);
}