/* custom.css - Premium Real Estate Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Design Tokens - Colors */
    --color-primary: #C5A880; /* Warm Luxury Gold */
    --color-primary-hover: #B0926A;
    --color-primary-light: #FAF7F2;
    --color-secondary: #0F172A; /* Slate 900 */
    --color-secondary-light: #1E293B; /* Slate 800 */
    --color-neutral-dark: #090D16; /* Near Black */
    --color-neutral-light: #F8FAFC; /* Slate 50 */
    --color-muted: #64748B; /* Slate 500 */
    --color-border: #E2E8F0; /* Slate 200 */
    --color-white: #FFFFFF;
    
    /* Spacing & Utilities */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(9, 13, 22, 0.03);
    --shadow-premium: 0 12px 40px rgba(9, 13, 22, 0.06);
    --shadow-premium-hover: 0 20px 50px rgba(9, 13, 22, 0.12);
}

/* Base resets and Typography */
body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
}

.text-gold {
    color: var(--color-primary) !important;
}

/* Custom Badges */
.badge-premium {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 50px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid rgba(197, 168, 128, 0.3);
    display: inline-block;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.btn-outline-primary {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-gold {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.btn-gold {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* Navbar */
.navbar-custom {
    background-color: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

.navbar-custom .navbar-brand span {
    color: var(--color-primary);
}

.navbar-custom .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--color-primary) !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
}

/* Cards styling */
.card-premium {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium-hover);
    border-color: rgba(197, 168, 128, 0.25);
}

.card-premium .card-img-top-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-premium .card-img-top-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-premium:hover .card-img-top-wrap img {
    transform: scale(1.08);
}

.card-premium .card-body {
    padding: 2rem;
}

.card-premium .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.card-premium:hover .card-title {
    color: var(--color-primary);
}

/* Hero Section */
.hero-section-premium {
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title > span {
    display: block;
}

.hero-title > span:nth-child(2) {
    color: #f4dfb8;
}

/* These opening animations are CSS-first, so the hero still animates if JavaScript is unavailable. */
.hero-entry-badge { animation: hero-fade-up .6s cubic-bezier(.22, 1, .36, 1) .08s both; }
.hero-entry-title { animation: none; }
.hero-entry-subtitle { animation: hero-fade-up .65s cubic-bezier(.22, 1, .36, 1) .82s both; }
.hero-entry-actions { animation: hero-fade-up .65s cubic-bezier(.22, 1, .36, 1) .98s both; }
.hero-entry-highlights { animation: hero-fade-up .65s cubic-bezier(.22, 1, .36, 1) 1.12s both; }
.hero-entry-card { animation: hero-card-in .85s cubic-bezier(.22, 1, .36, 1) .38s both; }

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title-word {
    display: inline-block;
    margin-right: .22em;
    opacity: 0;
    transform: translateY(42px) rotate(3deg);
    filter: blur(5px);
    will-change: transform, opacity, filter;
    animation: hero-title-word .8s cubic-bezier(.22, 1, .36, 1) var(--word-delay, 0ms) forwards;
}

.hero-title-word:last-child {
    margin-right: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section-padding {
    padding: 6.5rem 0;
}

.section-padding-sm {
    padding: 4rem 0;
}

.section-bg-light {
    background-color: var(--color-neutral-light);
}

.section-title-wrap {
    margin-bottom: 3.5rem;
}

.section-title-wrap h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.section-title-wrap.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Features/About Icons & Cards */
.feature-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.feature-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* About page logo: keep the card proportional to a square logo. */
.about-logo-card {
    width: min(100%, 340px);
    aspect-ratio: 1;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 3px solid #C5A880;
    border-radius: 18px;

    padding: 5px;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.15);

    transition: .3s ease;
}

.about-logo-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 12px;
}

.about-logo-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.2);
}

/* .about-logo-card {
    width: min(100%, 320px);
    aspect-ratio: 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
    background: var(--color-white);
}

.about-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-logo-card:hover {
    transform: translateY(-5px) scale(1.01);
} */

/* Custom Floating Labels / Premium Inputs */
.form-control-premium {
    background-color: var(--color-neutral-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-control-premium:focus {
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.15);
    outline: none;
}

.form-label-premium {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* Reviews / Testimonials */
.review-card-premium {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
}

.review-card-premium::before {
    content: "“";
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 5rem;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    line-height: 1;
}

.review-card-premium:hover {
    border-color: rgba(197, 168, 128, 0.2);
    box-shadow: var(--shadow-premium);
}

.rating-stars {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

/* WhatsApp Floating Button */
.whatsapp-float-premium {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
}

.whatsapp-float-premium:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20ba5a;
    color: white;
}

/* Footer layout */
.footer-premium {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-premium a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-premium h5 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-premium h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Gallery Hover Layout */
.gallery-item-wrap {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.gallery-item-wrap img {
    height: 280px;
    object-fit: cover;
    width: 100%;
    transition: var(--transition-smooth);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 2;
}

.gallery-item-wrap:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-wrap:hover img {
    transform: scale(1.08);
}

/* Homepage motion: subtle, once-per-section reveals. */
@keyframes home-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.has-home-motion .hero-section-premium {
    overflow: hidden;
}

.has-home-motion .hero-section-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 80% 25%, rgba(197, 168, 128, 0.22), transparent 30%);
    animation: home-glow 8s ease-in-out infinite alternate;
}

.hero-orb {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    opacity: .45;
    animation: home-orb-drift 10s ease-in-out infinite alternate;
}

.hero-orb-one {
    width: clamp(180px, 22vw, 340px);
    height: clamp(180px, 22vw, 340px);
    top: 13%;
    right: 7%;
    background: radial-gradient(circle, rgba(197, 168, 128, .55), transparent 68%);
}

.hero-orb-two {
    width: clamp(120px, 16vw, 230px);
    height: clamp(120px, 16vw, 230px);
    bottom: 8%;
    left: 4%;
    background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 68%);
    animation-delay: -4s;
}

@keyframes home-orb-drift {
    from { transform: translate3d(-10px, 8px, 0) scale(.94); }
    to { transform: translate3d(18px, -16px, 0) scale(1.08); }
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.2rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, .88);
    font-size: .8rem;
    font-weight: 600;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.hero-highlights i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, .16);
    animation: home-pulse 2.4s ease-in-out infinite;
}

@keyframes home-pulse {
    0%, 100% { transform: scale(.9); opacity: .7; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes home-glow {
    from { opacity: .35; transform: scale(.95); }
    to { opacity: .9; transform: scale(1.08); }
}

@keyframes hero-title-word {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

@keyframes hero-card-in {
    from { opacity: 0; transform: translateX(42px); }
    to { opacity: 1; transform: translateX(0); }
}

.has-home-motion .feature-box:hover .feature-icon-wrap {
    transform: rotate(-6deg) scale(1.08);
}

.feature-icon-wrap {
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), background-color .35s ease;
}

@media (max-width: 991.98px) {
    .hero-highlights { justify-content: center; }
}

.has-home-motion .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms), transform .65s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
}

.has-home-motion .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Founder Section */
.founder-image{
    width: 100%;
    max-width: 280px;
    height: 350px;
    object-fit: cover;

    padding: 10px;
    background: #fff;
    border: 2px solid #C5A880;
    border-radius: 12px;

    box-shadow:
        0 12px 25px rgba(0,0,0,.12),
        12px 12px 0 #C5A880;

    transition: .3s ease;
}

.founder-image:hover{
    transform: translateY(-5px);
    box-shadow:
        0 18px 35px rgba(0,0,0,.18),
        16px 16px 0 #C5A880;
}

/* .founder-image {
    width: 100%;
    max-width: 300px;   
    height: 360px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 20px 20px 0 rgba(197, 168, 128, 0.35);
    transition: var(--transition-smooth);
} */

.founder-image:hover {
    transform: translateY(-6px);
    box-shadow: 25px 25px 0 rgba(197, 168, 128, 0.55);
}


/* Logo Premium Shadow */
.about-logo-card {
    box-shadow: 15px 15px 0 rgba(197, 168, 128, 0.25);
}

.about-logo-card:hover {
    box-shadow: 20px 20px 0 rgba(197, 168, 128, 0.45);
}


@media(max-width:768px){
    .founder-image {
        max-width:300px;
        height:380px;
    }
}

/* =========================
   Director Message Section
========================= */

#director-message{
    background:#fff;
    position:relative;
    overflow:hidden;
}

#director-message::before{
    content:'';
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(197,168,128,.08);
    border-radius:50%;
    top:-80px;
    left:-80px;
    animation:directorFloat 8s ease-in-out infinite;
}

.director-img{
    position:relative;
    text-align:center;
}

.director-img img{
    width:100%;
    max-width:260px;
    height: 320px;
    object-fit:cover;
    border-radius:20px;
    padding:8px;
    background:#fff;
    border:2px solid var(--color-primary);
    box-shadow:18px 18px 0 rgba(197,168,128,.35);
    transition:.4s ease;
}

.director-img img:hover{
    transform:translateY(-8px);
    box-shadow:25px 25px 0 rgba(197,168,128,.5);
}

#director-message h2{
    margin-bottom:20px;
}

#director-message p{
    color:#6b7280;
    line-height:1.9;
    font-size:16px;
}

#director-message h5{
    margin-top:25px;
    font-weight:700;
    color:var(--color-secondary);
}

@keyframes directorFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(20px);
    }
}

@media(max-width:991px){

    .director-img{
        margin-bottom:35px;
    }

    .director-img img{
        max-width:300px;
        height:360px;
    }

}