/* ==========================================================================
   A & D ARCHITECTURE & LUXURY INTERIOR - ULTIMATE MASTER STYLESHEET
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-metallic: linear-gradient(135deg, #f7d070 0%, #c59b27 50%, #996515 100%);
  --gold-hover: #b8860b;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --dark-base: #0d0e12;
  --dark-surface: #14161d;
  --dark-elevated: #1b1e28;
  --light-bg: #f8f6f2;
  --light-surface: #ffffff;
  --text-dark: #11141a;
  --text-muted: #6b7280;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: #eae5dc;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 15.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* ================= TOPBAR ================= */
.topbar {
  background: #08090b;
  color: #9ba1b0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar .sep {
  opacity: 0.3;
}

.gold-link {
  color: var(--gold);
  font-weight: 600;
}

/* ================= HEADER & DESKTOP NAV ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(13, 14, 18, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-wrap {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo-mark {
  background: var(--gold-metallic);
  color: #000;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 700;
}

.brand-sub {
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  font-size: 14.5px;
  color: #d1d5db;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-smooth);
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.btn-gold-nav {
  background: var(--gold-metallic) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold-nav:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ================= 3-LINE MENU TRIGGER ================= */
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-btn .bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--gold);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ================= MOBILE SLIDER DRAWER =================
   Requirement: Opens from RIGHT, Closes sliding to LEFT!
   ======================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  background: var(--dark-surface);
  color: #fff;
  z-index: 1010;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  visibility: hidden;
  /* ডিফল্ট পজিশন: ডানপাশে লুকিয়ে থাকবে */
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

/* ১. ডান পাশ থেকে খুলে আসবে */
.mobile-drawer.open {
  visibility: visible;
  transform: translateX(0);
}

/* ২. ক্লোজ করার সময় বাম পাশ দিয়ে স্লাইড হয়ে চলে যাবে */
.mobile-drawer.closing {
  visibility: visible;
  transform: translateX(-100vw) !important;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.84, 0);
}

.drawer-head {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-logo {
  font-family: var(--font-display);
  font-size: 20px;
}

.drawer-logo b {
  color: var(--gold);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
  background: var(--gold);
  color: #000;
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex-grow: 1;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-links a {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: #e5e7eb;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-links a:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold);
  transform: translateX(4px);
}

.drawer-cta {
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
  padding-top: 15px;
}

.drawer-contact-info {
  margin-top: 15px;
  font-size: 12.5px;
  color: #9ca3af;
  text-align: center;
}

/* ================= HERO SECTION (WITH ENTRANCE ANIMATION) ================= */
.hero-luxury {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(8, 9, 11, 0.92) 0%, rgba(13, 14, 18, 0.72) 100%),
              url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat;
  color: #fff;
  padding: 110px 0 160px;
  overflow: hidden;
}

.hero-luxury .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 68px);
  margin: 15px 0 24px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 35px;
}

.hero-badge-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 38px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.hero-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.hero-feature-list li span {
  color: var(--gold);
  font-weight: bold;
}

/* ================= ENTRANCE KEYFRAMES ================= */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-hero-1 { animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-hero-2 { animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.animate-hero-3 { animation: heroEntrance 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; opacity: 0; }
.animate-hero-card { animation: heroEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; opacity: 0; }

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= STATS RIBBON ================= */
.stats-ribbon {
  background: var(--dark-surface);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #fff;
  margin-top: -80px;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 35px 25px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item:last-child { border-right: none; }

.stat-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 13.5px;
  color: #a0a6b5;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ================= LUXURY BUTTONS & TYPOGRAPHY ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-metallic);
  color: #050608;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn.alt {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn.alt:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.title {
  font-size: 44px;
  margin-top: 6px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 16.5px;
  margin-top: 10px;
}

/* ================= SECTION LAYOUTS ================= */
.section {
  padding: 105px 0;
}

.section.alt {
  background: #f1ede5;
}

.section.dark {
  background: var(--dark-base);
  color: #fff;
}

.section.dark h2, .section.dark h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

/* Split About */
.split-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.split-about .img-box {
  position: relative;
}

.split-about img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 490px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.floating-tag {
  position: absolute;
  bottom: -25px;
  right: 25px;
  background: var(--dark-surface);
  color: #fff;
  padding: 24px 30px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.floating-tag b {
  display: block;
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--gold);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-card .img-wrap {
  height: 240px;
  overflow: hidden;
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.service-card .body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.link-arrow {
  color: var(--gold-hover);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow:hover {
  gap: 12px;
}

/* Projects Showcase */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-base);
  height: 400px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.project-card:hover img {
  transform: scale(1.1);
  opacity: 0.65;
}

.project-overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.2) 65%, transparent 100%);
  color: #fff;
}

.project-badge {
  background: var(--gold);
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 12px;
}

.project-overlay h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
}

/* Estimator Widget */
.estimator-box {
  background: var(--light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
}

.estimator-result {
  background: var(--dark-base);
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.estimator-price {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--gold);
  margin: 12px 0 10px;
}

/* Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-item {
  background: var(--light-surface);
  border: 1px solid var(--border-light);
  padding: 35px 26px;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition-smooth);
}

.process-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.process-num {
  font-family: var(--font-display);
  font-size: 36px;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 15px;
}

/* VIP CTA Banner */
.vip-cta {
  background: linear-gradient(135deg, #0d0e12 0%, #171922 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 75px 50px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.vip-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 48px);
  margin-bottom: 16px;
}

/* ================= FLOATING MOBILE ACTION ================= */
.mobile-quick-actions {
  display: none;
}

/* ================= FOOTER ================= */
footer {
  background: #08090b;
  color: #9ba1b0;
  padding-top: 85px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 45px;
  margin-bottom: 60px;
}

.foot-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.foot-col a {
  display: block;
  color: #9ba1b0;
  font-size: 14.5px;
  margin-bottom: 11px;
}

.foot-col a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.copy {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: #6b7280;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .hero-luxury .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .split-about { grid-template-columns: 1fr; }
  .services-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .estimator-box { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .topbar { display: none; }
  .desktop-nav { display: none; }
  .menu-btn { display: flex; }
  
  .services-grid, .projects-grid, .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 15px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 35px; }
  .title { font-size: 32px; }
  .estimator-box { padding: 25px; }
  .vip-cta { padding: 45px 25px; }

  /* Mobile Bottom Quick Action Bar */
  .mobile-quick-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f1014;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 950;
    padding: 8px 12px;
    gap: 10px;
  }

  .mobile-quick-actions a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .btn-mob-call {
    background: #1f232d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-mob-wa {
    background: #25d366;
    color: #fff;
  }
}