/**
 * SMT Developments — Page Specific Styles (Homepage & Global Templates)
 */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.smtd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: var(--space-4) 0;
}

.smtd-header.is-scrolled {
  background-color: var(--glass-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(30, 29, 26, 0.08);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(181, 138, 74, 0.2);
}

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

.smtd-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.smtd-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

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

.smtd-logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-deep-charcoal);
  line-height: 1.1;
  transition: color var(--transition-fast);
}

.smtd-header.is-scrolled .smtd-logo-title {
  color: var(--color-deep-charcoal);
}

.smtd-logo-tagline {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-burnished-gold);
  font-weight: 600;
}

.smtd-nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.smtd-nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2E2B25;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.smtd-header.is-scrolled .smtd-nav-link {
  color: var(--color-deep-charcoal);
}

.smtd-nav-link:hover {
  color: var(--color-burnished-gold);
}

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

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

.smtd-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.smtd-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--color-light-stone);
  color: var(--color-deep-charcoal);
  border: 1px solid var(--color-border-light);
}

.smtd-header.is-scrolled .smtd-hamburger {
  background: var(--color-light-stone);
  color: var(--color-deep-charcoal);
}

/* ==========================================================================
   Hero Section (Refined Lighter Luxury Palette)
   ========================================================================== */
.smtd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 90px;
  overflow: hidden;
  background-color: var(--color-stone-ivory);
  color: var(--color-deep-charcoal);
}

.smtd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.smtd-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.92) contrast(1.02) saturate(1.06);
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.02) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1%, -1%);
  }
}

.smtd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(251, 250, 247, 0.94) 0%, rgba(244, 240, 232, 0.82) 42%, rgba(244, 240, 232, 0.45) 100%),
              radial-gradient(circle at 75% 30%, rgba(181, 138, 74, 0.25) 0%, transparent 65%);
}

.smtd-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
}

.smtd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 1.15rem;
  background: rgba(181, 138, 74, 0.14);
  border: 1.5px solid rgba(181, 138, 74, 0.5);
  border-radius: var(--radius-full);
  color: #7D511E;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  backdrop-filter: blur(8px);
}

.smtd-hero-title {
  color: var(--color-deep-charcoal);
  margin-bottom: var(--space-5);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.smtd-hero-title .animate-shimmer {
  text-shadow: none !important;
}

.smtd-hero-desc {
  font-size: var(--text-body-lg);
  line-height: 1.8;
  color: #38342D;
  margin-bottom: var(--space-7);
  max-width: 740px;
  font-weight: 450;
}

.smtd-hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-9);
  position: relative;
  z-index: 10;
}

.smtd-hero-ctas .btn {
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

.smtd-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-6) var(--space-7);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(181, 138, 74, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 36px rgba(45, 36, 28, 0.08);
}

.smtd-stat-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-burnished-gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.smtd-stat-label {
  font-size: 0.8125rem;
  color: #555047;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ==========================================================================
   Founders & Master Architects Section
   ========================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: stretch;
}

.founder-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.founder-header {
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--color-stone-ivory) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.founder-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-burnished-gold);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-meta {
  flex-grow: 1;
}

.founder-role-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-burnished-gold);
  margin-bottom: 4px;
}

.founder-name {
  font-size: 1.65rem;
  margin-bottom: 2px;
  line-height: 1.2;
}

.founder-experience {
  font-size: 0.8125rem;
  color: var(--color-warm-grey);
  font-weight: 500;
}

.founder-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.founder-bio {
  font-size: 0.9375rem;
  color: #4A463F;
  line-height: 1.7;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.founder-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.founder-spec-tag {
  background: var(--color-stone-ivory);
  color: var(--color-deep-charcoal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(140, 135, 125, 0.18);
}

.founder-contact-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
  flex-wrap: wrap;
}

.founder-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-xs);
  background: var(--color-stone-ivory);
  color: var(--color-deep-charcoal);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.founder-contact-pill:hover {
  background: var(--color-burnished-gold);
  color: #FFFFFF;
  border-color: var(--color-burnished-gold);
}

.founder-contact-pill.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #128C7E;
  border-color: rgba(37, 211, 102, 0.3);
}

.founder-contact-pill.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.founder-studio-banner {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-7);
  background: #FFFFFF;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.founder-studio-location {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.founder-studio-icon {
  color: var(--color-burnished-gold);
  flex-shrink: 0;
}

.founder-studio-title {
  color: var(--color-deep-charcoal);
  font-size: 0.9375rem;
  margin-right: 4px;
}

.founder-studio-address {
  color: var(--color-warm-grey);
  font-size: 0.875rem;
}

.smtd-stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-burnished-gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.smtd-stat-label {
  font-size: 0.8125rem;
  color: var(--color-soft-beige);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Heritage Section
   ========================================================================== */
.heritage-visual-wrap {
  position: relative;
}

.heritage-img-main {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.heritage-floating-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--color-deep-charcoal);
  color: #FFFFFF;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 280px;
}

.heritage-badge-icon {
  color: var(--color-burnished-gold);
  flex-shrink: 0;
}

.heritage-badge-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.heritage-badge-subtitle {
  font-size: 0.75rem;
  color: var(--color-soft-beige);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.heritage-quote-box {
  border-left: 3px solid var(--color-burnished-gold);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-temple-sandstone);
}

/* ==========================================================================
   Craftsmanship Showcase
   ========================================================================== */
.craftsmanship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.craftsmanship-image-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(181, 138, 74, 0.3);
}

.craftsmanship-image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.craftsmanship-hotspots {
  position: absolute;
  inset: 0;
}

.craftsmanship-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.craftsmanship-tab-item {
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.craftsmanship-tab-item.is-active,
.craftsmanship-tab-item:hover {
  background: rgba(181, 138, 74, 0.12);
  border-color: var(--color-burnished-gold);
  transform: translateX(6px);
}

.craftsmanship-tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: var(--space-2);
}

.craftsmanship-tab-desc {
  font-size: 0.875rem;
  color: var(--color-soft-beige);
  line-height: 1.6;
}

/* ==========================================================================
   Process Section (Timeline)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  position: relative;
  margin-top: var(--space-8);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border-gold) 0%, var(--color-burnished-gold) 50%, var(--color-border-gold) 100%);
  z-index: 1;
}

.process-step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-marble-white);
  border: 2px solid var(--color-burnished-gold);
  color: var(--color-temple-sandstone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
  transition: all var(--transition-normal);
}

.process-step-item:hover .process-step-num {
  background: var(--color-burnished-gold);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--color-gold-glow);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.process-step-desc {
  font-size: 0.8125rem;
  color: var(--color-warm-grey);
  line-height: 1.5;
}

/* ==========================================================================
   Nationwide Coverage Section
   ========================================================================== */
.nationwide-box {
  background: var(--color-deep-surface);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-9) var(--space-8);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.nationwide-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.nationwide-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.region-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  padding: var(--space-4);
  transition: all var(--transition-normal);
}

.region-card:hover {
  border-color: var(--color-burnished-gold);
  background: rgba(181, 138, 74, 0.1);
  transform: translateY(-4px);
}

.region-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-burnished-gold);
  margin-bottom: var(--space-1);
}

.region-states {
  font-size: 0.8125rem;
  color: var(--color-soft-beige);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.smtd-cta-banner {
  position: relative;
  background: radial-gradient(circle at center, #2D241C 0%, #171614 100%);
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
  padding: var(--space-11) 0;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.smtd-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.smtd-cta-title {
  color: #FFFFFF;
  font-size: var(--text-display-l);
  margin-bottom: var(--space-4);
}

.smtd-cta-desc {
  font-size: var(--text-body-lg);
  color: var(--color-soft-beige);
  margin-bottom: var(--space-7);
}

.smtd-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.smtd-footer {
  background-color: #12110F;
  color: #A8A399;
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.smtd-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-9);
}

.smtd-footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
}

.smtd-footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #8C877D;
  margin-bottom: var(--space-5);
  max-width: 360px;
}

.smtd-footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.smtd-footer-links li {
  margin-bottom: var(--space-2);
}

.smtd-footer-links a {
  font-size: 0.875rem;
  color: #9C978D;
  transition: color var(--transition-fast);
}

.smtd-footer-links a:hover {
  color: var(--color-burnished-gold);
}

.smtd-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: #9C978D;
  margin-bottom: var(--space-3);
}

.smtd-footer-contact-item svg {
  color: var(--color-burnished-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.smtd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #6E6A63;
}

/* Floating WhatsApp / Contact Bubble */
.smtd-floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.smtd-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
}

.smtd-float-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.smtd-float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.smtd-float-inquire {
  background-color: var(--color-burnished-gold);
  color: #FFFFFF;
}

.smtd-float-inquire:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(181, 138, 74, 0.4);
}
