/* ===========================
   CLASSÉ DENTAL CARE
   Premium Dental Clinic — SS2, Petaling Jaya
   Light Luxury Theme
   =========================== */

:root {
  --gold: #B8933A;
  --gold-light: #D4AF6A;
  --cream: #FAF8F5;
  --cream-2: #F2EDE7;
  --cream-3: #EDE8E0;
  --ink: #1C1917;
  --ink-muted: #6B5F54;
  --white: #FFFFFF;
  --charcoal: #2A2420;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.divider--left { margin-left: 0; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(28,25,23,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav__inner {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--gold-light); }

.nav.scrolled .nav__links a {
  color: var(--ink-muted);
}
.nav.scrolled .nav__links a:hover { color: var(--gold); }

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.nav__logo span { color: rgba(255,255,255,0.9); }
.nav.scrolled .nav__logo { color: var(--gold); }
.nav.scrolled .nav__logo span { color: var(--ink); }

.nav__cta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.nav.scrolled .nav__cta { border-color: var(--gold); color: var(--gold); }
.nav.scrolled .nav__cta:hover { background: var(--gold); color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: all 0.3s;
}
.nav.scrolled .nav__hamburger span {
  background: var(--ink);
}

/* Explicit: hide hamburger on wide screens */
@media (min-width: 1025px) {
  .nav__hamburger { display: none !important; }
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--charcoal);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav__mobile.open {
  display: flex;
  animation: fadeInMenu 0.35s ease forwards;
}
@keyframes fadeInMenu {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nav__mobile-logo {
  position: absolute;
  top: 1.6rem;
  left: 5%;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav__mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav__mobile a:hover { color: var(--gold-light); }

.nav__mobile-cta {
  margin-top: 1rem;
  padding: 0.9rem 2.5rem !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 5%;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__bg { display: none; }
.hero__overlay { display: none; }

.hero__content {
  position: relative;
  z-index: 1;
  padding: 10rem 5% 5rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--charcoal) 0%, transparent 15%);
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}

.hero__heading {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 2rem;
}
.hero__heading em { font-style: italic; color: var(--gold-light); }

.hero__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.3s;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
}

/* ===========================
   INTRO STRIP
   =========================== */
.intro-strip {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 0;
}

.intro-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.intro-strip__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 180px;
}

.intro-strip__icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.intro-strip__text {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.intro-strip__text strong {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
}

/* ===========================
   SECTION SHARED
   =========================== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-text {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 8rem 0;
  background: var(--cream-2);
}

.services__header { margin-bottom: 5rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.07);
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  transition: background 0.3s;
}
.service-card:hover { background: var(--cream); }

.service-card__icon {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.service-card__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.8;
}
.service-card__tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 8rem 0;
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__image-wrap { position: relative; }
.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__image-frame {
  position: absolute;
  inset: -1.5rem -1.5rem 1.5rem 1.5rem;
  border: 1px solid rgba(184,147,58,0.3);
  z-index: -1;
}
.about__badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  width: 120px;
}
.about__badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.about__badge-text {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.about__content p {
  color: var(--ink-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}
.about__content p strong { color: var(--ink); font-weight: 500; }

.about__dr {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.about__dr-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.about__dr-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ink);
}
.about__dr-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  padding: 8rem 0;
  background: var(--charcoal);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 5rem;
}
.testimonials__header .section-label { color: var(--gold-light); }
.testimonials__header .section-heading { color: var(--white); }
.testimonials__header .divider { margin: 1.5rem auto; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  border-left: 2px solid var(--gold);
}
.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.testimonial-card__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}
.testimonial-card__author {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.testimonial-card__stars {
  color: var(--gold-light);
  font-size: 0.75rem;
  margin-bottom: 0.3rem;
}

.testimonials__rating {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonials__rating-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
}
.testimonials__rating-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

/* ===========================
   GALLERY
   =========================== */
.gallery {
  padding: 8rem 0;
  background: var(--cream-2);
}

.gallery__header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.gallery__item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: var(--cream-3);
}
.gallery__item:first-child {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 300px;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.92);
}
.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.02);
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 8rem 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact__info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}
.contact__info-icon {
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.contact__info-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact__info-value {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
}
.contact__info-value a {
  color: var(--ink);
  transition: color 0.3s;
}
.contact__info-value a:hover { color: var(--gold); }

.contact__hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.contact__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.contact__hours-row:last-child { border-bottom: none; }

.contact__map {
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.5) brightness(1.05);
}

.contact__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Contact light buttons */
.contact__cta .btn-primary { background: var(--gold); color: var(--white); }
.contact__cta .btn-outline {
  border-color: rgba(0,0,0,0.2);
  color: var(--ink);
}
.contact__cta .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 280px;
}
.footer__heading {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  color: white;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__badge { right: 1rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero__image {
    height: 50vh;
    order: -1;
  }
  .hero__image img {
    object-position: center 40%;
  }
  .hero__image::after {
    background: linear-gradient(to bottom, transparent 50%, var(--charcoal) 100%);
  }
  .hero__content { padding: 3rem 5% 4rem; }
  .hero__stats { gap: 2rem; }
  .hero__stat-num { font-size: 2rem; }
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .hero__heading { font-size: 2.4rem; }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item:first-child { grid-column: span 1; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-strip__inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}
