/* ============================================
   Carlos Figueroa | The Realest Realtors
   San Diego Luxury Real Estate
   Imperial Palace Aesthetic — Gold & Silver
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Gold spectrum */
  --gold-dark: #8b6914;
  --gold: #c9a84c;
  --gold-bright: #d4af37;
  --gold-light: #f0d060;
  --gold-pale: #fdf0c4;
  --gold-glow: #ffd700;

  /* Silver spectrum */
  --silver-dark: #6b6b6b;
  --silver: #a8a8a8;
  --silver-light: #c0c0c0;
  --silver-bright: #d9d9d9;
  --silver-pale: #e8e8e8;
  --silver-white: #f4f4f4;

  /* Dark backgrounds */
  --black: #050505;
  --black-rich: #0a0808;
  --charcoal: #141010;
  --charcoal-light: #1e1a18;
  --dark-warm: #1a1512;

  /* Accent */
  --cream: #faf5e8;
  --ivory: #f5efe0;
  --burgundy: #6b1a2a;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Cormorant Garamond', serif;

  /* Gold gradient presets */
  --gradient-gold: linear-gradient(135deg, #8b6914, #c9a84c, #f0d060, #d4af37, #8b6914);
  --gradient-gold-text: linear-gradient(135deg, #c9a84c, #ffd700, #f0d060, #d4af37);
  --gradient-silver: linear-gradient(135deg, #6b6b6b, #c0c0c0, #e8e8e8, #c0c0c0, #6b6b6b);
  --gradient-gold-horizontal: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Base Reset & Globals ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--cream);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- Utility Classes ---------- */
.text-gold {
  color: var(--gold) !important;
}
.text-gold-bright {
  color: var(--gold-bright) !important;
}
.text-silver {
  color: var(--silver-light) !important;
}
.text-cream {
  color: var(--cream) !important;
}

.bg-black-rich {
  background-color: var(--black-rich) !important;
}
.bg-charcoal {
  background-color: var(--charcoal) !important;
}
.bg-charcoal-light {
  background-color: var(--charcoal-light) !important;
}

.gold-gradient-text {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ornate divider line */
.ornate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.ornate-divider::before,
.ornate-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--gradient-gold-horizontal);
}
.ornate-divider .diamond {
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Section spacing */
.section-padding {
  padding: 100px 0;
}

/* ---------- Noise / Texture Overlay ---------- */
.noise-overlay {
  position: relative;
}
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.noise-overlay > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-imperial {
  background: rgba(5, 5, 5, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 0;
  transition: all 0.4s ease;
}

.navbar-imperial.scrolled {
  padding: 6px 0;
  border-bottom-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 4px 30px rgba(201, 168, 76, 0.08);
}

.navbar-imperial .navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.navbar-imperial .navbar-brand .brand-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  opacity: 0.8;
}

.navbar-imperial .nav-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-light) !important;
  padding: 8px 14px !important;
  transition: color 0.3s ease;
}

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

.navbar-imperial .nav-cta {
  background: var(--gradient-gold);
  color: var(--black) !important;
  padding: 8px 22px !important;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.navbar-imperial .nav-cta:hover {
  opacity: 0.9;
  color: var(--black) !important;
}

.navbar-imperial .navbar-toggler {
  border: 1px solid var(--gold-dark);
  padding: 6px 10px;
}
.navbar-imperial .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,168,76,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-imperial .dropdown-menu {
  background: rgba(10, 8, 8, 0.97);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  padding: 8px 0;
}
.navbar-imperial .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--silver-light);
  padding: 8px 20px;
  transition: all 0.2s ease;
}
.navbar-imperial .dropdown-item:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}

/* Phone number top bar */
.top-bar {
  background: linear-gradient(90deg, var(--black), var(--charcoal), var(--black));
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.top-bar a {
  color: var(--gold);
  text-decoration: none;
}
.top-bar a:hover {
  color: var(--gold-light);
}
.top-bar .separator {
  color: var(--silver-dark);
  margin: 0 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-imperial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      160deg,
      rgba(5, 5, 5, 0.55) 0%,
      rgba(10, 8, 8, 0.4) 30%,
      rgba(20, 15, 10, 0.5) 60%,
      rgba(5, 5, 5, 0.7) 100%
    ),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-imperial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-imperial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.hero-crown {
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 1s ease 0.3s forwards;
}
.hero-crown i {
  font-size: 2.2rem;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}
.hero-title .gold-accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--silver-bright);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.1s forwards;
}

/* Imperial Buttons */
.btn-imperial {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-imperial-gold {
  background: var(--gradient-gold);
  color: var(--black);
}
.btn-imperial-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
  color: var(--black);
}

.btn-imperial-silver {
  background: transparent;
  color: var(--silver-light);
  border: 1px solid var(--silver);
}
.btn-imperial-silver:hover {
  background: rgba(192, 192, 192, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 50px;
  margin: 0 auto;
  background: var(--gradient-gold);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 10px;
}

.section-title .gold-accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   FEATURED LISTINGS
   ============================================ */
.featured-section {
  background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%);
  position: relative;
}

.listing-card {
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.9), rgba(20, 16, 16, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.listing-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(201, 168, 76, 0.12), 0 0 0 1px var(--gold-dark);
}

.listing-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--charcoal);
}

.listing-card .card-img-wrapper .listing-price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-glow);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.listing-card .card-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.8));
}

.listing-card .card-body {
  padding: 20px;
}

.listing-card .listing-address {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.listing-card .listing-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.listing-card .listing-details span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--silver);
}

.listing-card .listing-details span i {
  color: var(--gold);
  margin-right: 4px;
}

/* ============================================
   ABOUT / WHY CHOOSE
   ============================================ */
.about-section {
  position: relative;
  background: var(--black-rich);
}

.about-section .about-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-section .about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-gold);
  border-radius: 6px;
  z-index: 0;
}

.about-section .about-image-wrapper img {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-text .about-heading-sm {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.about-text .about-motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--silver-bright);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  flex-wrap: wrap;
}

.about-stats .stat-item {
  text-align: center;
}

.about-stats .stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.about-stats .stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   SERVICES (Buy / Sell / Invest)
   ============================================ */
.services-section {
  background:
    linear-gradient(180deg, var(--black) 0%, rgba(26, 21, 18, 0.6) 50%, var(--black) 100%);
  position: relative;
}

.service-card {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.7), rgba(10, 8, 8, 0.8));
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201, 168, 76, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), rgba(201, 168, 76, 0.1));
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.service-icon i {
  font-size: 1.8rem;
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
}

/* ============================================
   COMMUNITIES
   ============================================ */
.communities-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--black-rich) 50%, var(--charcoal) 100%);
  position: relative;
  overflow: hidden;
}

.communities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.community-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--silver-light);
  padding: 8px 18px;
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-radius: 2px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: rgba(10, 8, 8, 0.5);
}

.community-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background:
    linear-gradient(
      180deg,
      var(--black) 0%,
      rgba(107, 26, 42, 0.08) 50%,
      var(--black) 100%
    );
  position: relative;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.8), rgba(10, 8, 8, 0.9));
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.4;
}

.testimonial-card .testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--silver-bright);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-card .testimonial-author {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Stars */
.stars {
  color: var(--gold);
  margin-bottom: 14px;
}
.stars i {
  font-size: 0.9rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  background: var(--black-rich);
}

.faq-section .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.faq-section .accordion-button {
  background: transparent;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 24px 0;
  box-shadow: none;
  border-radius: 0;
}

.faq-section .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--gold);
}

.faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c9a84c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  filter: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
}

.faq-section .accordion-body {
  padding: 0 0 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--silver-bright);
  line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  position: relative;
  background:
    linear-gradient(
      135deg,
      var(--charcoal) 0%,
      var(--black) 40%,
      rgba(26, 21, 18, 0.8) 100%
    );
}

.contact-section .contact-info-card {
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.08), rgba(10, 8, 8, 0.9));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  padding: 40px;
}

.contact-section .contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .icon-circle i {
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info-item .info-text .label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.contact-info-item .info-text .value {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--cream);
}

.contact-info-item .info-text a {
  color: var(--cream);
}
.contact-info-item .info-text a:hover {
  color: var(--gold);
}

/* Contact form */
.contact-form .form-control,
.contact-form .form-select {
  background: rgba(10, 8, 8, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(10, 8, 8, 0.95);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
  color: var(--cream);
}

.contact-form .form-control::placeholder {
  color: var(--silver-dark);
}

.contact-form .form-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.contact-form .form-check-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--silver-light);
}

.contact-form .form-check-input {
  border-color: var(--gold-dark);
  background-color: transparent;
}
.contact-form .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-imperial {
  background: linear-gradient(180deg, var(--black) 0%, #020202 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
}

.footer-imperial .footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-imperial h6 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-imperial p,
.footer-imperial li,
.footer-imperial a:not(.footer-brand) {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--silver);
}

.footer-imperial a:not(.footer-brand):hover {
  color: var(--gold);
}

.footer-imperial ul {
  list-style: none;
  padding: 0;
}

.footer-imperial ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 24px;
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--silver-dark);
}

/* ============================================
   SVG WAVE DIVIDERS
   ============================================ */
.wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider-gold svg path {
  fill: var(--gold-dark);
  opacity: 0.12;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
  .hero-imperial {
    background-attachment: scroll;
    min-height: 90vh;
  }

  .section-padding {
    padding: 70px 0;
  }

  .about-section .about-image-wrapper img {
    height: 300px;
  }

  .about-stats {
    justify-content: center;
  }

  .navbar-imperial .navbar-collapse {
    background: rgba(5, 5, 5, 0.98);
    padding: 16px;
    margin-top: 10px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 16px;
  }

  .hero-imperial {
    min-height: 85vh;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
  }

  .section-padding {
    padding: 50px 0;
  }

  .listing-card .card-img-wrapper {
    height: 180px;
  }

  .top-bar {
    font-size: 0.6rem;
  }

  .about-stats {
    gap: 20px;
  }

  .about-stats .stat-number {
    font-size: 1.8rem;
  }

  .contact-section .contact-info-card {
    padding: 24px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  .btn-imperial {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   PROPERTY SHOWCASE ROW (horizontal scroll)
   ============================================ */
.property-showcase {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.property-showcase::-webkit-scrollbar {
  height: 4px;
}
.property-showcase::-webkit-scrollbar-track {
  background: var(--charcoal);
}
.property-showcase::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 2px;
}

.property-showcase .listing-card {
  min-width: 300px;
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ============================================
   LUXURY IMAGE SECTION (full-bleed)
   ============================================ */
.luxury-showcase {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.luxury-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luxury-showcase .overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.7));
  text-align: center;
  padding: 20px;
}

.luxury-showcase .overlay-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.luxury-showcase .overlay-text p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--silver-bright);
  max-width: 500px;
}

@media (max-width: 767.98px) {
  .luxury-showcase {
    height: 300px;
  }
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */

/* Subpage Hero Banner */
.subpage-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(5,5,5,0.6), rgba(10,8,8,0.5) 30%, rgba(20,15,10,0.6) 60%, rgba(5,5,5,0.8));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}

.subpage-hero-compact {
  min-height: 300px;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--black-rich) 40%, rgba(201,168,76,0.04) 70%, var(--black) 100%);
}

.subpage-hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 80px 20px 40px;
}

.subpage-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 12px;
}

.subpage-hero-title .gold-accent {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subpage-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--silver-bright);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-nav {
  margin-bottom: 20px;
}

.breadcrumb-imperial {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.breadcrumb-imperial li {
  color: var(--silver-dark);
}

.breadcrumb-imperial li a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb-imperial li a:hover {
  color: var(--gold-light);
}

.breadcrumb-imperial li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--silver-dark);
}

.breadcrumb-imperial li.active {
  color: var(--silver-light);
}

/* Value / Why Choose Us Cards */
.value-card {
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.8), rgba(10, 8, 8, 0.9));
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 40px 30px;
  height: 100%;
  transition: all 0.4s ease;
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.08);
}

.value-card .value-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.value-card .value-number i {
  font-size: 1.8rem;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--gold);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
  margin: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, rgba(201,168,76,0.06) 50%, var(--black) 100%);
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Property Type Cards */
.property-type-card {
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.7), rgba(10, 8, 8, 0.8));
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 30px 16px;
  transition: all 0.3s ease;
  height: 100%;
}

.property-type-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.1);
}

.property-type-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.property-type-card h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}

/* Blog Cards */
.blog-card {
  background: linear-gradient(145deg, rgba(26, 21, 18, 0.9), rgba(20, 16, 16, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201, 168, 76, 0.1);
}

.blog-card-img {
  height: 180px;
  overflow: hidden;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-date {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-card-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-light);
  padding: 4px 12px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 2px;
}

/* Map wrapper */
.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
}

/* Subpage responsive */
@media (max-width: 991.98px) {
  .subpage-hero {
    min-height: 320px;
  }
  .subpage-hero-compact {
    min-height: 260px;
  }
  .subpage-hero-content {
    padding: 60px 20px 30px;
  }
}

@media (max-width: 767.98px) {
  .subpage-hero {
    min-height: 280px;
  }
  .subpage-hero-compact {
    min-height: 220px;
  }
  .value-card {
    padding: 28px 20px;
  }
  .blog-card-img {
    height: 140px;
  }
}

/* ============================================
   GOLDEN FLYING BIRDS
   ============================================ */
.golden-birds-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  z-index: 1025;
  overflow: hidden;
}

.golden-bird {
  position: absolute;
  color: var(--gold-glow);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 2px rgba(201, 168, 76, 0.7));
  will-change: transform;
}

.golden-bird svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: wingFlap 0.6s ease-in-out infinite alternate;
}

.golden-bird-2 svg,
.golden-bird-4 svg,
.golden-bird-6 svg {
  animation-duration: 0.7s;
  animation-delay: 0.1s;
}

@keyframes wingFlap {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0.75); }
}

/* Bird 1: left-to-right, upper path */
.golden-bird-1 {
  width: 32px;
  height: 16px;
  top: 22px;
  left: -40px;
  animation: flyPath1 16s ease-in-out infinite;
}

@keyframes flyPath1 {
  0%   { transform: translate(0, 0) rotate(3deg); opacity: 0; }
  5%   { opacity: 0.85; }
  25%  { transform: translate(28vw, 22px) rotate(-2deg); }
  50%  { transform: translate(55vw, -8px) rotate(5deg); }
  75%  { transform: translate(82vw, 18px) rotate(-3deg); }
  95%  { opacity: 0.85; }
  100% { transform: translate(105vw, 5px) rotate(3deg); opacity: 0; }
}

/* Bird 2: right-to-left, mid path */
.golden-bird-2 {
  width: 26px;
  height: 13px;
  top: 60px;
  right: -35px;
  left: auto;
  animation: flyPath2 21s ease-in-out infinite 3s;
}

@keyframes flyPath2 {
  0%   { transform: translate(0, 0) scaleX(-1) rotate(2deg); opacity: 0; }
  5%   { opacity: 0.75; }
  25%  { transform: translate(-28vw, -18px) scaleX(-1) rotate(-4deg); }
  50%  { transform: translate(-52vw, 12px) scaleX(-1) rotate(3deg); }
  75%  { transform: translate(-78vw, -6px) scaleX(-1) rotate(-2deg); }
  95%  { opacity: 0.75; }
  100% { transform: translate(-105vw, 8px) scaleX(-1) rotate(2deg); opacity: 0; }
}

/* Bird 3: left-to-right, lower & faster */
.golden-bird-3 {
  width: 22px;
  height: 11px;
  top: 95px;
  left: -30px;
  animation: flyPath3 13s ease-in-out infinite 7s;
}

@keyframes flyPath3 {
  0%   { transform: translate(0, 0) rotate(-2deg); opacity: 0; }
  8%   { opacity: 0.7; }
  30%  { transform: translate(35vw, -22px) rotate(4deg); }
  60%  { transform: translate(68vw, 14px) rotate(-3deg); }
  92%  { opacity: 0.7; }
  100% { transform: translate(105vw, -5px) rotate(2deg); opacity: 0; }
}

/* Bird 4: left-to-right, high path, slow & large */
.golden-bird-4 {
  width: 38px;
  height: 19px;
  top: 12px;
  left: -50px;
  animation: flyPath4 25s ease-in-out infinite 12s;
}

@keyframes flyPath4 {
  0%   { transform: translate(0, 0) rotate(1deg); opacity: 0; }
  4%   { opacity: 0.9; }
  20%  { transform: translate(22vw, 28px) rotate(-3deg); }
  40%  { transform: translate(42vw, 8px) rotate(4deg); }
  60%  { transform: translate(62vw, 32px) rotate(-2deg); }
  80%  { transform: translate(82vw, 12px) rotate(3deg); }
  96%  { opacity: 0.9; }
  100% { transform: translate(105vw, 22px) rotate(1deg); opacity: 0; }
}

/* Bird 5: right-to-left, upper, small */
.golden-bird-5 {
  width: 20px;
  height: 10px;
  top: 42px;
  right: -25px;
  left: auto;
  animation: flyPath5 19s ease-in-out infinite 5s;
}

@keyframes flyPath5 {
  0%   { transform: translate(0, 0) scaleX(-1) rotate(-1deg); opacity: 0; }
  6%   { opacity: 0.65; }
  33%  { transform: translate(-35vw, 20px) scaleX(-1) rotate(3deg); }
  66%  { transform: translate(-72vw, -14px) scaleX(-1) rotate(-4deg); }
  94%  { opacity: 0.65; }
  100% { transform: translate(-105vw, 10px) scaleX(-1) rotate(-1deg); opacity: 0; }
}

/* Bird 6: left-to-right, meandering */
.golden-bird-6 {
  width: 28px;
  height: 14px;
  top: 72px;
  left: -35px;
  animation: flyPath6 22s ease-in-out infinite 9s;
}

@keyframes flyPath6 {
  0%   { transform: translate(0, 0) rotate(2deg); opacity: 0; }
  5%   { opacity: 0.8; }
  16%  { transform: translate(16vw, -20px) rotate(-4deg); }
  33%  { transform: translate(33vw, 24px) rotate(5deg); }
  50%  { transform: translate(52vw, -10px) rotate(-3deg); }
  66%  { transform: translate(68vw, 18px) rotate(4deg); }
  83%  { transform: translate(85vw, -5px) rotate(-2deg); }
  95%  { opacity: 0.8; }
  100% { transform: translate(105vw, 8px) rotate(2deg); opacity: 0; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .golden-birds-container {
    display: none;
  }
}

/* Fewer birds on mobile */
@media (max-width: 767.98px) {
  .golden-birds-container {
    height: 100px;
  }
  .golden-bird-3,
  .golden-bird-5,
  .golden-bird-6 {
    display: none;
  }
  .golden-bird-1 { width: 24px; height: 12px; }
  .golden-bird-4 { width: 28px; height: 14px; }
}
