@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hurricane&display=swap');

:root {
    --background-color: #F4F0E8; /* Isabelline */
    --text-color: #6B5B4C; /* Dark Taupe */
    --primary-color: #B29E84; /* Lion */
    --secondary-color: #D4C4A8; /* Pale Silver */
    --accent-color: #e4701e; /* SaddleBrown */
    --light-gray: #E8DDCB; /* Eggshell */
    --white: #fff;
    --dark-background: #6B5B4C; /* Dark Taupe */
}

/* General Body Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 108;
    font-style: normal;
    font-variation-settings:
        "wdth" 87.5;
    margin: 0;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1.2rem;
    overflow-x: hidden
}

.container {
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

/* Header and Navigation */
header {
    background: var(--white);
    color: var(--text-color);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
}

nav {
    font-family: 'Hurricane', cursive;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

nav .logo a {
    text-decoration: none;
    height: 50px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center
}

#header-logo {
    height: 50px;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.5rem;
}

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

.hero {
    background: url(assets/img/hero-4.jpg) no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo {
    height: auto;
    padding: 0;
    margin: 0;
    line-height: 1rem;
}

.hero-text-keramik {
     font-family: 'Hurricane', cursive;
     font-size: 7rem;
     color: var(--accent-color);
     padding: 0;
     margin: 0;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-text-atelier {
     font-family: 'Hurricane', cursive;
     font-size: 7rem;
     color: var(--white);
     padding: 0;
     padding-right: 3rem;
     margin: 0;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text-karina {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 108;
    font-style: normal;
     font-size: 2rem;
     color: var(--white);
     padding: 0;
     margin: 0;
     text-align: right;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}


/* Main Content Sections */
main {
    padding-top: 0px; /* Adjust based on header height */
}

section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--white);
}

section:nth-of-type(even) {
    background-color: var(--background-color);
}


section:last-of-type {
    border-bottom: none;
}

h2 {
    font-family: 'Hurricane', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 3rem;
    color: var(--text-color);
}

hr {
    width: 50px;
    border: 1px solid var(--text-color);
    margin: auto;
    margin-bottom: 2rem;
}

/* Gallery */
.gallery-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-grid-horizontal img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
    border: 5px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

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

.lightbox:target {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.lightbox .prev, .lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}


/* Öffnungszeiten */
.oeffnungszeiten {
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

/* Contact */

.contact-text {
    text-align: center;
}


.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 0.2rem 0;
    background: var(--dark-background);
    color: var(--white);
    font-size: 0.7rem;
}

footer a {
    color: var(--white);
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .nav-toggle-label {
        display: block;
    }

    #nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero-text-keramik {
     font-family: 'Hurricane', cursive;
     font-size: 5rem;
     color: var(--accent-color);
     padding: 0;
     margin: 0;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-text-atelier {
     font-family: 'Hurricane', cursive;
     font-size: 5rem;
     color: var(--white);
     padding: 0;
     padding-right: 3rem;
     margin: 0;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text-karina {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 108;
    font-style: normal;
     font-size: 1.5rem;
     color: var(--white);
     padding: 0;
     margin: 0;
     text-align: right;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}
}
