/* ============================================
   SARANA SENIOR LIVING — Website Stylesheet
   Color Palette:
     Desert Sage:    #7A8E7B
     Warm Stone:     #C4B09A
     Antiqued Gold:  #B8955A
     Deep Clay:      #8B5E3C
     Desert Linen:   #F5F0E8
     Charcoal Umber: #3A3330
     Rich Brown:     #5C3D2E
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #7A8E7B;
  --sage-light: #94a895;
  --stone: #C4B09A;
  --gold: #B8955A;
  --clay: #8B5E3C;
  --linen: #F5F0E8;
  --umber: #3A3330;
  --brown: #5C3D2E;
  --white: #FFFFFF;
  --text: #3A3330;
  --text-light: #6B6460;
  --shadow: rgba(58, 51, 48, 0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--umber);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--clay); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-sage { color: var(--sage); }
.text-light { color: var(--text-light); }
.bg-linen { background: var(--linen); }
.bg-umber { background: var(--umber); color: var(--linen); }
.bg-sage { background: var(--sage); color: var(--white); }
.bg-white { background: var(--white); }

.section {
  padding: 5rem 0;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--clay);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--umber);
}
.btn-white:hover {
  background: var(--linen);
  color: var(--umber);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 176, 154, 0.2);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--umber);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 0.6rem 1.6rem !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  font-size: 0.72rem !important;
  letter-spacing: 1.5px !important;
}
.nav-cta:hover {
  background: var(--clay) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--umber);
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--linen);
  overflow: hidden;
  padding-top: 80px;
}

.hero-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 51, 48, 0.55) 0%,
    rgba(58, 51, 48, 0.35) 50%,
    rgba(58, 51, 48, 0.5) 100%
  );
}

.hero-logo {
  height: auto;
  width: min(420px, 70vw);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.hero-image h1 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-image .hero-desc {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-image .hero-tagline {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.hero-image .hero-badge {
  background: rgba(184, 149, 90, 0.2);
  border-color: rgba(184, 149, 90, 0.5);
  color: var(--gold);
}

.hero-image .hero-scroll svg {
  stroke: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--umber);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--linen) 0%, #e8e0d4 50%, var(--stone) 100%);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-image .hero-content {
  background: transparent;
  padding: 2rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(184, 149, 90, 0.12);
  border: 1px solid rgba(184, 149, 90, 0.3);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--umber);
}

.hero-image h1 {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* --- Property Showcase --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.property-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--stone);
  text-decoration: none;
  display: block;
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover img {
  transform: scale(1.05);
}

.property-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(58, 51, 48, 0.85));
  color: var(--white);
}

.property-card-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.property-card-overlay p {
  font-size: 0.85rem;
  color: var(--stone);
  margin: 0;
}

.property-badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(178, 149, 108, 0.5);
  padding: 0.25rem 0.75rem;
}

/* --- Features / Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.pillar {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.pillar h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- About / Story Section --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--stone) 0%, #d4c4b0 100%);
  position: relative;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-image:hover img {
  transform: scale(1.03);
}

.story-image::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  border: 1.5px solid var(--gold);
  z-index: -1;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* --- Living Options --- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.option-card {
  background: var(--white);
  border: 1px solid rgba(196, 176, 154, 0.3);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.option-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-4px);
}

.option-card h3 {
  margin-bottom: 1rem;
  color: var(--umber);
}

.option-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.option-card .price-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.option-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.option-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(196, 176, 154, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Life / Amenities --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.amenity {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(196, 176, 154, 0.15);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
}

.amenity h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.amenity p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* --- Testimonial / Quote --- */
.quote-section {
  padding: 5rem 0;
  text-align: center;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--umber);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.quote-attr {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--umber);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--linen);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--stone);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-banner .hero-buttons {
  justify-content: center;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  border: 1.5px solid rgba(196, 176, 154, 0.4);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--umber);
  margin-bottom: 0.3rem;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: var(--umber);
  color: var(--stone);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: var(--stone);
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--linen);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--stone);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(196, 176, 154, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(196, 176, 154, 0.6);
}

/* --- Video Backgrounds --- */

/* Hero video (life.html) */
.hero-video {
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Quote section video (index.html) */
.quote-video-section {
  position: relative;
  overflow: hidden;
  background: var(--umber);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.quote-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 51, 48, 0.6);
  z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(196, 176, 154, 0.2);
    box-shadow: 0 8px 20px var(--shadow);
  }

  .property-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .options-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .story-image { order: -1; }

  .section { padding: 3.5rem 0; }
}

@media (max-width: 600px) {
  .property-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
