/* =========================================
   THE EVENING BITES
   Shared stylesheet — Elegant & Modern
========================================= */

:root {
    --maroon: #741D26;
    --maroon-dark: #54131B;
    --gold: #D9912B;
    --gold-light: #E8BD78;
    --ivory: #FFF9EF;
    --cream: #F5E6C9;
    --text: #342725;
    --muted: #766965;
    --white: #FFFFFF;

    --container: 1180px;
    --radius: 14px;
    --shadow: 0 12px 35px rgba(84, 19, 27, 0.10);
}

/* Reset and base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 85px 0;
}

/* Header and navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 249, 239, 0.97);
    border-bottom: 1px solid rgba(116, 29, 38, 0.12);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--maroon-dark);
    font-size: 22px;
    font-weight: bold;
}

.brand-symbol {
    color: var(--gold);
    font-size: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:not(.button) {
    transition: color 0.25s ease;
}

.nav-links a:not(.button):hover {
    color: var(--gold);
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 23px;
    color: var(--white);
    background: var(--maroon);
    border: 1px solid var(--maroon);
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    background: var(--maroon-dark);
    border-color: var(--maroon-dark);
    transform: translateY(-2px);
}

.button-outline {
    color: var(--maroon);
    background: transparent;
    border-color: var(--maroon);
}

.button-outline:hover {
    color: var(--white);
    background: var(--maroon);
}

/* Homepage hero */

.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 85px 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 45%, rgba(217, 145, 43, 0.20), transparent 50%),
        linear-gradient(120deg, var(--ivory), var(--cream));
}

.hero-content {
    max-width: var(--container);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--maroon-dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.12;
}

.hero p:not(.eyebrow) {
    max-width: 610px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

/* Section headings */

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2,
.contact-section h2 {
    margin: 0 0 12px;
    color: var(--maroon-dark);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
}

.section-heading p {
    color: var(--muted);
}

/* Service cards */

.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    padding: 32px 27px;
    background: var(--ivory);
    border: 1px solid rgba(116, 29, 38, 0.10);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(84, 19, 27, 0.16);
}

.service-icon {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 38px;
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--maroon-dark);
    font-size: 24px;
}

.service-card p {
    color: var(--muted);
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--maroon);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

/* Call to action */

.cta-section {
    padding: 75px 0;
    color: var(--white);
    background: var(--maroon-dark);
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 15px;
    font-size: clamp(30px, 4vw, 44px);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
}

.cta-section .button {
    margin-top: 15px;
    color: var(--maroon-dark);
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.cta-section .button:hover {
    background: var(--white);
    border-color: var(--white);
}

/* Contact */

.contact-section {
    padding: 65px 0;
    text-align: center;
}

/* Footer */

.site-footer {
    padding: 35px 0;
    color: var(--ivory);
    background: #351016;
    text-align: center;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* Accessible entrance animation */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fade-up 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive layout */

@media (max-width: 900px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 60px 0;
    }

    .navbar {
        gap: 12px;
    }

    .brand {
        font-size: 19px;
    }

    .nav-links {
        gap: 12px 16px;
        font-size: 13px;
    }

    .hero {
        min-height: 490px;
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 26px 22px;
    }
}
