/* ============================================
   Serenity South Properties — Custom Styles
   Burgundy + Blush | Warm & Friendly
   ============================================ */

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

:root {
  --burgundy: #800020;
  --burgundy-dark: #5c0017;
  --burgundy-light: #a0314b;
  --blush: #FDE8E8;
  --blush-light: #FFF5F5;
  --blush-mid: #F5C6D0;
  --cream: #FFFAF8;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(128, 0, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(128, 0, 32, 0.1);
  --shadow-lg: 0 8px 40px rgba(128, 0, 32, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-secondary:hover {
  background: var(--burgundy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--burgundy);
}

.btn-light {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--burgundy);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(128, 0, 32, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--burgundy);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}

.logo-light .logo-text { color: var(--white); }
.logo-light .logo-icon path[fill] { fill: #FDE8E8 !important; }

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--burgundy);
  background: var(--blush);
}

.btn-nav {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
}

.btn-nav:hover {
  background: var(--burgundy-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  background: var(--burgundy);
  padding: 8rem 0 0;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.hero-wave {
  margin-top: auto;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(253, 232, 232, 0.15);
  border: 1px solid rgba(253, 232, 232, 0.3);
  color: var(--blush);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title .accent {
  color: var(--blush);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(253, 232, 232, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-actions .btn-secondary {
  border-color: var(--blush);
  color: var(--blush);
}

.hero-actions .btn-secondary:hover {
  background: var(--blush);
  color: var(--burgundy);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blush);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(253, 232, 232, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(253, 232, 232, 0.25);
}

/* Hero visuals */
.hero-visual {
  position: relative;
  padding-left: 2rem;
}

.hero-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--burgundy);
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.3;
}

/* --- About --- */
.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-lg {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-sm {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}

.about-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -1rem;
  right: 2rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
  max-width: 180px;
  text-align: center;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* --- Services --- */
.services {
  padding: 6rem 0;
  background: var(--blush-light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(128, 0, 32, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(128, 0, 32, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--blush);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Listings --- */
.listings {
  padding: 6rem 0;
}

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

.listing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(128, 0, 32, 0.06);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.listing-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.listing-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listing-tag-rent {
  background: var(--text-dark);
}

.listing-info {
  padding: 1.25rem;
}

.listing-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* --- Testimonials --- */
.testimonials {
  padding: 6rem 0;
  background: var(--burgundy);
  position: relative;
  overflow: hidden;
}

.testimonials .section-eyebrow { color: var(--blush); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: rgba(253, 232, 232, 0.7); }

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(253, 232, 232, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.quote-mark {
  margin-bottom: 1rem;
  opacity: 0.7;
}

.testimonial-card p {
  color: rgba(253, 232, 232, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-author span {
  color: rgba(253, 232, 232, 0.6);
  font-size: 0.8rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 5rem 0;
  background: var(--blush);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- Contact --- */
.contact {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--blush);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-item dd {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-item a {
  color: var(--burgundy);
  font-weight: 600;
}

.contact-item address {
  font-style: normal;
  line-height: 1.6;
}

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(128, 0, 32, 0.06);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-note {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e8d8d8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f0faf3;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  color: #1a7a3a;
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(253, 232, 232, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(253, 232, 232, 0.5);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(253, 232, 232, 0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(253, 232, 232, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--blush);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 232, 232, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(253, 232, 232, 0.35);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 0; padding: 0; max-width: 500px; margin: 0 auto; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { max-width: 500px; margin: 0 auto; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .hero { min-height: auto; padding: 7rem 0 0; }
  .hero-visual { padding: 0; }
  .hero-img-float { left: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { flex-direction: row; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-img-float { display: none; }
  .about-accent { display: none; }
  .contact-form-wrapper { padding: 1.5rem; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
