/* =====================================================================
   Classic Properties & Builders SMC Private Limited (DHA Peshawar)
   Premium Modern Style Sheet
   Colors: Navy Blue (#0b1d3a), Metallic Gold (#d4af37), Slate (#64748b)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-navy: #0b1d3a;
  --primary-navy-dark: #071326;
  --primary-navy-light: #162c54;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b59226;
  --accent-gold-gradient: linear-gradient(135deg, #f7e49a 0%, #d4af37 50%, #9e7d17 100%);
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-accent: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 4px rgba(11, 29, 58, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 29, 58, 0.08), 0 8px 10px -6px rgba(11, 29, 58, 0.05);
  --shadow-lg: 0 20px 35px -10px rgba(11, 29, 58, 0.15), 0 10px 15px -5px rgba(11, 29, 58, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.font-accent {
  font-family: var(--font-accent);
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-navy {
  color: var(--primary-navy) !important;
}

.gold-gradient-text {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.bg-navy {
  background-color: var(--primary-navy);
  color: #ffffff !important;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6 {
  color: #ffffff !important;
}

.bg-navy p, .bg-navy span, .bg-navy div {
  color: #e2e8f0;
}

.bg-navy .feature-checklist li {
  color: #ffffff !important;
}

.bg-white {
  background-color: #ffffff;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--accent-gold-gradient);
  color: var(--primary-navy-dark);
  border: none;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
  color: #000;
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--primary-navy-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--accent-gold);
}

.btn-outline-gold {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
}

.btn-outline-navy {
  border-color: var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--primary-navy);
  color: var(--accent-gold);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--primary-navy);
}

.badge-gold {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Header & Topbar */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar a {
  color: #e2e8f0;
}

.top-bar a:hover {
  color: var(--accent-gold);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item i {
  color: var(--accent-gold);
}

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 29, 58, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  color: var(--accent-gold);
  font-size: 0.68rem;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  text-transform: capitalize;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-nav-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  font-family: var(--font-accent);
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header .section-title {
  font-size: 2.3rem;
  color: var(--primary-navy);
}

.bg-navy .section-header .section-title {
  color: #ffffff;
}

.title-line {
  width: 70px;
  height: 3px;
  background: var(--accent-gold-gradient);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

.text-left .title-line {
  margin-left: 0;
}

/* Hero Banner */
.hero-slider {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(7, 19, 38, 0.75), rgba(7, 19, 38, 0.85)), url('../images/hero_dha_peshawar.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 4rem 0;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-weight: 300;
}

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

/* Stats Ribbon */
.stats-ribbon {
  background: var(--primary-navy-dark);
  border-top: 3px solid var(--accent-gold);
  padding: 2.5rem 0;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.stat-box {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-accent);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards (Properties & Services) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-navy-dark);
  color: var(--accent-gold);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--accent-gold);
}

.card-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(11, 29, 58, 0.9);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.card-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-meta i {
  color: var(--accent-gold);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Service Card Specific */
.service-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.card:hover .service-icon-box {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
}

/* Feature List */
.feature-checklist {
  list-style: none;
  margin: 1rem 0;
}

.feature-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.bg-navy .feature-checklist li,
.contact-card .feature-checklist li,
[style*="background: var(--primary-navy)"] .feature-checklist li,
[style*="background-color: var(--primary-navy)"] .feature-checklist li {
  color: #ffffff !important;
}

.feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Contact Info & Forms */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-card {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.form-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FAQs Accordion UI */
.faq-search-box {
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: #94a3b8;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent-gold);
  padding: 4rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-navy-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
}

@media (max-width: 991px) {
  .hero-title { font-size: 2.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar-right { display: none; }
  .hero-title { font-size: 2rem; }
  .section-header .section-title { font-size: 1.8rem; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
}
