/* =====================================================
   VIRU BEER - HOLDING PAGE STYLES
   Based on Viru Brand Visual Identity Guidelines
   ===================================================== */

/* Brand Fonts - Brandon Family */
@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_light_it.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_reg_it.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_med.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_bld.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_bld_it.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Brandon';
    src: url('../assets/fonts/Brandon_blk.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* =====================================================
   CSS VARIABLES - VIRU BRAND COLOURS
   ===================================================== */
:root {
    /* Primary Blues */
    --viru-blue: #154993;
    --viru-dark-blue: #183A7E;
    --viru-light-blue: #00549C;

    /* Gold */
    --viru-gold: #D6BD76;
    --viru-dark-gold: #AD9657;

    /* Accents */
    --viru-red: #C1001F;
    --viru-black: #000000;
    --viru-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Brandon', Arial, sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--viru-white);
    background-color: var(--viru-dark-blue);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =====================================================
   HOLDING PAGE LAYOUT
   ===================================================== */
.holding-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Background Beams - Art Deco Style */
.background-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/Viru_background_beams.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Gradient overlay for depth */
.background-beams::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--viru-black) 0%, transparent 100%);
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    z-index: 1;
}

/* Slogan - Beautiful Beer */
.slogan {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--viru-white);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Bottle Image */
.bottle-container {
    margin: 1rem 0 2rem;
}

.bottle-image {
    max-height: 350px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Coming Soon Section */
.coming-soon {
    margin-bottom: 2rem;
}

.coming-soon h2 {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--viru-white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.coming-soon p {
    font-weight: 300;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Newsletter Section */
.newsletter {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.newsletter-text {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--viru-gold);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 400;
    border: 2px solid var(--viru-gold);
    border-right: none;
    background: rgba(0, 0, 0, 0.3);
    color: var(--viru-white);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--viru-white);
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--viru-gold);
    color: var(--viru-dark-blue);
    border: 2px solid var(--viru-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--viru-white);
    border-color: var(--viru-white);
}

/* Product Description */
.product-description {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--viru-gold);
    margin-top: 1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    width: 100%;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer .age-gate {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--viru-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--viru-white);
}

.footer-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
    .slogan {
        font-size: 2rem;
        letter-spacing: 0.3em;
    }

    .bottle-image {
        max-height: 280px;
    }

    .coming-soon h2 {
        font-size: 1.4rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input[type="email"] {
        border-right: 2px solid var(--viru-gold);
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem;
    }

    .slogan {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .bottle-image {
        max-height: 220px;
    }

    .coming-soon h2 {
        font-size: 1.2rem;
    }

    .coming-soon p {
        font-size: 1rem;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

/* Slogan - slow fade in over 3 seconds */
@keyframes slowFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Bottle - drop from top */
@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-100vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Standard fade in for other elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slogan: fade in slowly over 3 seconds */
.slogan {
    opacity: 0;
    animation: slowFadeIn 3s ease-out forwards;
}

/* Bottle: drop from top after 2 second delay */
.bottle-container {
    opacity: 0;
    animation: dropIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 2s;
}

/* Other elements fade in after bottle lands */
.coming-soon,
.newsletter {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.coming-soon {
    animation-delay: 3.2s;
}

.newsletter {
    animation-delay: 3.5s;
}
