/* ========================================
   Zonas MexLife - Horizontal Slider Style
   ======================================== */

/* Main Container */
.zonas-mexlife.properties-horizontal-slider {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 70px 0;
}

.zonas-mexlife .phs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.zonas-mexlife .phs-header {
    text-align: center;
    margin-bottom: 50px;
}

.zonas-mexlife .phs-title {
    font-size: 32px;
    font-weight: 600;
    color: #181A20;
    margin-bottom: 10px;
}

.zonas-mexlife .phs-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 26.6px;
    color: #181A20;
    max-width: 800px;
    margin: 0 auto;
}

/* Track Wrapper */
.zonas-mexlife .phs-track-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.zonas-mexlife .phs-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Area Card */
.zonas-mexlife .area-card {
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.zonas-mexlife .area-card:hover {
    transform: translateY(-5px);
}

.zonas-mexlife .area-card-image {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.zonas-mexlife .area-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zonas-mexlife .area-card:hover .area-card-image img {
    transform: scale(1.05);
}

/* Overlay */
.zonas-mexlife .area-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(26, 28, 33, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.zonas-mexlife .area-card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.zonas-mexlife .area-card-count {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation */
.zonas-mexlife .phs-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.zonas-mexlife .phs-nav-buttons {
    display: flex;
    gap: 12px;
}

.zonas-mexlife .phs-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zonas-mexlife .phs-nav-btn:hover {
    border-color: #46AD67;
    background: #46AD67;
}

.zonas-mexlife .phs-nav-btn:hover svg {
    fill: white;
}

.zonas-mexlife .phs-nav-btn.active {
    border-color: #46AD67;
    background: #46AD67;
}

.zonas-mexlife .phs-nav-btn.active svg {
    fill: white;
}

.zonas-mexlife .phs-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.zonas-mexlife .phs-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: #6B7280;
    transition: fill 0.3s ease;
}

/* Progress Bar */
.zonas-mexlife .phs-nav-progress {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.zonas-mexlife .phs-nav-progress-bar {
    height: 100%;
    background: #46AD67;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .zonas-mexlife .area-card {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
    
    .zonas-mexlife .phs-title {
        font-size: 28px;
    }
    
    .zonas-mexlife .phs-subtitle {
        font-size: 13px;
        padding: 0 20px;
    }
    
    .zonas-mexlife .area-card-image {
        height: 300px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .zonas-mexlife .area-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
    
    .zonas-mexlife.properties-horizontal-slider {
        padding: 50px 0;
    }
    
    .zonas-mexlife .phs-header {
        margin-bottom: 30px;
    }
    
    .zonas-mexlife .phs-title {
        font-size: 24px;
    }
    
    .zonas-mexlife .area-card-image {
        height: 250px;
    }
    
    .zonas-mexlife .area-card-title {
        font-size: 20px;
    }
    
    .zonas-mexlife .phs-nav-progress {
        max-width: 150px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .zonas-mexlife .area-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .zonas-mexlife .phs-container {
        padding: 0 15px;
    }
    
    .zonas-mexlife .phs-title {
        font-size: 22px;
    }
    
    .zonas-mexlife .phs-subtitle {
        font-size: 12px;
    }
    
    .zonas-mexlife .area-card-image {
        height: 280px;
    }
    
    .zonas-mexlife .phs-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .zonas-mexlife .phs-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .zonas-mexlife .phs-navigation {
        gap: 15px;
        margin-top: 30px;
    }
    
    .zonas-mexlife .phs-nav-progress {
        max-width: 100px;
    }
}
