:root {
    --brown-main: #6b4a2b;
    --brown-light: #8b6a4a;
    --beige: #f3e9df;
    --brown: #6b4a2b;
    --brown-dark: #3b2415;
    --brown-mid: #5a3a22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--beige);

    background-image: url("images/background55.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}


.hero {
    min-height: 100vh;
    width: 100%;

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero > * {
    position: relative;
    z-index: 1;
}


.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    color: var(--beige);
    margin-bottom: 10px;
}

.hero p{
    color: var(--brown-light) !important;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 300;
}

/* HERO MENU */
.hero-nav {
    background: rgba(0, 0, 0, 0.55);   /* černý průhledný pruh */
    padding: 12px 28px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hero-nav a {
    color: var(--brown-dark);          /* tmavě hnědý text */
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    font-weight: 500;
}

.hero-nav a:hover {
    color: var(--brown-light);         /* světlejší hnědá na hover */
}

section {
    padding: 50px 40px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;

    background: rgba(0, 0, 0, 0.55);   /* tmavý průhledný panel */
    backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    text-align: center;
}


/* scroll reveal */
.fade {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--brown-main);
}


.container {
    padding: 50px 20px;
}

.services {
    padding: 50px 20px;
    background: #f9f9f9;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.card {
    width: 30%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

footer {
    background: var(--brown-light);
    color: var(--brown);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.logo {
    width: 260px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    animation: fade-in 1s ease-in-out;
}

.product {
    text-align: center;
}

.product img {
    width: 100%;
    max-width: 230px; /* ← TADY */
    border-radius: 10px;
}

.product img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.product p {
    margin-top: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: var(--brown-main);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
    pointer-events: none;
}


.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-window {
    width: 750px; /* 3 obrázky */
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.gallery-track img {
    width: 230px;
    height: 320px;          /* ← přidáme výšku */
    object-fit: cover;      /* ← klíčové */
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ŠIPKY */
.arrow {
    background: #000000;              /* čistě černé, neprůhledné */
    color: #c9a27c;                   /* světle hnědá */
    border: none;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}


.arrow:hover {
    background: #111;                 /* lehce světlejší černá */
    color: #e0b98a;                   /* světlejší hnědá */
    transform: scale(1.08);
}

.p.slogan  {
    color: var(--brown-light);
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

#onas {
    text-align: left;
}

#onas h2 {
    text-align: center;
}

#onas p {
    line-height: 1.5;
    margin-bottom: 1em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.product img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

.product h3, .product .price {
    text-align: center;
    margin-top: 6px;
    color: var(--brown-dark);
}

/* Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);

    justify-content: center;   /* horizontálně */
    align-items: center;       /* vertikálně */

    z-index: 9999;
}

.modal-content {
    background: #111;
    color: white;
    padding: 30px;
    border-radius: 14px;
    width: 90%;
    max-width: 800px;
    display: flex;
    gap: 30px;
}

.modal-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

.close {
    float: right;
    font-size: 1.6rem;
    cursor: pointer;
}

.product button {
    background: var(--brown-main);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    transition: 0.3s ease;
}

.product button:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
}

.product-detail {
    background: #111;        /* černé pozadí */
    color: white;
    width: 80%;
    max-width: 900px;
    padding: 40px;
    border-radius: 12px;
}

.modal-left {
    flex: 1;
}

.modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#main-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

#thumbnail-images {
    display: flex;
    gap: 10px;
}

#thumbnail-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.7;
}

#thumbnail-images img:hover {
    opacity: 1;
}

/* Text pod nadpisem */
.product-info {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 30px auto;
    font-size: 0.95rem;
    color: var(#f3e9df);
}

.product-info a {
    color: var(--brown-main);
    font-weight: 600;
    text-decoration: none;
}

.product-info a:hover {
    text-decoration: underline;
}


/* Modal */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #111;
    color: white;
    padding: 30px;
    border-radius: 14px;
    width: 100%;
    max-width: 900px;
    display: flex;
    gap: 40px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
}


/* Responzivita */
@media (max-width: 768px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-left,
    .modal-right {
        width: 100%;
    }

    #thumbnail-images {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Názvy produktů */
.product h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

/* Cena */
.product .price {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Modal nadpis */
#detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
}

/* Modal cena */
#detail-price {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}