/* =====================
   HERO
===================== */

.hero {
    min-height: 40vh;
    padding: 3rem 1rem 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.1);
    color: #ff6600;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =====================
   INTERAKTIVNÍ DŮM
===================== */

.interactive-house {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
}

.house-container {
    position: relative;
    width: 85%;
    max-width: 1600px;
    border-radius: 16px;

    /* DROP SHADOW PO CELÉM OBVODU */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}

.house-img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* =====================
   HOTSPOTY
===================== */

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.hotspot-ring {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 5px solid #ff6600;
    background: #fff;
}

.tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    white-space: nowrap;
}

.hotspot:hover .tooltip {
    opacity: 1;
}

/* =====================
   FEATURES (3 BODY)
===================== */

.features {
    background: #f5f5f5;
    padding: 3rem 10%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

    text-align: center;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

/* =====================
   FEATURES ICONS
===================== */

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    background: #fff;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;

    /* jemný stín pro ikonu */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    width: 60px;
    height: 60px;
}

.feature-icon img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}


/* =====================
   CTA
===================== */

.cta-wrapper {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

.cta {
    max-width: 900px;
    width: 100%;
    background: #ff6600;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;

    text-align: center;
}

.cta p {
    max-width: 600px;
    line-height: 1.6;
}

.cta .btn {
    background: #fff;
    border: 2px solid #fff;
    color: #ff6600;
}

.cta .btn:hover {
    color: #ffffff;
    border: 2px solid #fff;
    background: #ff6600;
}

/* =====================
   RESPONSIVITY (MOBILE)
===================== */

@media (max-width: 768px) {
    /* HERO */
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h2 {
        font-size: 1.8rem; /* Menší nadpis pro mobil */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%; /* Tlačítka pod sebou na celou šířku */
        text-align: center;
    }

    /* INTERAKTIVNÍ DŮM */
    .house-container {
        width: 95%;
    }

    .tooltip {
        display: none; /* Tooltipy mohou na mobilu překážet, lepší je nechat jen hotspoty nebo jiné řešení */
    }

    /* FEATURES */
    .features {
        grid-template-columns: 1fr; /* Vlastnosti pod sebou */
        padding: 3rem 1.5rem;
    }

    .hero h2 {
        font-size: 2rem; /* Menší nadpis pro mobily */
    }

    .hero-buttons {
        flex-direction: column; /* Tlačítka pod sebou */
        width: 100%;
        padding: 0 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .house-container {
        width: 95%; /* Větší šířka obrázku na mobilu */
    }

    /* Skrytí hotspotů na velmi malých mobilech pro lepší přehlednost, nebo jejich zmenšení */
    .hotspot-ring {
        width: 15px;
        height: 15px;
    }
}