/* Homepage-specific enhancements */

.hero.photo {
    background-image: url('../img/hero.jpg'), url('../img/hero-photo.svg');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero.photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(82,16,25,0.22) 0%, rgba(65,12,21,0.18) 55%, rgba(52,9,16,0.12) 100%),
        radial-gradient(circle at 50% 12%, rgba(227,6,19,0.08), transparent 65%),
        radial-gradient(circle at 18% 24%, rgba(244,227,195,0.12), transparent 58%),
        radial-gradient(circle at 78% 82%, rgba(163,177,138,0.1), transparent 62%);
    z-index: 0;
    pointer-events: none;
}

.hero.photo .container {
    width: 100%;
    padding-left: clamp(32px, 8vw, 140px);
    padding-right: clamp(32px, 8vw, 140px);
}

.hero.photo > * { position: relative; z-index: 1; }

.hero-copy.hero-pro {
    max-width: 780px;
    text-align: left;
    margin: 0;
}

.hero.photo .hero-copy h1 {
    font-size: clamp(36px, 5.5vw, 58px);
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fdfdfd;
    text-shadow:
        0 0 2px rgba(17, 9, 14, 0.45),
        0 3px 10px rgba(12, 6, 8, 0.35),
        1px 1px 0 rgba(16, 9, 12, 0.35),
        -1px 1px 0 rgba(16, 9, 12, 0.3),
        1px -1px 0 rgba(16, 9, 12, 0.28),
        -1px -1px 0 rgba(16, 9, 12, 0.28);
}

.hero.photo .hero-copy .tunis-accent { color: var(--beige); }
.hero.photo .hero-copy .subtitle {
    font-size: 18px;
    margin: 0 0 14px;
    color: #fef6f6;
    opacity: 0.95;
    text-shadow:
        0 0 1px rgba(17, 9, 14, 0.35),
        0 2px 8px rgba(12, 6, 8, 0.3),
        1px 1px 0 rgba(16, 9, 12, 0.28),
        -1px 1px 0 rgba(16, 9, 12, 0.24);
}
.hero.photo .hero-copy p {
    margin: 0 0 16px;
    max-width: 64ch;
    color: rgba(253, 245, 244, 0.9);
    text-shadow:
        0 0 1px rgba(17, 9, 14, 0.3),
        0 2px 6px rgba(12, 6, 8, 0.28),
        0.8px 0.8px 0 rgba(16, 9, 12, 0.22),
        -0.8px 0.8px 0 rgba(16, 9, 12, 0.18);
}
.hero.photo .cta-group { gap: 14px; margin-top: 18px; }

.hero.photo .btn.primary {
    padding: 12px 22px;
    font-weight: 800;
    background: var(--primary);
    box-shadow: 0 16px 36px rgba(227,6,19,0.28);
}
.hero.photo .btn.primary:hover {
    background: var(--primary-600);
    box-shadow: 0 18px 40px rgba(200,16,46,0.32);
}
.hero.photo .btn.accent {
    padding: 12px 22px;
    background: var(--accent);
    box-shadow: 0 14px 32px rgba(163,177,138,0.24);
}
.hero.photo .btn.accent:hover {
    background: var(--accent-600);
    box-shadow: 0 16px 36px rgba(124,139,100,0.28);
}
.hero.photo .btn.text {
    color: #f4e3c3;
}
.hero.photo .btn.text:hover {
    color: #ffffff;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-bullets li {
    color: rgba(255, 240, 243, 0.92);
    font-weight: 600;
}
.hero-bullets li + li::before {
    content: '•';
    margin-right: 10px;
    color: var(--primary);
}

@media (max-width: 900px) {
    .hero.photo {
        min-height: 78vh;
        align-items: flex-start; /* place text higher on small screens */
    }
    .hero.photo .container {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 168px;
        padding-bottom: 12px;
    }
}
