:root {
    --bg-color: #80781B;
    /* Deep olive green requested */
    --text-primary: #FAF4E6;
    /* Off-white / Soft cream */
    --text-secondary: rgba(250, 244, 230, 0.7);
    --border-color: rgba(250, 244, 230, 0.2);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Interstate Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegance Fade-in Animation */
.fade-in-container {
    opacity: 0;
    animation: fadeInAudio 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem 4rem;
    /* Reduced top padding to move everything up */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@keyframes fadeInAudio {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Header & Logo */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: -1rem;
    /* Pull slogan closer */
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.logo-wrapper:hover {
    opacity: 1;
}

.main-logo {
    max-width: 100%;
    width: 450px;
    /* Reduced to prioritize text visibility */
    height: auto;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    /* Restored some breathing room */
    padding: 1rem 0;
    /* Reduced padding */
}

.slogan {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    line-height: 1.15;
    font-weight: 400;
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

.subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    /* Adjusted to fit the link below */
}

.main-ig-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-ig-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

.status-badge {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    text-decoration: none;
    margin-bottom: 0.5rem;
    /* Reduced to pull the 'Cocinando' text much closer */
}

.status-badge:hover {
    background-color: rgba(250, 249, 246, 0.05);
    border-color: rgba(250, 249, 246, 0.4);
    color: var(--text-primary);
}

/* Newsletter Form */
.newsletter-wrapper {
    margin-top: 4rem;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.newsletter-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.4s ease;
    padding-bottom: 0.5rem;
}

.newsletter-form:focus-within {
    border-bottom-color: var(--text-primary);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem 0;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    outline: none;
}

.email-input::placeholder {
    color: rgba(250, 249, 246, 0.3);
    font-weight: 300;
}

.submit-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form:focus-within .submit-btn,
.submit-btn:hover {
    color: var(--text-primary);
    transform: translateX(8px);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-msg {
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.footer-msg {
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fade-in-container {
        padding: 2rem;
    }

    .status-badge {
        font-size: 0.7rem;
    }

    .main-content {
        gap: 2rem;
        padding: 2rem 0;
        /* Also decreased this slightly for mobile */
    }

    .slogan {
        white-space: nowrap;
        font-size: 2.2vw;
        /* Use pure viewport width to always fit */
        letter-spacing: 0.05em;
        max-width: 100%;
        margin-left: -5%;
        /* Pull slightly outside normal padding visually */
        margin-right: -5%;
    }

    .newsletter-wrapper {
        margin-top: 2rem;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 2.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }

    .instagram-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .fade-in-container {
        padding: 1.5rem;
    }

    .slogan {
        font-size: 2.2rem;
    }

    .email-input {
        font-size: 1rem;
    }
}