/* ================================================
   DDS Dental Website - Hero Section
   ================================================
   Full-height hero with background image and overlay
   ================================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 20px 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Show desktop background on larger screens */
.hero-background-desktop {
    display: block;
}

/* Hide mobile background on larger screens */
.hero-background-mobile {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-gravel);
    opacity: 0.85;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1,
.hero-content h2 {
    font-family: var(--font-primary);
    font-size: 48px;
    color: var(--bg-white);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-image {
    display: none;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 20px 80px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: 80vh;
    }

    /* Hide desktop background on mobile */
    .hero-background-desktop {
        display: none;
    }

    /* Show mobile background on mobile */
    .hero-background-mobile {
        display: block;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}
