/* ==========================================================================
   A1 India Land Developers — Layout
   ========================================================================== */

/* ── Header ───────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  transition: all var(--dur-normal) var(--ease-smooth);
  display: flex;
  align-items: center;
}

.header--transparent {
  background: transparent;
}

.header--solid,
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 15px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--clr-gray-200);
}

.header.scrolled .nav__link,
.header--solid .nav__link {
  color: var(--clr-gray-700);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active,
.header--solid .nav__link:hover,
.header--solid .nav__link.active {
  color: var(--clr-primary);
}

.header.scrolled .header__logo-text,
.header--solid .header__logo-text {
  color: var(--clr-navy-800);
}

.header.scrolled .header__logo-tagline,
.header--solid .header__logo-tagline {
  color: var(--clr-gray-500);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.header__logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.header__logo-text {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--clr-white);
  line-height: 1.2;
  transition: color var(--dur-normal);
}

.header__logo-tagline {
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-normal);
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-white);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--clr-green-500);
  border-radius: var(--radius-full);
  transition: width var(--dur-normal) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 60%;
}

.header.scrolled .nav__link::after,
.header--solid .nav__link::after {
  background: var(--clr-primary);
}

.nav__cta {
  margin-left: var(--sp-4);
}

/* ── Hamburger Menu ───────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: calc(var(--z-header) + 10);
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.header.scrolled .hamburger span,
.header--solid .hamburger span {
  background: var(--clr-navy-800);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--clr-navy-800);
  z-index: var(--z-header);
  padding: calc(var(--header-height) + var(--sp-8)) var(--sp-8) var(--sp-8);
  transition: right var(--dur-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-header) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal);
}

.mobile-nav__overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  background: rgba(255,255,255,0.08);
  color: var(--clr-white);
}

.mobile-nav__cta {
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

/* ── Hero Slider ── */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s 0.8s;
}

.hero-slider__slide.active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s;
}

.hero-slider__slide.slide-out {
  opacity: 1;
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s 0.8s;
}

.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Dots */
.hero-slider__dots {
  position: absolute;
  bottom: var(--sp-12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: var(--sp-3);
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider__dot:hover {
  border-color: var(--clr-white);
  background: rgba(255, 255, 255, 0.3);
}

.hero-slider__dot.active {
  background: var(--clr-green-500);
  border-color: var(--clr-green-500);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Slider Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--clr-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--clr-white);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider__arrow--prev { left: var(--sp-6); }
.hero-slider__arrow--next { right: var(--sp-6); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(27, 46, 74, 0.7) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding-top: var(--header-height);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--clr-green-400);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(8px);
}

/* ── Company Name — Large with Shimmer Effect ── */
.hero__company-name {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 var(--sp-4);
  background: linear-gradient(
    90deg,
    var(--clr-gold-400) 0%,
    #FFD700 25%,
    var(--clr-gold-500) 50%,
    #FFD700 75%,
    var(--clr-gold-400) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  text-shadow: none;
  position: relative;
}

.hero__company-name::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold-400), var(--clr-green-500));
  margin-top: var(--sp-4);
  border-radius: 2px;
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Tagline — Distinct color from company name ── */
.hero__tagline {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.hero__tagline span {
  background: linear-gradient(135deg, var(--clr-green-400), var(--clr-blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-8);
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-xs);
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
  .hero__company-name { font-size: 2.2rem; }
  .hero__tagline { font-size: var(--fs-2xl); }
  .hero__subtitle { font-size: var(--fs-base); }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .hero-slider__arrow { display: none; }
  .hero-slider__dots { bottom: var(--sp-8); }
}

/* ── Grid Layouts ─────────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-6);
}

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

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--clr-navy-900);
  color: rgba(255,255,255,0.7);
  padding-top: var(--sp-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}

.footer__social a:hover {
  background: var(--clr-primary);
  transform: translateY(-3px);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
  color: var(--clr-white);
}

.footer__heading {
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
}

.footer__links li {
  margin-bottom: var(--sp-3);
}

.footer__links a {
  font-size: var(--fs-sm);
  transition: color var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer__links a:hover {
  color: var(--clr-green-400);
}

.footer__newsletter-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-4);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--sp-2);
}

.footer__newsletter-form input {
  flex: 1;
  padding: 0.7rem var(--sp-4);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  color: var(--clr-white);
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--dur-fast);
}

.footer__newsletter-form input:focus {
  border-color: var(--clr-primary);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer__newsletter-form button {
  padding: 0.7rem var(--sp-5);
  background: var(--clr-green-600);
  color: var(--clr-white);
  border-radius: var(--radius-lg);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: background var(--dur-fast);
}

.footer__newsletter-form button:hover {
  background: var(--clr-green-500);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Page Banner (Inner pages) ────────────────────────────────────────────── */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + var(--sp-16)) 0 var(--sp-16);
  background: linear-gradient(135deg, var(--clr-navy-800), var(--clr-navy-600));
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(34,197,94,0.08), transparent 70%);
}

.page-banner__content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-lg);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-6);
}

.breadcrumb a {
  transition: color var(--dur-fast);
}

.breadcrumb a:hover {
  color: var(--clr-white);
}

.breadcrumb span {
  color: var(--clr-green-400);
}
