/* Styles specific to the Properties page */

/* --- Page Hero --- */
.page-hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Projects Gallery --- */
.projects-gallery {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-card {
    display: block;
    text-decoration: none;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-image {
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h3 {
    font-size: 1.5rem;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.gallery-content p {
    color: #666;
    margin-bottom: 1rem;
}

.details-link {
    font-weight: 600;
    color: var(--primary-blue);
    transition: padding-left 0.3s ease;
}

.gallery-card:hover .details-link {
    padding-left: 5px;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}