/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-black);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --tertiary-black: #1a1a1a;
    --dark-grey: #2a2a2a;
    --medium-grey: #404040;
    --light-grey: #666666;
    --off-white: #f8f8f8;
    --pure-white: #ffffff;
    --gold-primary: #d4af37;
    --gold-light: #e6c966;
    --gold-dark: #b8941f;
    --gold-accent: #ffd700;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-retro: 'Orbitron', monospace;
    
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-prominent: 0 8px 40px rgba(0, 0, 0, 0.5);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Dark gradient overlay for text readability */
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.85) 0%, 
            rgba(10, 10, 10, 0.75) 30%, 
            rgba(0, 0, 0, 0.6) 60%, 
            rgba(10, 10, 10, 0.8) 100%
        ),
        /* Subtle gold accents */
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        /* Kitchen background image */
        url('https://page.gensparksite.com/v1/base64_upload/26feb663b6980a6f8e47bdff4402bee7');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5% 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo h1 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--pure-white);
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.tagline {
    font-family: var(--font-secondary);
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-bottom: 4rem;
    margin-top: 1rem;
    max-width: 600px;
}

.location-tag {
    font-family: var(--font-secondary);
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), var(--glow-gold);
}

.announcement i {
    color: var(--gold-accent);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
}

.gold-accent {
    color: var(--gold-primary);
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.desktop-break {
    display: none;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    margin-bottom: 4rem;
}

.countdown-label {
    display: none;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 4vw, 2rem);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(26, 26, 26, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 0.8rem;
    min-width: clamp(4rem, 12vw, 5rem);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.time-unit:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.time-number {
    font-family: var(--font-retro);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
}

.time-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 300;
    color: rgba(212, 175, 55, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.time-separator {
    font-family: var(--font-retro);
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    font-weight: 700;
    color: rgba(212, 175, 55, 0.8);
    margin: 0 0.5rem;
    align-self: flex-start;
    margin-top: 0.5rem;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4), 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.1em;
}

/* ===== WAITLIST FORM SECTION ===== */
.waitlist-section {
    width: 100%;
    max-width: 500px;
}

.simple-form-container {
    width: 100%;
}

.minimal-form {
    width: 100%;
}

.email-input-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.email-input-container:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.email-input-container input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--pure-white);
    font-size: 1rem;
    font-weight: 300;
    outline: none;
}

.email-input-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.minimal-submit-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.minimal-submit-btn:hover {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
}

.minimal-submit-btn i {
    font-size: 0.9rem;
}

.simple-form-container {
    width: 100%;
}



.success-message {
    display: none;
    text-align: center;
    color: var(--pure-white);
    padding: 2rem 0;
}

.success-message.show {
    display: block;
}

.success-message i {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-right: 0.5rem;
}

.success-message h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}



/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--medium-grey);
    padding: 2rem 0 1rem;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: var(--light-grey);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-info a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.address {
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-grey);
    border: 1px solid var(--medium-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-grey);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold-primary);
    color: var(--primary-black);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-grey);
}

.footer-bottom p {
    color: var(--light-grey);
    font-size: 0.8rem;
}

/* ===== BACKGROUND RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .background-overlay {
        background-attachment: scroll; /* Better performance on mobile */
        background-position: center top;
    }
}

@media (min-width: 1200px) {
    .background-overlay {
        background-position: center center;
    }
}

/* Subtle parallax effect for desktop */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .background-overlay {
        background-attachment: fixed;
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    .main-content {
        padding: 5% 1rem 1rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-separator {
        display: none;
    }
    
    .email-input-container {
        flex-direction: column;
    }
    
    .minimal-submit-btn {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }
}

/* Tablet (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .main-content {
        padding: 5% 1.5rem 1.5rem;
    }
}

/* Desktop (769px and up) */
@media (min-width: 769px) {
    .main-content {
        padding: 5% 2rem 2rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .countdown {
        gap: 2rem;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Apply animations on load */
.header {
    animation: fadeInUp 0.8s ease-out;
}

.hero {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.countdown-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.waitlist-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --light-grey: #cccccc;
        --medium-grey: #888888;
    }
}