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

:root {
  --orange: #EF6D3E;
  --purple: #852F83;
  --dark: #1a1a1a;
  --text: #333;
  --muted: #666;
  --light: #f8f8f8;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --font: 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.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

.container { width: min(100% - 3.2rem, var(--max)); margin-inline: auto; }
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 600; color: var(--dark); margin-bottom: 1rem; }
.section-header p { color: var(--muted); max-width: 60rem; margin: 0 auto; }
.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; left: -9999px; top: 0; z-index: 9999;
  background: var(--orange); color: #fff; padding: 1rem 1.5rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  height: var(--header-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo img { height: 52px; width: auto; }
.nav-list {
  display: flex; gap: 2.4rem; align-items: center;
}
.nav-list a {
  color: var(--dark); font-weight: 500; font-size: 1.5rem;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--orange); transition: width .25s;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { width: 100%; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 3.2rem; height: 2.4rem; position: relative;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--dark); margin: 6px 0;
  transition: .25s;
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  margin-top: var(--header-h);
}
.hero-slider { position: relative; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: flex-end;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff; padding-bottom: 8rem;
  max-width: 64rem;
}
.hero-eyebrow { font-size: 1.6rem; letter-spacing: .2em; text-transform: uppercase; opacity: .9; margin-bottom: 1rem; }
.hero-content h1, .hero-content h2 {
  font-size: clamp(3.2rem, 6vw, 5.6rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-sub { font-size: 1.8rem; margin-bottom: 2.5rem; opacity: .95; }
.hero-dots {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .8rem; z-index: 5;
}
.dot {
  width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0;
}
.dot.active { background: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.2rem 2.4rem; border-radius: 999px; font-weight: 600; font-size: 1.5rem;
  border: 2px solid transparent; cursor: pointer; transition: all .25s;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: #d95a2e; border-color: #d95a2e; color: #fff; }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-secondary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-secondary:hover { background: #6d246b; color: #fff; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center;
}
.about-text h2 { font-size: 1.4rem; letter-spacing: .15em; color: var(--orange); margin-bottom: .8rem; }
.about-text .accent { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; margin-bottom: 1.5rem; color: var(--dark); }
.about-text p { margin-bottom: 1.5rem; color: var(--muted); }
.about-stats { display: grid; gap: 2rem; }
.stat {
  background: var(--light); padding: 2.4rem; border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}
.stat-num { display: block; font-size: 3.6rem; font-weight: 300; color: var(--orange); line-height: 1.1; }
.stat-label { font-size: 1.4rem; color: var(--muted); }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); gap: 2.4rem;
}
.feature-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.feature-card figure { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.feature-card:hover img { transform: scale(1.05); }
.feature-card figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; padding: 2rem 1.5rem 1.2rem; font-weight: 600; font-size: 1.8rem;
}
.feature-card p { padding: 1.2rem 1.5rem 1.8rem; font-size: 1.4rem; color: var(--muted); }

/* Site plan cards */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); gap: 2rem;
  margin-bottom: 3rem;
}
.plan-card {
  padding: 3rem 2.4rem; border-radius: var(--radius); color: #fff;
}
.plan-card.orange { background: var(--orange); }
.plan-card.purple { background: var(--purple); }
.plan-floor { font-size: 1.3rem; opacity: .85; text-transform: uppercase; letter-spacing: .1em; }
.plan-card h3 { font-size: 2.4rem; font-weight: 500; margin: .6rem 0 1rem; }
.plan-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }

/* Opportunities */
.opportunities { background: var(--light); }
.opp-img { margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Location */
.location { background: var(--orange); color: #fff; }
.location h2 { color: #fff; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.loc-card p, .loc-list { color: rgba(255,255,255,.9); }
.loc-list { margin: 1.5rem 0 2.5rem; }
.loc-list li { padding: .5rem 0 .5rem 1.8rem; position: relative; }
.loc-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.location .btn-primary { background: #fff; color: var(--orange); border-color: #fff; }
.location .btn-primary:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.location .btn-outline { color: #fff; border-color: #fff; }
.location .btn-outline:hover { background: #fff; color: var(--orange); }

/* CTA */
.cta { background: var(--dark); color: #fff; }
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 2.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.cta .btn-outline { color: #fff; border-color: #fff; }
.cta .btn-outline:hover { background: #fff; color: var(--dark); }

/* Footer */
.site-footer { background: #111; color: #ccc; padding-top: 5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 3rem; margin-bottom: 4rem;
}
.footer-brand img { margin-bottom: 1.5rem; }
.footer-brand a { color: #fff; }
.footer-col h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { color: #aaa; font-size: 1.4rem; display: block; padding: .4rem 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid #333; padding: 2rem 0; font-size: 1.3rem; color: #777;
}
.footer-bottom .rera { margin-top: .5rem; font-size: 1.2rem; }

/* Inner pages shared */
.page-hero {
  background: linear-gradient(135deg, var(--orange), var(--purple));
  color: #fff; padding: 12rem 0 6rem; margin-top: var(--header-h); text-align: center;
}
.page-hero h1 { font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 300; }
.page-content { padding: 5rem 0; }
.page-content h2 { font-size: 2.8rem; margin: 3rem 0 1.5rem; color: var(--dark); }
.page-content p { margin-bottom: 1.5rem; color: var(--muted); max-width: 80rem; }
.page-content ul { margin: 1.5rem 0 2rem 2rem; }
.page-content li { margin-bottom: .8rem; color: var(--muted); list-style: disc; }

/* Form */
.contact-form {
  max-width: 56rem; margin: 0 auto; background: var(--light);
  padding: 3rem; border-radius: var(--radius);
}
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .6rem; font-size: 1.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 1.2rem 1.4rem; border: 1px solid #ddd; border-radius: 8px;
  font: inherit; background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--orange); border-color: transparent;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-note { font-size: 1.3rem; color: var(--muted); margin-top: 1rem; }
.form-success { display: none; background: #e8f5e9; color: #2e7d32; padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .loc-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2.5rem; }
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; padding: 3rem; gap: 0;
    transform: translateX(100%); transition: transform .3s; z-index: 999;
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list li { width: 100%; border-bottom: 1px solid #eee; }
  .nav-list a { display: block; padding: 1.5rem 0; font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero-content { padding-bottom: 6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .feature-card, .feature-card img, .nav-list { transition: none; }
}

/* Print */
@media print {
  .site-header, .hero-dots, .nav-toggle, .cta, .skip-link { display: none; }
  .hero { min-height: auto; margin-top: 0; }
  body { font-size: 12pt; }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider { height: auto; min-height: 70vh; }
  .hero-content { padding-bottom: 3rem; }
}
