/* Reset a základ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Header + Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Obrazky/2.jpg') center/cover no-repeat;
    height: 100vh;
    color: white;
    position: relative;
}

.navbar {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: #a6825e;
}

.social-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.2rem; /* Zvětšení velikosti textu */
}

.nav-links a:hover {
    color: #a6825e;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #a6825e;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 1rem;
}

.btn:hover {
    background: #8b6f47;
    transform: translateY(-3px);
}

/* Sekce */
.section {
    padding: 100px 0;
}

.bg-light {
    background: #f8f5f2;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

/* O mně */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Služby - jednotné rozměry karet */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;

    /* TOTO je klíčové: každá řada bude mít flexibilní stejnou výšku */
    grid-auto-rows: 1fr;

    /* zajistí, že položky gridu budou nataženy */
    align-items: stretch;
}

/* každá karta zabere 100% výšky grid buňky a použije flex layout pro hezké rozložení */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;

    /* důležité pro vyplnění výšky buňky */
    height: 100%;
    min-height: 0;         /* důležité pro správné chování u flex/grid */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* nebo space-between pokud chceš spacing */
}

/* pokud chceš, aby popis zabíral zbytek prostoru (volitelné) */
.service-card .card-body {
    flex: 1;
}


.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #a6825e;
}

/* Ceník */
.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.price-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-item.popular {
    background: #a6825e;
    color: white;
    transform: scale(1.05);
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-info a {
    color: #a6825e;
    text-decoration: none;
}

.map iframe {
    border-radius: 10px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
}



#recenze h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333; /* černá pro nadpis */
}

#recenze #shapo-widget-97a6420fd44d36df2cae {
    max-width: 900px;
    margin: 0 auto;
}


/* NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE NOVE  */
/* Burger menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu aktivace */
.nav-links {
    transition: max-height 0.5s ease;
    overflow: hidden;
}

.nav-active {
    max-height: 500px; /* dostatečně vysoké pro všechny položky */
    background: rgba(0,0,0,0.85);
    position: absolute;
    top: 80px; /* pod navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
}

/* Burger animace */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* Burger menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu aktivace */
.nav-links {
    transition: max-height 0.5s ease;
    overflow: hidden;
}

.nav-active {
    max-height: 500px; /* dostatečně vysoké pro všechny položky */
    background: rgba(0,0,0,0.85);
    position: absolute;
    top: 80px; /* pod navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
}

/* Burger animace */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


.opening-hours {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* dvě stejné kolony */
    max-width: 300px;
    row-gap: 6px;
    font-size: 1.1rem;
}

.opening-hours div {
    display: contents; /* umožní, aby span prvky tvořily grid */
}

.opening-hours span:first-child {
    font-weight: 500;
}

/* Základní styl mapy pro desktop */
.map-frame {
    width: 150%;       /* zabere šířku parent containeru */
    max-width: 900px;  /* omezení max šířky */
    height: 400px;     /* původní výška */
    border: 0;
    display: block;
    margin: 0 auto;    /* vycentrování */
}

@media (max-width: 768px) {
    /* Hero */
    .hero-content h1 { 
        font-size: 3rem; 
    }

    /* Gridy */
    .about-grid, .contact-grid { 
        grid-template-columns: 1fr; 
    }

    /* Navbar */
    .nav-links {
        display: flex;
        flex-direction: column;
        max-height: 0;
        width: 100%;
        text-align: center;
        background: rgba(166, 130, 94, 0.95);
        overflow: hidden;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 0;
        border-radius: 0 0 10px 10px;
        transition: max-height 0.5s ease;
        z-index: 1000;
    }

      .button-group {
    flex-direction: column;
    gap: 1rem;               /* méně mezery než na desktopu */
    padding: 0 20px;         /* odsazení zleva/prava aby tlačítka nepřesahovala */
    box-sizing: border-box;
    width: 100%;
    align-items: center;     /* centrování při max-width na tlačítkách */
  }

  .button-group .btn {
    width: 100%;
    max-width: 520px;        /* zabraňuje příliš širokým tlačítkům na velkých mobilech */
    min-height: 56px;        /* udrží podobnou výšku */
    padding: 12px 20px;
    justify-content: center;
  }

    /* Obrázky v tlačítkách zůstanou malé a nebudou tlačítko roztahovat */
  .button-group .btn img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255,255,255,0.1); /* jemné podbarvení při kliknutí */
        border-radius: 5px;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        color: white;
        font-size: 1.2rem;
    }

    .nav-active {
        max-height: 1500px; /* dostatečné pro všechny položky */
    }

    .burger {
        display: flex;
    }

    /* Další */
    .nav-links { gap: 15px; font-size: 0.9rem; } /* pro drobné úpravy textu */
    
    /* Mapy */
    .map-frame {
        width: 90%;     /* trochu odsazení od okrajů */
        height: 90vw;   /* výška = 90% šířky → skoro čtverec */
        max-height: 500px; /* případné omezení max výšky */
    }
}

.button-group {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 5rem;
}

.button-group .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    background-color: #A87F58;
    color: white;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    min-height: 60px; /* sjednocení výšky */
}

.kontakt-spodek {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.oteviraci-doba {
    font-size: 3.5rem;     /* větší písmo */
    font-weight: 700;    /* silný text */
    margin-top: 20px;    /* lehká mezera nahoře */
    margin-bottom: 10px; /* mezera pod nadpisem */
}

