/* Navegación */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    height: 80px;
    width: auto;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.phone-number {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.quote-button {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
}
/* Hero Styles Mejorados */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    /* Tu imagen de la casa */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(233, 116, 81, 0.95) 0%,
            rgba(233, 116, 81, 0.45) 50%,
            rgba(233, 116, 81, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 180px 2rem 120px;
    text-align: center;
    color: white;
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards;
}

.subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards 0.3s;
}

.tagline {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s forwards 0.6s;
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s forwards 0.9s;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #ffffff;
    color: #E97451;
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Wave Overlay */
.wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 4;
}

.wave {
    width: 100%;
    height: auto;
}

/* Animaciones */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content {
        padding: 120px 1rem 80px;
    }

    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Efectos de hover en navegación */
.quote-button {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #E97451;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quote-button:hover {
    background: #E97451;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Efecto de desplazamiento para el fondo */
.hero-bg {
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}