:root {
    --main-bg: #f8f5f0;
    --accent: #a0522d;
    --text-dark: #222;
    --text-light: #555;
}

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

@import url("https://fonts.googleapis.com/css2?family=Lexend+Giga:wght@100..900&display=swap");

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lexend Giga", sans-serif;
    font-weight: 200;
    background: var(--main-bg);
    color: var(--text-dark);
}

header {
    position: sticky;
    top: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.logo-name {
    display: flex;
    align-items: center;
}

header img {
    height: 100px;
}

.name {
    margin-left: 10px;
    font-size: 1.5em;
}

.subtitle {
    margin-left: 10px;
    font-weight: 200;
    font-size: 0.8em;
    letter-spacing: 0.25em;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 20px;
    color: var(--text-dark);
    text-decoration: none;
}

nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 4px;
    width: 25px;
    background: var(--text-dark);
    margin: 2px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 5%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    nav a {
        padding: 1em;
    }

    nav.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    header img {
        height: 75px;
    }

    .section {
        scroll-margin-top: 80px;
    }
}

section {
    padding: 50px 10%;
    min-height: 25vh;
    scroll-margin-top: 100px;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("img/top2.webp") center/cover no-repeat;
    background-attachment: center center;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    height: 100vh;
    will-change: background-position;
}

.beta {
    background: url("img/top2.webp") center/cover no-repeat;
    background-attachment: center center;
}

.hero h1 {
    font-size: 5em;
    margin-bottom: 10px;
}

.quote-section {
    background: #fff;
    text-align: center;
}

.quote-section img {
    max-width: 300px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.quote-section blockquote {
    font-size: 1.4em;
    font-style: italic;
    color: var(--text-light);
}

.menu-section {
    text-align: center;
    background: #fefefe;
}

.menu-section p {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 1.2em;
}

.menu-section a.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.menu-section a.button:hover {
    background: #8b4513;
}

.gallery-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 6px;
    background: #fff;
}

.gallery-section img {
    width: 100%;
    border-radius: 6px;
    transition: transform 0.3s;
}

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

.hours-section,
.findus-section,
.insta-section {
    background: #fdfaf5;
    text-align: center;
}

.hours-section h2,
.findus-section h2,
.insta-section h2 {
    margin-bottom: 1em;
}

.hours-section h3 {
    margin-bottom: 0.5em;
}

.hours-section p,
.findus-section p,
.insta-section p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

.findus-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.findus-content>div {
    flex: 1 1 300px;
}

.findus-content a,
.insta-section a {
    position: relative;
    color: var(--accent);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

.findus-content a::after,
.insta-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.findus-content a:hover,
.insta-section a:hover {
    color: #8b4513;
}

.findus-content a:hover::after,
.insta-section a:hover::after {
    transform: scaleX(1);
}

iframe {
    width: 100%;
    min-height: 300px;
    border: none;
    border-radius: 12px;
}

.reveal {
    opacity: 0;
    transform: translateY(100px) scale(0.95);
    transition: all 1s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.footer {
    background: #f8f5f0;
    text-align: center;
    padding: 40px 10%;
    font-size: 0.9em;
    color: var(--text-light);
    border-top: 1px solid #ddd;
}

.footer p {
    margin-bottom: 1em;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--text-light);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

#mentions-legales h2 {
    margin-top: 1em;
}

#mentions-legales h3 {
    margin-top: 1em;
}

#img-big-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

#img-big-div img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    transform: scale(1);
}