/* ===== HOME ===== */
.home {
    width: 100%;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background-image: url('/Obrazky/Zavlaha1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    transform: translateZ(0);
}

.hero-overlay {
    width: 100%;
    background: linear-gradient(
        170deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
}

.hero-content {
    color: #fff;
    text-align: center;
    max-width: 720px;
    animation: heroFadeIn 1s ease-out;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    opacity: 0.85;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.08;
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.85;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    color: #fff;
    background: var(--green);
    border: 2px solid var(--green);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--green-glow);
    filter: brightness(1.1);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* ===== STATS ===== */
.stats {
    background: var(--bg-alt);
    padding: 48px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BENEFITS ===== */
.benefits {
    padding: 96px 24px;
    background: var(--bg);
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    box-shadow: var(--shadow-card);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--green);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--green);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ===== STEPS ===== */
.steps {
    padding: 96px 24px;
    background: var(--bg-alt);
}

.step-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--green);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 1px;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--green);
    color: var(--green);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--green-glow);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 96px 24px;
    background: var(--bg);
}

.images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--green);
}

.image-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover img {
    transform: scale(1.04);
}

.image-label {
    padding: 16px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
    padding: 96px 24px;
    background: var(--bg-alt);
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .benefits-row,
    .step-container,
    .images {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .section-header h2,
    .cta-inner h2 {
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-header h2,
    .cta-inner h2 {
        font-size: 1.7rem;
    }

    .benefits,
    .steps,
    .gallery,
    .cta {
        padding: 64px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
