:root {
    --bg-page: #f5eee6;
    --bg-light: #f9f4ee;
    --bg-white: #ffffff;
    --text-main: #3b2d24;
    --text-soft: #6f6054;
    --accent: #c89050;
    --border-soft: #e0d2c3;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,0.08);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.06);
    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 238, 230, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(224, 210, 195, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
}

.nav a {
    position: relative;
    padding-bottom: 2px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.25s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.7);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--text-main);
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* HERO */

/* HERO – nový styl pro celoplošný banner */

.hero {
    width: 100%;
    padding: 150px 0; /* výška hero – můžeš si pohrát */
    background-image: url("../images/hero-zaluzie.jpeg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-grid {
    display: block;
}

.hero-image {
    display: none;
}

 @media (max-width: 960px) {
    .hero {
        padding-top: 0;
    }

    .hero-image {
        width: 100%;
        height: 420px; /* výška hero obrázku na mobilu */
        background-size: cover;
        background-position: center;
        display: block;
    }
}

@media (max-width: 720px) {

    .hero-text {
        padding-top: 18vh;      /* posune text trochu níž */
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .hero-title {
        font-size: 1.9rem;      /* menší, aby se vešel na výšku */
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.95rem;     /* menší podnadpis */
    }

    .btn-primary {
        font-size: 0.95rem;
        padding: 10px 22px;
    }
}

.hero-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    margin-bottom: 4px;   /* ↓ menší mezera pod labelem */
}

/* Zvětšený hlavní nadpis */
.hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(6rem, 6vw + 2rem, 7rem);
    line-height: 1.1;
    margin: 0 0 20px;     /* žádná mezera nahoře, jen dole */
}

/* Každý řádek nadpisu zvlášť – a bez zalamování uvnitř */
.hero-title .hero-line {
    display: block;
    white-space: nowrap;   /* nedovolí další zalomení */
}

/* Zvětšený podnadpis */
.hero-subtitle {
    font-size: clamp(1.1rem, 1.2vw + 0.8rem, 1.5rem);
    max-width: 40rem;
    line-height: 1.45;
    margin-bottom: 30px;
}

/* Větší tlačítko */
.btn-primary {
    font-size: 1.1rem;
    padding: 14px 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* jen pro hero tlačítko – posuneme ho kousek doprava */
.hero-actions .btn-primary {
    margin-left: 5rem;  /* klidně uprav na 2rem, 2.5rem… */
}

.btn-primary {
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: none;
    font-weight: 500;
    font-size: 0.98rem;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(200, 144, 80, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #b77e3f;
    box-shadow: 0 14px 32px rgba(200, 144, 80, 0.4);
}

.btn-block {
    width: 100%;
}

.hero-link {
    font-size: 0.95rem;
    color: var(--text-soft);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* SECTIONS */

.section {
    padding: 56px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2rem;
    margin: 0 0 6px;
}

.section-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
}

/* PRODUCTS */

.products {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    padding-top: 65%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.product-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.product-title {
    font-weight: 600;
}

.product-text {
    font-size: 0.92rem;
    color: var(--text-soft);
    flex-grow: 1;
}

.product-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
}

.product-image--interier-zaluzie {
    background-image: url("../images/interier-zaluzie.jpg");
}

.product-image--interier-rolety {
    background-image: url("../images/interier-rolety.jpg");
}

.product-image--dennoc {
    background-image: url("../images/den-noc.jpg");
}

.product-image--interier-plise {
    background-image: url("../images/interier-plise.jpg");
}

.product-image--venkovni {
    background-image: url("../images/venkovni.jpg");
}

/* BENEFITS */

.benefits {
    background: #f0e1d0;
}

.benefits-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 12px;
}

.benefit {
    text-align: center;
    padding: 16px 10px;
}

.benefit-icon {
    width: 70px;       /* větší kruh */
    height: 70px;
    border-radius: 999px;
    border: 2px solid rgba(60, 42, 32, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 2rem; /* větší emoji */

}

.benefit-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-text {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* CONTACT */

.contact {
    background: var(--bg-light);
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: flex-start;
}

.contact-text h2 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2rem;
    margin: 0 0 10px;
}

.contact-text p {
    color: var(--text-soft);
    margin: 0 0 10px;
}

.contact-note {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fdfbf8;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(200, 144, 80, 0.15);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 2px;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-soft);
    margin: 6px 0 14px;
}

.form-checkbox-row input[type="checkbox"] {
    margin-top: 2px;
}

/* CONTACT FOOTER INFO */

.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.92rem;
    margin-top: 18px;
}

.contact-footer strong {
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-soft);
    background: #efe2d3;
    padding: 20px 0 10px; /* menší spodní mezera, horní necháváme kvůli prostoru */
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* správné rozložení footeru do řádků */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
}

/* sloupce footeru */
.footer-col {
    min-width: 180px;
}

.footer-col h4 {
    margin: 0 0 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.footer-col p {
    margin: 0;
}

/* pravý sloupec, aby byl zarovnaný doprava */
.footer-col-last {
    text-align: right;
}

/* copyright pod tím vlevo – menší mezera */
.footer-bottom {
    margin-top: 6px; /* malá mezera */
    text-align: center;
    color: var(--text-soft);
    font-size: 0.8rem;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .hero {
        height: 80vh; /* mobilní úspornější varianta */
        background-position: center;
    }

    .hero-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-col-last {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .header-inner {
        padding-inline: 16px;
    }

    .nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(245, 238, 230, 0.98);
        flex-direction: column;
        padding: 12px 20px 18px;
        border-bottom: 1px solid rgba(224, 210, 195, 0.7);
        display: none;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .benefits-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-wrapper {
        padding: 18px 16px 20px;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
    /* HERO – mobilní verze */
    .hero {
        height: 50vh;          /* menší výška na mobilu */
        align-items: flex-start;
    }

    .hero-text {
        max-width: 90%;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 20vh;     /* posun textu trochu níž */
    }

    .hero-title {
        font-size: 2.3rem;     /* výrazně menší než desktop */
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* ať se tlačítko na mobilu neposouvá doprava */
    .hero-actions .btn-primary {
        margin-left: 0;
    }
}
/* FULLSCREEN HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* celá výška obrazovky */
    background-image: url("../images/hero-zaluzie.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-start; /* text nahoře */
    padding: 0;
}

.hero-inner,
.hero-grid {
    width: 100%;
    padding: 0;
    margin: 0;
}

.hero-text {
    max-width: 500px;
    padding-left: 11vw;
    padding-right: 4vw;
    padding-top: 12vh; /* POSUN TEXTU NAHORU – uprav dle potřeby */
}

.hero-image {
    display: none; /* nepotřebujeme obrázek zvlášť */
}
/* FOOTER – mobil: všechno pod sebou */
@media (max-width: 720px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 0 20px; /* aby to nebylo nalepené na levý okraj */
  }

  .footer-col,
  .footer-col-last {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  .footer-col h4 {
    margin-bottom: 4px;
  }

  .footer-bottom {
    text-align: left;
    padding: 0 20px;  /* odsazení copyrightu stejně jako zbytek */
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
    .hero {
        height: 50vh; /* menší než desktop */
        background-image: url("../images/hero-zaluzie_mobil.jpeg");
        background-position: center top; /* důležité */
    }

    .hero-text {
        padding-top: 10vh; /* text níž */
        padding-left: 30px;
        padding-right: 20px;
        max-width: 100%;
    }

    .hero-label {
        font-size: 0.75rem;
        letter-spacing: 0.14em;
    }

    .hero-title {
        font-size: 2.2rem;   /* MENŠÍ */
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-title .hero-line {
        white-space: normal; /* dovolí hezké zalomení */
    }

    .btn-primary {
        font-size: 0.95rem;
        padding: 12px 24px;
    }

    .hero-actions .btn-primary {
        margin-left: 0; /* na mobilu zarovnáme normálně */
    }
}
