/* ===== Base & Typography ===== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f1eb;
    color: #3a3a3a;
    margin: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #2c2c2c;
}

h1:focus {
    outline: none;
    box-shadow: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #51A547;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* ===== Section Alternation ===== */

.section-alt {
    background-color: #f4f1eb;
}

.section-white {
    background-color: #fff;
}

/* ===== Navbar ===== */

.navbar-custom {
    font-size: 1.1rem;
    background-color: #f4f1eb;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1030;
}

@media (min-width: 992px) {
    .navbar-custom .container-fluid {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .navbar-left {
        justify-self: start;
    }

    .navbar-center {
        justify-self: center;
        margin: 0 !important;
    }

    .navbar-right {
        justify-self: end;
    }
}

.navbar-custom .navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c !important;
}

.header-logo {
    height: 55px;
    width: auto;
}

.navbar-custom .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #3a3a3a !important;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 2px solid transparent;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #51A547 !important;
    border-bottom-color: #51A547;
    text-decoration: none;
}

/* ===== Hero ===== */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    background: #1a1a1a;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 5 photos + a copy of the first appended for a seamless loop = 6 panels */
.hero-track {
    display: flex;
    width: 600%;
    height: 100%;
    animation: heroSlide 30s infinite;
}

.hero-track img {
    flex: 0 0 16.6667%;
    width: 16.6667%;
    height: 100%;
    object-fit: cover;
}

/* Hold each photo ~4s, then slide ~1s to the next (6s per panel) */
@keyframes heroSlide {
    0%,     13.33% { transform: translateX(0); }
    16.66%, 30%    { transform: translateX(-16.6667%); }
    33.33%, 46.66% { transform: translateX(-33.3333%); }
    50%,    63.33% { transform: translateX(-50%); }
    66.66%, 80%    { transform: translateX(-66.6667%); }
    83.33%, 100%   { transform: translateX(-83.3333%); }
}

/* Respect users who prefer no motion: show the first photo, no sliding */
@media (prefers-reduced-motion: reduce) {
    .hero-track {
        animation: none;
        transform: translateX(0);
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-btn-container {
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
}

/* ===== Hero Welcome (below video) ===== */

.hero-welcome {
    background-color: #f4f1eb;
}

.hero-welcome .hero-title {
    color: #2c2c2c;
    text-shadow: none;
}

.hero-welcome .hero-subtitle {
    color: #3a3a3a;
    text-shadow: none;
    opacity: 1;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.92;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.btn-cta {
    background-color: #51A547;
    color: #fff;
    border: 2px solid #51A547;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
    background-color: #439038;
    border-color: #439038;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== Menu Cards ===== */

.menu-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.menu-card-header {
    background: #51A547;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
}

.menu-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-card-list li {
    padding: 0.7rem 1.25rem;
    border-bottom: 1px solid #eae7e0;
    font-size: 0.95rem;
}

.menu-card-list li:last-child {
    border-bottom: none;
}

/* ===== Pricing Cards ===== */

.pricing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pricing-card-header {
    background: #3d3d3d;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
}

.pricing-card-children .pricing-card-header {
    background: #51A547;
}

.pricing-card-header-green {
    background: #51A547;
}

.pricing-card-body {
    padding: 0.5rem 0;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #eae7e0;
    font-size: 0.95rem;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-amount {
    font-weight: 600;
    color: #51A547;
    white-space: nowrap;
}

.pricing-free {
    color: #51A547;
    font-weight: 700;
}

/* ===== Opening Hours ===== */

.hours-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 400px;
    width: 100%;
}

.hours-icon {
    font-size: 2.5rem;
    color: #51A547;
}

.hours-days {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
}

.hours-time {
    font-size: 1.8rem;
    font-weight: 700;
    color: #51A547;
    letter-spacing: 0.02em;
}

.hours-divider {
    width: 60px;
    margin: 1rem auto;
    border-color: #d8d3cb;
    opacity: 1;
}

.hours-closed {
    color: #999;
    font-size: 0.9rem;
}

/* ===== Gallery ===== */

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */

.site-footer {
    background-color: #1e1e1e;
    color: #d9d9d9;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-tagline {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-address a {
    color: #d9d9d9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a:hover {
    color: #51A547;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #999;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .hero {
        min-height: 55vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hours-card {
        padding: 2rem 1.5rem;
    }

    .hours-time {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.6rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 50vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .pricing-row {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
