/* ============================================
   HOMEPAGE — Sections
   ============================================ */

/* Hero */
.hero-section {
    position: relative;
    min-height: 38vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 2.25rem 0;
    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #1a0a14 30%,
        #0a0a0a 60%,
        #140a1a 100%
    );
}

.hero-spacer {
    display: none;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 80vw);
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(233, 30, 140, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-hero-secondary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Category Blocks */
.section-categories {
    padding: 2rem 0;
    background-color: var(--color-bg);
}

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

.category-block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-bg-card);
    text-decoration: none;
}

.category-block.no-image {
    background:
        radial-gradient(circle at 75% 20%, rgba(233, 30, 140, 0.22), transparent 60%),
        linear-gradient(135deg, #262626, #141414);
    border: 1px solid var(--color-border);
}

/* Ztmavení pod popiskem, aby byl čitelný i na světlé fotce */
.category-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition);
}

.category-block.no-image::after {
    opacity: 0;
}

.category-block:hover::after {
    opacity: 0.85;
}

.category-block-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.category-block:hover .category-block-img {
    transform: scale(1.05);
    opacity: 0.7;
}

.category-block-label {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Sections — shared */
.section-featured,
.section-about,
.section-instagram {
    padding: 2.25rem 0;
}

.social-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.section-placeholder {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    padding: 3rem 0;
}

/* Featured Products */
.section-featured {
    background-color: var(--color-bg);
}

/* About / O Sju */
.section-about {
    background-color: var(--color-bg-card);
}

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

.about-text .section-title {
    text-align: left;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.about-text .btn {
    margin-top: 1rem;
}

.sju-signature {
    height: 60px;
    width: auto;
    opacity: 0.85;
    margin: 1.5rem 0 0.5rem;
    display: block;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--color-border);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--color-bg-hover), var(--color-bg));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--color-border);
}

.about-image-placeholder span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Instagram */
.section-instagram {
    background-color: var(--color-bg);
    text-align: center;
}

/* ============================================
   RESPONSIVE — Homepage
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: 65vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .about-image-placeholder {
        aspect-ratio: 4 / 3;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-featured,
    .section-about,
    .section-instagram {
        padding: 2rem 0;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-block-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
    }
}
