/*
 * Broska.si — naslovna stran, studijska prenova 2026-07-24
 * Naloženo samo na domači strani, za obstoječe podstrani ne spreminja videza.
 */

html,
body {
    overflow-x: clip;
}

/* Na Broska.si poravnaj mrežno pasico za en piksel od vsakega roba strani. */
.ns-network-bar {
    width: calc(100% - 2px) !important;
    margin-right: 1px !important;
    margin-left: 1px !important;
    box-sizing: border-box !important;
}

#hero {
    min-height: auto;
    padding: 184px 0 104px;
    background:
        radial-gradient(circle at 9% 16%, rgba(210, 105, 30, 0.15), transparent 31rem),
        radial-gradient(circle at 88% 78%, rgba(251, 191, 36, 0.13), transparent 30rem),
        linear-gradient(118deg, #fffaf5 0%, #fff5ea 48%, #f7ede2 100%);
    isolation: isolate;
}

#hero::before {
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(rgba(37, 47, 64, 0.075) 0.8px, transparent 0.8px);
    background-size: 19px 19px;
    opacity: 0.5;
}

#hero::after {
    right: -12rem;
    bottom: -15rem;
    z-index: -1;
    width: 39rem;
    height: 39rem;
    border: 1px solid rgba(210, 105, 30, 0.15);
    border-radius: 50%;
    background: transparent;
    box-shadow:
        0 0 0 5rem rgba(255, 255, 255, 0.2),
        0 0 0 10rem rgba(210, 105, 30, 0.035);
}

#hero .container {
    z-index: 2;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.25rem;
    color: #8b461c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hero-eyebrow span {
    width: 2.5rem;
    height: 2px;
    flex: 0 0 auto;
    background: var(--primary-color);
}

#hero h1 {
    max-width: 690px;
    margin: 0 0 1.45rem;
    color: #202a3a;
    font-size: clamp(3.35rem, 5vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: none;
}

#hero h1 span {
    display: block;
    margin-top: 0.12em;
    color: var(--primary-color);
}

#hero p.lead {
    max-width: 650px;
    margin: 0;
    color: #4a5565;
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    line-height: 1.7;
}

#hero p.lead strong {
    color: #273344;
    font-weight: 750;
}

.hero-actions .btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding-right: 1.55rem;
    padding-left: 1.55rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 750;
}

.hero-actions .btn-primary {
    border-color: #c55d19;
    background: linear-gradient(135deg, #d46a21, #bd5515);
    box-shadow: 0 14px 28px rgba(182, 77, 14, 0.22);
}

.hero-actions .btn-primary:hover {
    border-color: #ad4b10;
    background: linear-gradient(135deg, #c65b18, #a9470e);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(182, 77, 14, 0.27);
}

.hero-actions .btn-outline-primary {
    border-color: rgba(173, 75, 16, 0.42);
    background: rgba(255, 255, 255, 0.58);
    color: #9b460f;
    backdrop-filter: blur(8px);
}

.hero-actions .btn-outline-primary:hover {
    border-color: #b65314;
    background: #fff;
    color: #8c3d0d;
}

.hero-reassurance {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1rem 0 0;
    color: #687180;
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-reassurance i {
    color: var(--primary-color);
}

.trust-badges {
    gap: 0.7rem;
    margin-top: 1.65rem;
}

.trust-badge {
    min-width: 0;
    gap: 0.7rem;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(181, 85, 23, 0.13);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 22px rgba(46, 38, 30, 0.065);
}

.trust-badge i {
    font-size: 1.15rem;
}

.trust-badge span,
.trust-badge strong,
.trust-badge small {
    display: block;
}

.trust-badge strong {
    color: #293445;
    font-size: 0.82rem;
    line-height: 1.25;
}

.trust-badge small {
    margin-top: 0.12rem;
    color: #7a818d;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-studio-card {
    position: relative;
    width: min(640px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(130, 79, 39, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 32px 70px rgba(63, 43, 26, 0.18),
        0 4px 18px rgba(63, 43, 26, 0.08);
    transform: rotate(0.75deg);
}

.hero-studio-card::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border: 1px solid rgba(210, 105, 30, 0.18);
    border-radius: 36px;
    transform: rotate(-2deg);
}

.hero-studio-card__image {
    position: relative;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #f6eadc;
}

.hero-studio-card__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-studio-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-studio-card__stamp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.86);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.hero-studio-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    text-align: left;
}

.hero-studio-card figcaption span {
    color: #a44b14;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-studio-card figcaption strong {
    color: #273344;
    font-size: 0.86rem;
    font-weight: 750;
}

.quick-facts-panel {
    margin-top: -38px;
}

/* Prve tri fotografije so na novo studijsko obdelani resnični izdelki. */
.gallery-grid > div:nth-child(-n + 3) .gallery-item {
    border: 1px solid rgba(210, 105, 30, 0.16);
    background: #fff;
    box-shadow: 0 16px 34px rgba(45, 37, 31, 0.12);
}

.gallery-grid > div:nth-child(-n + 3) .gallery-item img {
    height: 300px;
}

@media (max-width: 1199.98px) {
    #hero {
        padding-top: 170px;
    }

    #hero h1 {
        font-size: clamp(3rem, 5.4vw, 4.45rem);
    }

    .trust-badge {
        flex: 1 1 150px;
    }
}

@media (max-width: 991.98px) {
    #hero {
        padding: 162px 0 86px;
    }

    #hero h1,
    #hero p.lead {
        max-width: 780px;
    }

    .hero-studio-card {
        width: min(720px, 100%);
        margin-top: 0.5rem;
        transform: none;
    }

    .quick-facts-panel {
        margin-top: -28px;
    }
}

@media (max-width: 767.98px) {
    .ns-network-bar {
        width: calc(100% - 2px) !important;
    }

    #hero {
        padding: 150px 0 72px;
    }

    #hero::after {
        right: -22rem;
        bottom: -19rem;
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    #hero h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
        letter-spacing: -0.047em;
    }

    #hero p.lead {
        font-size: 1.03rem;
        line-height: 1.62;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-reassurance {
        align-items: flex-start;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: 1fr;
    }

    .trust-badge {
        width: 100%;
    }

    .hero-studio-card {
        border-radius: 22px;
    }

    .hero-studio-card__image {
        aspect-ratio: 4 / 3;
    }

    .hero-studio-card figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.9rem 1rem;
    }

    .quick-facts-panel {
        margin-top: -20px;
    }

    .gallery-grid > div:nth-child(-n + 3) .gallery-item img {
        height: 270px;
    }
}

@media (max-width: 420px) {
    #hero {
        padding-top: 142px;
    }

    #hero h1 {
        font-size: 2.65rem;
    }

    .hero-studio-card__stamp {
        top: 0.7rem;
        right: 0.7rem;
        padding: 0.45rem 0.62rem;
        font-size: 0.65rem;
    }
}

