﻿/* DoorVi Shared Nav + Footer Styles */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════
   DESIGN SYSTEM — DoorVi Brand
   Primary: #0B3D2E (deep forest green, from logo/brand)
   Accent:  #2563EB (teal mint, DoorVi signature)
   Dark:    #050E1A (near-black navy)
   Mid:     #0F2239
   Light:   #F4F9F7
   White:   #FFFFFF
═══════════════════════════════════════ */

:root {
  --green:   #1A3A6B;
  --teal:    #2563EB;
  --teal2:   #1D4ED8;
  --dark:    #0F172A;
  --mid:     #1E293B;
  --slate:   #334155;
  --muted:   #64748B;
  --border:  rgba(37,99,235,.18);
  --light:   #F8FAFF;
  --white:   #FFFFFF;
  --grad:    linear-gradient(135deg, #0F172A 0%, #1A3A6B 100%);
}

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

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

body {
  font-family: 'Geist', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: 'Geist', sans-serif; font-weight:700; line-height:1.1; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:#F1F5F9; }
::-webkit-scrollbar-thumb { background:var(--teal); border-radius:2px; }


/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.nav {
  position:fixed; top:0; width:100%; z-index:1000;
  padding:0 60px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: #FFFFFF;
  backdrop-filter:blur(20px);
  box-shadow:0 1px 0 rgba(37,99,235,.15);
}
.nav-inner {
  max-width:1280px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo {
  display:flex; align-items:center;
  text-decoration:none;
}

.nav-links {
  display:flex; align-items:center; gap:36px; list-style:none;
}
.nav-links a {
  color:#475569; text-decoration:none;
  font-size:14px; font-weight:500; letter-spacing:.2px;
  transition:color .2s;
}
.nav-links a:hover { color:#0F172A; }

.nav-actions { display:flex; align-items:center; gap:12px; }

.btn-translate {
  position:relative;
  display:flex; align-items:center; justify-content:center; gap:5px;
  height:38px; padding:0 10px; border-radius:9px;
  border:1.5px solid #E2E8F0; background:#FFFFFF;
  color:#475569; cursor:pointer;
  transition:all .2s ease;
  flex-shrink:0; font-size:12px; font-weight:500;
  font-family:'Geist',sans-serif;
}
.btn-translate:hover {
  border-color:#045DE9;
  color:#045DE9;
  background:#F0F6FF;
}
.btn-translate svg { width:18px; height:18px; flex-shrink:0; }

/* Language dropdown */
.lang-dropdown {
  position:absolute; top:calc(100% + 10px); right:0;
  background:#FFFFFF; border:1px solid #E2E8F0;
  border-radius:12px; padding:6px;
  box-shadow:0 8px 32px rgba(15,23,42,.12);
  min-width:180px; z-index:2000;
  display:none; flex-direction:column; gap:2px;
}
.lang-dropdown.open { display:flex; }
.lang-opt {
  display:flex; align-items:center; gap:10px;
  padding:9px 12px; border-radius:8px;
  font-size:13px; font-weight:500; color:#374151;
  cursor:pointer; transition:background .15s;
  border:none; background:none; width:100%; text-align:left;
  font-family:'Geist',sans-serif;
}
.lang-opt:hover { background:#F0F6FF; color:#045DE9; }
.lang-opt.active { background:#EFF6FF; color:#045DE9; font-weight:600; }
.lang-flag { font-size:16px; line-height:1; }
.btn-ghost {
  padding:9px 16px; border-radius:8px;
  border:none; background:transparent; color:#475569;
  font-size:14px; font-weight:500; text-decoration:none; transition:.2s;
  font-family:'Geist',sans-serif;
}
.btn-ghost:hover { color:#045DE9; background:#F0F6FF; border-radius:7px; }
.btn-primary {
  padding:9px 22px; border-radius:8px;
  background: linear-gradient(135deg, #09C6F9 0%, #045DE9 100%);
  color: #FFFFFF;
  font-size:14px; font-weight:600; text-decoration:none;
  transition:.25s; font-family:'Geist',sans-serif;
  box-shadow: 0 2px 12px rgba(4,93,233,.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1DCFF7 0%, #1570F5 100%);
  box-shadow: 0 6px 20px rgba(4,93,233,.4);
  transform: translateY(-1px);
}


/* ══════════════════════════════
   HAMBURGER MENU
══════════════════════════════ */
.hamburger {
  display:none;
  flex-direction:column; justify-content:center; align-items:center;
  gap:5px; cursor:pointer; padding:8px; border:none; background:none;
  z-index:1100;
}
.hamburger span {
  display:block; width:22px; height:2px;
  background:#0F172A; border-radius:2px;
  transition:all .25s ease;
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display:none;
  position:fixed; top:72px; right:16px;
  background:#FFFFFF; border:1px solid #E2E8F0;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(15,23,42,.16);
  padding:8px; z-index:999;
  flex-direction:column; gap:4px;
  min-width:180px;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  display:flex; align-items:center; gap:10px;
  padding:12px 16px;
  color:#374151; font-size:15px; font-weight:500;
  text-decoration:none; border-radius:10px;
  transition:background .15s, color .15s;
  border-bottom:none;
}
.mobile-menu a:hover { background:#F0F6FF; color:#045DE9; }
.mobile-menu .mob-actions {
  display:flex; flex-direction:column; gap:6px;
  margin-top:4px; padding:8px 0 0; border-top:1px solid #F1F5F9;
}
.mobile-menu .mob-actions a {
  border:none; padding:12px 16px; border-radius:10px;
  font-weight:600; font-size:15px; text-align:center; justify-content:center;
  background:linear-gradient(135deg,#09C6F9,#045DE9);
  color:#FFFFFF !important;
}
.mobile-menu .mob-actions a:hover { background:linear-gradient(135deg,#07b0e0,#0349c7); opacity:1; }
.mob-shop { background:#F1F5F9 !important; background:none !important; color:#374151 !important; }
.mob-demo {
  background:linear-gradient(135deg,#09C6F9,#045DE9) !important;
  color:#FFFFFF !important;
}


/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #FFFFFF;
  border-top:1px solid #E2E8F0;
  padding:60px 60px 40px;
}
.footer-inner { max-width:1280px; margin:0 auto; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:60px; padding-bottom:48px; border-bottom:1px solid #E2E8F0; }
.footer-brand .logo { margin-bottom:16px; }
.footer-brand p { font-size:14px; color:#64748B; line-height:1.7; max-width:280px; }
.footer-col h4 { font-family:'Geist',sans-serif; font-size:14px; color:#0F172A; font-weight:700; margin-bottom:18px; }
.footer-col a { display:block; font-size:14px; color:#64748B; text-decoration:none; margin-bottom:10px; transition:.2s; }
.footer-col a:hover { color:#045DE9; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:28px; }
.footer-copy { font-size:13px; color:#94A3B8; }
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a { font-size:13px; color:#94A3B8; text-decoration:none; transition:.2s; }
.footer-bottom-links a:hover { color:#045DE9; }
.footer-social { display:flex; align-items:center; justify-content:center; gap:12px; padding:28px 0 24px; }
.social-btn { display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:8px; background:#F1F5F9; color:#64748B; text-decoration:none; transition:.2s; }
.social-btn:hover { background:#045DE9; color:#fff; }
.social-btn svg { width:18px; height:18px; fill:currentColor; }

/* ══════════════════════════════
   NAV RESPONSIVE
══════════════════════════════ */
@media(max-width:1024px) {
  .nav { padding:0 24px; }
  .nav-links { display:none; }
  .nav-actions .btn-ghost { display:none; }
  .hamburger { display:flex; }
}


/* ══════════════════════════════
   NAV RESPONSIVE — 640px
══════════════════════════════ */
@media(max-width:640px) {
  .nav { padding:0 16px; }
  .nav-inner { height:64px; }
  .mobile-menu { top:64px; }
}

/* ══════════════════════════════
   FOOTER RESPONSIVE
══════════════════════════════ */
@media(max-width:1024px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:40px; }
}

@media(max-width:768px) {
  footer { padding:40px 24px 32px; }
  .footer-top { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
}

@media(max-width:480px) {
  footer { padding:36px 16px 28px; }
  .footer-top { grid-template-columns:1fr; gap:24px; }
  .footer-brand { text-align:left; }
  .footer-col h4 { font-size:13px; }
  .footer-col a { font-size:13px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; font-size:12px; }
  .footer-bottom-links { flex-wrap:wrap; justify-content:center; gap:12px; }
  .footer-social { gap:8px; padding:20px 0 16px; }
}
