/* ========================================
   Custom Fonts
   ======================================== */

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

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    letter-spacing: 0.05rem;
}

body {
    font-family: 'Antic Didone', serif;
    color: #FFF7E4;
    overflow-x: hidden;
    min-height: 100vh;
    max-height: 100vh;
}

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

/* ========================================
   Background Slideshow
   ======================================== */

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark overlay for text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: relative;
    max-height: 96px;
    padding: 1.5rem 2rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(16px);
    border-style: outset;
    border-width: 0px 0px 1px 0px;
    border-color: #FFF7E4;
    display: flex;
    align-items: center;
}

.nav-container {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    position: relative;
    font-family: 'JaneAust', cursive;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
}

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

.nav-menu a {
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFF7E4;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #FFF7E4;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-family: 'JaneAust', cursive;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* ========================================
   Event Details
   ======================================== */

.event-details {
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    max-width: 590px;
}

.venue-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

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

/* ========================================
   Countdown & CTA Container
   ======================================== */

.countdown-cta-container {
    display: flex;
    max-width: 640px;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

/* ========================================
   Countdown Timer
   ======================================== */

.countdown {
    display: inline-flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    justify-content: center;
    border: 0.5px solid #fff7e42c;
}

.countdown-item {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.countdown-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: 2px;
}

.countdown-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    text-transform: capitalize;
}

/* ========================================
   CTA Button
   ======================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid #FFF7E4;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: #FFF7E4;
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 247, 228, 0.3);
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Mobile: Default styles (< 768px) */
/* Container padding set to 1rem in base styles */


/* mobile: 768px and under */
@media (max-width: 768px) {

    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar{
        padding: 2rem 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    ul.nav-menu#navMenu {
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    }
}


/* Tablet: 768px and up */
@media (min-width: 768px) {

    .event-details {
        margin-bottom: 4rem;
    }

    .hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .navbar {
        padding: 2rem 3rem;
    }

    .hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-content {
        max-width: 11200px;
    }

    .nav-menu {
        gap: 3rem;
    }

    .nav-menu a {
        font-size: 1.125rem;
    }
}
