/* ===========================
   SWEETWORKS PROPERTIES - CSS
   =========================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9E7A2E;
  --dark: #1A1A2E;
  --dark-2: #16213E;
  --cream: #FAF8F3;
  --text: #3D3D3D;
  --text-muted: #7A7A8C;
  --white: #FFFFFF;
  --border: rgba(201,168,76,0.2);
  --shadow: 0 8px 40px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 7px 0;
}
.topbar a { color: var(--gold-light); margin-left: 10px; font-size: 0.8rem; transition: color 0.2s; }
.topbar a:hover { color: #fff; }

/* ---- NAVBAR ---- */
#mainNav {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: all 0.3s;
}
#mainNav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 38px; height: 38px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--dark); line-height: 1.1; }
.brand-sub { display: block; font-size: 0.75rem; font-weight: 500; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
.nav-link { color: var(--dark) !important; font-weight: 500; font-size: 0.9rem; padding: 8px 14px !important; transition: color 0.2s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }
.btn-gold { background: var(--gold); color: #fff !important; border: none; padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.5px; transition: all 0.25s; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,168,76,0.35); }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold); background: transparent; padding: 9px 22px; border-radius: 6px; font-weight: 600; font-size: 0.88rem; transition: all 0.25s; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=80') center/cover no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=80') center/cover;
  opacity: 0.18;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.9) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 120px 0 180px; }
.hero-eyebrow { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.text-gold { color: var(--gold); }
.hero-subtitle { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto 40px; }

/* Hero Search */
.hero-search-wrap { background: rgba(255,255,255,0.06); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 28px 28px 24px; margin-top: 30px; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.search-tab { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); padding: 8px 22px; border-radius: 30px; cursor: pointer; font-size: 0.88rem; font-weight: 500; transition: all 0.2s; }
.search-tab.active, .search-tab:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.search-input { background: rgba(255,255,255,0.92); border: none; height: 48px; border-radius: 8px; font-size: 0.9rem; }
.search-input:focus { box-shadow: 0 0 0 3px rgba(201,168,76,0.3); }
.btn-search { background: var(--gold); color: #fff; border: none; height: 48px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; transition: all 0.25s; }
.btn-search:hover { background: var(--gold-dark); }

.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 2px; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); margin: 8px auto 0; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.3)} }

/* ---- STATS ---- */
.stats-strip { background: var(--dark); padding: 28px 0; }
.stat-item { padding: 10px 0; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); margin: 0; }
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin: 0; }

/* ---- SECTIONS ---- */
.section-pad { padding: 90px 0; }
.bg-light-cream { background: var(--cream); }
.section-eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 540px; margin: 0 auto; }
.section-header { margin-bottom: 10px; }

/* ---- HOW IT WORKS ---- */
.how-card { background: #fff; border-radius: 14px; padding: 32px 24px; position: relative; border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; height: 100%; }
.how-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(201,168,76,0.15); border-color: var(--border); }
.how-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 700; color: rgba(201,168,76,0.12); position: absolute; top: 16px; right: 20px; line-height: 1; }
.how-icon { width: 56px; height: 56px; background: rgba(201,168,76,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--gold); font-size: 1.3rem; }
.how-card h5 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.how-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---- PROPERTY CARDS ---- */
.prop-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.07); transition: all 0.3s; height: 100%; }
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prop-img-wrap { position: relative; overflow: hidden; height: 220px; }
.prop-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .prop-img { transform: scale(1.06); }
.prop-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; letter-spacing: 0.5px; }
.badge-rent { background: var(--dark); }
.prop-featured { position: absolute; top: 14px; right: 14px; background: #22c55e; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 30px; }
.prop-body { padding: 20px; }
.prop-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.prop-price span { font-size: 0.9rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.prop-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.prop-location { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px; }
.prop-features { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-muted); padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }
.prop-features i { color: var(--gold); margin-right: 4px; }
.btn-prop { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); font-size: 0.85rem; font-weight: 600; padding: 8px 20px; border-radius: 6px; width: 100%; transition: all 0.25s; }
.btn-prop:hover { background: var(--gold); color: #fff; }

/* ---- LOCATIONS ---- */
.locations-section { background: var(--dark); padding: 90px 0; }
.location-card { display: block; border-radius: 12px; overflow: hidden; position: relative; height: 220px; }
.loc-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.4s; }
.location-card:hover .loc-img { transform: scale(1.08); }
.loc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.loc-overlay h5 { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0; }
.loc-overlay span { color: var(--gold-light); font-size: 0.8rem; }

/* ---- WHY US ---- */
.why-img-wrap { position: relative; display: inline-block; }
.rounded-why { border-radius: 16px; width: 100%; height: 480px; object-fit: cover; }
.why-badge-float { position: absolute; bottom: 28px; left: -20px; background: var(--gold); color: #fff; padding: 14px 20px; border-radius: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.why-badge-float i { font-size: 1.5rem; }
.why-badge-float strong { display: block; font-size: 0.95rem; }
.why-badge-float span { font-size: 0.78rem; opacity: 0.85; }
.lead-text { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item > i { color: var(--gold); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.why-item strong { display: block; font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CTA CARETAKER ---- */
.cta-caretaker { background: linear-gradient(135deg, var(--dark) 0%, #0f3460 100%); padding: 80px 0; }
.cta-eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.cta-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 14px; }
.cta-sub { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.7; max-width: 520px; }
.cta-note { color: rgba(255,255,255,0.4); font-size: 0.78rem; }

/* ---- TESTIMONIALS ---- */
.testi-card { background: var(--cream); border-radius: 14px; padding: 28px; border: 1px solid var(--border); height: 100%; }
.testi-featured { background: var(--dark); }
.testi-stars { color: var(--gold); margin-bottom: 16px; }
.testi-text { font-style: italic; font-size: 0.93rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.testi-featured .testi-text { color: rgba(255,255,255,0.8); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 0.92rem; color: var(--dark); }
.testi-featured .testi-author strong { color: #fff; }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }
.testi-featured .testi-author span { color: var(--gold-light); }

/* ---- BLOG ---- */
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.07); transition: all 0.3s; height: 100%; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-img-wrap { position: relative; overflow: hidden; height: 200px; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img { transform: scale(1.06); }
.blog-cat { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; }
.blog-body { padding: 20px; }
.blog-date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.5; margin-bottom: 14px; }
.blog-link { color: var(--gold); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-link:hover { gap: 10px; }

/* ---- NEWSLETTER ---- */
.newsletter-section { background: linear-gradient(135deg, #0f3460, var(--dark)); padding: 80px 0; color: #fff; text-align: center; }
.newsletter-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 16px; }
.newsletter-title { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.newsletter-input { height: 48px; border-radius: 8px; border: none; background: rgba(255,255,255,0.1); color: #fff; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { background: rgba(255,255,255,0.15); box-shadow: 0 0 0 3px rgba(201,168,76,0.3); border: none; }

/* ---- FOOTER ---- */
.site-footer { background: #0d0d1a; color: rgba(255,255,255,0.6); }
.footer-top { padding: 64px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-about { font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); margin-right: 8px; transition: all 0.2s; }
.footer-socials a:hover { background: var(--gold); color: #fff; }
.footer-heading { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { font-size: 0.87rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-list i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; font-size: 0.82rem; text-align: center; }
.footer-bottom a { color: var(--gold); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 100px 0 60px; color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(201,168,76,0.06); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }

/* ---- FILTER BAR ---- */
.filter-bar { background: var(--cream); padding: 24px 0; border-bottom: 1px solid var(--border); }
.filter-select { height: 44px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.88rem; background: #fff; }
.filter-select:focus { box-shadow: none; border-color: var(--gold); }
.btn-filter { background: var(--gold); color: #fff; border: none; height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; transition: all 0.25s; }
.btn-filter:hover { background: var(--gold-dark); }

/* ---- FORM STYLES ---- */
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--dark); margin-bottom: 6px; }
.form-control, .form-select { border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 11px 14px; font-size: 0.9rem; transition: border-color 0.2s; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }

/* ---- ABOUT PAGE ---- */
.team-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.07); text-align: center; padding: 30px 20px; transition: all 0.3s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); margin: 0 auto 16px; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.team-role { font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.team-socials { margin-top: 12px; }
.team-socials a { color: var(--text-muted); margin: 0 5px; font-size: 0.9rem; transition: color 0.2s; }
.team-socials a:hover { color: var(--gold); }

/* ---- CONTACT PAGE ---- */
.contact-info-card { background: var(--dark); color: #fff; border-radius: 16px; padding: 36px; height: 100%; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: rgba(201,168,76,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.contact-form-card { background: var(--cream); border-radius: 16px; padding: 36px; }

/* ---- REGISTER PAGE ---- */
.register-card { background: #fff; border-radius: 16px; padding: 40px; border: 1px solid var(--border); }
.role-select-wrap { display: flex; gap: 16px; margin-bottom: 28px; }
.role-btn { flex: 1; padding: 20px; border: 2px solid #e0e0e0; border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.25s; }
.role-btn.active, .role-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.role-btn i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.role-btn strong { display: block; font-size: 0.95rem; color: var(--dark); }

/* ---- PROPERTY DETAIL ---- */
.detail-img-main { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; }
.detail-thumb { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.detail-thumb:hover { border-color: var(--gold); }
.detail-price { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.detail-feat { display: flex; gap: 24px; background: var(--cream); border-radius: 10px; padding: 16px 20px; }
.detail-feat-item { text-align: center; }
.detail-feat-item i { font-size: 1.2rem; color: var(--gold); margin-bottom: 4px; }
.detail-feat-item strong { display: block; font-size: 0.95rem; color: var(--dark); }
.detail-feat-item span { font-size: 0.78rem; color: var(--text-muted); }
.agent-card { background: var(--cream); border-radius: 14px; padding: 24px; border: 1px solid var(--border); }
.agent-avatar { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .hero-content { padding: 100px 0 140px; }
  .why-badge-float { left: 10px; }
  .role-select-wrap { flex-direction: column; }
  .detail-feat { flex-wrap: wrap; gap: 14px; }
}
