/* Arune Interiors - A+ Performance & Security Stylesheet */
:root {
    --brand-green: #15261c;
    --brand-gold: #c0964d;
    --brand-gold-text: #6d4e12;
    --brand-gold-light: #e4d8c1;
    --bg-ivory: #f8f6f0;
    --bg-white: #ffffff;
    --text-dark: #111111;
    --text-muted: #333333;
    --border-light: #e8e5dc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg-ivory); color: var(--text-dark); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3, h4, .font-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
i[class^="fa-"], i[class*=" fa-"] { display: inline-block; min-width: 1em; text-align: center; font-style: normal; }

.container { width: 92%; max-width: 1360px; margin: 0 auto; padding: 0; }
.section-padding { padding: 5rem 0; }

/* Top Header */
.header { background: var(--bg-ivory); border-bottom: 1px solid var(--border-light); padding: 0; position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 45px; width: 68px; object-fit: contain; mix-blend-mode: multiply; }
.nav { display: flex; gap: 1.8rem; list-style: none; font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--text-dark); }
.nav a:hover, .nav a.active { color: var(--brand-gold-text); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.icon-btn { min-width: 48px; min-height: 48px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-dark); }
.btn-gold { background: var(--brand-gold); color: #111111; padding: 0.9rem 1.8rem; border-radius: 2px; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; transition: all 0.4s ease; }
.btn-gold:hover { background: #111111; color: var(--brand-gold); }

/* Hero */
.hero { display: flex; background: var(--bg-ivory); border-bottom: 1px solid var(--border-light); min-height: calc(88vh - 80px); }
.hero-content-wrap { flex: 0 0 52%; padding: 4rem 3.5rem 4rem max(4vw, calc((100vw - 1360px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-tag { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-gold-text); font-weight: 700; margin-bottom: 1.2rem; }
.hero-title { font-size: 4.8rem; line-height: 1.05; margin-bottom: 1.5rem; color: var(--text-dark); font-weight: 400; letter-spacing: -1.5px; }
.hero-desc { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 2.2rem; max-width: 90%; line-height: 1.6; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.btn-outline { border: 1px solid #c5c0b4; padding: 0.9rem 1.8rem; border-radius: 2px; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--text-dark); transition: all 0.4s ease; }
.btn-outline:hover { border-color: var(--text-dark); }

.trust-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--border-light); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.badge i { color: var(--brand-gold-text); font-size: 0.95rem; }

.hero-img-wrap { flex: 0 0 48%; position: relative; overflow: hidden; background: #e9e6dc; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats-wrap { background: var(--bg-ivory); border-bottom: 1px solid var(--border-light); padding: 2rem 0; }
.stats-grid { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.stat { display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; border-right: 1px solid var(--border-light); flex: 1; justify-content: center; }
.stat:last-child { border-right: none; }
.stat-icon { color: var(--brand-gold-text); font-size: 1.8rem; }
.stat-val { font-size: 2rem; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1; }
.stat-lbl { font-size: 0.85rem; color: var(--text-muted); }

/* Common */
.sec-tag { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-gold-text); font-weight: 700; margin-bottom: 1rem; display: block; }
.sec-tag-light { color: #e4d8c1; }
.sec-title { font-size: 2.8rem; line-height: 1.1; margin-bottom: 1.2rem; }
.sec-title-md { font-size: 2.2rem; }
.sec-title-sm { font-size: 2rem; }
.sec-title-xs { font-size: 1.8rem; }
.sec-desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }
.link-underline { font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--text-dark); display: inline-block; }

/* Services */
.services { background: #fff; }
.services-layout { display: flex; gap: 3.5rem; }
.services-info { flex: 0 0 280px; }
.services-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; }
.svc-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; background: #fff; }
.svc-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 4px; margin-bottom: 0.8rem; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card:hover .svc-name i { transform: translateX(5px); transition: transform 0.3s; }
.svc-name { font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); margin-top: auto; }

/* Projects */
.projects { background: var(--bg-ivory); }
.projects-layout { display: flex; gap: 3rem; }
.projects-info { flex: 0 0 240px; display: flex; flex-direction: column; justify-content: center; }
.projects-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proj-card { position: relative; border-radius: 4px; overflow: hidden; display: block; height: 320px; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.proj-card:hover img { transform: scale(1.06); }
.proj-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(transparent, rgba(0,0,0,0.92)); color: #fff; transition: padding 0.4s ease; }
.proj-card:hover .proj-overlay { padding-bottom: 2.5rem; }
.proj-title { font-size: 1.5rem; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }
.proj-loc { font-size: 0.95rem; color: #f0ede6; margin-top: 0.2rem; }
.proj-loc i { color: var(--brand-gold); margin-right: 0.3rem; }

/* Process */
.process { background: var(--brand-green); color: #fff; }
.process .sec-title { color: #fff; }
.process .sec-desc { color: rgba(255,255,255,0.88); }
.process-layout { display: flex; gap: 4rem; align-items: center; }
.process-info { flex: 0 0 300px; }
.process-steps { flex: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.p-step { text-align: center; flex: 1; }
.p-icon { width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; color: var(--brand-gold); font-size: 1.2rem; }
.p-num { font-size: 1.15rem; color: var(--brand-gold-light); font-weight: 600; margin-bottom: 0.3rem; }
.p-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.p-desc { font-size: 1.05rem; color: rgba(255,255,255,0.88); line-height: 1.4; }
.p-arrow { color: rgba(255,255,255,0.9); margin-top: 25px; font-size: 0.95rem; }

/* Why Us & Testimonials */
.why { background: #fff; }
.why-layout { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 3rem; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.feat { font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.feat i { color: var(--brand-gold-text); }
.why-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.quote { font-size: 1rem; font-style: italic; margin-bottom: 1rem; }
.stars { color: var(--brand-gold-text); font-size: 0.95rem; margin-bottom: 0.8rem; }
.client-name { font-size: 1rem; font-weight: 600; }
.client-loc { font-size: 0.9rem; color: var(--text-muted); }
.test-arrows { display: flex; gap: 0.5rem; margin-top: 1rem; justify-content: flex-end; }
.t-arr { min-width: 48px; min-height: 48px; width: 48px; height: 48px; border: 1px solid var(--border-light); background: #fff; color: var(--text-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; cursor: pointer; }

/* Investment */
.investment { background: var(--bg-ivory); }
.inv-layout { display: flex; gap: 4rem; }
.inv-info { flex: 0 0 250px; }
.inv-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 1rem; }
.price-card { background: #fff; border: 1px solid var(--border-light); padding: 1.5rem; border-radius: 4px; }
.tier { font-size: 1rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.price { font-size: 2.2rem; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; margin-bottom: 0.2rem; }
.per { font-size: 0.9rem; color: var(--text-muted); }
.est-card { border: 1px solid var(--brand-gold); background: #fcfaf5; padding: 1.5rem; border-radius: 4px; }
.est-inner { display: flex; gap: 1rem; align-items: flex-start; }
.est-card i { color: var(--brand-gold-text); font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.est-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.est-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.btn-gold-sm { background: var(--brand-gold); color: #111111; padding: 0.5rem 1rem; border-radius: 3px; font-size: 0.95rem; font-weight: 600; display: inline-flex; }

/* Locations */
.locations { padding-top: 0; background: var(--bg-ivory); }
.loc-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; margin-top: 1.5rem; }
.loc-card { display: flex; flex-direction: column; }
.loc-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; margin-bottom: 0.5rem; }
.loc-card span { font-size: 0.85rem; font-weight: 600; display: block; text-align: center; }

/* Final CTA */
.final-cta { background: linear-gradient(rgba(21, 38, 28, 0.92), rgba(21, 38, 28, 0.92)), url("../images/portfolio/luxury-villa-new.webp") center/cover; padding: 5rem 0; color: #fff; }
.final-layout { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; }
.final-cta .sec-title { color: #fff; margin-bottom: 0.5rem; font-size: 2.2rem; }
.final-cta .sec-desc { color: rgba(255,255,255,0.88); margin-bottom: 0; font-size: 1.15rem; }
.final-btns { display: flex; gap: 1rem; }
.btn-wa { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff; padding: 0.7rem 1.4rem; border-radius: 3px; font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }

/* Mobile Hamburger & Drawer Navigation */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; padding: 12px; min-width: 48px; min-height: 48px; margin-left: auto; }
.mobile-menu { display: none; position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); background: #ffffff; border-bottom: 1px solid var(--border-light); padding: 2rem 1.5rem; box-shadow: 0 15px 40px rgba(0,0,0,0.12); z-index: 9999; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-nav-links a { font-size: 1.15rem; font-weight: 500; color: var(--text-dark); display: block; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.mobile-nav-links a.active, .mobile-nav-links a:hover { color: var(--brand-gold-text); }
.mobile-cta-wrap { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.mobile-btn-full { text-align: center; width: 100%; justify-content: center; }
.mobile-wa-btn { justify-content: center; width: 100%; border-color: #128C7E; color: #111; }
.mobile-wa-icon { color: #128C7E; font-size: 1.2rem; }

/* Floating WhatsApp & Lead Capture Popup */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 99998; background: #128C7E; color: #fff; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 6px 24px rgba(18,140,126,0.45); text-decoration: none; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.12); }
.popup-backdrop { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.78); z-index: 99999; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.popup-backdrop.active { display: flex; }
.popup-card { background: #fff; max-width: 460px; width: 100%; border-radius: 6px; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.popup-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: rgba(255,255,255,0.85); z-index: 1; line-height: 1; }
.popup-header { background: linear-gradient(135deg, #15261c 0%, #2d5a3d 100%); padding: 32px 28px 22px; text-align: center; }
.popup-badge { display: inline-block; background: rgba(192,150,77,0.25); border: 1px solid #e4d8c1; color: #e4d8c1; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.popup-heading { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.2rem; font-weight: 400; color: #fff; margin: 0 0 8px; line-height: 1.1; }
.popup-sub { color: rgba(255,255,255,0.88); font-size: 0.88rem; margin: 0; }
.popup-body { padding: 22px 26px 26px; }
.popup-form { display: flex; flex-direction: column; gap: 10px; }
.popup-input { padding: 12px 14px; border: 1.5px solid #e0ddd4; border-radius: 3px; font-size: 0.95rem; font-family: inherit; outline: none; transition: border 0.2s; color: #111; }
.popup-input:focus { border-color: #c0964d; }
.popup-submit { background: #c0964d; color: #111111; border: none; padding: 15px; border-radius: 3px; font-size: 0.95rem; font-weight: 600; cursor: pointer; letter-spacing: 0.5px; font-family: inherit; transition: background 0.3s, color 0.3s; margin-top: 4px; }
.popup-submit:hover { background: #15261c; color: #ffffff; }
.popup-note { text-align: center; font-size: 0.75rem; color: #595959; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .header .container { justify-content: space-between; }
    .nav, .nav-actions { display: none !important; }
    .mobile-toggle { display: block; }
    .hero { height: auto; min-height: auto; max-height: none; flex-direction: column; }
    .hero-content-wrap { flex: none; width: 100%; padding: 3rem 1.5rem; }
    .hero-img-wrap { flex: none; width: 100%; height: auto; }
    .hero-title { font-size: 3.5rem; }
    .services-layout, .projects-layout, .process-layout, .inv-layout { flex-direction: column; gap: 2rem; }
    .why-layout { grid-template-columns: 1fr; gap: 2rem; }
    .services-info, .projects-info, .process-info, .inv-info { flex: none; max-width: 100%; text-align: center; }
    .sec-desc { margin-left: auto; margin-right: auto; }
    .services-grid, .projects-grid, .inv-grid { grid-template-columns: repeat(2, 1fr); }
    .loc-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { flex-wrap: wrap; justify-content: center; gap: 2rem; }
    .stat { border: none; flex: 0 0 45%; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; line-height: 1.15; }
    .hero-desc { font-size: 1.05rem; }
    .hero-img-wrap { height: auto; }
    .hero-img-wrap img { width: 100%; height: auto; }
    .services-grid, .projects-grid, .inv-grid { grid-template-columns: 1fr; }
    .loc-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: 1fr; }
    .stat { flex: 0 0 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--border-light); }
    .stat:last-child { border-bottom: none; }
    .trust-badges { flex-direction: column; }
    .badge { width: 100%; justify-content: flex-start; }
    .final-layout { flex-direction: column; text-align: center; gap: 2rem; }
    .final-btns, .hero-buttons { flex-direction: column; width: 100%; }
    .btn-outline, .btn-gold, .btn-wa { width: 100%; justify-content: center; text-align: center; }
}

/* ==========================================================================
   ARUNE LUXURY FOOTER & ENHANCED MOBILE RESPONSIVE STYLING
   ========================================================================== */
.arune-footer {
    background: #0f0e0c;
    color: #f5f2eb;
    padding: 4.5rem 1.5rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 10;
}
.arune-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.arune-footer a:hover {
    color: #d4af37;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3.5rem;
}
.footer-brand h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.85rem;
    color: #d4af37;
    margin-bottom: 1.1rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}
.footer-col h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c5a059;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-col ul li a {
    font-size: 0.92rem;
    display: inline-block;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Mobile Navigation Drawer Enhancements */
.mobile-toggle {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 8px;
    color: var(--brand-gold-text, #8a6d3b);
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}
.mobile-toggle:hover, .mobile-toggle:active {
    background: rgba(197, 160, 89, 0.1);
    border-color: #c5a059;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
.mobile-menu.open {
    display: block !important;
    animation: fadeInDown 0.25s ease-out;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.25rem;
    }
    .nav, .nav-actions {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
    }
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 580px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* Mobile Overflow & Process Steps Responsive Fix */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.5rem !important;
        align-items: center !important;
    }
    .p-step {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
    .p-arrow {
        transform: rotate(90deg) !important;
        margin: 0.25rem 0 !important;
    }
    .wa-float {
        right: 15px !important;
        bottom: 20px !important;
    }
}
