/* Homepage hero background photo (public/images/hero/hero-background.webp) */
.index-page .hero.hero--with-photo .hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0b1f3a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.index-page .hero.hero--with-photo .hero-photo::after {
    background: linear-gradient(
        180deg,
        rgba(11, 31, 58, 0.82) 0%,
        rgba(11, 31, 58, 0.58) 45%,
        rgba(11, 31, 58, 0.86) 100%
    );
    content: "";
    inset: 0;
    position: absolute;
}

.index-page .hero.hero--with-photo .bg-effects {
    z-index: 1;
}

.index-page .hero.hero--with-photo .bg-effects .gradient-orb,
.index-page .hero.hero--with-photo .bg-effects .floating-shape {
    opacity: 0.35;
}

/* Checkered grid overlay (same as original hero, tuned for photo background) */
.index-page .hero.hero--with-photo .bg-effects .grid-pattern {
    opacity: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.index-page .hero.hero--with-photo .hero-header h1 {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.index-page .hero.hero--with-photo .hero-header p {
    color: rgba(255, 255, 255, 0.92);
}

.index-page .hero.hero--with-photo .hero-badge {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.index-page .hero.hero--with-photo .container {
    z-index: 2;
}

.index-page .hero.hero--with-photo .search-bar {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
