@import url('https://fonts.googleapis.com/css2?family=Mr+Bedfort&family=Montserrat:wght@400;500;600;700&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.leckerli-one-regular {
  font-family: "Mr Bedfort", cursive;
  font-weight: 400;
  font-style: normal;
}

header h1 {
    font-family: 'Mr Bedfort', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, #fff9f8 0%, #fcf1f3 40%, #fff8f7 100%);
    color: #362f2a;
    overflow-x: hidden;
}

/* Sticky Header */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 250, 249, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.75rem 5%;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
}

.branding .site-signature {
    display: block;
    max-height: 2.6rem;
    width: auto;
    max-width: min(320px, 70vw);
    object-fit: contain;
    margin-bottom: -0.15rem;
}

.branding p {
    font-size: 0.88rem;
    color: #59504e;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body {
    background: linear-gradient(180deg, #fff8f7 0%, #fdf1f3 100%);
}

nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    border: 0;
    background: transparent;
    padding: 0.2rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.45rem;
    height: 2px;
    border-radius: 999px;
    background: #4d4342;
}

.site-nav a {
    text-decoration: none;
    color: #4d4342;
    margin-left: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.9rem;
    padding: 0.42rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(77, 67, 66, 0.16);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 16px rgba(93, 51, 56, 0.08);
    transition: color 0.25s ease, transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transform-origin: center;
}

.site-nav a:hover,
.site-nav a.active {
    color: #422f2a;
    background: rgba(228, 210, 206, 0.92);
    border-color: rgba(128, 103, 96, 0.24);
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(93, 51, 56, 0.12);
}

.site-nav a:hover {
    text-shadow: none;
}

@media (max-width: 640px) {
    .header-content {
        position: relative;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        align-self: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.6rem);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.8rem;
        min-width: 180px;
        background: rgba(255, 250, 249, 0.98);
        border: 1px solid rgba(77, 67, 66, 0.14);
        border-radius: 18px;
        box-shadow: 0 16px 36px rgba(93, 51, 56, 0.12);
        z-index: 1100;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* About Hero */
.about-hero {
    padding: 3.5rem 5% 4.5rem;
}

.about-hero__inner {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.about-hero__image {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 32px 80px rgba(93, 51, 56, 0.12);
    object-fit: cover;
    height: min(520px, 62vh);
    filter: grayscale(100%) contrast(1.05);
}

.about-hero__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero__copy p {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(1.2rem, 1.4vw, 1.55rem);
    line-height: 1.85;
    color: #403533;
    letter-spacing: 0.02em;
    max-width: 640px;
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.9s ease forwards;
}

.fade-in-cascade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.75s ease forwards;
}

.header-fade {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.75s ease forwards;
    animation-delay: 0.08s;
}

.page-fade {
    opacity: 0;
    animation: pageFade 0.85s ease forwards;
    animation-delay: 0.12s;
}

.text-delay {
    animation-delay: 0.2s;
}

.image-delay {
    animation-delay: 0.55s;
}

.gallery-item:nth-child(1) { animation-delay: 0.18s; }
.gallery-item:nth-child(2) { animation-delay: 0.25s; }
.gallery-item:nth-child(3) { animation-delay: 0.32s; }
.gallery-item:nth-child(4) { animation-delay: 0.39s; }
.gallery-item:nth-child(5) { animation-delay: 0.46s; }
.gallery-item:nth-child(6) { animation-delay: 0.53s; }
.gallery-item:nth-child(7) { animation-delay: 0.60s; }
.gallery-item:nth-child(8) { animation-delay: 0.67s; }
.gallery-item:nth-child(9) { animation-delay: 0.74s; }
.gallery-item:nth-child(10) { animation-delay: 0.81s; }
.gallery-item:nth-child(11) { animation-delay: 0.88s; }
.gallery-item:nth-child(12) { animation-delay: 0.95s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageFade {
    to {
        opacity: 1;
    }
}

/* Contact Page */
.contact-hero {
    padding: 4rem 5rem 5rem;
    min-height: calc(100vh - 6.2rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.85rem 1rem;
    }

    .header-content {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .branding {
        width: 100%;
    }

    .branding .site-signature {
        max-height: 2.1rem;
        max-width: 220px;
    }

    .branding p {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-top: 0.45rem;
    }

    nav a {
        font-size: 0.74rem;
        padding: 0.38rem 0.62rem;
    }

    .about-hero,
    .contact-hero {
        padding: 2rem 1rem 3rem;
    }

    .about-hero__inner,
    .contact-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-hero__image {
        height: auto;
        max-height: 460px;
    }

    .about-hero__copy p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .contact-hero {
        min-height: auto;
        align-items: flex-start;
    }

    .contact-hero__copy h2 {
        font-size: 1.75rem;
        margin-bottom: 1.1rem;
    }

    .contact-hero__copy p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .contact-card,
    .contact-note {
        padding: 1.15rem 1rem;
    }

    .contact-card a {
        font-size: 1rem;
        word-break: break-word;
    }

    .contact-hero__inner {
        max-width: 940px;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .header-content {
        align-items: center;
        flex-wrap: wrap;
    }

    .about-hero__inner,
    .contact-hero__inner {
        grid-template-columns: 1fr;
    }

    nav {
        width: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-top: 0.45rem;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        min-height: auto;
        padding: 1.6rem 0.8rem 2.4rem;
    }

    .contact-hero__inner {
        gap: 1rem;
        width: 100%;
    }

    .contact-hero__copy {
        text-align: left;
        align-items: flex-start;
    }

    .contact-hero__copy h2 {
        font-size: 1.9rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.35rem;
        border-bottom: 3px solid rgba(77, 67, 66, 0.24);
        display: inline-block;
    }

    .contact-hero__copy p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .contact-hero__details {
        width: 100%;
    }

    .contact-card,
    .contact-note {
        padding: 1.1rem 0.95rem;
    }

    .contact-hero__inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.contact-hero__copy h2 {
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 1.4rem;
    letter-spacing: -0.03em;
    color: #342b26;
    position: relative;
        padding-bottom: 0.25rem;
        border-bottom: 2px solid rgba(77, 67, 66, 0.24);
        display: inline-block;
        width: fit-content;
    }

    .contact-hero__copy h2::after {
        display: none;
}

.contact-hero__details {
    display: grid;
    gap: 1.2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(77, 67, 66, 0.14);
    border-radius: 26px;
    padding: 1.45rem 1.5rem;
    box-shadow: 0 22px 50px rgba(93, 51, 56, 0.08);
}

.contact-label {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a6a67;
}

.contact-card a {
    color: #362f2a;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-card a:hover {
    color: #1f1613;
}

.contact-note {
    background: rgba(250, 244, 241, 0.86);
    border-radius: 24px;
    border: 1px solid rgba(77, 67, 66, 0.08);
    padding: 1.5rem 1.45rem;
    color: #554942;
    font-size: 1rem;
    line-height: 1.7;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f8f0f1;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(93, 51, 56, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(93, 51, 56, 0.14);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(180, 164, 164, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: rgb(233, 221, 221);
    border: 1px solid white;
    padding: 8px 16px;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close, .prev, .next {
    position: absolute;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
}

.close { top: 20px; right: 30px; }
.prev { left: 20px; }
.next { right: 20px; }