/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark:   #2c5f2e;
    --green-mid:    #3d7a40;
    --green-light:  #97bc62;
    --brown:        #8b5e3c;
    --cream:        #f7f4ef;
    --white:        #ffffff;
    --text:         #2c2c2c;
    --text-muted:   #666666;
    --radius:       14px;
    --shadow:       0 6px 24px rgba(44, 95, 46, 0.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
}

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

h2 {
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 4px;
    background: var(--green-light);
    border-radius: 2px;
    margin: 0.6rem auto 0;
}

/* === BANNER === */
#top-banner {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 150;
    background: #FFD600;
    color: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#banner-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
    line-height: 1;
}

#banner-close:hover { background: rgba(0,0,0,0.1); color: #000; }

/* === NAVIGACE === */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(28, 56, 28, 0.97);
    backdrop-filter: blur(10px);
    z-index: 200;
    box-shadow: 0 2px 16px rgba(0,0,0,0.22);
    transition: box-shadow 0.3s;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--green-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--green-light); }

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 1;
}

/* === HERO === */
#hero {
    min-height: 100vh;
    background: linear-gradient(150deg, #162d17 0%, #2c5f2e 55%, #3d7a40 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(151,188,98,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(151,188,98,0.2);
    border: 1px solid rgba(151,188,98,0.5);
    color: var(--green-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 8px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    margin-bottom: 0.4rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 460px;
    margin: 0 auto 2.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--green-light);
    color: #1a3d1c;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(151,188,98,0.4);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.6rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
}

.hours-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hours-dot.open   { background: #97bc62; box-shadow: 0 0 6px #97bc62; }
.hours-dot.closed { background: #ff7675; box-shadow: 0 0 6px #ff7675; }

.hours-status { font-weight: 700; color: rgba(255,255,255,0.9); }
.hours-sep    { color: rgba(255,255,255,0.3); }
.hours-today  { color: rgba(255,255,255,0.75); }

.scroll-down {
    position: absolute;
    bottom: 36px;
    color: rgba(255,255,255,0.4);
    font-size: 1.8rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === O NÁS === */
#o-nas {
    padding: 100px 0;
    background: var(--white);
}

.onas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.onas-text p {
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.onas-text strong { color: var(--green-dark); }

.onas-boxy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.onas-box {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.6rem 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.25s, transform 0.25s;
    cursor: default;
}

.onas-box:hover {
    border-color: var(--green-light);
    transform: translateY(-3px);
}

.onas-box-icon { font-size: 2.4rem; margin-bottom: 0.6rem; }

.onas-box span {
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.95rem;
}

/* === PRODUKTY === */
#produkty {
    padding: 100px 0;
    background: var(--cream);
}

.produkty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.karta {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--green-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.karta:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(44,95,46,0.14);
}

.karta-icon {
    font-size: 3.2rem;
    margin-bottom: 1.1rem;
    display: block;
}

.karta h3 {
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.karta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === ROZVOZ === */
#rozvoz {
    padding: 90px 0;
    background: linear-gradient(135deg, #1a3d1c 0%, var(--green-dark) 100%);
}

.rozvoz-banner {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.rozvoz-icon {
    font-size: 6rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.rozvoz-text h2 {
    color: var(--white);
    text-align: left;
    margin-bottom: 1rem;
}

.rozvoz-text h2::after {
    margin: 0.5rem 0 0;
}

.rozvoz-text p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 1.8rem;
}

.btn-light {
    display: inline-block;
    background: var(--white);
    color: var(--green-dark);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-light:hover {
    background: var(--green-light);
    color: #1a3d1c;
    transform: translateY(-2px);
}

/* === KONTAKT === */
#kontakt {
    padding: 100px 0;
    background: var(--white);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3.5rem;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    color: var(--green-dark);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 1rem;
}

.info-item a {
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover { color: var(--green-mid); }

/* === FOOTER === */
footer {
    background: #111d11;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 26px 20px;
    font-size: 0.88rem;
}

/* === RESPONSIVE === */

/* Tablet landscape — 3 karty → 2 */
@media (max-width: 960px) {
    .produkty-grid { grid-template-columns: repeat(2, 1fr); }
    .onas-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .kontakt-grid { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .onas-grid { grid-template-columns: 1fr; gap: 2rem; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .mapa iframe { height: 280px !important; }
    .rozvoz-banner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .rozvoz-text h2 { text-align: center; }
    .rozvoz-text h2::after { margin: 0.5rem auto 0; }
    .rozvoz-text p { margin-left: auto; margin-right: auto; }
    h2 { font-size: 1.75rem; }
}

/* Velký telefon + hamburger menu */
@media (max-width: 700px) {
    .burger { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #1a3d1c;
        flex-direction: column;
        padding: 1.2rem 2rem 2rem;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .nav-links.open { display: flex; }

    .nav-links li a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .hero-content h1 { font-size: 3.2rem; letter-spacing: 4px; }
    .hero-desc { font-size: 1rem; }
    .produkty-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    #o-nas, #produkty, #kontakt { padding: 64px 0; }
    #rozvoz { padding: 64px 0; }
}

/* Malý telefon */
@media (max-width: 500px) {
    .hero-content h1 { font-size: 2.6rem; letter-spacing: 2px; }
    .hero-sub { font-size: 0.85rem; letter-spacing: 1.5px; }
    .hero-desc { font-size: 0.95rem; }

    .btn-primary,
    .btn-outline {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .btn-outline { margin-top: 0.8rem; }

    .onas-boxy { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .onas-box { padding: 1.2rem 0.6rem; }
    .mapa iframe { height: 240px !important; }
    h2 { font-size: 1.55rem; }
}

/* iPhone SE a podobné */
@media (max-width: 390px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-badge { font-size: 0.75rem; padding: 5px 14px; }
    .container { padding: 0 16px; }
}
