:root {
  --gold: #d4af37;
  --gold-light: #f0d878;
  --black: #0a0a0a;
  --black-soft: #141414;
  --gray: #2a2a2a;
  --text-light: #f5f5f5;
  --text-muted: #b8b8b8;
  --max-width: 1200px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--black);
  color: var(--text-light);
  line-height: 1.6;
}

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--gray);
  backdrop-filter: blur(6px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .name { font-size: 1.15rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.brand-text .tag { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 2px; }

nav ul { display: flex; gap: 26px; align-items: center; }
nav a { font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--gold); }

.nav-btn {
  border: 1px solid var(--gold);
  padding: 7px 18px;
  border-radius: 30px;
  color: var(--gold) !important;
  font-size: 0.85rem;
}
.nav-btn:hover { background: var(--gold); color: var(--black) !important; }

.menu-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.6rem; cursor: pointer; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--black-soft);
}

.carousel-track { position: relative; width: 100%; height: 100%; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.carousel-caption {
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots span.active { background: var(--gold); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 1.1rem;
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--text-muted); font-size: 1rem;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 45px;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--black-soft);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { color: var(--gold-light); margin-bottom: 6px; font-size: 1.1rem; }
.card-body p { color: var(--text-muted); font-size: 0.9rem; }
.badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge.completed { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid var(--gold); }
.badge.in-progress { background: rgba(255,255,255,0.08); color: var(--text-muted); border: 1px solid var(--gray); }

/* ---------- Team (About Us) ---------- */
.team-card { text-align: center; padding: 26px 18px; }
.team-card img {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
}
.team-card h3 { color: var(--gold-light); font-size: 1.15rem; }
.team-card .team-role { color: var(--gold); font-size: 0.85rem; font-weight: 700; margin-top: 4px; margin-bottom: 2px; }
.team-card .team-profession { color: var(--text-muted); font-size: 0.75rem; margin-top: 3px; margin-bottom: 10px; }
.team-card p.bio { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.team-card .contact { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Buttons / Forms ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 11px 26px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-danger { background: #a33; color: #fff; }
.btn-danger:hover { background: #c44; }
.btn-block { width: 100%; }

.form-card {
  max-width: 440px;
  margin: 60px auto;
  background: var(--black-soft);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.form-card h2 { color: var(--gold); text-align: center; margin-bottom: 6px; }
.form-card .subtitle { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--black);
  border: 1px solid var(--gray);
  border-radius: 6px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-footer-link { text-align: center; margin-top: 18px; font-size: 0.88rem; color: var(--text-muted); }
.form-footer-link a { color: var(--gold); font-weight: 600; }
.form-msg { text-align: center; font-size: 0.87rem; margin-bottom: 14px; min-height: 20px; }
.form-msg.error { color: #ff6b6b; }
.form-msg.success { color: #6bcf7f; }

/* ---------- Footer ---------- */
footer {
  background: var(--black-soft);
  border-top: 1px solid var(--gray);
  padding: 50px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 30px;
}
.footer-col h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold-light); }

.map-embed-wrap {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray);
  background: var(--black);
}
.map-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
}

.social-icons { display: flex; gap: 12px; margin-top: 6px; }
.social-icons a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-icons a:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 6px 14px rgba(0,0,0,0.45); }
.social-icons a svg { width: 42px; height: 42px; display: block; }

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid var(--gray);
}

/* ---------- User menu ---------- */
.user-chip {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold-light); font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--black-soft); border-bottom: 1px solid var(--gray); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 18px; gap: 16px; align-items: flex-start; }
  .carousel { height: 42vh; }
  .section-title { font-size: 1.5rem; }
}

#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#pageLoader .loader-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pageLoader .loader-ring-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--gold);
  animation: svSpin 1s linear infinite;
}
#pageLoader img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
#pageLoader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes svSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.light-theme {
  --black: #f7f5f0;
  --black-soft: #ffffff;
  --gray: #e0ddd5;
  --text-light: #1a1a1a;
  --text-muted: #555555;
  --gold: #a9760f;
  --gold-light: #8a5f0c;
}
body.light-theme header { background: rgba(255,255,255,0.95); }
body.light-theme .carousel-overlay { background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.1) 55%, rgba(255,255,255,0.2) 100%); }
body.light-theme .carousel-caption { color: #a9820f; text-shadow: none; }

#themeToggle {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}
#themeToggle:hover { background: var(--gold); color: var(--black); }

.float-contact {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}
.float-contact:hover { transform: scale(1.08); }

/* ---------- Card image wrap + favorite heart ---------- */
.card-img-wrap { position: relative; }
.card-img-wrap img { cursor: zoom-in; }
.fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, color 0.15s, background 0.15s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.active { color: #ff5c7a; background: rgba(0,0,0,0.7); }

.card-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.btn-sm-inline { padding: 8px 14px; font-size: 0.8rem; border-radius: 20px; background: var(--gold); color: var(--black); border: none; cursor: pointer; font-weight: 700; }
.btn-sm-inline.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-sm-inline:hover { opacity: 0.85; }

/* ---------- Inquiry modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--black-soft);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.modal-box h3 { color: var(--gold); margin-bottom: 4px; }
.modal-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--gold); }
.modal-box textarea { resize: vertical; }

/* ---------- Image lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 30px;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img { max-width: 90vw; max-height: 80vh; border-radius: 6px; object-fit: contain; }
.lightbox-caption { color: var(--gold-light); margin-top: 14px; font-size: 1rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 26px;
  z-index: 500;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Why Choose Us: counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--gray);
  border-radius: var(--radius);
}
.stat { padding: 36px 26px; text-align: center; border-right: 1px solid var(--gray); }
.stat:last-child { border-right: none; }
.stat-value { font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 8px; font-weight: 600; color: var(--text-light); }
.stat-desc { margin-top: 8px; color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.testimonial { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.testimonial:hover { transform: none; }
.testimonial .stars { color: var(--gold); font-size: 1.05rem; }
.testimonial blockquote { color: var(--text-light); font-size: 0.98rem; line-height: 1.7; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .testimonial .avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--gold);
}
.testimonial .avatar { display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; background: var(--black); }
.testimonial figcaption strong { display: block; color: var(--gold-light); font-size: 0.95rem; }
.testimonial figcaption small { display: block; color: var(--text-muted); font-size: 0.8rem; }

/* ---------- Brochure link on project cards ---------- */
.brochure-link {
  display: inline-block; margin-top: 14px; margin-left: 4px;
  color: var(--gold); font-size: 0.85rem; font-weight: 600;
  border-bottom: 1px solid var(--gold);
}
.brochure-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- News ---------- */
.post-card { display: block; }
.post-card time, .post-wrap time { display: block; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 6px; }
.post-wrap { max-width: 760px; }
.post-wrap h1 { color: var(--gold); font-size: 2.1rem; line-height: 1.25; margin-bottom: 22px; }
.post-wrap .back-link { display: inline-block; color: var(--gold); font-size: 0.9rem; margin-bottom: 18px; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 26px; }
.post-body p { color: var(--text-light); line-height: 1.85; margin-bottom: 18px; font-size: 1.02rem; }

/* ---------- Brand Partners ---------- */
.brand-partners-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.brand-partners-section .section-subtitle {
  margin-bottom: 25px;
  color: var(--gold);
  opacity: 0.88;
}

.brand-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 35px auto 0;
}

.brand-partner-card {
  width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(212,175,55,0.65);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.brand-partner-card:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(212,175,55,0.25);
}

.brand-partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}

.brand-partner-card:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .brand-partners-grid { gap: 22px; }
  .brand-partner-card { width: 135px; height: 135px; }
}

@media (max-width: 600px) {
  .brand-partners-grid { gap: 16px; }
  .brand-partner-card { width: 105px; height: 105px; padding: 14px; }
}

@media (max-width: 820px) {
  .stat { border-right: none; border-bottom: 1px solid var(--gray); }
  .stat:last-child { border-bottom: none; }
  .post-wrap h1 { font-size: 1.6rem; }
}
