/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: Georgia, "Times New Roman", serif;
    background: #f4eadc;
    color: #2b1d14;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
}

/* HEADER */
header {
    background: #2b1d14;
    padding: 22px 0;
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #d9a441;
    font-size: 28px;
    font-weight: bold;
}

nav a {
    color: #f4eadc;
    text-decoration: none;
    margin-left: 25px;
}

nav a:hover {
    color: #d9a441;
}

/* HERO */
 .hero {
    position: relative;
    min-height: 680px;
    padding: 90px 0;
    background: #2b1d14;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 22%, rgba(25, 16, 10, .55), rgba(25, 16, 10, .1) 65%, transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
    text-align: center;
}

.hero-content h1,
.hero-content p {
    max-width: 600px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
}

/* BUTTON */
.button {
    display: inline-block;
    background: #b87333;
    color: white;
    text-decoration: none;
    padding: 15px 34px;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 12px 28px rgba(43, 29, 20, 0.25);
}

.button:hover {
    background: #d48a3a;
}

/* STORY */
.story-box {
    max-width: 800px;
    text-align: center;
}

.story-box p {
    font-size: 21px;
    color: #5b4636;
}

/* MENU */
#menu {
    background: #fff8ee;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.menu-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    border-top: 5px solid #b87333;
    box-shadow: 0 14px 35px rgba(43, 29, 20, 0.09);
}

.menu-card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(43, 29, 20, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.atmosphere-subtitle {
    text-align: center;
    font-size: 24px;
    color: #5b4636;
    margin-bottom: 40px;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
}

/* VISIT */
#visit {
    background: #2b1d14;
    color: white;
    text-align: center;
    padding: 50px 0;
}

.visit-box p {
    margin-bottom: 10px;
    color: #f4eadc;
}

.visit-box .button {
    margin-top: 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.contact-item {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 18px;
}

.contact-item h3 {
    color: #d9a441;
    margin-bottom: 12px;
}

.contact-item p {
    color: #f4eadc;
    margin-bottom: 5px;
}

/* FOOTER */
footer {
    background: #1d130d;
    color: #f4eadc;
    text-align: center;
    padding: 35px 20px;
}

footer p:first-child {
    color: #d9a441;
    font-size: 24px;
    margin-bottom: 8px;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: min(92%, 100% - 28px);
        max-width: 100%;
        margin: 0 auto;
    }

    section {
        padding: 56px 0;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .header-content {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .logo {
        font-size: 25px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    nav a {
        margin: 0;
    }

    .hero {
        min-height: 560px;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 52px);
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 19px;
    }

    .button {
        max-width: 100%;
        padding: 14px 26px;
        text-align: center;
        white-space: normal;
    }

    .story-box p {
        font-size: 18px;
    }

    .menu-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .menu-card {
        padding: 28px 24px;
    }

    .gallery-item img {
        height: 300px;
    }

    #visit {
        padding: 56px 0;
    }

    .visit-box {
        width: min(92%, 100% - 28px);
        max-width: 100%;
    }

    .contact-grid {
        width: 100%;
        gap: 16px;
        margin: 28px 0;
    }

    .contact-item {
        width: 100%;
        min-width: 0;
        padding: 24px 18px;
        overflow-wrap: anywhere;
    }

    .contact-item h3 {
        font-size: 23px;
    }

    .contact-item p {
        font-size: 18px;
    }

    .visit-box .button {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin: 25px auto 0;
    }
}

@media (max-width: 420px) {
    .container,
    .visit-box {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 38px;
    }

    .gallery-item img {
        height: 240px;
    }
}

/* Keep the complete scene visible on small screens: Sofia and the cat both fit. */
@media (max-width: 768px) {
    .hero {
        min-height: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-image {
        position: static;
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
    .hero::after { display: none; }
    .hero-content {
        padding: 30px 0 38px;
        max-width: 100%;
    }
    .hero-content h1, .hero-content p { max-width: 100%; }
}
