/**
 * Estilos dos componentes
 *
 * @package DavidPires
 * @since 1.0.0
 */

/* ==========================================================================
   Componente Hero
   ========================================================================== */

.dp-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.dp-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.dp-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dp-hero__background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.dp-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.dp-hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.dp-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.dp-hero__actions {
    margin-top: 2rem;
}

/* ==========================================================================
   Componente Section
   ========================================================================== */

.dp-section {
    padding: 80px 20px;
}

.dp-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.dp-section__title {
    text-align: center;
    margin-bottom: 2rem;
}

.dp-section__content {
    max-width: 800px;
    margin: 0 auto;
}

.dp-section--has-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   Componente CTA
   ========================================================================== */

.dp-cta {
    padding: 80px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.dp-cta__container {
    max-width: 800px;
    margin: 0 auto;
}

.dp-cta__title {
    margin-bottom: 1rem;
}

.dp-cta__description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #666;
}

.dp-cta__actions {
    margin-top: 2rem;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

@media (max-width: 768px) {
    .dp-hero {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .dp-hero__title {
        font-size: 2rem;
    }
    
    .dp-hero__subtitle {
        font-size: 1rem;
    }
    
    .dp-section,
    .dp-cta {
        padding: 60px 20px;
    }
}
