/* ===================================================================
   DORVA YAPI - ULTRA-LUXURY ARCHITECTURAL & STEEL ENGINEERING STYLES
   Designed with Future-Industrial & Glassmorphism Aesthetics
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #07090c;
  --bg-surface: #0d1016;
  --bg-card: rgba(18, 23, 31, 0.75);
  --bg-card-hover: rgba(26, 33, 44, 0.85);
  --bg-glass: rgba(14, 18, 25, 0.7);
  
  --accent-gold: #d4af37;
  --accent-gold-light: #f3d478;
  --accent-gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa8010 100%);
  --accent-bronze: #b38038;
  --accent-cyan: #38bdf8;
  --accent-orange: #ff6b35;
  --accent-green: #22c55e;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(212, 175, 55, 0.35);
  --border-active: rgba(212, 175, 55, 0.7);
  
  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows & Glows */
  --glow-gold: 0 0 35px rgba(212, 175, 55, 0.25);
  --glow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

/* Typography Helper Classes */
.font-syne { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }
.text-gold { color: var(--accent-gold); }
.text-gradient {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-cyan { color: var(--accent-cyan); }
.text-muted { color: var(--text-muted); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold-light);
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}
.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gold-gradient);
  color: #000;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  transition: all var(--transition-smooth);
}
.glass-panel:hover {
  border-color: rgba(212, 175, 55, 0.25);
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}
.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ===================================================================
   HEADER & NAVBAR (FIXED OVERFLOW & NO-HORIZONTAL SHIFT)
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 1000;
  transition: all var(--transition-smooth);
  padding: 0.9rem 0;
}
.site-header.scrolled {
  padding: 0.65rem 0;
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-logo svg {
  height: 38px;
  width: auto;
  transition: transform var(--transition-smooth);
}
.brand-logo:hover svg {
  transform: rotate(5deg) scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Mobile Specific Buttons in Navbar */
.nav-mobile-wa {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
  flex-shrink: 0;
}
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-menu-ctas {
  display: none;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* 3D Hero Canvas Container */
.hero-canvas-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, rgba(30, 38, 50, 0.4) 0%, rgba(9, 12, 16, 0.9) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
#hero3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-canvas-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(7, 9, 12, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  pointer-events: none;
}
.hero-canvas-hint {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 9, 12, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

/* ===================================================================
   SMART 3D CONTAINER & FLOORPLAN BUILDER SECTION (#creator3d)
   =================================================================== */
.builder-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a0d14 50%, var(--bg-deep) 100%);
  position: relative;
  padding: 5rem 0;
}

/* Layout Selection Tabs Grid */
.builder-tabs-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.builder-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  color: var(--text-main);
}
.builder-tab-btn:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}
.builder-tab-btn.active {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}
.builder-tab-icon {
  font-size: 1.35rem;
}
.builder-tab-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.builder-tab-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-gold);
}

/* 3D Viewport Box */
.builder-viewport-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background: radial-gradient(circle at center, #151b24 0%, #07090d 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  margin-bottom: 1.5rem;
}
#builder3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Toolbar overlay on 3D view */
.builder-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(7, 9, 12, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  z-index: 10;
}
.builder-tool-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.builder-tool-btn:hover {
  color: #fff;
  border-color: var(--border-subtle);
}
.builder-tool-btn.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-light);
  border-color: var(--accent-gold);
}

/* Builder Info & Direct Action Card */
.builder-info-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
}
.builder-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.builder-info-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.builder-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-gold);
}
.builder-info-specs {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.builder-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}
.builder-lead-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* ===================================================================
   SERVICES & SPECIALTIES
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.service-card {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-md);
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
}
.service-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #fff;
}
.service-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}
.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-main);
  font-family: var(--font-mono);
}
.service-feature-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* ===================================================================
   PORTFOLIO & PROJECT GALLERY
   =================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
}
.project-img-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.1) 0%, rgba(7, 9, 12, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: all var(--transition-smooth);
}
.project-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.project-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.project-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ===================================================================
   PRODUCTION & ENGINEERING EXCELLENCE (MERZİFON / AMASYA)
   =================================================================== */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.factory-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.feat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.feat-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}
.feat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================================
   CONTACT & LOCATION SECTION
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}
.contact-info-card {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.info-item {
  display: flex;
  gap: 1rem;
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.info-icon svg {
  width: 20px;
  height: 20px;
}
.info-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.info-content p, .info-content a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.info-content a:hover {
  color: var(--accent-gold);
}

/* Form Styles */
.contact-form-wrap {
  padding: 2.2rem;
  border-radius: var(--radius-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  color: #fff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
textarea.form-control {
  min-height: 100px;
  resize: vertical;
}
.form-status {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.85rem;
  display: none;
  font-size: 0.85rem;
}
.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #050608;
  padding: 4rem 0 2rem 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================================================================
   FLOATING WHATSAPP CTA BUTTON
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.whatsapp-pulse-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.whatsapp-pulse-btn:hover {
  transform: scale(1.08);
}
.whatsapp-pulse-btn svg {
  width: 30px;
  height: 30px;
}
.whatsapp-tooltip {
  background: rgba(7, 9, 12, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: var(--shadow-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* ===================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET - ZERO OVERFLOW GUARANTEE)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-canvas-wrap {
    height: 400px;
  }
  .builder-tabs-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .builder-viewport-wrap {
    height: 460px;
  }
  .factory-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Site Header Mobile Fix */
  .site-header {
    padding: 0.6rem 0;
  }
  .brand-tagline {
    display: none !important;
  }
  .brand-name {
    font-size: 1.18rem !important;
  }
  .brand-logo svg {
    height: 32px !important;
  }
  .nav-desktop-wa, .nav-desktop-cta {
    display: none !important;
  }
  .nav-mobile-wa {
    display: inline-flex !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .nav-actions {
    gap: 0.5rem;
  }

  /* Drawer Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(9, 12, 16, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    padding: 2rem 1.5rem;
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition-smooth);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.open {
    right: 0;
  }
  .mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero-canvas-wrap {
    height: 320px;
  }

  /* 3D Builder Mobile */
  .builder-section {
    padding: 3.5rem 0;
  }
  .builder-tabs-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .builder-tab-btn:last-child {
    grid-column: span 2;
  }
  .builder-viewport-wrap {
    height: 350px;
  }
  .builder-toolbar {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.4rem;
  }
  .builder-tool-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
  }
  .builder-info-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .builder-info-right {
    width: 100%;
    align-items: stretch;
  }
  .builder-info-right .btn {
    width: 100%;
  }

  /* Other Sections Mobile */
  .section {
    padding: 3.5rem 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .project-img-wrap {
    height: 280px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
  .floating-whatsapp {
    bottom: 1.2rem;
    right: 1.2rem;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .builder-tabs-wrap {
    grid-template-columns: 1fr;
  }
  .builder-tab-btn:last-child {
    grid-column: span 1;
  }
  .builder-viewport-wrap {
    height: 300px;
  }
}
