/* French Apartments Modern – Fusion Limited / Anthem
   Mobile-first, accessible, high-performance CSS
   Locale: en-IN | Timezone: Asia/Kolkata
*/

:root {
  --gold: #C19566;
  --gold-dark: #A67C4E;
  --red: #D81F27;
  --dark: #0A182F;
  --text: #303030;
  --muted: #666;
  --light: #f8f5f0;
  --white: #fff;
  --footer-bg: #1a1a1a;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(10,24,47,.08);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --header-h: 84px;
}

*, *::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); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--red); }
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: 62rem; 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(10,24,47,.06);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}
.logo img { height: 48px; width: auto; }
.logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  gap: 2.8rem;
  align-items: center;
}
.nav-desktop a {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { width: 100%; }
.nav-desktop a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193,149,102,.35);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

/* Mobile menu */
.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: transform .25s, opacity .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: #fff;
  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; }
.nav-mobile a {
  display: block;
  padding: 1.6rem 0;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #eee;
}
.nav-mobile a:hover { color: var(--gold); }

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

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,24,47,.75) 0%, rgba(10,24,47,.45) 60%, rgba(193,149,102,.25) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  max-width: 70rem;
}
.hero-content .eyebrow {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero-content h1 {
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}
.hero-content p {
  font-size: 1.8rem;
  opacity: .92;
  margin-bottom: 3rem;
  max-width: 52rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* Stats */
.stats {
  background: var(--dark);
  color: #fff;
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 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);
  line-height: 1.1;
}
.stat-item span {
  font-size: 1.4rem;
  opacity: .85;
  letter-spacing: 0.04em;
}

/* About */
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-content h2 { color: var(--dark); margin-bottom: 1.6rem; font-size: clamp(2.6rem, 4vw, 3.4rem); }
.about-content p { margin-bottom: 1.6rem; color: var(--text); }
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; height: auto; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--light);
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(193,149,102,.15);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .6rem;
}
.feature-card p { font-size: 1.4rem; color: var(--muted); margin: 0; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(193,149,102,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: 2rem;
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.4rem;
}
.spec-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.spec-card h3 {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.spec-card p { font-size: 1.5rem; color: var(--text); margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
}

/* Club teaser */
.club-teaser {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.club-teaser .container {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .club-teaser .container { grid-template-columns: 1fr 1fr; }
}
.club-teaser h2 { color: #fff; margin-bottom: 1.6rem; }
.club-teaser p { opacity: .9; margin-bottom: 2.4rem; }
.club-teaser .btn-primary { background: var(--gold); }

/* Contact */
.contact-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-info h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .6rem;
  font-weight: 600;
}
.contact-info p, .contact-info a {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.contact-info a:hover { color: var(--gold); }

.enquiry-form {
  background: var(--light);
  padding: 3.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(193,149,102,.2);
}
.enquiry-form h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.6rem; }
.form-group label {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: 1.5rem;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,149,102,.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  display: none;
}
.form-status.success { color: #0a7a3e; display: block; }
.form-status.error { color: var(--red); display: block; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #ccc;
  padding: 6rem 0 0;
  font-size: 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3.2rem;
  margin-bottom: 4rem;
}
.footer-col h3 {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
}
.footer-col ul li { margin-bottom: .8rem; }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: var(--gold); }
.footer-logo { margin-bottom: 1.6rem; }
.footer-logo img { height: 48px; width: auto; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 1.3rem;
  color: #999;
}
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: var(--gold); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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

/* Print */
@media print {
  .site-header, .menu-toggle, .nav-mobile, .enquiry-form { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }
