/* =========================================
   HOMEPAGE SPECIFIC
========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--brand-orange);
    margin-top: 10px;
}

.hero-slider {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active { opacity: 1; }

.hero-slider .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-slider h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-slider h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 400; opacity: 0.9; }

.province-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.province-card { 
    position: relative; 
    height: 300px; 
    background-size: cover; 
    background-position: center; 
    border-radius: 8px; 
    overflow: hidden; 
    color: white; 
    display: flex; 
    align-items: flex-end; 
    border: 3px solid transparent; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.province-card:hover { 
    transform: translateY(-7px); 
    border: 3px solid var(--brand-orange); 
    box-shadow: 0 15px 30px rgba(0, 40, 85, 0.25); 
}

.province-overlay {
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 40, 85, 0.9), transparent);
}
.province-overlay h3 { font-size: 1.5rem; margin-bottom: 5px; }
.listing-count { font-size: 0.9rem; color: var(--brand-orange); font-weight: bold; }

.recent-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.listing-card, .blog-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-subtle); 
    border-bottom: 4px solid var(--brand-navy); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0, 0, 85, 0.03); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.listing-card:hover, .blog-card:hover { 
    transform: translateY(-7px); 
    border-bottom: 4px solid var(--brand-orange); 
    box-shadow: 0 15px 25px rgba(0, 40, 85, 0.12), 0 0 0 1px rgba(255, 102, 0, 0.05); 
}

.listing-image, .blog-image { width: 100%; height: 200px; object-fit: cover; position: relative; background-size: cover; background-position: center; }
.listing-content, .blog-content { padding: 20px; }
.listing-title, .blog-content h3 { color: var(--brand-navy); font-size: 1.4rem; margin-bottom: 10px; }
.blog-date { color: var(--brand-orange); font-size: 0.85rem; font-weight: bold; text-transform: uppercase; }
.read-more { display: inline-block; margin-top: 15px; color: var(--brand-navy); font-weight: bold; }

@media (max-width: 768px) {
    .province-grid { grid-template-columns: 1fr; } 
    .province-card { height: 250px; }
    .blog-section { display: none; }
}