/* ═══════════════════════════════════════════
   CARTECH GVOPR – Global Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Barlow:wght@300;400;500;600&family=Bebas+Neue&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #315a91;
  --blue-dark: #1d3657;
  --blue-bright: #4178c2;
  --bg: #FFFFFF;
  --bg2: #F8F9FA;
  --bg3: #F1F3F5;
  --bg4: #E9ECEF;
  --muted: #6C757D;
  --light: #495057;
  --white: #212529;
  --gold: #C9A84C;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; height: 70px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49,90,145,0.2);
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: rgba(49,90,145,0.5); }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.5rem;
}
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 15px; color: white; letter-spacing: 1px;
}
.nav-logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 2px; color: var(--white); }
.nav-logo-text span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; color: var(--light);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--blue) !important; color: white !important;
  padding: 8px 20px; border-radius: 2px;
  font-size: 14px !important; font-weight: 700 !important; letter-spacing: 2px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-bright) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.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); }

/* ── SECTIONS ── */
section { padding: 100px 4vw; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 30px; height: 2px; background: var(--blue); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1; letter-spacing: 2px; color: var(--white); margin-bottom: 1.5rem;
}
.section-title span { color: var(--blue); }
.section-sub { font-size: 17px; font-weight: 300; color: var(--muted); max-width: 600px; line-height: 1.7; margin-bottom: 4rem; }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(49,90,145,0.4); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(0,0,0,0.3); }
.btn-secondary:hover { border-color: var(--white); background: rgba(0,0,0,0.05); transform: translateY(-2px); }

/* ── TICKER ── */
.ticker { background: var(--blue); padding: 14px 0; overflow: hidden; }
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-item {
  flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: white; padding: 0 40px;
  display: flex; align-items: center; gap: 16px;
}
.ticker-item::after { content: '◆'; color: rgba(255,255,255,0.5); font-size: 8px; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid rgba(0,0,0,0.06); padding: 4rem 4vw 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 280px; }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 14px; color: var(--light); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.06); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 12px; color: rgba(0,0,0,0.25); letter-spacing: 1px; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── NOTIFICATION ── */
.notif {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  padding: 1rem 1.5rem; border-radius: 2px; font-size: 14px;
  transform: translateY(100px); opacity: 0; transition: all 0.4s; max-width: 320px;
  display: flex; align-items: center; gap: 12px;
}
.notif.success { background: #1A3A1A; border: 1px solid #2A6A2A; color: #7DDD7D; }
.notif.error { background: #3A1A1A; border: 1px solid #6A2A2A; color: #DD7D7D; }
.notif.show { transform: translateY(0); opacity: 1; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 160px; padding-bottom: 80px; padding-left: 4vw; padding-right: 4vw;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
  position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(49,90,145,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(49,90,145,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.page-hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(49,90,145,0.1) 0%, transparent 65%); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 5vw; }
  .nav-logo-img { height: 38px; max-width: 170px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(255,255,255,0.98); padding: 2rem; border-bottom: 1px solid rgba(49,90,145,0.2); gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  section { padding: 70px 5vw; }
}
