/* ============================================
   CAROLINA PORRAS WEBSITE - DC GROUP ALIGNED
   ============================================ */

/* ============================================
   FONTS - DC Group Typography
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@400;600;700&display=swap');

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* DC Group Color Palette */
  --color-hero-overlay: rgba(162, 170, 173, 0.85);
  --color-heading: #a2aaad;
  --color-text: #2d2d2d;
  --color-bg: #ffffff;
  --color-bg-light: #f8f8f8;
  --color-primary: #a2aaad;  /* DC Group brand grey */
  --color-primary-hover: #8a9295;  /* Darker shade for hover */
  --color-secondary-border: #a2aaad;
  --color-footer-bar: #000000;
  --color-icon: #a2aaad;
  --color-placeholder: #a2aaad;
  --color-border: #e0e0e0;
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--color-heading);
}

h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-heading);
}

h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-text);
}

h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

p {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

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

a:hover {
  color: var(--color-primary-hover);
}

.subtitle {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #000000;  /* Black text for subtitles */
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;  /* Thin border like DC Group */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.logo span {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-icon);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;  /* Darker for better contrast */
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 600px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f8f8f8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 6rem; /* Push content down to avoid covering face */
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  color: white;
  font-size: clamp(1rem, 2.8vw, 2.2rem);
  margin: 0 auto 1.5rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: block;
  width: auto;
  max-width: 100vw;
  white-space: nowrap;
}

.hero-content .subtitle {
  color: white;
  font-size: clamp(0.7rem, 1.5vw, 1.1rem);
  margin: 0 auto 2rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-align: center;
  display: block;
  width: auto;
  max-width: 100vw;
}

/* ============================================
   BUTTONS - DC Group Style
   ============================================ */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--color-placeholder);
  border: 1px solid var(--color-secondary-border);
}

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

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--color-bg-light);
  padding: 2rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: nowrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
  max-width: 280px;
}

.trust-item-icon {
  font-size: 2rem;
}

.trust-item-text {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text);
}

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
}

.step-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.step-text {
  font-family: var(--font-serif);
  color: var(--color-icon);
  font-size: 1.125rem;
}

/* ============================================
   CARDS - DC Group Style
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.card-text {
  font-family: var(--font-serif);
  color: #000000;
  line-height: 1.6;
}

/* ============================================
   FORMS - DC Group Style
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.form-input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: var(--color-placeholder);
}

textarea {
  resize: vertical;
}

select {
  cursor: pointer;
  background: white;
}

/* ============================================
   FOOTER - GREY THEME (matches DC Group brand)
   ============================================ */
.footer {
  background: #a2aaad;  /* DC Group brand grey */
  color: #ffffff;
  padding: 4rem 0 0;
  border-top: none;
}

/* 4-Column Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.5fr 1fr; /* More space for contact column */
  gap: 5rem;
  margin-bottom: 2rem;
}

/* Column 1: Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem; /* Reduced for better balance */
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-brand-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #ffffff; /* Pure white for better contrast */
  line-height: 1.5;
}

.footer-brand-motto {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #ffffff; /* White for better readability */
  font-style: italic;
  margin-top: 1rem;
}

/* Column 2: Quick Links */
.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav ul li a {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff; /* Pure white for better contrast */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #ffffff; /* Full white on hover */
}

/* Column 3: Contact */
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-contact-item span:first-child {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  font-family: var(--font-sans);
  color: #ffffff; /* Pure white for better contrast */
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevent email from wrapping */
}

.footer-contact-item a:hover {
  color: #ffffff; /* Full white on hover */
}

.footer-contact-item span:not(:first-child) {
  font-family: var(--font-sans);
  color: #ffffff; /* Pure white for better contrast */
}

/* Column 4: DC Group */
.footer-dc-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-dc-group a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-dc-group a:hover {
  transform: translateY(-2px);
}

.footer-dc-logo {
  height: 140px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.85;
  filter: brightness(1.1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-dc-group a:hover .footer-dc-logo {
  opacity: 1;
  filter: brightness(1.4);
}

.footer-dc-badge {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #c8cdd0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.footer-dc-group a:hover .footer-dc-badge {
  color: #ffffff;
}

.footer-dc-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #8a9295;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.footer-dc-group a:hover .footer-dc-link {
  color: #ffffff;
}

/* Bottom Bar */
.footer-bottom-bar {
  background: #a2aaad;  /* Same as main footer */
  padding: 1.5rem 0;
  position: relative;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* Larger touch target */
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15); /* Subtle border */
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.footer-social-icons a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: #ffffff;
}

.footer-social-icons a:hover {
  background: #d4a857;
  border-color: #d4a857;
  transform: translateY(-2px);
}

/* Copyright */
.footer-copyright {
  font-size: 0.9rem;
  color: #ffffff; /* Pure white for better contrast */
  text-align: center;
  line-height: 1.6;
}

.footer-abn {
  display: block;
  margin: 0.25rem 0;
}

/* Back to Top Button */
.back-to-top {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* Larger touch target */
  height: 44px;
  background: rgba(255,255,255,0.15); /* More visible */
  border: 1px solid rgba(255,255,255,0.2); /* Subtle border */
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.back-to-top:hover {
  background: #d4a857;
  border-color: #d4a857;
  transform: translateY(-3px); /* Slightly more lift */
}

/* ============================================
   SVG ICON STYLES
   ============================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.875em;  /* Reduced from 1.25em (30% smaller) */
  height: 0.875em;
  vertical-align: middle;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Icon size variants */
.icon-sm {
  width: 0.7em;  /* Reduced from 1em (30% smaller) */
  height: 0.7em;
}

.icon-lg {
  width: 1.05em;  /* Reduced from 1.5em (30% smaller) */
  height: 1.05em;
}

.icon-xl {
  width: 1.4em;  /* Reduced from 2em (30% smaller) */
  height: 1.4em;
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.image-placeholder {
  background: #f0f0f0;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.image-placeholder-icon {
  font-size: 4rem;
  color: var(--color-placeholder);
  margin-bottom: 1rem;
}

.image-placeholder-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.image-placeholder-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-icon);
  line-height: 1.6;
  max-width: 400px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--color-bg-light);
  padding: 4rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-heading);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-family: var(--font-serif);
  color: var(--color-icon);
  font-size: 0.95rem;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--color-primary);
  color: white;
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.stat-number {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   AREA CARDS
   ============================================ */
.area-showcase {
  padding: 4rem 0;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.area-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-card-img-link {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.area-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.area-card-img-link:hover .area-card-img {
  transform: scale(1.05);
}

.zoom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.75rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.area-card-img-link:hover .zoom-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.2rem;
}

.zoom-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.area-card-content {
  padding: 1.5rem;
}

.area-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  color: #000000;  /* Black text for area titles */
  margin-bottom: 1rem;
}

.area-card-features {
  list-style: none;
  padding: 0;
}

.area-card-features li {
  font-family: var(--font-serif);
  color: #000000;  /* Black text for feature list items */
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.area-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ============================================
   DC GROUP BADGE
   ============================================ */
.dc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem; /* 50% of 0.75rem */
  background: rgba(255, 255, 255, 0.95);
  padding: 0.375rem 0.75rem; /* 50% of original */
  border-radius: 25px; /* 50% of 50px */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.475rem; /* 50% of 0.95rem */
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1rem; /* 50% of 2rem */
}

.dc-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: var(--color-text);
}

.dc-badge-icon {
  width: 15px; /* 50% of 30px */
  height: 15px; /* 50% of 30px */
  opacity: 0.8;
}

/* ============================================
   TRACK RECORD / PROPERTY CARDS
   ============================================ */
.track-record-section {
  background: var(--color-bg-light);
  padding: 4rem 0;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.property-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.property-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.property-card-content {
  padding: 1.5rem;
}

.property-card-status {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.property-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.property-card-location {
  font-family: var(--font-serif);
  color: var(--color-icon);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.property-card-desc {
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============================================
   NEWSLETTER SIGNUP
   ============================================ */
.newsletter-section {
  background: var(--color-primary);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.newsletter-section h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1.25rem;
  border-radius: 50px;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-align: center;
}

.newsletter-btn {
  background: white;
  color: var(--color-primary);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MOBILE CALL BUTTON
   ============================================ */
.mobile-call-button {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.mobile-call-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  color: white;
}

.mobile-call-button-icon {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(138, 138, 138, 0.6);
  }
}

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

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 10px 10px 10px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 99.5%;
  max-height: 98vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
  image-rendering: auto;
  -webkit-image-rendering: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
}

/* Show on mobile only */
@media (max-width: 768px) {
  .mobile-call-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lightbox-content {
    max-width: 99.5%;
    max-height: 98vh;
  }
  
  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 35px;
  }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top-button {
  position: fixed;
  bottom: 90px; /* Above mobile call button */
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-button.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-button:hover {
  transform: translateY(-3px);
  background: var(--color-primary-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top-icon {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

/* Adjust position on mobile */
@media (max-width: 768px) {
  .back-to-top-button {
    bottom: 100px; /* Above mobile call button on mobile */
    right: 20px;
  }
  
  /* Hide footer inline back-to-top on mobile to prevent overlap with ABN */
  .back-to-top {
    display: none;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid,
  .area-grid,
  .property-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.1rem, 3.2vw, 2.75rem);
  }
  
  /* Footer - 2 column layout on tablet */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer-dc-group {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  /* Grid adjustments */
  .grid-2,
  .grid-3,
  .grid-4,
  .testimonial-grid,
  .area-grid,
  .property-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1rem, 3vw, 2rem);
  }
  
  /* Footer - Single column on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-dc-group {
    grid-column: auto;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
  
  /* Add padding to footer bottom to clear the fixed Call Carolina button */
  .footer-bottom-bar {
    padding-bottom: 100px;
  }
}
  
  .hero-content .subtitle {
    font-size: clamp(0.75rem, 1.6vw, 1.125rem);
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Buttons */
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  /* Trust bar */
  .trust-items {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .trust-item {
    flex: none;
    max-width: none;
  }
  
  /* Steps */
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Stats */
  .stat-number {
    font-size: 2.5rem;
  }
  
  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    min-width: 100%;
  }
  
  /* DC Badge */
  .dc-badge {
    font-size: 0.425rem; /* 50% of 0.85rem */
    padding: 0.3rem 0.625rem; /* 50% of original */
  }
  
  .hero-content {
    padding-top: 5rem; /* Less padding on mobile */
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   SECURITY NOTICE STYLES
   ============================================ */
.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
  border: 1px solid #c8e6c9;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: #2e7d32;
  text-align: left;
  margin-top: 0.5rem;
}

.security-notice .security-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.security-notice span {
  line-height: 1.5;
}

.security-notice strong {
  color: #1b5e20;
}

/* Footer Security Badge */
.footer-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.footer-security-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Mobile adjustments for security notice */
@media (max-width: 768px) {
  .security-notice {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }
  
  .security-notice .security-icon {
    width: 16px;
    height: 16px;
  }
}

/* ============================================
   CONTACT OPTIONS CARDS
   ============================================ */
.contact-options-grid {
  align-items: stretch;
  gap: 1.5rem;
}

.contact-option-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-option-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2.5rem 1.5rem;
}

.contact-icon-wrapper {
  margin-bottom: 1rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail {
  font-size: 1rem;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 1.5rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.contact-detail a {
  color: #2d2d2d;
  word-break: break-word;
}

.contact-detail-email {
  font-size: 0.9rem;
}

.contact-detail-text {
  color: #666;
  font-weight: 400;
}

.contact-option-card .btn {
  margin-top: auto;
}

/* Responsive adjustments for contact cards */
@media (max-width: 1024px) {
  .contact-options-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-options-grid.grid-3 {
    grid-template-columns: 1fr;
  }
  
  .contact-option-card .card-content {
    padding: 2rem 1.5rem;
  }
  
  .contact-detail {
    min-height: auto;
  }
}

/* ============================================
   DUAL-HANDLE BUDGET SLIDER
   ============================================ */
.budget-slider-container {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f4 100%);
  border-radius: 12px;
  margin: 0.5rem 0;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.budget-display-box {
  display: inline-block;
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(162, 170, 173, 0.15);
}

.budget-display {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.budget-separator {
  margin: 0 0.75rem;
  color: var(--color-icon);
  font-weight: 400;
}

.dual-slider {
  position: relative;
  height: 50px;
  margin: 0 14px;
}

.dual-slider::before,
.dual-slider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #d0d0d0;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.dual-slider::before {
  left: 0;
}

.dual-slider::after {
  right: 0;
}

.dual-slider input[type="range"] {
  position: absolute;
  width: calc(100% + 28px);
  left: -14px;
  height: 28px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
}

.dual-slider input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  background: transparent;
  border: none;
}

.dual-slider input[type="range"]::-moz-range-track {
  width: 100%;
  height: 10px;
  background: transparent;
  border: none;
}

.dual-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: -9px;
}

.dual-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dual-slider input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.slider-range {
  position: absolute;
  height: 10px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #8a9295 100%);
  border-radius: 5px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  z-index: 2;
}

.budget-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-icon);
  margin-top: 0.75rem;
}

/* Mobile adjustments for budget slider */
@media (max-width: 768px) {
  .budget-slider-container {
    padding: 1.5rem 1rem;
  }
  
  .budget-display-box {
    padding: 0.5rem 1.5rem;
  }
  
  .budget-display {
    font-size: 1.1rem;
  }
  
  .dual-slider {
    margin: 0 15px;
  }
  
  .dual-slider input[type="range"]::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
  }
  
  .dual-slider input[type="range"]::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
}
