@import url('https://fonts.googleapis.com/css2?family=Geist+Sans:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Geist Sans', sans-serif;
}

/* html {
    scroll-behavior: smooth;
} */

body {
    line-height: 1.6;
    background-color: #fff8f0;
    color: #3e3e3e;
}

header {
    background-color: #a15c38;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

nav {
    margin-top: 0.5rem;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
}

nav a:hover,
nav a.active {
    background-color: #fff2e0;
    color: #a15c38;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

section {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
    margin-bottom: 1rem;
    color: #a15c38;
    border-bottom: 2px solid #f2d6b3;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a15c38;
    outline: none;
}

.btn-primary {
    background-color: #a15c38;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    justify-self: start;
}

.btn-primary:hover {
    background-color: #8f4e2e;
}



ul li::marker {
    color: #a15c38;
}

footer {
    text-align: center;
    background-color: #f2d6b3;
    padding: 1rem;
    margin-top: 2rem;
    color: #3e3e3e;
}

.nabidka-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.nabidka-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
}

.nabidka-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 18px;
    height: 18px;
    background-image: url('images/play.png');
    background-size: contain;
    background-repeat: no-repeat;
}


.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.galerie-grid figure {
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie-grid figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.galerie-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#lightbox {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

#lightboxClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.center {
    text-align: center;
    margin-bottom: 1rem;
}

.cena {
    font-size: 1.2rem;
    font-weight: bold;
    color: #a15c38;
    background: #fbe8dc;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
}

.kontakt-box {
    background-color: #fff2e0;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.kontakt-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.kontakt-item img.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.kontakt-item.telefon {
    color: #a15c38;
}

.kontakt-item.email {
    color: #a15c38;
}

.kontakt-item.facebook {
    color: #a15c38;
}

.kontakt-item a {
    position: relative;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 2px;
}

.kontakt-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.kontakt-item a:hover::after {
    transform: scaleX(1);
}

.o-nas {
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 800px;
}

.zvyrazni {
    color: #a15c38;
    font-weight: bold;
}

.foto-karavanu {
    margin-top: 2rem;
    text-align: center;
}

.foto-karavanu img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


@media (max-width: 600px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 5px 0;
    }

    section {
        padding: 1.5rem 1rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}