/* =========================================================
   ELITE HOMEPAGE CSS 
   Av. Ecenaz Özarslan - Boxed Warm Light Luxury Theme
   ========================================================= */

/* GLOBAL WARM LUXURY OVERRIDES */
body {
    background-color: #F7F5F0 !important; /* Luxurious Warm Cream / Alabaster */
    color: #1A1F24 !important;             /* Rich dark slate text */
    font-family: 'Poppins', sans-serif !important;
}

/* Base Headings & Texts */
h1, h2, h3, h4, h5, h6 {
    color: #111418 !important; /* Almost black */
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: -0.01em !important;
    font-weight: 600 !important;
}

p, span, div, li {
    font-family: 'Poppins', sans-serif !important;
}

/* ================= HEADER ================= */
.modern-header .modern-header-shell {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(204, 165, 91, 0.2) !important; /* Soft Gold line */
}

/* When Scrolled */
.modern-header.scrolled .modern-header-shell {
    background: rgba(15, 26, 50, 0.96) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    border-bottom: 1px solid rgba(204, 165, 91, 0.25) !important;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.22) !important;
}

/* Force Header Text Colors */
.modern-header .navbar-brand .brand-logo, 
.modern-header .navbar-brand strong,
.modern-header .brand-text strong {
    color: #111418 !important;
}
.modern-header .modern-nav-link {
    color: rgba(255, 255, 255, 0.90) !important;
}
.modern-header .brand-text small {
    color: #CCA55B !important; 
}
.modern-nav-link {
    font-weight: 500 !important;
}
.modern-nav-link:hover, .modern-nav-link.active {
    color: #E8C97A !important;
}

/* Keep nav links white when scrolled (dark bg) */
.modern-header.scrolled .modern-nav-link {
    color: rgba(255, 255, 255, 0.90) !important;
}
.modern-header.scrolled .modern-nav-link:hover,
.modern-header.scrolled .modern-nav-link.active {
    color: #E8C97A !important;
}

/* ================= BUTTONS ================= */
.btn-modern, .btn-header-cta, .green-btn-white {
    background: #CCA55B !important; /* Luxurious Gold */
    color: #FFFFFF !important;       /* White text */
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(204, 165, 91, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-modern:hover, .btn-header-cta:hover, .green-btn-white:hover {
    background: #B28C44 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(204, 165, 91, 0.4) !important;
    color: #FFFFFF !important;
}

.green-btn-dark {
    background: #FFFFFF !important;
    color: #111418 !important;
    border: 1px solid #E2DEC9 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
}
.green-btn-dark:hover {
    background: #F7F5F0 !important;
    border-color: #CCA55B !important;
    color: #111418 !important;
}

/* ================= NEW BOXED SLIDER GALLERY ================= */
.green-hero {
    position: relative;
    padding: 20px 0 50px 0;
    background: #F7F5F0;
    overflow: visible;
}

/* Boxed Container Wrapper */
.elite-slider-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); /* Luxurious shadow */
    background: #FFFFFF;
    height: 75vh;
    min-height: 550px;
}

.green-slider {
    width: 100%;
    height: 100%;
}

.elite-slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* Full Width Background Image */
.elite-slide-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.elite-slide-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Gradient Mask to Blend Dark Images with White Theme smoothly */
.elite-slide-image-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.4) 75%, transparent 100%);
    z-index: 2;
}

/* Content floating over the white part of gradient */
.elite-slide-content-col {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 60%;
    height: 100%;
    padding: 0 8%;
}

.elite-slider-card {
    max-width: 550px;
}

.elite-slider-tag {
    display: inline-block;
    color: #CCA55B;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(204, 165, 91, 0.4);
    padding-bottom: 5px;
}

.elite-slider-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: #111418;
    margin-bottom: 25px;
    font-weight: 700;
}

.elite-slider-desc {
    font-size: 1.15rem;
    color: #5C626A;
    margin-bottom: 40px;
    line-height: 1.7;
}

.elite-slider-actions {
    display: flex;
    gap: 15px;
}

/* Custom Navigation Arrows Inside Box */
.elite-slider-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.elite-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    border: none;
    color: #CCA55B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.elite-nav-btn:hover {
    background: #CCA55B;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 165, 91, 0.3);
}

/* ================= SOFT METRICS GRID (Centered below slider) ================= */
.elite-floating-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px; /* Separated from slider */
}

.elite-metric-card {
    background: #FFFFFF;
    border: 1px solid rgba(204, 165, 91, 0.15);
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03); /* Extremely soft shadow */
    transition: transform 0.3s ease;
}

.elite-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: rgba(204, 165, 91, 0.4);
}

.elite-metric-card strong {
    font-size: 2.8rem;
    color: #CCA55B;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.elite-metric-card span {
    color: #5C626A;
    font-size: 1.05rem;
    font-weight: 500;
}

/* ================= SECTION RESETS FOR LIGHT THEME ================= */
.home-intro-shell, .home-story-shell, .about-map-split-section {
    background: #F7F5F0 !important;
}

.home-services-flow, .home-insights-shell {
    background: #FFFFFF !important;
}

.home-intro-kicker, .home-services-kicker, .home-story-tagline, .home-insights-kicker, .about-map-tagline {
    color: #CCA55B !important; 
}

.home-intro-title, .home-services-title, .home-story-title, .home-insights-title, .about-map-headline {
    color: #111418 !important;
}

.home-intro-text, .home-services-desc, .home-story-desc, .home-insights-desc, .about-map-desc {
    color: #5C626A !important;
}

.home-intro-card, .home-insights-card, .service-flow-content {
    background: #FFFFFF !important;
    border: 1px solid rgba(226, 222, 201, 1) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03) !important;
}
.home-intro-card:hover, .home-insights-card:hover, .service-flow-content:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06) !important;
    border-color: rgba(204, 165, 91, 0.5) !important;
}

.home-intro-card.home-intro-card-main {
    background: #FCFBF8 !important;
    border: 1px solid #CCA55B !important;
}

.home-intro-card-title, .service-flow-title, .home-insights-card-title, .home-story-badge-card strong, .widget-title {
    color: #111418 !important;
}
.home-intro-card-desc, .service-flow-desc, .home-insights-card-desc, .home-story-check-item, .home-story-phone-label, .footer-desc {
    color: #5C626A !important;
}

.home-intro-card-icon, .green-highlight-icon {
    color: #CCA55B !important;
    background: #F8F5EC !important;
}

.home-story-badge-card, .home-story-phone-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(226, 222, 201, 1) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important;
}

.home-insights-media::after {
    background: linear-gradient(to top, #FFFFFF 0%, transparent 100%) !important;
    opacity: 0.1 !important;
}
.home-insights-date {
    background: #FFFFFF !important;
    color: #CCA55B !important;
    border: 1px solid rgba(204, 165, 91, 0.2) !important;
}

/* Footer Soft overrides */
.modern-footer {
    background: #111418 !important; /* Dark footer for contrast is elegant */
    border-top: none !important;
}
.footer-desc, .footer-contact-item span, .footer-contact-item a, .footer-nav a {
    color: #9BA3AF !important;
}
.widget-title { color: #FFFFFF !important; }
.footer-contact-item i { color: #CCA55B !important; }
.footer-nav a:hover, .footer-contact-item a:hover { color: #CCA55B !important; }
.footer-bottom { background: #0A0D10 !important; border-top: 1px solid rgba(255,255,255,0.05) !important; }

/* Tablet & Mobile Overrides */
@media (max-width: 991px) {
    .elite-slider-box { border-radius: 20px; height: auto; min-height: 80vh; }
    .elite-slide-image-bg::after { background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0.5) 100%); }
    .elite-slide-content-col { width: 100%; padding: 60px 5%; height: auto; align-items: flex-start; justify-content: center; }
    .elite-slider-card { padding-top: 20px; }
    .elite-slider-title { font-size: 2.2rem; }
    .elite-floating-metrics { grid-template-columns: 1fr; gap: 15px; margin-top: 20px; }
    .elite-slider-nav { bottom: 20px; right: 20px; }
}
