/* ========================================
   PROJECT DETAILS PAGE STYLES
   ======================================== */

/* Project Hero */
.project-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-3xl);
    color: #fff;
    margin-top: -80px; /* Counteract header padding if transparent */
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.project-hero-content {
    max-width: 800px;
}

.project-badges {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.status-badge {
    background: #3B82F6;
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.location-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.project-title-large {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.project-title-large .italic {
    color: #C62828;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.project-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.project-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
}

.quick-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overview-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Amenities Detailed */
.amenities-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.amenity-detail-card {
    background: var(--color-bg-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.amenity-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.amenity-detail-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.amenity-detail-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        height: 300px;
    }
    
    .project-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}