/* ===== CSS Variables ===== */
:root {
    --color-primary: #9f885e;
    --color-primary-dark: #7a6a4a;
    --color-bg: #faf6ec;
    --color-text: #5c4f3a;
    --color-white: #ffffff;
    --color-cream: #f5f0e6;
    --shadow-soft: 0 4px 20px rgba(159, 136, 94, 0.15);
    --shadow-medium: 0 8px 30px rgba(159, 136, 94, 0.2);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    font-family: 'Playfair Display', serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    line-height: 1.6;
}

/* ===== Container ===== */
.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

/* ===== Logo ===== */
.logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

img.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(159, 136, 94, 0.2));
    transition: var(--transition);
}

img.logo:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 24px rgba(159, 136, 94, 0.3));
}

/* ===== Promo Text / Slogan Rotator ===== */
.promo-section {
    text-align: center;
    min-height: 2rem;
}

#promo_text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    transition: opacity 1s ease-in-out;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

/* ===== CTA Button ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem 2.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-bg);
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

/* ===== Description ===== */
.description {
    text-align: center;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.description p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    opacity: 0.9;
}

/* ===== Divider ===== */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0.5rem auto;
}

/* ===== Social / Contact ===== */
.social {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-primary);
    opacity: 0.6;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        padding: 1rem;
    }

    img.logo {
        max-width: 220px;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1.05rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    #promo_text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    img.logo {
        max-width: 180px;
    }

    .container {
        gap: 1.25rem;
    }

    .description {
        gap: 1rem;
    }
}

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

/* ===== Utility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}