/* Estilos específicos para la página de Appartements à Louer */

/* Hero Section */
.hero-appartements {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url('../images/gallery/2017_0929_17030700-1024x576.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-appartements .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.hero-appartements h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-appartements p {
    font-size: 1.7rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Animation keyframes */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--white);
}

.intro-section .section-header p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
}

.apt-types {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.apt-type-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apt-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.apt-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.apt-icon i {
    font-size: 2rem;
}

.apt-type-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.apt-type-card p {
    color: #666;
    margin-bottom: 0;
}

/* Search Options Section */
.search-options {
    padding: 80px 0;
    background-color: var(--light-color);
}

.search-grid {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-column {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

.search-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.search-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.search-icon i {
    font-size: 1.2rem;
}

.search-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-link:hover {
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f4f4f4 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section Modifications */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/gallery/2017_0929_15565700.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
    z-index: -1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-appartements h1 {
        font-size: 3rem;
    }
    
    .hero-appartements p {
        font-size: 1.3rem;
    }
    
    .apt-types {
        gap: 20px;
    }
    
    .search-grid {
        flex-direction: column;
    }
    
    .search-column {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-appartements h1 {
        font-size: 2.5rem;
    }
    
    .hero-appartements p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .apt-type-card {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-appartements h1 {
        font-size: 2rem;
    }
    
    .hero-appartements p {
        font-size: 1rem;
    }
    
    .apt-icon, .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .apt-icon i, .feature-icon i {
        font-size: 1.5rem;
    }
}