/* Friends Property - main stylesheet
   Palette: navy #0B2341, gold #D5A23E, white, light grey #F4F6F8, charcoal #252A32 */

:root {
    --fp-navy: #0B2341;
    --fp-navy-dark: #071a31;
    --fp-gold: #D5A23E;
    --fp-gold-light: #E8BE63;
    --fp-white: #FFFFFF;
    --fp-light: #F4F6F8;
    --fp-charcoal: #252A32;
    --fp-muted: #5d6570;
    --fp-radius: 1rem;
    --fp-shadow: 0 10px 30px rgba(11, 35, 65, .08);
    --fp-shadow-hover: 0 18px 40px rgba(11, 35, 65, .18);
    --fp-transition: .3s ease;
}

/* ---------- Base ---------- */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--fp-charcoal);
    background: var(--fp-white);
    line-height: 1.65;
}
h1, h2, h3, h4, .navbar-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--fp-navy);
    letter-spacing: .2px;
}
a { color: var(--fp-navy); transition: color var(--fp-transition); }
a:hover { color: var(--fp-gold); }
img { max-width: 100%; height: auto; }
.object-cover { object-fit: cover; }
.skip-link:focus {
    position: absolute; left: 1rem; top: 1rem; z-index: 3000;
    background: var(--fp-navy); color: #fff; padding: .5rem 1rem; border-radius: .5rem;
}
:focus-visible { outline: 3px solid var(--fp-gold); outline-offset: 2px; }
.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.section { padding: 5.5rem 0; }
.bg-light-grey { background: var(--fp-light); }
.bg-navy { background: var(--fp-navy); }
.text-white-75 { color: rgba(255, 255, 255, .85); }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 3px;
    font-size: .78rem; font-weight: 600; color: var(--fp-gold); margin-bottom: .5rem;
}
.eyebrow-light { color: var(--fp-gold-light); }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; margin-bottom: .75rem; }
.section-sub { color: var(--fp-muted); max-width: 680px; }
.lead-text { font-size: 1.1rem; color: var(--fp-muted); }
.section-title.text-start { text-align: left; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 600; padding: .6rem 1.4rem; transition: all var(--fp-transition); }
.btn-gold { background: var(--fp-gold); color: var(--fp-navy); border: 2px solid var(--fp-gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--fp-gold-light); border-color: var(--fp-gold-light); color: var(--fp-navy); transform: translateY(-2px); }
.btn-navy { background: var(--fp-navy); color: #fff; border: 2px solid var(--fp-navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--fp-navy-dark); color: var(--fp-gold); border-color: var(--fp-navy-dark); transform: translateY(-2px); }
.btn-outline-navy { color: var(--fp-navy); border: 2px solid var(--fp-navy); background: transparent; }
.btn-outline-navy:hover { background: var(--fp-navy); color: #fff; }
.btn-outline-light:hover { color: var(--fp-navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow var(--fp-transition); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 35, 65, .12); }
.top-bar { background: var(--fp-navy); color: #fff; font-size: .85rem; padding: .45rem 0; }
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { color: var(--fp-gold); }
.top-bar-phone { font-weight: 700; font-size: .95rem; letter-spacing: .2px; }
.top-bar-phone i { color: var(--fp-gold); }
.main-nav { padding: .6rem 0; }
.main-nav .navbar-brand img { max-height: 56px; }
.main-nav .nav-link { color: var(--fp-navy); font-weight: 600; padding: .5rem .9rem !important; position: relative; }
.main-nav .nav-link::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px;
    background: var(--fp-gold); transform: scaleX(0); transition: transform var(--fp-transition);
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.phone-link { color: var(--fp-navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.dropdown-menu { border: 0; box-shadow: var(--fp-shadow-hover); border-radius: .75rem; padding: .5rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--fp-light); color: var(--fp-navy); }
.navbar-toggler { border-color: var(--fp-navy); }

/* Floating contact buttons */
.floating-call, .floating-whatsapp {
    position: fixed; right: 1.25rem; z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem;
    box-shadow: var(--fp-shadow-hover); text-decoration: none;
}
.floating-call { bottom: 1.25rem; background: var(--fp-navy); }
.floating-call:hover { background: var(--fp-gold); color: var(--fp-navy); }
.floating-whatsapp { bottom: 5.25rem; background: #25D366; }
.floating-whatsapp:hover { color: #fff; transform: scale(1.06); }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: min(88vh, 720px); min-height: 520px; overflow: hidden; background: var(--fp-navy); touch-action: pan-y; }
.hero-track { position: relative; height: 100%; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 26, 49, .92) 0%, rgba(11, 35, 65, .72) 55%, rgba(11, 35, 65, .35) 100%); }
.hero-content { color: #fff; max-width: 760px; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.12; margin-bottom: 1rem; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .9); margin-bottom: 2rem; max-width: 620px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5); background: rgba(11, 35, 65, .5); color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; transition: background var(--fp-transition);
}
.hero-arrow:hover, .hero-arrow:focus { background: var(--fp-gold); color: var(--fp-navy); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; z-index: 3; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; }
.hero-dot.is-active { background: var(--fp-gold); border-color: var(--fp-gold); }
@media (max-width: 767px) {
    .hero-arrow { display: none; }
    .hero-slider { min-height: 560px; }
}

/* ---------- Page banner ---------- */
.page-banner {
    position: relative; background-size: cover; background-position: center; padding: 6rem 0 4.5rem;
    color: #fff; text-align: left;
}
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 26, 49, .92), rgba(11, 35, 65, .65)); }
.page-banner-title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: .5rem; }
.page-banner-text { color: rgba(255, 255, 255, .9); max-width: 680px; margin: 0; }
.breadcrumb-wrap { background: var(--fp-light); padding: .85rem 0; border-bottom: 1px solid #e3e7ec; }
.breadcrumb { margin: 0; font-size: .92rem; }
.breadcrumb-item a { color: var(--fp-navy); text-decoration: none; }
.breadcrumb-item.active { color: var(--fp-muted); }

/* ---------- Service & property cards ---------- */
.service-card, .property-card {
    display: block; background: #fff; border-radius: var(--fp-radius); overflow: hidden; color: inherit;
    box-shadow: var(--fp-shadow); text-decoration: none; border: 1px solid #edf0f4;
    transition: transform var(--fp-transition), box-shadow var(--fp-transition);
}
.service-card:hover, .property-card:hover { transform: translateY(-6px); box-shadow: var(--fp-shadow-hover); }
.service-card .p-4 { position: relative; }
.service-img, .property-img { position: relative; height: 220px; overflow: hidden; background: var(--fp-light); }
.service-img img, .property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img, .property-card:hover .property-img img { transform: scale(1.06); }
.service-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--fp-navy); color: var(--fp-gold); font-size: 1.4rem; margin-bottom: .9rem; margin-top: -2.35rem; position: relative;
    box-shadow: 0 6px 16px rgba(11, 35, 65, .25);
}
.service-card .service-img + .p-4 .service-icon { margin-top: -2.35rem; }
.service-link { color: var(--fp-gold); font-weight: 600; text-decoration: none; }
.service-card:hover .service-link { color: var(--fp-navy); }
.property-type { color: var(--fp-gold); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.property-meta { color: var(--fp-muted); font-size: .92rem; margin: 0; }
.property-price { font-weight: 700; color: var(--fp-navy); font-size: 1.15rem; }
.demo-badge, .status-badge {
    position: absolute; top: 1rem; left: 1rem; padding: .3rem .75rem; border-radius: 50px;
    font-size: .75rem; font-weight: 700; letter-spacing: .5px; background: var(--fp-gold); color: var(--fp-navy);
}
.status-badge { background: var(--fp-navy); color: #fff; }
.demo-note {
    background: #fff8e6; border-left: 4px solid var(--fp-gold); padding: .8rem 1.1rem; border-radius: .5rem;
    font-size: .95rem; color: var(--fp-charcoal); margin-bottom: 2rem;
}
.empty-state { padding: 3rem 1rem; color: var(--fp-muted); }
.empty-state i { font-size: 2.5rem; color: var(--fp-gold); }

.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: .7rem; margin-bottom: .75rem; }
.check-list i { color: var(--fp-gold); font-size: 1.2rem; flex-shrink: 0; }
.check-list-light li { color: rgba(255, 255, 255, .92); }

/* ---------- Features & steps ---------- */
.feature-block {
    padding: 2rem 1.5rem; border-radius: var(--fp-radius); background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(213, 162, 62, .25); transition: background var(--fp-transition), transform var(--fp-transition);
}
.feature-block:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.feature-block i { font-size: 2rem; color: var(--fp-gold); display: block; margin-bottom: .8rem; }
.feature-block h3 { color: #fff; }
.feature-block p { color: rgba(255, 255, 255, .8); }
.step-card { background: #fff; border-radius: var(--fp-radius); padding: 2rem 1.5rem; box-shadow: var(--fp-shadow); position: relative; }
.step-number {
    display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--fp-gold); color: var(--fp-navy); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.gallery-item { display: block; position: relative; border-radius: var(--fp-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--fp-shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.gallery-item::after {
    content: '\F4CA'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; background: rgba(11, 35, 65, .45); opacity: 0; transition: opacity var(--fp-transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.is-hidden { display: none; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pill {
    border: 1px solid var(--fp-navy); background: #fff; color: var(--fp-navy); border-radius: 50px; padding: .4rem 1.1rem; font-weight: 600; font-size: .92rem;
}
.pill.is-active, .pill:hover { background: var(--fp-navy); color: #fff; }
.map-placeholder {
    min-height: 320px; border: 2px dashed var(--fp-gold); border-radius: var(--fp-radius); display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 2rem; color: var(--fp-muted); background: #fff;
}
.map-placeholder i { font-size: 2.5rem; color: var(--fp-gold); margin-bottom: .75rem; }
.map-frame { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--fp-radius); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; background-size: cover; background-position: center; padding: 6rem 0; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(7, 26, 49, .82), rgba(11, 35, 65, .85)); }
.cta-banner .section-title { color: #fff; }

/* ---------- Enquiry form ---------- */
.enquiry-section { padding: 5.5rem 0; background: var(--fp-light); }
.enquiry-card { background: #fff; border-radius: 1.25rem; padding: 2.5rem; box-shadow: var(--fp-shadow); }
.form-label { font-weight: 600; color: var(--fp-navy); font-size: .92rem; }
.form-control, .form-select { border-radius: .6rem; border: 1px solid #cfd6df; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--fp-gold); box-shadow: 0 0 0 .2rem rgba(213, 162, 62, .25); }
@media (max-width: 575px) { .enquiry-card { padding: 1.5rem; } }

/* ---------- Accordion ---------- */
.accordion-item { border: 0; margin-bottom: .75rem; border-radius: .75rem !important; overflow: hidden; box-shadow: 0 4px 14px rgba(11, 35, 65, .06); }
.accordion-button { font-weight: 600; color: var(--fp-navy); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--fp-navy); color: #fff; box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(213, 162, 62, .4); }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: var(--fp-radius); padding: 2.25rem; box-shadow: var(--fp-shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid #edf0f4; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { color: var(--fp-gold); font-size: 1.15rem; margin-top: .15rem; }
.contact-list a { color: var(--fp-navy); text-decoration: none; font-weight: 600; }
.detail-card { background: #fff; border-radius: var(--fp-radius); padding: 2rem; box-shadow: var(--fp-shadow); }
.detail-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.detail-list li { display: flex; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid #edf0f4; }
.detail-list i { color: var(--fp-gold); }
.detail-gallery .gallery-item { aspect-ratio: 16 / 10; }
.legal-content h2 { margin-top: 2rem; }
.legal-content p { color: var(--fp-charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fp-navy); color: rgba(255, 255, 255, .8); padding: 4.5rem 0 0; }
.footer-logo { background: #fff; padding: .5rem .8rem; border-radius: .6rem; }
.footer-text { font-size: .95rem; }
.footer-heading { font-size: 1.2rem; color: #fff; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--fp-gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color var(--fp-transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--fp-gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; }
.footer-contact i { color: var(--fp-gold); margin-top: .2rem; }
.social-links a {
    display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1); color: #fff; margin-right: .5rem; text-decoration: none;
}
.social-links a:hover { background: var(--fp-gold); color: var(--fp-navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding: 1.5rem 0; font-size: .9rem; }
.footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-bottom a:hover { color: var(--fp-gold); }

/* ---------- Reveal animation (subtle) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .service-card, .property-card { animation: fpFade .6s ease both; }
}
@keyframes fpFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991px) {
    .section { padding: 4rem 0; }
    .main-nav .nav-link::after { display: none; }
}
@media (max-width: 575px) {
    .page-banner { padding: 4.5rem 0 3rem; }
    .section { padding: 3.25rem 0; }
    .floating-call, .floating-whatsapp { width: 50px; height: 50px; right: 1rem; }
}

/* ---------- Lightbox ---------- */
.fp-lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(7, 26, 49, .92);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transition: opacity var(--fp-transition), visibility var(--fp-transition); padding: 1.5rem;
}
.fp-lightbox.is-open { opacity: 1; visibility: visible; }
.fp-lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.fp-lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: .75rem; }
.fp-lightbox figcaption { color: #fff; margin-top: .75rem; }
.fp-lb-close {
    position: absolute; top: 1rem; right: 1.25rem; background: none; border: 0; color: #fff; font-size: 2.5rem; line-height: 1;
}
.fp-lb-close:hover { color: var(--fp-gold); }

/* Subtle reveal (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
    .step-card, .feature-block { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
    .step-card.is-visible, .feature-block.is-visible { opacity: 1; transform: none; }
}

/* ---------- v4 fixes ---------- */
.hero-content { margin-left: auto; margin-right: auto; text-align: center; }
.hero-content .hero-text { margin-left: auto; margin-right: auto; }
.hero-content .d-flex { justify-content: center; }
.footer-logo { height: 44px; width: auto; padding: .3rem .6rem; }
