/* Projects Page Styles - Extracted from nanthalala.html */

:root {
    --bg-color: #FDFBF7;
    /* Soft Alabaster/Cream */
    --text-main: #1A1A1A;
    /* Near Black */
    --text-secondary: #555555;
    --accent-color: #2C3E50;
    /* Deep Slate */
    --border-color: #E5E5E5;
}

/* Header Menu Shadow */
#navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo sizing to match other pages */
.navbar-brand img {
    max-width: 140px;
    height: auto;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}



/* --- Layout: Split / Sticky --- */
.project-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
}

/* Left Side: Sticky Info */
.project-sidebar {
    width: 30%;
    padding: 4rem;
    background-color: #ffffff;
    position: sticky;
    top: 100px;
    /* Adjust for header height */
    height: calc(100vh - 100px);
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right Side: Scrollable Content */
.project-content {
    width: 70%;
    background-color: #fff;
}

.hero-image-container {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;

}

.hero-image {
    width: 100%;

    background-size: cover;
    aspect-ratio: 16 / 8;
    background-position: center;
}

.content-padding {
    padding: 5rem;
}

/* --- Typography & Elements --- */
.project-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.project-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.spec-item label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.spec-item span {
    font-size: 1.5rem;
    font-weight: 600;
}

.spec-item.full-width {
    grid-column: span 2;
}

/* --- Amenities Grid --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    /* Creates borders */
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.amenity-card {
    background-color: #fff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amenity-card h4 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.amenity-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* --- Location List --- */
.location-list {
    list-style: none;
    padding: 0;
    margin-bottom: 4rem;
}

.location-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.location-list li:first-child {
    border-top: 1px solid var(--border-color);
}

.loc-name {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-icon {
    font-size: 1.3rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.loc-dist {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: right;
}

/* --- Gallery Grid (Masonry-ish) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    display: block;
    overflow: hidden;
    padding: 1.5rem;
    background-color: #fff;
}

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

.gallery-item.full-width {
    grid-column: span 2;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar-brand img {
        max-width: 105px;
    }

    .project-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 3rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        top: 0;
    }

    .project-content {
        width: 100%;
    }

    .hero-image-container {
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        height: 40vh;
    }

    .content-padding {
        padding: 2rem 1.5rem;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-width: 100px;
    }
}