/*
Theme Name:  Time Estate Agents
Theme URI:   https://timeestateagents.com
Author:      Time Estate Agents
Author URI:  https://timeestateagents.com
Description: A professional real estate WordPress theme for Time Estate Agents — a premier property agency in Banasree, Rampura, Dhaka, Bangladesh. Features real-time Google Places data, dynamic currency conversion, Elementor/Divi/Beaver Builder compatibility, live business hours, and integrated testimonials.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: time-estate-agents
Tags:        real-estate, one-page, custom-colors, custom-logo, full-width-template, translation-ready, elementor, divi, beaver-builder

== Color Palette ==
Navy Blue:    #1a2744
Gold/Amber:   #c9a84c
Light Gold:   #e8d5a3
White:        #ffffff
Off-White:    #f8f7f4
Dark Text:    #1e1e1e
Mid Grey:     #6b7280
Light Grey:   #e5e7eb
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --tea-navy:        #1a2744;
    --tea-navy-light:  #243358;
    --tea-gold:        #c9a84c;
    --tea-gold-light:  #e8d5a3;
    --tea-gold-dark:   #a8872a;
    --tea-white:       #ffffff;
    --tea-off-white:   #f8f7f4;
    --tea-dark:        #1e1e1e;
    --tea-mid:         #6b7280;
    --tea-light:       #e5e7eb;
    --tea-success:     #22c55e;
    --tea-error:       #ef4444;

    --tea-font-heading: 'Playfair Display', Georgia, serif;
    --tea-font-body:    'Inter', system-ui, -apple-system, sans-serif;

    --tea-radius:      8px;
    --tea-radius-lg:   16px;
    --tea-shadow:      0 4px 24px rgba(26,39,68,.12);
    --tea-shadow-lg:   0 8px 48px rgba(26,39,68,.18);
    --tea-transition:  all .3s ease;

    --tea-container:   1280px;
    --tea-gap:         clamp(1rem, 3vw, 2rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--tea-font-body);
    color: var(--tea-dark);
    background: var(--tea-white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tea-gold); text-decoration: none; transition: var(--tea-transition); }
a:hover { color: var(--tea-gold-dark); }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--tea-font-heading);
    color: var(--tea-navy);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--tea-gold);
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--tea-mid); max-width: 600px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.tea-container {
    max-width: var(--tea-container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.tea-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.tea-section--alt { background: var(--tea-off-white); }
.tea-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--tea-gap); }
.tea-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--tea-gap); }
.tea-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--tea-gap); }
.text-center { text-align: center; }
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ============================================================
   BUTTONS
   ============================================================ */
.tea-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border-radius: var(--tea-radius);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .02em;
    transition: var(--tea-transition);
    white-space: nowrap;
    text-decoration: none;
}
.tea-btn--primary {
    background: var(--tea-gold);
    color: var(--tea-navy);
}
.tea-btn--primary:hover {
    background: var(--tea-gold-dark);
    color: var(--tea-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,.4);
}
.tea-btn--outline {
    background: transparent;
    color: var(--tea-white);
    border: 2px solid rgba(255,255,255,.6);
}
.tea-btn--outline:hover {
    background: var(--tea-white);
    color: var(--tea-navy);
    border-color: var(--tea-white);
}
.tea-btn--navy {
    background: var(--tea-navy);
    color: var(--tea-white);
}
.tea-btn--navy:hover {
    background: var(--tea-navy-light);
    transform: translateY(-2px);
    box-shadow: var(--tea-shadow);
}

/* ============================================================
   CARDS
   ============================================================ */
.tea-card {
    background: var(--tea-white);
    border-radius: var(--tea-radius-lg);
    box-shadow: var(--tea-shadow);
    overflow: hidden;
    transition: var(--tea-transition);
}
.tea-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tea-shadow-lg);
}
.tea-card__img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.tea-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tea-card:hover .tea-card__img img { transform: scale(1.05); }
.tea-card__body { padding: 1.5rem; }
.tea-card__badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--tea-gold);
    color: var(--tea-navy);
    font-size: .75rem; font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 999px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ============================================================
   BADGE / STATUS
   ============================================================ */
.tea-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 999px;
}
.tea-status--open  { background: rgba(34,197,94,.15);  color: #16a34a; }
.tea-status--closed{ background: rgba(239,68,68,.15);  color: #dc2626; }
.tea-status::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; }
    50%      { opacity: .4; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.tea-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: var(--tea-transition);
    padding: 1.25rem 0;
}
.tea-header.scrolled {
    background: var(--tea-navy);
    box-shadow: 0 4px 30px rgba(0,0,0,.25);
    padding: .75rem 0;
}
.tea-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
/* ============================================================
   LOGO — inline SVG + text mark
   ============================================================ */
.tea-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.tea-logo-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}
.tea-logo-icon-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
    transition: transform .2s;
}
.tea-logo:hover .tea-logo-icon-wrap {
    transform: scale(1.08);
}
.tea-logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: .18rem;
}
/* "TIME" — bold white */
.tea-logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #fff;
}
/* "ESTATE AGENTS" — gold, smaller */
.tea-logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .22em;
    color: #c9a84c;
    text-transform: uppercase;
}
/* Footer logo variants — same colors work since footer is also dark */
.tea-logo-name--light   { color: #fff; }
.tea-logo-tagline--light { color: #c9a84c; }
/* Footer logo link */
.tea-footer__logo-link {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
/* Old img fallback (if custom_logo is set) */
.tea-logo img { height: 56px; width: auto; max-width: 200px; }
.tea-footer__logo img { height: 56px; width: auto; filter: none; opacity: 1; }

/* Hide WordPress's custom-logo img if it ever renders (we use inline SVG) */
.tea-logo .custom-logo-link,
.tea-logo .custom-logo { display: none !important; }

/* Ensure logo anchor never gets an underline or focus outline glitch */
.tea-logo { text-decoration: none !important; outline-offset: 4px; }

.tea-nav { display: flex; align-items: center; gap: 2rem; }
.tea-nav__menu { display: flex; align-items: center; gap: 2rem; }
.tea-nav__menu a {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    position: relative;
}
.tea-nav__menu a::after {
    content: '';
    position: absolute; bottom: -3px; left: 0; right: 0;
    height: 2px; background: var(--tea-gold);
    transform: scaleX(0); transition: var(--tea-transition);
}
.tea-nav__menu a:hover,
.tea-nav__menu a.active { color: var(--tea-gold); }
.tea-nav__menu a:hover::after,
.tea-nav__menu a.active::after { transform: scaleX(1); }
.tea-nav__cta { display: flex; align-items: center; gap: 1rem; }
.tea-nav__phone {
    color: var(--tea-gold);
    font-weight: 600;
    font-size: .9rem;
    display: flex; align-items: center; gap: .4rem;
}

/* Hamburger */
.tea-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: .5rem;
}
.tea-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--tea-white);
    transition: var(--tea-transition);
}
.tea-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tea-hamburger.active span:nth-child(2) { opacity: 0; }
.tea-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .tea-hamburger { display: flex; }
    .tea-nav__menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--tea-navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right .3s ease;
        z-index: 999;
        box-shadow: -4px 0 30px rgba(0,0,0,.3);
    }
    .tea-nav__menu.open { right: 0; }
    .tea-nav__menu a { font-size: 1.1rem; }
    .tea-nav__phone { display: none; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON — PULSE GLOW ANIMATION
   ============================================================ */

/* Outer ripple rings */
.tea-whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform .25s ease, box-shadow .25s ease;
    /* inner glow */
    box-shadow:
        0 0 0 0 rgba(37, 211, 102, 0.7),
        0 6px 24px rgba(37, 211, 102, 0.45);
    animation: tea-wa-pulse 2.4s ease-out infinite;
    text-decoration: none;
}

/* Hover — lift & brighten */
.tea-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 0 12px rgba(37, 211, 102, 0),
        0 8px 32px rgba(37, 211, 102, 0.6);
    animation: none; /* pause pulse on hover so scale doesn't fight it */
}

/* Icon */
.tea-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

/* Tooltip label */
.tea-whatsapp-btn::before {
    content: 'Chat on WhatsApp';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #111;
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    font-family: var(--tea-font-body);
    white-space: nowrap;
    padding: .35rem .75rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.tea-whatsapp-btn::after {
    content: '';
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    border: 6px solid transparent;
    border-left-color: #111;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.tea-whatsapp-btn:hover::before,
.tea-whatsapp-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ---- Keyframes ---- */

/* Pulsing glow rings — mimics the reference image ripple effect */
@keyframes tea-wa-pulse {
    0% {
        box-shadow:
            0 0 0 0   rgba(37, 211, 102, 0.7),
            0 0 0 0   rgba(37, 211, 102, 0.4),
            0 6px 24px rgba(37, 211, 102, 0.4);
    }
    40% {
        box-shadow:
            0 0 0 14px rgba(37, 211, 102, 0.15),
            0 0 0 28px rgba(37, 211, 102, 0.05),
            0 6px 24px rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow:
            0 0 0 20px rgba(37, 211, 102, 0.05),
            0 0 0 38px rgba(37, 211, 102, 0.02),
            0 6px 24px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow:
            0 0 0 24px rgba(37, 211, 102, 0),
            0 0 0 44px rgba(37, 211, 102, 0),
            0 6px 24px rgba(37, 211, 102, 0.4);
    }
}

/* ============================================================
   CURRENCY BADGE
   ============================================================ */
.tea-currency-badge {
    position: fixed;
    top: calc(var(--header-h, 80px) + 1rem);
    right: 1.5rem;
    background: var(--tea-navy);
    color: var(--tea-gold);
    font-size: .75rem;
    font-weight: 700;
    padding: .4rem .8rem;
    border-radius: 999px;
    z-index: 900;
    display: none;
    letter-spacing: .05em;
    box-shadow: var(--tea-shadow);
}
.tea-currency-badge.show { display: block; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.tea-hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--tea-navy);
}
.tea-hero__bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.tea-hero__bg-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}
.tea-hero__bg-slide.active { opacity: 1; }
.tea-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,39,68,.85) 0%, rgba(26,39,68,.55) 100%);
    z-index: 1;
}
.tea-hero__content {
    position: relative; z-index: 2;
    color: var(--tea-white);
    max-width: 700px;
}
.tea-hero__label {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--tea-gold);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .75rem;
}
.tea-hero__label::before {
    content: '';
    display: block; width: 40px; height: 2px;
    background: var(--tea-gold);
}
.tea-hero h1 { color: var(--tea-white); margin-bottom: 1.5rem; }
.tea-hero__subtitle { font-size: 1.15rem; opacity: .85; margin-bottom: 2rem; }
.tea-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.tea-hero__badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.tea-hero__stat {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    color: var(--tea-white);
}
.tea-hero__stat strong { color: var(--tea-gold); }
.tea-hero__dots {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: .5rem;
    z-index: 3;
}
.tea-hero__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: all .3s;
    cursor: pointer;
}
.tea-hero__dot.active {
    background: var(--tea-gold);
    width: 24px;
    border-radius: 4px;
}
.tea-hero__scroll {
    position: absolute;
    bottom: 2.5rem; right: 2.5rem;
    z-index: 3;
    display: flex; flex-direction: column;
    align-items: center; gap: .5rem;
    color: rgba(255,255,255,.6);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.tea-hero__scroll-line {
    width: 2px; height: 50px;
    background: rgba(255,255,255,.3);
    position: relative; overflow: hidden;
}
.tea-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--tea-gold);
    animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.tea-stats {
    background: var(--tea-navy);
    padding: 2.5rem 0;
}
.tea-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}
.tea-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,.1);
}
.tea-stat-item:last-child { border-right: none; }
.tea-stat-item__num {
    font-family: var(--tea-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tea-gold);
    line-height: 1;
}
.tea-stat-item__label { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: .5rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.tea-about__img-wrap {
    position: relative;
}
.tea-about__img-wrap img {
    border-radius: var(--tea-radius-lg);
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}
.tea-about__badge {
    position: absolute;
    bottom: -2rem; right: -2rem;
    background: var(--tea-gold);
    color: var(--tea-navy);
    padding: 1.5rem;
    border-radius: var(--tea-radius-lg);
    text-align: center;
    min-width: 140px;
    box-shadow: var(--tea-shadow-lg);
}
.tea-about__badge-num {
    font-family: var(--tea-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
.tea-about__badge-text { font-size: .8rem; font-weight: 600; margin-top: .25rem; }
.tea-about__content { padding: 2rem 0 2rem 2rem; }
.tea-about__features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.tea-about__feature {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem;
    background: var(--tea-off-white);
    border-radius: var(--tea-radius);
    border-left: 4px solid var(--tea-gold);
}
.tea-about__feature-icon {
    width: 42px; height: 42px;
    background: var(--tea-navy);
    border-radius: var(--tea-radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .tea-about__content { padding: 1rem 0; }
    .tea-about__badge { right: 0; }
}

/* ============================================================
   PROPERTIES
   ============================================================ */
.tea-property-card__meta {
    display: flex; flex-wrap: wrap; gap: .75rem;
    margin-bottom: 1rem;
}
.tea-property-card__meta-item {
    display: flex; align-items: center; gap: .35rem;
    font-size: .8rem; color: var(--tea-mid);
}
.tea-property-card__title {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}
.tea-property-card__price {
    font-family: var(--tea-font-heading);
    font-size: 1.4rem;
    color: var(--tea-gold);
    font-weight: 700;
}
.tea-property-card__price-usd {
    font-size: .85rem;
    color: var(--tea-mid);
    font-weight: 400;
    font-family: var(--tea-font-body);
}
.tea-property-card__location {
    font-size: .85rem;
    color: var(--tea-mid);
    display: flex; align-items: center; gap: .3rem;
    margin-top: .5rem;
}
.tea-filter-tabs {
    display: flex; flex-wrap: wrap; gap: .75rem;
    margin-bottom: 2rem;
}
.tea-filter-tab {
    padding: .5rem 1.25rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    background: var(--tea-light);
    color: var(--tea-mid);
    cursor: pointer;
    transition: var(--tea-transition);
}
.tea-filter-tab.active,
.tea-filter-tab:hover {
    background: var(--tea-navy);
    color: var(--tea-white);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tea-testimonials { background: var(--tea-navy); }
.tea-testimonials .section-label { color: var(--tea-gold); }
.tea-testimonials .section-title { color: var(--tea-white); }
.tea-testimonials .section-subtitle { color: rgba(255,255,255,.6); }
.tea-testimonial-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--tea-radius-lg);
    padding: 2rem;
    transition: var(--tea-transition);
}
.tea-testimonial-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
}
.tea-testimonial-card__stars {
    display: flex; gap: .2rem;
    margin-bottom: 1rem;
    color: var(--tea-gold);
    font-size: 1rem;
}
.tea-testimonial-card__text {
    color: rgba(255,255,255,.85);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.tea-testimonial-card__author {
    display: flex; align-items: center; gap: 1rem;
}
.tea-testimonial-card__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tea-gold);
}
.tea-testimonial-card__avatar-placeholder {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--tea-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; color: var(--tea-navy);
    flex-shrink: 0;
}
.tea-testimonial-card__name { color: var(--tea-white); font-weight: 600; font-size: .95rem; }
.tea-testimonial-card__date { color: rgba(255,255,255,.45); font-size: .8rem; }
.tea-google-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.08);
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    margin-top: 2rem;
}
.tea-google-badge img { width: 60px; }

/* ============================================================
   GALLERY
   ============================================================ */
.tea-gallery-grid {
    columns: 3;
    column-gap: 1rem;
    gap: 1rem;
}
.tea-gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--tea-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.tea-gallery-item img {
    width: 100%;
    display: block;
    transition: transform .5s ease;
}
.tea-gallery-item:hover img { transform: scale(1.05); }
.tea-gallery-item__overlay {
    position: absolute; inset: 0;
    background: rgba(26,39,68,.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--tea-transition);
    color: var(--tea-white); font-size: 2rem;
}
.tea-gallery-item:hover .tea-gallery-item__overlay { opacity: 1; }
.tea-gallery-loading {
    grid-column: 1/-1;
    text-align: center;
    color: var(--tea-mid);
    padding: 3rem;
}
.tea-photos-credit {
    font-size: .75rem;
    color: var(--tea-mid);
    text-align: center;
    margin-top: 1rem;
}
@media (max-width: 900px) { .tea-gallery-grid { columns: 2; } }
@media (max-width: 540px) { .tea-gallery-grid { columns: 1; } }

/* Lightbox */
.tea-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
.tea-lightbox.open { opacity: 1; pointer-events: all; }
.tea-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--tea-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.tea-lightbox__close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tea-white); font-size: 1.2rem;
    cursor: pointer; transition: var(--tea-transition);
}
.tea-lightbox__close:hover { background: rgba(255,255,255,.3); }
.tea-lightbox__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tea-white); font-size: 1.2rem;
    cursor: pointer; transition: var(--tea-transition);
}
.tea-lightbox__nav:hover { background: rgba(255,255,255,.3); }
.tea-lightbox__prev { left: 1.5rem; }
.tea-lightbox__next { right: 1.5rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.tea-contact__wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.tea-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.tea-contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.tea-contact-item__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(201,168,76,.15);
    border-radius: var(--tea-radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--tea-gold);
}
.tea-contact-item__title { font-weight: 700; margin-bottom: .25rem; font-size: .9rem; }
.tea-contact-item__detail { color: var(--tea-mid); font-size: .9rem; }
.tea-contact-item__detail a { color: var(--tea-navy); }
.tea-contact-item__detail a:hover { color: var(--tea-gold); }
.tea-hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; font-size: .85rem; }
.tea-hours-row { display: contents; }
.tea-hours-day { color: var(--tea-mid); }
.tea-hours-time { color: var(--tea-dark); font-weight: 500; }
.tea-map-embed {
    border-radius: var(--tea-radius-lg);
    overflow: hidden;
    box-shadow: var(--tea-shadow);
}
.tea-map-embed iframe { width: 100%; display: block; }
.tea-form { display: flex; flex-direction: column; gap: 1rem; }
.tea-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tea-form-group { display: flex; flex-direction: column; gap: .4rem; }
.tea-form-group label { font-size: .85rem; font-weight: 600; color: var(--tea-navy); }
.tea-form-group input,
.tea-form-group select,
.tea-form-group textarea {
    width: 100%;
    padding: .875rem 1rem;
    border: 2px solid var(--tea-light);
    border-radius: var(--tea-radius);
    font-family: inherit;
    font-size: .95rem;
    color: var(--tea-dark);
    transition: var(--tea-transition);
    background: var(--tea-white);
}
.tea-form-group input:focus,
.tea-form-group select:focus,
.tea-form-group textarea:focus {
    outline: none;
    border-color: var(--tea-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.tea-form-group textarea { resize: vertical; min-height: 120px; }
.tea-form-msg {
    padding: .75rem 1rem;
    border-radius: var(--tea-radius);
    font-size: .9rem;
    display: none;
}
.tea-form-msg.success { background: rgba(34,197,94,.1); color: #16a34a; display: block; }
.tea-form-msg.error   { background: rgba(239,68,68,.1); color: #dc2626; display: block; }
@media (max-width: 960px) {
    .tea-contact__wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .tea-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.tea-footer {
    background: var(--tea-navy);
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}
.tea-footer__main { padding: 5rem 0 3rem; }
.tea-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
.tea-footer__logo img { height: 60px; margin-bottom: 1.25rem; filter: brightness(10); opacity: .9; }
.tea-footer__about { color: rgba(255,255,255,.6); max-width: 300px; margin-bottom: 1.5rem; }
.tea-footer__social { display: flex; gap: .75rem; }
.tea-footer__social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    transition: var(--tea-transition);
    font-size: .9rem;
}
.tea-footer__social a:hover { background: var(--tea-gold); color: var(--tea-navy); }
.tea-footer__heading {
    color: var(--tea-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-family: var(--tea-font-body);
}
.tea-footer__links { display: flex; flex-direction: column; gap: .6rem; }
.tea-footer__links a { color: rgba(255,255,255,.6); transition: var(--tea-transition); }
.tea-footer__links a:hover { color: var(--tea-gold); padding-left: .4rem; }
.tea-footer__contact-item {
    display: flex; gap: .75rem; align-items: flex-start;
    margin-bottom: .75rem;
}
.tea-footer__contact-item svg { width: 16px; flex-shrink: 0; margin-top: .2rem; color: var(--tea-gold); }
.tea-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem 0;
    display: flex; flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}
.tea-footer__bottom a { color: var(--tea-gold); }
@media (max-width: 900px) {
    .tea-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .tea-footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE BUILDER COMPATIBILITY
   ============================================================ */
/* Elementor */
.elementor-section-wrap .tea-header { display: none !important; }
.elementor-editor-active .tea-whatsapp-btn,
.elementor-editor-active .tea-currency-badge { display: none !important; }
.elementor-widget-wrap { width: 100%; }
/* Divi */
.et-db #et-main-area { padding-top: 0; }
/* Beaver Builder */
.fl-builder-edit .tea-header { position: relative !important; }

/* ============================================================
   ENTRY CONTENT (for page builder landing pages)
   ============================================================ */
.entry-content { width: 100%; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.tea-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.tea-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.tea-reveal-delay-1 { transition-delay: .1s; }
.tea-reveal-delay-2 { transition-delay: .2s; }
.tea-reveal-delay-3 { transition-delay: .3s; }
.tea-reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   LIVE CLOCK
   ============================================================ */
.tea-live-clock {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    display: flex; align-items: center; gap: .4rem;
}
.tea-live-clock__time { color: var(--tea-gold); font-weight: 600; }

/* ============================================================
   UTILITIES
   ============================================================ */
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.d-none { display: none; }
.text-center { text-align: center; }

/* ============================================================
   NAV OVERLAY (mobile menu backdrop)
   ============================================================ */
.tea-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 998;
    backdrop-filter: blur(2px);
}

/* ============================================================
   LOGO ANCHOR
   ============================================================ */
.tea-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* ============================================================
   BUTTON — NAVY VARIANT
   ============================================================ */
.tea-btn--navy {
    background: var(--tea-navy);
    color: var(--tea-white);
    border: 2px solid var(--tea-navy);
}
.tea-btn--navy:hover {
    background: #243a6e;
    border-color: #243a6e;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER LOGO LINK
   ============================================================ */
.tea-footer__logo a {
    display: inline-block;
    text-decoration: none;
}

/* ============================================================
   PROPERTY CARD PRICE — USD secondary
   ============================================================ */
.tea-property-card__price-usd {
    font-size: .75rem;
    color: var(--tea-mid);
    font-weight: 400;
    margin-top: .2rem;
}

/* ============================================================
   SECTION SUBTITLE
   ============================================================ */
.section-subtitle {
    color: var(--tea-mid);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   CONTACT — Hours grid label alignment
   ============================================================ */
.tea-hours-day  { font-weight: 500; }
.tea-hours-time { text-align: right; }

/* ============================================================
   GALLERY — loading spinner
   ============================================================ */
.tea-gallery-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--tea-mid);
    width: 100%;
}

/* ============================================================
   HERO — background slide transition
   ============================================================ */
.tea-hero__bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.tea-hero__bg-slide.active {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE EXTRAS
   ============================================================ */
@media (max-width: 768px) {
    .tea-contact__wrapper {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .tea-footer__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    .tea-hero h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
    .tea-footer__grid {
        grid-template-columns: 1fr !important;
    }
    .tea-hero__badges {
        gap: .6rem;
    }
    .tea-hero__stat {
        font-size: .78rem;
    }
}

/* ============================================================
   PROPERTY CARD — ACTION BUTTONS ROW
   ============================================================ */
.tea-card__actions {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* Details button — outlined navy */
.tea-btn--details {
    flex: 1;
    background: transparent;
    color: var(--tea-navy);
    border: 1.5px solid var(--tea-navy);
    padding: .55rem .75rem;
    font-size: .8rem;
    text-align: center;
    border-radius: var(--tea-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.tea-btn--details:hover {
    background: var(--tea-navy);
    color: #fff;
}

/* WhatsApp Book Now — solid green */
.tea-btn--whatsapp {
    flex: 1.3;
    background: #25D366;
    color: #fff;
    border: 1.5px solid #25D366;
    padding: .55rem .75rem;
    font-size: .8rem;
    text-align: center;
    border-radius: var(--tea-radius);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: background .2s, transform .15s;
    text-decoration: none;
}
.tea-btn--whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
    transform: translateY(-1px);
}
.tea-btn--whatsapp .fab {
    font-size: 1rem;
}


