/* =========================
   COLOR VARIABLES
   ========================= */
:root {
    --primary: #f2c94c;
    --primary-dark: #d4a73f;
    --accent: #b46b4e;

    --text-main: #eaeaea;
    --text-subtle: #ccc;
    --text-inverse: #000;

    --bg-body: #1a1a1a;
    --bg-topbar: #111;
    --bg-navbar: #222;
    --bg-footer: #111;

    --hero-filter: brightness(45%);

    --menu-text: #dcdcdc;

    --outline-color: #b46b4e;
}

/* =========================
   FONTS
   ========================= */

/* fraunces-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/fraunces-v38-latin-500.woff2') format('woff2');
}

/* fraunces-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/fraunces-v38-latin-600.woff2') format('woff2');
}

/* fraunces-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/fraunces-v38-latin-700.woff2') format('woff2');
}

/* lato-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lato-v25-latin-regular.woff2') format('woff2');
}


/* =========================
   GENERAL STYLE
   ========================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.8;
}

h1,
h2 {
    font-family: "Fraunces", serif;
    font-weight: 600;
    letter-spacing: 0.4px;
}

a {
    text-decoration: none;
    color: inherit;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--outline-color);
    outline-offset: 3px;
    border-radius: 6px;
}

img,
svg {
    user-select: none;
}


/* =========================
   TOP CONTACT BAR
   ========================= */
.top-contact {
    background-color: var(--bg-topbar);
    color: var(--text-subtle);
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.top-contact .item {
    white-space: nowrap;
}

.top-contact .separator {
    color: var(--text-subtle);
}


/* =========================
   NAVBAR
   ========================= */
.navbar {
    background-color: var(--bg-navbar);
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 2rem;
    font-family: "Fraunces", serif;
}

.navbar h1 {
    margin: 1rem 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar a {
    font-size: 1.3rem;
    background-color: transparent;
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}


/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    text-align: center;
    color: var(--text-main);
    overflow: hidden;
    padding: 0;
}

.hero-img {
    width: 100%;
    height: 80vh;
    height: 80dvh;
    object-fit: cover;
    filter: var(--hero-filter);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cta {
    color: var(--primary);
    font-weight: 700;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    white-space: nowrap;
}


/* =========================
   SECTIONS
   ========================= */
section {
    padding: 4rem 1.5rem;
    text-align: center;
}

h2 {
    color: var(--primary);
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
}


/* =========================
   MENU SECTION
   ========================= */
.menu p {
    font-size: 1.3rem;
    color: var(--menu-text);
    margin-bottom: 2rem;
}

.menu-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.menu-container iframe {
    width: 95%;
    max-width: 1100px;
    height: 1000px;
    border: none;
}

.menu-download {
    display: none;
}


/* =========================
   GALLERY
   ========================= */
.galerie {
    margin: 0;
    width: 100%;
    padding: 0;
}

.galerie h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    word-wrap: break-word;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* =========================
   MAP SECTION
   ========================= */
.map-section {
    margin: 0;
    padding: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: none;
}


/* =========================
   FOOTER
   ========================= */
footer {
    background-color: var(--bg-footer);
    color: var(--text-subtle);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.footer-contact .item {
    white-space: nowrap;
}

.footer-contact .separator {
    color: var(--text-subtle);
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .menu-container iframe {
        height: 600px;
    }

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

@media (max-width: 600px) {
    .top-contact {
        flex-direction: column;
        gap: 0.2rem;
    }

    .top-contact .separator {
        display: none;
    }

    .menu-container iframe {
        display: none;
    }

    .menu-download {
        display: inline-block;
        margin-top: 1rem;
        background-color: var(--primary);
        color: var(--text-inverse);
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.2rem;
    }

    .footer-contact .separator {
        display: none;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }

    .navbar a {
        padding: 0.4rem 0.8rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}


/* =========================================================
   HOVER BEHAVIOR ONLY ON DEVICES THAT SUPPORT HOVER
   ========================================================= */
@media (hover: hover) and (pointer: fine) {

    .navbar a:hover {
        background-color: var(--primary);
        color: var(--text-inverse);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    .menu-download:hover {
        background-color: #fff;
        color: var(--text-inverse);
    }
}
