/* ============================================================
   ArchVogue Architecture & Interior Design — Main Stylesheet
   Compatible with Royal Elementor Theme & Royal Addons
   Author: Royal Technologies (https://www.royaltechbd.com)
   ============================================================ */

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

:root {
  --charcoal:   #1c1917;
  --charcoal-d: #0c0a09;
  --charcoal-l: #292524;
  --bronze:     #c2410c;
  --bronze-d:   #9a3412;
  --bronze-lt:  #ffedd5;
  --sand:       #d6d3d1;
  --slate:      #44403c;
  --muted:      #78716c;
  --light-bg:   #fafaf9;
  --white:      #ffffff;
  --border:     #e7e5e4;
  --radius:     8px;
  --shadow:     0 10px 30px rgba(28, 25, 23, 0.08);
  --transition: all 0.28s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--slate);
  background: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--light-bg); }

/* Section Header */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 55px; }
.section-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-title span { color: var(--bronze); }
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* Buttons */
.btn-bronze {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bronze);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35);
  letter-spacing: 0.02em;
}
.btn-bronze:hover {
  background: var(--bronze-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.45);
}

.btn-outline-charcoal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-charcoal:hover {
  background: var(--charcoal);
  color: #ffffff;
}

/* ============================================================
   HERO SECTION (#home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--charcoal-d);
  overflow: hidden;
  padding: 110px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.32;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 10, 9, 0.95) 0%, rgba(28, 25, 23, 0.78) 60%, rgba(12, 10, 9, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194, 65, 12, 0.18);
  border: 1px solid rgba(194, 65, 12, 0.4);
  color: #fdba74;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-title span { color: #fdba74; }

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
  margin-bottom: 38px;
  max-width: 640px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-metrics {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}
.hero-metric-num { font-size: 28px; font-weight: 900; color: #fdba74; line-height: 1; margin-bottom: 4px; }
.hero-metric-label { font-size: 12px; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }

/* ============================================================
   BEFORE & AFTER RENOVATION SLIDER (royalimagecompare)
   ============================================================ */
.compare-container {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.royal-compare-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  user-select: none;
}

.royal-compare-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.royal-compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.royal-compare-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 980px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.royal-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 3;
  cursor: ew-resize;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.royal-compare-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: var(--bronze);
  color: #ffffff;
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.compare-badge-before,
.compare-badge-after {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 4;
}
.compare-badge-before {
  left: 20px;
  background: rgba(12, 10, 9, 0.85);
  color: #ffffff;
}
.compare-badge-after {
  right: 20px;
  background: var(--bronze);
  color: #ffffff;
}

/* ============================================================
   PROJECT GALLERY (#portfolio / royalportfolio)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--bronze);
  box-shadow: 0 20px 45px rgba(28, 25, 23, 0.14);
}

.project-img-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img-box img { transform: scale(1.06); }

.project-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--charcoal);
  color: #fdba74;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 4px;
}

.project-body { padding: 24px; }
.project-location { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.project-title { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 12px; line-height: 1.3; }
.project-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }

.project-meta-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 700;
}

/* ============================================================
   DESIGN PROCESS (royaltimeline)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--bronze);
  box-shadow: var(--shadow);
}

.process-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fdba74;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--bronze);
}
.process-card:hover .process-step-num {
  background: var(--bronze);
  color: #ffffff;
}

.process-card h4 { font-size: 17px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; }
.process-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   PRINCIPAL ARCHITECTS (royalteam)
   ============================================================ */
.architects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.arch-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.arch-card:hover { transform: translateY(-6px); border-color: var(--bronze); }

.arch-img-box {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.arch-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.arch-card:hover .arch-img-box img { transform: scale(1.05); }

.arch-body { padding: 24px; }
.arch-name { font-size: 18px; font-weight: 800; color: var(--charcoal); margin-bottom: 4px; }
.arch-role { font-size: 12px; font-weight: 700; color: var(--bronze); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.arch-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CLIENT REVIEWS (royalreview)
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.review-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; display: flex; gap: 4px; }
.review-text { font-size: 14.5px; color: var(--slate); font-style: italic; line-height: 1.7; margin-bottom: 20px; }

.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bronze); }
.author-name { font-size: 15px; font-weight: 800; color: var(--charcoal); }
.author-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   DESIGN INQUIRY FORM (#contact / royalform)
   ============================================================ */
.inquiry-section {
  background: var(--charcoal);
  color: #ffffff;
  padding: 96px 0;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inquiry-info h2 { font-size: 38px; font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.inquiry-info h2 span { color: #fdba74; }
.inquiry-info p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 32px; }

.inquiry-badges { display: flex; flex-direction: column; gap: 14px; }
.inquiry-badge-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 600; }
.inquiry-badge-item i { color: var(--bronze); font-size: 18px; }

.inquiry-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.05em; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.form-group select option { background: var(--charcoal); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-d);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--bronze);
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.footer-logo-text { font-size: 20px; font-weight: 900; color: #ffffff; }
.footer-logo-text span { color: #fdba74; }

.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a:hover { color: #fdba74; padding-left: 4px; }

.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-c-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.footer-c-item i { color: var(--bronze); font-size: 16px; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: #fdba74; font-weight: 600; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
}
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bronze-lt);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

@media (max-width: 1024px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .royal-compare-wrapper { height: 380px; }
  .royal-compare-overlay img { width: 100%; }
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-metrics { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .royal-compare-wrapper { height: 260px; }
}
