.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    color: var(--heading-color);
}
.glance-details{
    color: var(--text-color);
}
/* --- ANIMATION STYLES --- */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- 1. HERO SECTION --- */
.hero-section {
    padding: calc(70px + 5rem) 0 0 0;
}
.project-info-container {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    will-change: transform, opacity;
}
.project-title {
    font-family: var(--font-primary);
    font-size: 2.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--heading-color);
}
.project-address { color: var(--text-color); }
.hero-image-container {
    height: 80vh;
    background-image: url('/images/projects/project-header.jpg');
    background-size: cover;
    background-position: center top;
    overflow: hidden;
    will-change: background-position;
}


/* --- 2. INTRO SECTION --- */
.intro-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--heading-color);
}
.intro-columns {
    color: var(--text-color);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.intro-columns p{
    max-width: 100%;
    margin: 0 0 1rem 0;
}
.brochure-button {
    display: block;
    width: max-content;
    margin: 0 auto;
    background-color: var(--text-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}
.brochure-button:hover { background-color: #4e342e; }
.brochure-button .arrow { margin-left: 0.5rem; }


/* --- 3. AT A GLANCE SECTION --- */
.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.glance-table {
    width: 100%;
    border-collapse: collapse; /* Removes space between cell borders */
    font-size: 1rem;
    color: #333;
}

.glance-table th,
.glance-table td {
    text-align: left;
    padding: 1.25rem 0; /* Generous vertical spacing */
    border-bottom: 1px solid #e5e5e5; /* A light separator line for each row */
    vertical-align: top; /* Ensures text aligns to the top if it wraps */
}

.glance-table th {
    font-weight: 600; /* Makes the title bold */
    color: #1a202c;
    width: 40%; /* Allocates a fixed width for the title column */
    padding-right: 1rem; /* Space between title and value */
}

.glance-table td {
    color: #555;
    font-weight: 400;
}

/* Removes the bottom border from the very last row for a cleaner look */
.glance-table tr:last-child th,
.glance-table tr:last-child td {
    border-bottom: none;
}
.glance-image img { width: 100%; height: auto; display: block; }


/* --- 4. FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}
.feature-item {
    border: 1px solid #e0e0e0;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-item img {
    height: 90px;
    margin-bottom: 1rem;
    object-fit: contain;
}
.feature-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}


/* --- GALLERY SECTION (with Swiper) --- */
.gallery-section-swiper {
    padding: 80px 0;
    background-color: #fdfcf9; /* A very light beige */
}

.gallery-section-swiper .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.project-gallery-swiper {
    padding: 10px; /* Gives space for the box-shadow to be visible */
}

.project-gallery-swiper .swiper-slide {
    height: 400px; /* Set a consistent height for all slides */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.project-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery-swiper .swiper-slide a:hover img {
    transform: scale(1.05); /* Nice zoom effect on hover */
}

/* Elegant Animated Inner Border on Hover */
.project-gallery-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 10;
}
.project-gallery-swiper .swiper-slide:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Custom Swiper Navigation Arrows */
.gallery-section-swiper .swiper-button-next,
.gallery-section-swiper .swiper-button-prev {
    color: #402F21; /* Your heading color */
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}
.gallery-section-swiper .swiper-button-next:hover,
.gallery-section-swiper .swiper-button-prev:hover {
    background-color: #fff;
}

.gallery-section-swiper .swiper-button-next::after,
.gallery-section-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
}

/* Fancybox Customization (optional, but good to have) */
.fancybox__toolbar {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

/* --- 6. LOCATION SECTION --- */
.location-section {
    padding: 80px 0;
    background-color: #F5F1EB;
}

.location-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.map-container {
    width: 100%;
    /* You can set a max-height if you want */
    max-height: 500px;
    overflow: hidden;
    border-radius: 10px; /* Optional: adds nice rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* This makes the iframe inside the container responsive */
.map-container iframe {
    width: 100%;
    height: 500px; /* Set a default height */
    border: 0;
}


/* --- 7. CONTACT SECTION --- */
.contact-section { background-color: #000; color: #fff; }
.contact-section h2 { font-family: var(--font-primary); font-size: 3rem; margin-bottom: 2rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 1rem 0;
    font-family: var(--sans-font);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.7); }
.form-row { display: flex; gap: 2rem; }
.contact-section button,
.contact-section-btn {
    background: #fff;
    color: var(--text-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.contact-section button:hover,
.contact-section-btn:hover { background-color: #eee; transform: translateY(-2px); }
.contact-section-btn i {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: rotate(-45deg);
}
.contact-section-btn:hover i {
    transform: rotate(0deg) translateX(4px);
}




/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .section-title, .project-title { font-size: 2.5rem; }
    .intro-columns { columns: 1; }
    .glance-grid { grid-template-columns: 1fr; }
    .intro-columns p { width: 100%; }
    .form-row { flex-direction: column; gap: 0; }
}