/*
Theme Name: Ambika Luxury Theme
Theme URI: https://example.com/ambika-luxury-theme
Author: Ambika High Rise
Description: Premium luxury real estate and construction WordPress theme for Ambika High Rise.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: ambika-luxury
*/

:root {
  --ambika-primary: #b68a57;
  --ambika-secondary: #1d1a17;
  --ambika-accent: #d9b37a;
  --ambika-light: #f7f3ee;
  --ambika-dark: #0e0d0b;
  --ambika-text: #e9e5df;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: #2a251f;
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 138, 87, 0.14), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(29, 26, 23, 0.1), transparent 40%),
    #f8f5f0;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.03em;
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 110px 0;
}

.ambika-divider {
  width: 90px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--ambika-primary), transparent);
}

.btn-ambika {
  border: none;
  background: linear-gradient(130deg, var(--ambika-primary), var(--ambika-accent));
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-ambika:hover,
.btn-ambika:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.28);
  color: #111;
}

.btn-outline-ambika {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  transition: all 0.35s ease;
}

.btn-outline-ambika:hover {
  background: #fff;
  color: #111;
}

.glass-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 1.1rem 0;
}

.site-header.nav-scrolled {
  background: rgba(14, 13, 11, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 0.65rem 0;
}

.site-header .navbar-brand img {
  max-height: 62px;
}

.site-header .nav-link {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  margin: 0 0.35rem;
}

.site-header .nav-link:hover,
.site-header .current-menu-item .nav-link {
  color: var(--ambika-primary);
}

.hero-slider,
.hero-slide {
  min-height: 100vh;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 14s ease-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.78));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  color: #fff;
  padding: 20px;
}

.hero-content h1,
.hero-content .hero-heading {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
}

.luxury-section {
  position: relative;
  overflow: hidden;
}

.luxury-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.counter-wrap {
  background: #12100d;
  border-radius: 18px;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.counter-wrap h3 {
  color: var(--ambika-primary);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.project-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
  isolation: isolate;
  background: #000;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card .project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.1), rgba(11, 11, 11, 0.88));
  color: #fff;
}

.badge-status {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.65rem;
}

.badge-ongoing {
  background: rgba(33, 165, 109, 0.28);
  color: #adffd6;
}

.badge-completed {
  background: rgba(173, 141, 67, 0.3);
  color: #ffe3ac;
}

.service-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
  transition: transform 0.6s ease;
}

.service-card:hover .service-bg {
  transform: scale(1.07);
}

.service-content {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
  color: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.78));
}

.why-choose {
  background: linear-gradient(130deg, #11100d, #1b1814);
  color: #fff;
}

.why-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.testimonial-card {
  padding: 1.4rem;
  color: #fff;
  border-radius: 18px;
}

.testimonial-card .quote {
  font-size: 2rem;
  color: var(--ambika-accent);
}

.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-item {
  display: block;
  margin-bottom: 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.cta-parallax {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 130px 0;
}

.cta-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.68);
}

.cta-parallax .container {
  position: relative;
  z-index: 1;
}

.footer-wrap {
  background: #0f0d0a;
  color: rgba(255, 255, 255, 0.8);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #22c55e;
  z-index: 1000;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.page-banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
}

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

.enquiry-modal .modal-content {
  background: linear-gradient(180deg, #16130f, #0f0d0a);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.enquiry-modal .form-control,
.enquiry-modal .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.enquiry-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

@media (max-width: 991.98px) {
  .site-header {
    background: rgba(14, 13, 11, 0.92);
    padding: 0.5rem 0;
  }

  .gallery-grid {
    column-count: 2;
  }

  .cta-parallax {
    background-attachment: scroll;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 76px 0;
  }

  .gallery-grid {
    column-count: 1;
  }
}
