/* ==========================================================================
   1. GLOBAL & LAYOUT ADJUSTMENTS
   ========================================================================== */
body {
    padding-top: 80px; /* Offset for the fixed/sticky navbar */
}

#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: #ffffff;
}

/* ==========================================================================
   2. HERO CAROUSEL / SLIDESHOW TWEAKS
   ========================================================================== */
.hero-carousel .carousel-item {
    height: 550px;
    background-color: var(--core-navy);
}

.hero-carousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.hero-carousel img:hover {
    opacity: 0.85;
}

.carousel-caption-custom {
    background: linear-gradient(transparent, rgba(28, 31, 66, 0.9));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 40px;
}

/* Change slider indicator lines into sleek circular dots */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important; /* Forces it to be a perfect circle */
    border: none !important;
    background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent white for inactive dots */
    margin: 0 6px !important; /* Adds subtle spacing between dots */
    transition: all 0.3s ease;
}

/* Color for the active slide dot */
.hero-carousel .carousel-indicators .active {
    background-color: var(--warm-sand) !important; /* Perfect match for your PFCED palette */
    transform: scale(1.2); /* Subtle pop effect for the active slide */
}

/* Prevent layout breaking on small mobile screens with multiple dots */
@media (max-width: 576px) {
    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
}

/* ==========================================================================
   3. CUSTOM DESIGN TOKENS (PFCED Palette Mapping)
   ========================================================================== */
.text-custom-title {
    color: var(--core-navy);
}

.text-custom-icon {
    color: var(--bright-blue);
}

.bg-custom-accent-line {
    background-color: var(--warm-sand);
}

.bg-custom-section {
    background-color: var(--soft-light) !important;
}

/* Premium Custom Button */
.btn-custom-theme {
    background-color: var(--deep-indigo) !important;
    border-color: var(--deep-indigo) !important;
    color: var(--clean-white) !important;
    transition: all 0.3s ease;
}

.btn-custom-theme:hover {
    background-color: var(--core-navy) !important;
    border-color: var(--core-navy) !important;
    transform: translateY(-2px);
}

/* Amenity Cards */
.amenity-card {
    background-color: var(--clean-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
}

.amenity-card h5 {
    color: var(--core-navy);
}

.amenity-card p {
    color: var(--text-light);
}

/* ==========================================================================
   4. MULTI-IMAGE GALLERY SLIDER
   ========================================================================== */
.gallery-container {
    height: 220px; /* Exact height for baseline grid uniformity */
    background-color: #f8f9fa;
}

.gallery-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

/* Zoom hover effect prior to click trigger */
.gallery-slider-img:hover {
    transform: scale(1.05);
    filter: brightness(90%);
}

/* Slider Controls positioning and opacity tuning */
.gallery-arrow {
    width: 5% !important;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.gallery-arrow:hover {
    opacity: 1;
}

.gallery-arrow .carousel-control-prev-icon,
.gallery-arrow .carousel-control-next-icon {
    background-size: 50%;
}

/* Responsive breakpoint scaling for small viewport profiles */
@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    .gallery-container {
        height: 120px;
    }
}

/* ==========================================================================
   5. FEATURED LOCATION: STATIC HERO STYLING
   ========================================================================== */
#makilingHero h1, 
#makilingHero .display-4 {
    color: var(--clean-white) !important;
    text-shadow: 0 3px 12px rgba(28, 31, 66, 0.6); /* Soft navy drop shadow to increase visual legibility */
    font-weight: 700;
}

#makilingHero p, 
#makilingHero .lead {
    color: var(--soft-light) !important;
    text-shadow: 0 2px 8px rgba(28, 31, 66, 0.5);
    opacity: 0.95;
}

#makilingHero .badge {
    background-color: var(--warm-sand) !important;
    color: var(--core-navy) !important; /* Rich contrast on the accent tone background */
    font-weight: 700;
    letter-spacing: 1px;
}

/* Footer Control Elements */
.back-to-projects-footer-btn {
    background-color: transparent;
    border: 2px solid var(--core-navy);
    color: var(--core-navy);
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-projects-footer-btn:hover {
    background-color: var(--core-navy);
    color: var(--clean-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 31, 66, 0.15) !important;
}