* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html.no-scroll, body.no-scroll {
    overflow: hidden;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #3a2e25;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

/* SECTIONS */
.section {
    padding: 60px 0;
}

.section-light {
    background: #f4f4f4;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #3a2e25;
}

/* HERO */
.about-hero {
    height: 60vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

/* CAROUSEL */
.about-hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.about-hero-carousel img.active {
    opacity: 1;
}

/* DARK OVERLAY */
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.35); */
    z-index: 1;
}

/* HERO CONTENT */
.about-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    background: rgba(210, 180, 140, 0.78);
    padding: 32px 36px;
    border-radius: 10px;
    max-width: 520px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    color: #2f1f14;
}

.about-hero h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    color: #2f1f14;
}

.about-hero p {
    font-size: 1rem;
    color: #2f1f14;
}

/* SERVICES */
#sluzby p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.services {
    list-style: disc;
    padding-left: 20px;
}

.services li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.services li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #8b5e3c;
    font-weight: bold;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
    background: #eaeaea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.gallery-more {
    margin-top: 50px;
    text-align: center;
}

.btn-gallery {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-gallery:hover {
    background-color: #333;
    color: #fff;
}

.slogan {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    font-size: 1.5rem;
    color: #555;
}


/* LIGHTBOX */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

/* CONTACT */
/* CONTACT SECTION - DVOUPOULCOVÝ LAYOUT */
.section-contact {
    background: #fdfcfb;
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #666;
}

/* Obal pro dva hlavní sloupce */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dva sloupce: vlevo karty, vpravo mapa */
    gap: 30px;
    align-items: stretch; /* Aby mapa i karty měly stejnou výšku */
}

/* Kontejner pro karty - teď ve sloupci */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0eee8;
}

.contact-card:hover {
    transform: translateX(5px); /* Jemný posun doprava místo nahoru */
    box-shadow: 0 8px 20px rgba(139, 94, 60, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 94, 60, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: #8b5e3c;
}

.card-text h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b5e3c;
    margin-bottom: 4px;
}

.card-text p, .card-text a {
    font-size: 1.05rem;
    color: #3a2e25;
    text-decoration: none;
    font-weight: 500;
}

.contact-meta {
    padding: 20px;
    background: #f4f1ee;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.contact-map {
    position: relative; /* Nutné pro pozicování odkazu */
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 400px;
    overflow: hidden;
}

/* Průhledná vrstva přes mapu */
.map-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 94, 60, 0); /* Na začátku průhledné */
    text-decoration: none;
    transition: background 0.3s ease;
}

/* Text, který se objeví jen při najetí myši */
.map-overlay-link span {
    background: #8b5e3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.map-overlay-link:hover {
    background: rgba(0, 0, 0, 0.1); /* Jemné ztmavení mapy při najetí */
}

.map-overlay-link:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Aby iframe neblokoval kliknutí, ale byl vidět */
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* Důležité: propustí kliknutí na odkaz nad sebou */
}


/* Responsivita - pro mobily a tablety zpět pod sebe */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Jeden sloupec */
    }
    
    .contact-map {
        height: 350px; /* Pevná výška mapy na mobilu */
    }

    .map-overlay-link span {
        opacity: 1; /* Na mobilu text zobrazíme rovnou, aby lidi věděli, že mají kliknout */
        transform: translateY(0);
        font-size: 0.9rem;
    }
}

/* FOOTER */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.footer-social a{
    display: flex;
    justify-content: center;
    align-items: center;
}


.footer-social img {
    width: 50px;
    height: 50px;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


.footer-social img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.footer-author {
    color: #c9b29b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-author:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-divider {
    margin: 0 6px;
    opacity: 0.5;
}



/* Mobil */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        gap: 12px;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
    }

    .nav {
        margin-top: 10px;
    }

    .about-hero {
        display: block;
        height: auto;
        min-height: unset;
    }

    .about-hero-carousel {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .about-hero-carousel img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-hero::after {
        display: none;
    }

    .about-hero .container {
        position: static;
        padding: 24px 20px 32px;
    }

    .hero-content {
        background: #f4efe9;
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 24px;
    }

    .section {
        padding: 10px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        min-height: 240px;
    }
}

@media (max-width: 600px) {
    .btn-gallery {
        width: 100%;
        max-width: 300px;
    }

     .phone-link,
     .email-link {
        font-weight: 600;
    }
}

/* CTA BUTTON */
.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background-color: #8b5e3c;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #6f472c;
    transform: translateY(-2px);
}

/* PROCESS SECTION */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-item {
    text-align: center;
    padding: 25px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.process-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 94, 60, 0.12);
    border-radius: 50%;
}

.process-icon svg {
    width: 28px;
    height: 28px;
    fill: #8b5e3c;
}

.process-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

/* REFERENCE / RECENZE */
/* =========================
   RECENZE
========================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.review-card {
    background: #ffffff;
    padding: 28px 26px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 18px;
    font-size: 4rem;
    color: #8b5e3c;
    font-family: serif;
}

.review-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    padding: 5px;
}

.review-author {
    margin-top: 18px;
    font-weight: 600;
    color: #333;
    text-align: right;
}

/* MOBIL */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}




/* ***************** GALLERY.HTML ****************** */

.section.section_galerie {
    padding: 25px 0;
}

/* HLAVNÍ NADPIS STRÁNKY */
.gallery_h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #3a2e25;
}

/* MENU KATEGORIÍ */
.gallery-menu {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2d6c8;
    flex-wrap: wrap;
}

.gallery-menu a {
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    color: #3a2e25;
    border-radius: 6px;
    transition: background 0.25s ease, color 0.25s ease;
}

.gallery-menu a:hover {
    background: rgba(210, 180, 140, 0.35);
}
.gallery-menu a:focus,
.gallery-menu a.active {
    background: #3a2e25;
    color: #fff;
}

/* SEKCE GALERIE – POD SEBOU */
.gallery-section {
    margin-bottom: 70px;
    scroll-margin-top: 120px;
}

/* NADPIS SEKCE */
.gallery-section h2 {
    margin-bottom: 26px;
    font-size: 1.9rem;
    color: #3a2e25;
}

/* GRID OBRÁZKŮ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* POLOŽKA GALERIE */
.gallery-grid .gallery-item {
    position: relative;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background: #eaeaea;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid .gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* OBRÁZEK */
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {

    .gallery-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .gallery-menu a {
        width: 100%;
    }

    .gallery-grid {
        gap: 16px;
    }

    .gallery-grid .gallery-item {
        height: 200px;
    }
}

/* sipky v lightboxu */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 3rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 1000;
    transition: background 0.2s ease;
}

.lightbox-btn:hover {
    background: rgba(0,0,0,0.85);
}

.lightbox-btn.prev {
    left: 30px;
}

.lightbox-btn.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-btn {
        font-size: 2.2rem;
        padding: 8px 14px;
    }
}

/* =========================
   GALERIE – MOBIL FIX
========================= */
@media (max-width: 600px) {

    /* Nadpis galerie */
    .gallery_h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    /* MENU KATEGORIÍ */
    .gallery-menu {
        gap: 8px;
        margin-bottom: 30px;
    }

    .gallery-menu a {
        padding: 14px 16px;
        font-size: 1.05rem;
        text-align: center;
        border: 1px solid #e2d6c8;
        border-radius: 8px;
    }

    /* SEKCE */
    .gallery-section {
        margin-bottom: 45px;
    }

    .gallery-section h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
        text-align: center;
    }

    /* GRID */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* POLOŽKA */
    .gallery-grid .gallery-item {
        height: 210px;
        border-radius: 12px;
    }

    /* LIGHTBOX */
    #lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-btn {
        font-size: 2rem;
        padding: 8px 12px;
    }

    .lightbox-btn.prev {
        left: 10px;
    }

    .lightbox-btn.next {
        right: 10px;
    }
}



/* ***************** END GALLERY.HTML ****************** */

/* SCROLL TO TOP */
#scrollTopBtn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #9b6a46, #7a4f32);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.25),
        inset 0 1px 1px rgba(255,255,255,0.25);
    transition: all 0.35s ease;
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-6px);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.35),
        inset 0 1px 1px rgba(255,255,255,0.35);
}


/* MOBIL – trochu větší dotyková plocha */
@media (max-width: 600px) {
    #scrollTopBtn {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }
}

/* =========================
   REVEAL ON SCROLL
========================= */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

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

/* Nice focus ring for accessibility */
:focus-visible {
    outline: 3px solid rgba(139, 94, 60, 0.55);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none; transform: none; opacity: 1; }
    .about-hero-carousel img { transition: none; }
    #scrollTopBtn { transition: none; }
}


/* GDPR */
/* =========================
   GDPR / LEGAL PAGE
========================= */
.legal-card {
    background: #fff;
    border-radius: 10px;
    padding: 34px 32px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.2rem;
    color: #3a2e25;
    margin-bottom: 12px;
}

.legal-lead {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 22px;
}

.legal-box {
    background: rgba(210, 180, 140, 0.18);
    border: 1px solid rgba(58, 46, 37, 0.18);
    border-radius: 10px;
    padding: 22px 22px;
}

.legal-box h2 {
    font-size: 1.25rem;
    color: #3a2e25;
    margin: 18px 0 8px;
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box p {
    color: #444;
    margin-bottom: 12px;
}

.legal-list {
    margin: 10px 0 6px 0;
    padding-left: 20px;
}

.legal-list li {
    margin-bottom: 8px;
}

.legal-muted {
    margin-top: 18px;
    font-size: 0.92rem;
    color: #666;
}

.legal-actions {
    margin-top: 22px;
}

/* drobnost: odkazy ve footeru vedle sebe */
.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 404.html */
/* ===============================
   404 PAGE
================================ */

.error-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: #f5f3f1;
}

.error-box {
    max-width: 600px;
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: #3a2e25;
}

.error-title {
    font-size: 1.8rem;
    margin: 15px 0;
}

.error-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

/* pokud už máš buttony, klidně smaž */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #3a2e25;
    color: #fff;
}

.btn-primary:hover {
    background: #2a211a;
}

