/* ================================================================
   BELLS&CONSTRUCTION — Strona główna
   Dedykowany CSS dla front-page.php
   Nie importować globalnie.
================================================================ */

/* --- Reset kontekstu motywu dla strony głównej --- */
.home-hero-page .page_wrap,
.home-hero-page .body_wrap,
.home-hero-page #page_wrap {
    background: #0e0e0e;
}

/* Ukryj header i footer tylko na stronie głównej */
.home-hero-page .menu_mobile_overlay,
.home-hero-page #header_wrap,
.home-hero-page .header_wrap,
.home-hero-page #footer_wrap,
.home-hero-page .footer_wrap,
.home-hero-page #page_title,
.home-hero-page .page_title,
.home-hero-page .breadcrumbs,
.home-hero-page .sc_layouts_row {
    display: none !important;
}

/* Pasek admina ignorujemy (nie dotykamy #wpadminbar) */

/* ================================================================
   HERO WRAPPER
================================================================ */

.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background-color: #0e0e0e;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Tło — zdjęcie */
.home-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/home/glowna_tlo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Ciemna nakładka — środek bardzo ciemny, krawędzie przepuszczają teksturę */
.home-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 5, 4, 0.15) 0%,
        rgba(5, 5, 4, 0.88) 8%,
        rgba(5, 5, 4, 0.88) 92%,
        rgba(5, 5, 4, 0.15) 100%
    );
    z-index: 1;
}

/* Dekoratory CSS usunięte — tło zapewnia zdjęcie glowna_tlo.webp */
.home-hero__bell-deco,
.home-hero__gear-deco {
    display: none;
}

@keyframes home-gear-rotate {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ================================================================
   LEWA KOLUMNA
================================================================ */

.home-hero__left {
    position: relative;
    z-index: 10;
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: right;
    padding: 0 2vw 0 17vw;
}

/* Logo */
.home-hero__logo {
    display: block;
    /* 100% = cały content box lewej kolumny po odjęciu paddingu */
    width: 100%;
    max-width: 400px;
    margin-bottom: clamp(20px, 2.5vh, 36px);
    transition: filter 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.home-hero__logo:hover {
    filter: drop-shadow(0 0 16px rgba(201, 162, 39, 0.45)) brightness(1.15);
}

.home-hero__logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.2) drop-shadow(0 2px 20px rgba(0, 0, 0, 0.8));
}

/* Hasło */
.home-hero__tagline {
    margin: 0 0 clamp(32px, 4vh, 56px) 0;
    line-height: 1.2;
}

/* Hasło jest H1 (SEO) — neutralizujemy style nagłówków motywu.
   Krój szeryfowy Cinzel (kapitała rzymska) nawiązuje do napisu w logo;
   !important bo style.css wymusza Inter na wszystkich h1-h6. */
h1.home-hero__tagline {
    font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif !important;
    font-size: inherit;
    font-weight: inherit;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
    padding: 0;
}

.home-hero__tagline-line1 {
    display: block;
    font-size: clamp(24px, 3vw, 44px);
    font-weight: 400;
    color: #DCDFE0;
    letter-spacing: 0.04em;
}

.home-hero__tagline-line2 {
    display: block;
    font-size: clamp(24px, 3vw, 44px);
    font-weight: 400;
    color: #C9A227;
    letter-spacing: 0.04em;
}

/* Separator pod hasłem */
.home-hero__tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #C9A227 50%, transparent 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

/* Kontakt */
.home-hero__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    align-items: flex-end;
}

.home-hero__contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-hero__contact-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A227;
}

.home-hero__contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: #C9A227;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero__contact-text {
    font-size: clamp(12px, 1.1vw, 15px);
    color: #C0C5C2;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s;
}

.home-hero__contact-text:hover {
    color: #C9A227;
}

/* ================================================================
   SEPARATOR PIONOWY
================================================================ */

.home-hero__divider {
    position: relative;
    z-index: 10;
    flex: 0 0 1px;
    align-self: stretch;
    margin: 60px 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(201, 162, 39, 0.15) 15%,
        rgba(201, 162, 39, 0.5) 50%,
        rgba(201, 162, 39, 0.15) 85%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.15);
}

/* Złota kropka na środku separatora */
.home-hero__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C9A227;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.7);
}

/* ================================================================
   PRAWA KOLUMNA — USŁUGI
================================================================ */

.home-hero__right {
    position: relative;
    z-index: 10;
    flex: 0 0 calc(40% - 1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw 0 3vw;
}

.home-hero__services {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Separator nad pierwszą pozycją */
.home-hero__services::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.3) 0%, transparent 80%);
    margin-bottom: 0;
}

.home-hero__service-item {
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    position: relative;
}

/* Złota kropka separatora — jak w makiecie */
.home-hero__service-item::after {
    content: '·';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 162, 39, 0.5);
    font-size: 18px;
    line-height: 1;
    z-index: 2;
    background: #0e0e0e;
    padding: 0 4px;
}

.home-hero__service-link {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 22px);
    padding: clamp(14px, 1.8vh, 22px) 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.home-hero__service-link:hover {
    padding-left: 8px;
}

/* Ikona usługi */
.home-hero__service-icon {
    flex-shrink: 0;
    height: clamp(40px, 4.5vw, 58px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

/* Szerokość z proporcji (pliki ikon 261×174 = 3:2) — Safari przy width: 100%
   brał naturalną szerokość obrazka i rozciągał ikonę */
.home-hero__service-icon img,
.home-hero__service-icon svg {
    width: auto;
    height: 100%;
    aspect-ratio: 3 / 2;
    transition: filter 0.3s ease;
}

.home-hero__service-link:hover .home-hero__service-icon img {
    filter: brightness(1.4) sepia(0.3) saturate(2) hue-rotate(-10deg);
}

/* Tekst usługi */
.home-hero__service-name {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #C8CCC8;
    transition: color 0.3s ease;
    line-height: 1.35;
    min-width: 0;
    flex: 1;
}

.home-hero__service-link:hover .home-hero__service-name {
    color: #C9A227;
}

/* Strzałka pojawiająca się po hover */
.home-hero__service-arrow {
    margin-left: auto;
    font-size: 18px;
    color: rgba(201, 162, 39, 0);
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.home-hero__service-link:hover .home-hero__service-arrow {
    color: rgba(201, 162, 39, 0.6);
    transform: translateX(4px);
}

/* Złota poświata na hover całej pozycji */
.home-hero__service-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-hero__service-link:hover::before {
    opacity: 1;
}

/* Link do realizacji pod listą usług (na stronie głównej nie ma menu) */
/* Ten sam wiersz co usługa (.home-hero__service-link), wyróżniony złotym napisem */
.home-hero__realizations {
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.home-hero__realizations .home-hero__service-icon svg {
    fill: none;
    stroke: #7E8963;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.home-hero__realizations:hover .home-hero__service-icon svg {
    stroke: #C9A227;
}

.home-hero__realizations .home-hero__service-name {
    color: #C9A227;
}

.home-hero__realizations:hover .home-hero__service-name {
    color: #E0BC4A;
}

/* Strzałka widoczna od razu — to odnośnik „zobacz więcej” */
.home-hero__realizations .home-hero__service-arrow {
    color: rgba(201, 162, 39, 0.6);
}

.home-hero__realizations:hover .home-hero__service-arrow {
    color: #C9A227;
}

/* ================================================================
   RESPONSYWNOŚĆ — TABLET
================================================================ */

@media (max-width: 1100px) {
    .home-hero__left {
        padding: 0 2vw 0 10vw;
    }
    .home-hero__right {
        padding: 0 3vw 0 2vw;
    }
    .home-hero__logo {
        width: 100%;
    }
    .home-hero__tagline-line1,
    .home-hero__tagline-line2 {
        font-size: clamp(22px, 3vw, 38px);
    }
}

@media (max-width: 820px) {
    .home-hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .home-hero__left {
        flex: none;
        padding: 60px 8vw 32px;
        align-items: center;
        text-align: center;
    }

    .home-hero__tagline::after {
        margin: 20px auto 0;
    }

    .home-hero__contact {
        align-items: center;
    }

    .home-hero__divider {
        flex: none;
        width: 80%;
        height: 1px;
        margin: 0 auto;
        align-self: center;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(201, 162, 39, 0.5) 50%,
            transparent 100%
        );
    }

    .home-hero__divider::before {
        top: 50%;
        left: 50%;
    }

    .home-hero__right {
        flex: none;
        padding: 32px 8vw 60px;
    }
}

/* ================================================================
   ANIMACJE WEJŚCIA
================================================================ */

@keyframes home-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-hero__tagline {
    animation: home-fade-up 0.8s 0.15s ease both;
}
.home-hero__contact {
    animation: home-fade-up 0.8s 0.3s ease both;
}
.home-hero__services {
    animation: home-fade-up 0.8s 0.2s ease both;
}
.home-hero__realizations {
    animation: home-fade-up 0.8s 0.35s ease both;
}
