/**
 * HERO SECTION CUSTOM - Background Image Version
 * Centered text with background image for David Martin Portfolio
 */

/* ============================================
   HERO SECTION AVEC BACKGROUND IMAGE
   ============================================ */

.hero-horizontal {
    min-height: 450px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;

    /* Background image - À PERSONNALISER */
    background-image: url('/assets/img/hero-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Fallback si pas d'image de fond */
.hero-horizontal:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e293b 100%);
}

/* Overlay sombre pour lisibilité du texte */
.hero-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 41, 0.4);
    pointer-events: none;
    z-index: 0;
}

/* Effet de lumière subtil (optionnel) */
.hero-horizontal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Conteneur centré */
.hero-content-centered {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Titre principal - BLANC */
.hero-content-centered .hero-title,
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Tagline - BLANC */
.hero-content-centered .hero-tagline,
.hero-tagline {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablettes */
@media (max-width: 1024px) {
    .hero-horizontal {
        min-height: 400px;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }
}

/* Tablettes portrait et gros téléphones */
@media (max-width: 768px) {
    .hero-horizontal {
        min-height: 350px;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }
}

/* Petits téléphones */
@media (max-width: 480px) {
    .hero-horizontal {
        min-height: 300px;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }
}

/* ============================================
   ANCIENS STYLES (COMPATIBILITÉ)
   Si vous avez encore des références aux anciennes classes
   ============================================ */

/* Conteneur flex horizontal (ancien style) */
.hero-content-horizontal {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Photo à gauche (ancien style - maintenant caché) */
.hero-image-left {
    display: none;
}

/* Texte à droite (ancien style) */
.hero-text-right {
    flex: 1;
    text-align: left;
}

.hero-text-right .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-text-right .hero-tagline {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}