/* =========================================================================
   Dhakre Marg Real Zone — base styles + reusable components
   (Tailwind utilities come from the Play CDN in header.php.
    These classes are written as plain CSS so they work without a build.)
   ========================================================================= */

:root {
  --brand: #032650;
  --brand-light: #043a72;
  --brand-dark: #021a38;
  --gold: #067974;
  --gold-light: #08a396;
  --gold-dark: #045a56;
  --ink: #58575B;
  --ink-soft: #6e6e72;
  --cream: #f5f7fa;
  --cream-dark: #e8ecf0;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

::selection {
  background: rgba(6, 121, 116, 0.3);
  color: #fff;
}

/* Branded scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------- Reusable buttons (same radius/size everywhere) ---------- */
.btn-primary,
.btn-gold,
.btn-outline,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(6, 121, 116, 0.25);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); color: #fff; }

.btn-gold {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(3, 38, 80, 0.25);
}
.btn-gold:hover { background: var(--brand-dark); transform: translateY(-2px); color: #fff; }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-outline-light {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-dark);
}

/* ---------- Breadcrumb section ---------- */
.breadcrumb-section {
  background: #032650;
  padding: 30px 0;
}

/* ---------- Scroll-reveal (used by main.js IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal--left  { transform: translateX(40px); }
.reveal.reveal--right { transform: translateX(-40px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Primary nav (wp_nav_menu) ---------- */
.dmrz-nav ul { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.dmrz-nav a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}
.dmrz-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.dmrz-nav a:hover { color: var(--gold-dark); }
.dmrz-nav a:hover::after,
.dmrz-nav .current-menu-item > a::after { width: 100%; }
.dmrz-nav .current-menu-item > a { color: var(--brand); }

/* ---------- Mobile menu ---------- */
.dmrz-mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.dmrz-mobile-nav a { color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.dmrz-mobile-nav a:hover { color: var(--gold-dark); }

/* ---------- Footer quick links ---------- */
.dmrz-footer-menu ul { list-style: none; margin: 0; padding: 0; }
.dmrz-footer-menu li { margin-bottom: 0.75rem; }
.dmrz-footer-menu a { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.25s ease; }
.dmrz-footer-menu a::before { content: ""; width: 0.75rem; height: 1px; background: rgba(6,121,116,0.5); transition: width 0.3s ease; }
.dmrz-footer-menu a:hover { color: var(--gold); }
.dmrz-footer-menu a:hover::before { width: 1.25rem; }

/* ---------- Contact Form 7 styling ---------- */
.dmrz-cf7 .wpcf7-form-control-wrap { display: block; }
/* vertical spacing between rows (grid rows + the message field) */
.dmrz-cf7 .wpcf7-form > div,
.dmrz-cf7 .wpcf7-form > .wpcf7-form-control-wrap { margin-bottom: 1.5rem; }
.dmrz-cf7 input[type="text"],
.dmrz-cf7 input[type="email"],
.dmrz-cf7 input[type="tel"],
.dmrz-cf7 input[type="url"],
.dmrz-cf7 input[type="number"],
.dmrz-cf7 select,
.dmrz-cf7 textarea {
  width: 100%;
  border: 1px solid var(--cream-dark);
  border-radius: 9999px;
  padding: 0.95rem 1.5rem;
  outline: none;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dmrz-cf7 textarea { border-radius: 1.5rem; resize: vertical; min-height: 9rem; }
.dmrz-cf7 input:focus,
.dmrz-cf7 select:focus,
.dmrz-cf7 textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(6, 121, 116, 0.2);
}
.dmrz-cf7 .wpcf7-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.95rem 2.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -12px rgba(3, 38, 80, 0.2);
}
.dmrz-cf7 .wpcf7-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ---------- Pagination ---------- */
.dmrz-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; }
.dmrz-pagination .page-numbers {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; font-size: 0.875rem; font-weight: 600;
  background: #fff; border: 1px solid var(--cream-dark); color: var(--ink-soft);
  text-decoration: none; transition: all 0.25s ease;
}
.dmrz-pagination .page-numbers:hover { border-color: var(--gold); color: var(--brand); }
.dmrz-pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 30px -12px rgba(3,38,80,0.2); }
.dmrz-pagination .page-numbers.dots { border: none; background: transparent; }

/* ---------- Line clamp helper ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Reviews Swiper ---------- */
.reviews-swiper {
  padding-bottom: 1rem;
}

.reviews-pagination {
  position: relative !important;
  margin-top: 2rem;
}

.reviews-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gold);
  opacity: 0.3;
}

.reviews-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 28px;
  border-radius: 9999px;
}
