/* The Brook – Modern static site
   Fusion Limited | Mobile-first, accessible, high-performance
   Locale: en-IN | Timezone: Asia/Kolkata
*/

:root {
  --gold: #D9B165;
  --gold-dark: #B8944A;
  --gold-light: #F5E6C8;
  --dark: #1A1A1A;
  --text: #2C2C2C;
  --muted: #666;
  --light: #F8F6F1;
  --white: #fff;
  --footer-bg: #111;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,.08);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--gold); }
ul { list-style: none; }

.container { width: min(100% - 3.2rem, var(--max)); margin-inline: auto; }
.section { padding: 7rem 0; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header h2 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.section-header p { color: var(--muted); max-width: 64rem; margin: 0 auto; font-size: 1.7rem; }
.text-center { text-align: center; }
.lead { font-size: 1.8rem; color: var(--muted); max-width: 70rem; margin: 0 auto 3rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--dark);
  color: #fff;
  padding: 1rem 1.6rem;
  z-index: 10000;
  border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}
.logo img { height: 52px; width: auto; }
.logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-desktop a {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--gold); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 3rem 2rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 999;
  overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile a {
  display: block;
  padding: 1.4rem 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #eee;
}
.nav-mobile a:hover { color: var(--gold); background: var(--light); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
  color: #fff;
  margin-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.7) 100%),
              url("../images/banner1.webp") center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 8rem;
  width: 100%;
}
.hero-content .tag {
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.hero-content h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.6rem;
  max-width: 18ch;
}
.hero-content p {
  font-size: 1.8rem;
  max-width: 52rem;
  opacity: .9;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 2.8rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: #fff; color: var(--dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* Stats */
.stats {
  background: var(--dark);
  color: #fff;
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2.4rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.stat-item span { font-size: 1.4rem; opacity: .85; }

/* About */
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-content h2 { margin-bottom: 1.6rem; }
.about-content p { margin-bottom: 1.6rem; color: var(--muted); }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  align-items: center;
}
.about-badges img { height: 48px; width: auto; opacity: .9; }
.architect {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding: 1.6rem;
  background: var(--light);
  border-radius: var(--radius);
}
.architect img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.architect strong { display: block; font-size: 1.5rem; }
.architect span { font-size: 1.3rem; color: var(--muted); }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2.4rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.why-card img { width: 100%; height: 180px; object-fit: cover; }
.why-card .body { padding: 2rem; }
.why-card h3 { font-size: 1.7rem; margin-bottom: 0.6rem; color: var(--dark); }
.why-card p { font-size: 1.45rem; color: var(--muted); }

/* Specs */
.specs { background: var(--light); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2rem;
}
.spec-card {
  background: var(--white);
  padding: 2.4rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  border-left: 4px solid var(--gold);
}
.spec-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.spec-card ul { margin: 0; padding: 0; }
.spec-card li {
  font-size: 1.45rem;
  color: var(--muted);
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.spec-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Floor plans */
.plans-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.plan-tab {
  padding: 1rem 2rem;
  font-size: 1.45rem;
  font-weight: 600;
  border: 2px solid #e5e5e5;
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text);
  transition: .2s;
}
.plan-tab.active, .plan-tab:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
}
.plan-panel { display: none; text-align: center; }
.plan-panel.active { display: block; }
.plan-panel img {
  max-width: 100%;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.plan-meta span {
  font-size: 1.5rem;
  color: var(--muted);
}
.plan-meta strong { color: var(--dark); }

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}
.amenity {
  text-align: center;
  padding: 2rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  transition: transform .2s;
}
.amenity:hover { transform: translateY(-3px); }
.amenity img {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}
.amenity h4 { font-size: 1.45rem; font-weight: 600; color: var(--dark); }

/* Location & Master */
.location-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 800px) {
  .location-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.location-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.master-plan-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* CTA / Contact */
.cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 7rem 0;
}
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 3rem; }
.enquiry-form {
  display: grid;
  gap: 1.6rem;
  max-width: 56rem;
  margin: 0 auto;
}
.form-row {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-group label {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,.9);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.3rem 1.6rem;
  font-size: 1.5rem;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}
.form-group select option { background: #222; color: #fff; }
.form-note {
  font-size: 1.3rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: center;
  margin-top: 3.2rem;
  font-size: 1.5rem;
}
.contact-info a { color: var(--gold); }
.contact-info a:hover { color: #fff; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.75);
  padding: 5rem 0 0;
  font-size: 1.45rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand img { height: 48px; margin-bottom: 1.6rem; }
.footer-brand a { color: var(--gold); }
.footer-col h4 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  padding: 0.4rem 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 2rem 0;
  text-align: center;
  font-size: 1.35rem;
  color: rgba(255,255,255,.5);
}

/* Legal pages */
.legal-page { padding: 12rem 0 7rem; }
.legal-page h1 { font-size: 3.2rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 2rem; margin: 2.4rem 0 1rem; }
.legal-page p, .legal-page li { margin-bottom: 1.2rem; color: var(--muted); }
.legal-page ul { margin-left: 2rem; list-style: disc; }

/* Floating actions */
.fab {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.fab a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s;
}
.fab a:hover { transform: scale(1.08); }
.fab-download { background: var(--dark); }
.fab-enquiry { background: var(--gold); }

/* Responsive */
@media (min-width: 992px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 5rem 0; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 4rem 0 6rem; }
}

/* Print */
@media print {
  .site-header, .fab, .nav-mobile, .menu-toggle { display: none !important; }
  .hero { margin-top: 0; min-height: auto; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
