/* =========================
   Havenly Realty – styles.css
   ========================= */

:root{
  --bg:#fff;
  --muted:#6b7280;
  --text:#0f172a;
  --brand:#6E0D0D;          /* Burgundy */
  --brand-dark:#520606;
  --brand-light:#7F0F0F;
  --shadow:0 8px 28px rgba(15,23,42,.10);
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{text-decoration:none;color:inherit}
.container{width:90%;max-width:var(--max);margin:0 auto}
.muted{color:var(--muted)}
.section{padding:10px 0}
.section-title{font-size:1.6rem;margin:0 0 6px}
.section-sub{color:var(--muted);margin:0 0 22px}

/* -------- Header -------- */
.site-header{
  position:sticky;top:0;z-index:40;
  overflow: visible !important;
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  color:#fff;
  transition:transform .28s ease,background .3s ease,box-shadow .3s ease,backdrop-filter .3s ease;
  backdrop-filter:blur(8px);
  box-shadow:none;
  will-change:transform;
}
.site-header.scrolled{box-shadow:0 4px 14px rgba(0,0,0,.25)}
.site-header.hide{transform:translateY(-100%)}
.site-header:hover{transform:translateY(0)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{font-weight:800;font-size:1.2rem}
.nav{display:flex;gap:18px}
.nav a{color:#fff;font-weight:500;transition:opacity .25s ease}
.nav a:hover{opacity:.85}
.menu-toggle{display:none}
.menu-toggle span{display:block;width:22px;height:2px;background:#fff;margin:4px 0;border-radius:2px}




/* -------- Breadcrumb -------- */
.breadcrumb{background:#fbfdff;border-bottom:1px solid rgba(15,23,42,.06)}
.breadcrumb .container{display:flex;justify-content:space-between;align-items:center;padding:16px 0}
.crumbs{color:var(--muted)}

/* -------- Hero -------- */
.hero{
  position:relative;min-height:72vh;color:#fff;display:flex;align-items:flex-end;
  overflow:hidden;border-bottom-left-radius:22px;border-bottom-right-radius:22px;margin-bottom:28px
}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease}
.hero-slide.active{opacity:1}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:relative;z-index:2;width:100%;padding:52px 0;
  background:linear-gradient(180deg,rgba(0,0,0,.0) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.65) 100%)}
.hero h1{margin:0 0 8px;font-size:2.2rem}
.hero p{margin:0 0 16px;opacity:.95}
.hero-controls{position:absolute;left:0;right:0;bottom:10px;z-index:3;display:flex;justify-content:center;gap:8px}
.hero-dot{width:10px;height:10px;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.25);cursor:pointer}
.hero-dot.active{background:#fff}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:10px;padding:6px 10px;cursor:pointer}
.hero-arrow.prev{left:12px}.hero-arrow.next{right:12px}
@media(max-width:640px){.hero-arrow{display:none}}

/* -------- Buttons / CTAs -------- */
.btn,button,input[type=submit],.footer-cta,.promo-primary{
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  color:#fff;border:none;border-radius:10px;padding:10px 16px;
  font-weight:600;letter-spacing:.03em;cursor:pointer;
  transition:all .35s ease;box-shadow:0 4px 14px rgba(110,13,13,.3)
}
.btn:hover,button:hover,input[type=submit]:hover,.footer-cta:hover,.promo-primary:hover{
  background:linear-gradient(135deg,var(--brand-light),var(--brand-dark));
  transform:translateY(-2px);box-shadow:0 8px 20px rgba(110,13,13,.4)
}
.btn.outline,.promo-secondary,.btn-outline{
  background:transparent;border:2px solid var(--brand);color:var(--brand)
}
.btn.outline:hover,.promo-secondary:hover,.btn-outline:hover{
  background:linear-gradient(135deg,var(--brand-light),var(--brand-dark));color:#fff;box-shadow:0 6px 16px rgba(110,13,13,.35)
}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.hero.dark .hero-cta .btn.outline{border-color:#fff;color:#fff}
.hero.dark .hero-cta .btn.outline:hover{background:linear-gradient(135deg,var(--brand-light),var(--brand-dark));color:#fff}
@media(max-width:640px){.hero-cta .btn{width:100%;text-align:center}}

/* -------- Grid / Cards -------- */
.grid{display:grid}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.gap-md{gap:18px}
.gap-lg{gap:26px}

/* Pricing / generic card */
.card{
  position:relative;
  background:#fff;border-radius:12px;box-shadow:var(--shadow);
  overflow:hidden;display:flex;flex-direction:column;
  transition: transform .25s ease, box-shadow .25s ease;  /* hover motion */
}
.card-media{height:auto;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:16px}
.price{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.9);padding:8px 10px;border-radius:8px;font-weight:700}



/* -------- Floorplans (dark band) -------- */
.floorplans{
  background:#0b1220;color:#e5e7eb;padding:64px 0;border-radius:22px;margin:24px 0
}
.floorplans .intro{display:grid;grid-template-columns:360px 1fr;gap:24px;align-items:start;margin-bottom:10px}
.floorplans .intro p{color:#9ca3af}
.floorplans .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.plan-card{
  background:#0f172a;border:5px solid #1f2b43;border-radius:14px;overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,.25)
}
.plan-card .title{padding:14px 16px;text-align:center;font-weight:800}
.plan-card .meta{color:#94a3b8;font-size:.9rem;text-align:center;margin:-6px 0 8px}
.plan-card .media{background:#0b1426;height:240px;display:flex;align-items:center;justify-content:center}
.plan-card .media img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}
.plan-card .price{background:#0b1426;border-top:1px solid #1f2b43;border-bottom:1px solid #1f2b43;text-align:center;padding:12px;color:#cbd5e1}
.plan-card .actions{padding:14px;display:grid;gap:10px}

/* -------- Amenities -------- */
.amenities{background:#0b1220;border-top:1px solid rgba(15,23,42,.06);border-bottom:1px solid rgba(15,23,42,.06)}
.amen-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:18px}
.amen-card{
  position:relative;
  background:#fff;border-radius:14px;box-shadow:var(--shadow);
  padding:22px 18px;text-align:center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.amen-icon{width:72px;height:72px;margin:0 auto 12px;border-radius:999px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-dark));box-shadow:0 8px 20px rgba(110,13,13,.35)}
.amen-card h3{margin:6px 0 10px;font-size:1.05rem}
.amen-list{list-style:none;padding:0;margin:0;color:var(--muted)}
.amen-list li{margin:6px 0}
.amen-cta{display:flex;justify-content:center;margin-top:22px}

/* -------- Gallery (home) -------- */
.gallery{padding:52px 0}
.gallery .section-title{text-align:center}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.gallery-grid img,
.photo-grid img {
    width: 100%;
    height: auto;          /* prevents distortion */
    object-fit: cover;     /* fills the box without pixelation */
    image-rendering: auto; /* use browser's optimal quality */
    transform: none;       /* make sure no scaling blur */
}
.gallery-grid .gallery-item {
    width: 260px;               /* set a healthy thumbnail size */
    max-width: 100%;
    height: auto;
}

/* Ensure grid allows natural height images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;       /* allow consistent card heights */
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


/* -------- Photos page -------- */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.tab{border:1px solid rgba(15,23,42,.12);padding:8px 12px;border-radius:999px;background:#fff;cursor:pointer}
.tab.active{background:var(--brand);color:#fff;border-color:transparent}
.photos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.photos-grid img{width:100%;height:260px;object-fit:cover;border-radius:12px;box-shadow:var(--shadow);cursor:pointer}

/* -------- Lightbox -------- */
.lightbox{position:fixed;inset:0;display:none;z-index:70}
.lightbox.open{display:flex}
.lightbox .backdrop{position:absolute;inset:0;background:rgba(0,0,0,.86)}
.lightbox .content{position:relative;z-index:1;margin:auto;max-width:92vw;max-height:90vh;display:flex;flex-direction:column;align-items:center}
.lightbox img{max-width:92vw;max-height:76vh;border-radius:12px;box-shadow:var(--shadow)}
.lightbox .caption{color:#fff;margin-top:10px;font-size:.95rem;opacity:.9}
.lightbox .close,.lightbox .prev,.lightbox .next{
  position:absolute;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:10px;cursor:pointer;padding:8px 10px
}
.lightbox .close{top:16px;right:16px}.lightbox .prev{left:16px;top:50%;transform:translateY(-50%)}.lightbox .next{right:16px;top:50%;transform:translateY(-50%)}

/* -------- Specials Modal -------- */
.promo-modal[hidden]{display:none}
.promo-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px}
.promo-backdrop{position:absolute;inset:0;background:radial-gradient(1200px 600px at 60% -10%, rgba(110,13,13,.12), transparent 60%), rgba(2,6,23,.7);backdrop-filter:blur(4px)}
.promo-card{position:relative;width:min(960px,96vw);background:rgba(255,255,255,.86);color:#0f172a;border:1px solid rgba(15,23,36,.08);border-radius:20px;box-shadow:0 30px 80px rgba(2,6,23,.35);overflow:hidden;backdrop-filter:blur(10px);animation:promo-in .45s cubic-bezier(.2,.8,.2,1)}
@keyframes promo-in{from{transform:translateY(14px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.promo-close{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:10px;border:1px solid rgba(15,23,36,.12);background:rgba(255,255,255,.65);color:#0f172a;cursor:pointer;font-size:18px}
.promo-badge{position:absolute;left:14px;top:14px;font-weight:800;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;background:var(--brand);color:#fff;padding:6px 10px;border-radius:999px;box-shadow:0 8px 20px rgba(110,13,13,.35)}
.promo-content{display:grid;grid-template-columns:1.1fr .9fr}
.promo-copy{padding:28px 28px 20px 28px}
.promo-copy h2{margin:8px 0 6px;font-size:2rem;line-height:1.1}
.promo-sub{margin:0 0 14px;color:#475569}
.promo-points{margin:0 0 16px;padding-left:18px;color:#475569}
.promo-actions{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 10px}
.promo-fine{margin:10px 0 0;font-size:.875rem;color:#64748b}
.promo-visual{display:block;min-height:260px;background:#f8fafc}
.promo-visual img{width:100%;height:100%;object-fit:cover;display:block}

/* -------- Footer -------- */
.site-footer.v2{background:#151a22;color:#e5e7eb;border-top:1px solid rgba(255,255,255,.06);margin-top:48px}
.site-footer.v2 .container{padding:36px 0}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1fr;gap:28px;align-items:flex-start}
.footer-title{font-size:1rem;font-weight:800;margin:0 0 12px}
.footer-text{color:#a8b1c0;margin:0 0 10px}
.footer-fine{color:#7a8496;font-size:.9rem;margin-top:6px}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li{margin:6px 0}
.footer-links a{color:#c9d3e3;border-bottom:1px dashed transparent}
.footer-links a:hover{color:#fff;border-bottom-color:rgba(255,255,255,.25)}
.footer-cta{display:inline-block}
.footer-social{display:center;gap:10px;flex-wrap:wrap}
.social-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;color:#e5e7eb;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.social-btn:hover{background:rgba(255,255,255,.12)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;margin-top:22px;border-top:1px solid rgba(255,255,255,.06)}
.footer-bottom .muted{color:#9aa6bb}
.footer-bottom-links a{color:#c9d3e3;margin-left:14px}
.footer-bottom-links a:hover{color:#fff}

/* -------- Pricing features (rows) -------- */
.plan-features{
  list-style:none;margin:12px 0 16px;padding:0;color:var(--muted);text-align:center;
}
.plan-features li{
  padding:12px 10px;border-top:1px solid rgba(15,23,42,.06);
}
.plan-features li:last-child{
  border-bottom:1px solid rgba(15,23,42,.06);
}

/* -------- Responsive -------- */
@media(max-width:1024px){
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .photos-grid{grid-template-columns:repeat(2,1fr)}
  .floorplans .intro{grid-template-columns:1fr}
  .floorplans .grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .grid-3{grid-template-columns:1fr}
  .photos-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
}

/* -------- Reveal utility -------- */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.reveal.revealed{opacity:1;transform:none}

.lightbox-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);justify-content:center;align-items:center;z-index:9999;}
.lightbox-overlay img{max-width:90%;max-height:90%;}
.close-btn{position:absolute;top:20px;right:30px;color:white;font-size:40px;cursor:pointer;}

/* Prevent horizontal overflow on all mobile devices */
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* Fix any element accidentally wider than screen */
* {
    max-width: 100%;
    box-sizing: border-box;
}
.navbar,
.navbar ul,
.navbar li,
header {
    max-width: 100%;
    overflow-x: hidden;
    flex-wrap: wrap;
}


/* Mobile Menu Hidden Default */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: var(--brand-dark);
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
  }

  .nav.nav-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    background: transparent;
    border: none;
  }

  .menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
    margin: 6px 0;
    transition: 0.3s ease;
  }

  /* Hamburger to X animation */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- PHOTO/VIDEO TABS --- */
.tabs-wrapper {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.media-tab {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  color: #444;
  padding: 8px 4px;
  position: relative;
}

.media-tab.active {
  color: var(--brand, #800000);
}

.media-tab.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--brand, #800000);
  bottom: -8px;
  left: 0;
  border-radius: 3px;
}

.media-tab-content {
  display: none;
}

.media-tab-content.active {
  display: block;
}

/* --- Video Wrapper --- */
.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper iframe {
  width: 100%;
  height: 480px;
  border-radius: 8px;
}
/* Fix the tab container alignment */
#photo-tabs {
    display: flex;
    gap: 12px;
    margin: 0 auto 20px auto;     /* centers it */
    padding: 0 20px;               /* prevents touching the edges */
    max-width: 1200px;             /* matches gallery width */
}

/* Style the tab buttons */
#photo-tabs .tab-btn {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

#photo-tabs .tab-btn.active {
    background: #b11623;
    color: #fff;
    border-color: #b11623;
}
/* Fix 4-column grid for desktop */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablet – 3 columns */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile – 2 columns */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small phones – 1 column */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.fade-switch {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.fade-switch.show {
    opacity: 1;
}
.media-tab:hover {
  background: var(--brand);   /* or whatever dark red you use */
  color: #fff !important;     /* force white text */
  border-color: var(--brand);
}

.media-tab.active {
  background: var(--brand);
  color: #fff !important;
  border-color: var(--brand);
}
.media-tab {
  transition: background 0.25s ease, color 0.25s ease;
}
.tagline {
  transition: opacity .5s ease;
  opacity: 1;
}
.tagline.fade-out {
  opacity: 0;
}
/* Homepage Rotating Tagline */
.homepage-tagline {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin: 40px auto;
  max-width: 90%;
  line-height: 1.4;

  /* Animation base */
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

/* Slide-out class */
.homepage-tagline.slide-out {
  opacity: 0;
  transform: translateY(20px);
}

/* Slide-in class */
.homepage-tagline.slide-in {
  opacity: 1;
  transform: translateY(0);
}

/*About page */
.about-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.about-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 24px 0;
}

.about-icon {
  font-size: 32px;
  color: var(--brand, #7b0000);
  min-width: 40px;
  margin-top: 5px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.about-features {
  margin: 40px 0 20px;
}

.about-features h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand, #7b0000);
}

.about-features ul {
  list-style: none;
  padding: 0;
}

.about-features li {
  margin: 10px 0;
  font-size: 1.05rem;
}

.about-features li i {
  color: var(--brand, #7b0000);
  margin-right: 10px;
}
/* -------------------- About Page Redesign -------------------- */

.about-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.about-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
/* ---------------- About Page Lead Paragraph ---------------- */

.about-lead {
  max-width: 900px;
  margin: 40px auto 50px auto;
  font-size: 1.15rem;
  line-height: 1.75;
  text-align: justify;
  font-weight: 600; /* semi-bold, readable */
  color: #222;      /* slightly softer than pure black */
  padding: 0 20px;  /* comfortable side margins for mobile */
}

/* Improve spacing between paragraphs if you have multiple inside .about-lead */
.about-lead p {
  margin-bottom: 18px;
}


/* --- 4 Column Premium Feature Grid (Light Elegant Variant) --- */

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 50px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* MAIN CARD STYLE - Light variant */
.feature-card {
  background: #ffffff;                           /* clean, modern white */
  padding: 28px;
  border-radius: 14px;
  text-align: center;

  /* Stronger border using your brand color softened */
  border: 5px solid rgba(110, 13, 13, 0.28);     /* soft #6E0D0D border */

  /* Elevated shadow */
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* HOVER — subtle lift + darkened border */
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 13, 13, 0.55);         /* darkens on hover */
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

/* ICON COLOR — brand color */
.feature-icon {
  font-size: 42px;
  margin-bottom: 18px;
  color: #6E0D0D;                                 /* brand red */
}

/* TITLE */
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;                                    /* deep charcoal */
}

/* BODY TEXT */
.feature-card p {
  color: #444;
  line-height: 1.6;
  font-size: 0.97rem;
}



/* --- Extra Section --- */

.about-extra {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.about-extra h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-list {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.about-list li {
  margin-bottom: 8px;
}

/* --- Mobile Responsive --- */

@media (max-width: 992px) {
  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px;
  }
}
/* -------------------- About Hero Banner -------------------- */

.about-hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  background-image: url('images/drone.jpg'); /* Replace this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.about-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 90%;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.about-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-content p {
    font-size: 1.1rem;
  }
}

/* -------------------- Photos Hero Banner -------------------- */

.photos-hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  background-image: url('images/pool.jpg'); /* Replace this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.photos-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.photos-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 90%;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.photos-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.photos-hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .photos-hero-content h1 {
    font-size: 2rem;
  }

  .photos-hero-content p {
    font-size: 1.1rem;
  }
}

/* -------------------- Availability Hero Banner -------------------- */

.availability-hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  background-image: url('images/sign2.jpg'); /* Replace this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.availability-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.availability-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 90%;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.availability-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.availability-hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .availability-hero-content h1 {
    font-size: 2rem;
  }

  .availability-hero-content p {
    font-size: 1.1rem;
  }
}

/* -------------------- Contact Hero Banner -------------------- */

.contact-hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  background-image: url('images/office.jpg'); /* Replace this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.contact-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 90%;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.contact-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .contact-hero-content p {
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------
   HOME PAGE AMENITIES — Modern Hover Animation
------------------------------------------------------ */

.amen-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  transition: 
      transform .35s ease,
      box-shadow .35s ease,
      border .35s ease,
      background .35s ease;
  position: relative;
  overflow: hidden;
}

/* Soft gradient border (brand color) */
.amen-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, #6E0D0D, #b71c1c);
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .35;
  transition: opacity .35s ease;
}

/* Icon default */
.amen-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--brand),var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  }

/* Hover animation */
.amen-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
  border-color: rgba(255,255,255,0.2);
}

.amen-card:hover::before {
  opacity: 1;
}

.amen-card:hover .amen-icon {
  background: #6E0D0D;
  transform: scale(1.12);
}

.amen-card:hover h3 {
  color: #6E0D0D;
}

/* Text inside */
.amen-card h3 {
  margin-bottom: 12px;
  font-weight: 700;
  transition: color .35s ease;
}

.amen-list li {
  color: #333;
  font-size: 0.95rem;
  margin: 6px 0;
  transition: opacity .35s ease;
}

/* Subtle fade for text on hover */
.amen-card:hover .amen-list li {
  opacity: 0.9;
}
/* ------------------------------------------------------
   FLOOR PLAN CARDS — Animation ONLY (no size / no bg change)
------------------------------------------------------ */


/* Glow border on hover */
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #1f2b43, #b71c1c);
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* Hover animation (same as Amenities cards) */
.plan-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0,0,0,0.35);
}

.plan-card:hover::before {
  opacity: 1;
}

/* Image subtle zoom */
.plan-card .media img {
  transition: transform .35s ease;
}

.plan-card:hover .media img {
  transform: scale(1.04);
}
/* ------------------------------------------------------
   PRICING SECTION — Hover Animation Only
------------------------------------------------------ */

#pricing .card {
  transition:
      transform .35s ease,
      box-shadow .35s ease;
  position: relative;
  overflow: visible; /* Prevent glow clipping */
}

/* Glow border (same style as other cards) */
#pricing .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #6E0D0D, #b71c1c);
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* Hover lift + glow */
#pricing .card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

#pricing .card:hover::before {
  opacity: 1;
}

/* Image soft zoom */
#pricing .card .card-media img {
  transition: transform .35s ease;
}

#pricing .card:hover .card-media img {
  transform: scale(1.04);
}

/* Photo page title box */
.photo-page-heading {
  max-width: 900px;
  margin: 40px auto 20px;
  text-align: center;
  padding: 28px 35px;
  border-radius: 16px;
  background: #fff;
  position: relative;
}

.photo-page-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6E0D0D, #b71c1c);
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
/* Subtle lift on hover */
.photo-page-heading:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(110, 13, 13, 0.35);
}
/* --------------------------------------------
   PREMIUM CONTACT PAGE — SINGLE MAP + INFO CARDS
---------------------------------------------*/

.contact-premium {
  padding: 20px 20px;
  background: #f7f7f7;
}

.contact-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: #6E0D0D;
  margin-bottom: 10px;
}

.contact-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* MAP CARD */
.contact-map-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(110, 13, 13, 0.08);
  margin-bottom: 60px;
}

.section-head {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6E0D0D;
  margin-bottom: 20px;
  text-align: center;
}

.contact-map-iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
}

/* INFO CARDS */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 26px rgba(0,0,0,0.10);
  border: 1px solid rgba(110, 13, 13, 0.12);
  transition: transform .3s ease, box-shadow .3s ease;
  /* Stronger border using your brand color softened */
  border: 5px solid rgba(110, 13, 13, 0.28);     /* soft #6E0D0D border */

  /* Elevated shadow */
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.16);
  border-color: rgba(110, 13, 13, 0.35);
}

/* Icons */
.info-icon {
  font-size: 38px;
  color: #6E0D0D;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.contact-info-card p {
  color: #444;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-map-iframe {
    height: 350px;
  }
}
/* Static Map Image Styling */
.contact-map-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
}

.map-click-area:hover .contact-map-img {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
}

.map-note {
  text-align: center;
  margin-top: 12px;
  color: #666;
  font-size: 0.95rem;
}
/* Ensure Font Awesome icons show properly */
.info-icon i {
  font-size: 32px;
  color: #6E0D0D;          /* your brand color – visible everywhere */
  display: inline-block; 
  width: 40px;
  height: 40px;
  line-height: 40px;
}

/* OPTIONAL: circle behind icon */
.info-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* --- Elegant Footer FAQ --- */
.footer-faq {
  margin-top: 40px;
  padding: 30px 20px;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.footer-faq .faq-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.faq-list details {
  background: #fff;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  cursor: pointer;
  transition: box-shadow .25s ease;
}

.faq-list details:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
}

.faq-list p {
  margin-top: 10px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}
