@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

:root {
  --bg-primary: #0c0c0e;
  --bg-secondary: #111114;
  --bg-card: #161619;
  --olive: #4a6741;
  --olive-light: #5d8a50;
  --olive-dark: #3a5233;
  --amber: #d4a843;
  --amber-light: #e8c46c;
  --amber-dark: #b08b35;
  --white: #f0f0f0;
  --gray-100: #d0d0d5;
  --gray-400: #6b6b78;
  --gray-600: #3a3a45;
  --red-mil: #8b2020;
  --glass-bg: rgba(22, 22, 25, 0.65);
  --glass-border: rgba(255, 255, 255, 0.07);
  --shadow-glow: 0 0 40px rgba(74, 103, 65, 0.25);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.5);
  --transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-100);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gray-600); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--olive); }

/* Typography */
h1, h2, h3, h4 {
  color: var(--white);
  line-height: 1.1;
  font-weight: 800;
}

h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 8vw, 6.5rem); letter-spacing: 2px; }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; }
p { margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--gray-100); }

.text-accent { color: var(--olive-light); }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; border-radius: 6px; font-weight: 700; font-size: 1rem;
  letter-spacing: 0.5px; transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden; z-index: 1; border: none;
  font-family: 'Inter', sans-serif; text-transform: uppercase;
}

.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%); transition: 0.6s; z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  color: var(--white); box-shadow: var(--shadow-glow);
  border: 1px solid rgba(74, 103, 65, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(74, 103, 65, 0.4);
  background: linear-gradient(135deg, var(--olive-light), var(--olive));
}

.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--olive); color: var(--olive-light);
  background: rgba(74, 103, 65, 0.08); transform: translateY(-3px);
}

/* Glass */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ═══════════════════════ NAVBAR ═══════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 22px 0; transition: var(--transition); border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 14px 0; background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-badge {
  padding: 8px 16px; border-radius: 4px;
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--white);
  letter-spacing: 2px; box-shadow: 0 4px 20px rgba(74,103,65,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text span:first-child { font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; line-height: 1.2; }
.logo-text span:last-child { font-size: 0.65rem; font-weight: 500; color: var(--olive-light); letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-link {
  font-size: 0.9rem; font-weight: 600; color: var(--gray-100);
  text-transform: uppercase; letter-spacing: 1.5px; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--olive-light); transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 0.85rem;
  background: rgba(74, 103, 65, 0.15); border: 1px solid var(--olive); color: var(--olive-light);
  text-transform: uppercase; letter-spacing: 1px;
}
.nav-cta:hover { background: var(--olive); color: var(--white); box-shadow: var(--shadow-glow); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 28px; height: 2px; background: var(--white); transition: var(--transition); }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 100px; overflow: hidden;
}
.hero-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  background-image: url('hero.png'); background-size: cover; background-position: center 40%;
  transform: scale(1.05); animation: slowZoom 25s infinite alternate linear;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background:
    linear-gradient(to right, rgba(12,12,14,0.96) 0%, rgba(12,12,14,0.7) 40%, rgba(12,12,14,0.15) 100%),
    linear-gradient(to top, var(--bg-primary) 0%, transparent 30%);
}

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

.mil-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px;
  background: rgba(74, 103, 65, 0.12); border: 1px solid rgba(74, 103, 65, 0.35);
  border-radius: 4px; color: var(--olive-light); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px;
}

.hero-title { margin-bottom: 25px; text-shadow: 0 10px 30px rgba(0,0,0,0.7); }
.hero-desc { font-size: 1.2rem; color: var(--gray-100); max-width: 580px; margin-bottom: 40px; font-weight: 400; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════ STATS BAR ═══════════════════════ */
.stats-bar { margin-top: -55px; position: relative; z-index: 10; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--glass-border); border-radius: var(--radius); overflow: hidden;
}
.stat-item {
  background: rgba(17, 17, 20, 0.85); backdrop-filter: blur(20px);
  padding: 35px 28px; display: flex; align-items: center; gap: 18px; transition: var(--transition);
}
.stat-item:hover { background: rgba(22, 22, 25, 0.95); }
.stat-icon { font-size: 1.8rem; color: var(--olive-light); flex-shrink: 0; }
.stat-item h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.stat-item p { font-size: 0.85rem; color: var(--gray-400); margin: 0; }

/* ═══════════════════════ SECTIONS ═══════════════════════ */
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

.section-tag {
  display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 700;
  color: var(--olive-light); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px;
}
.section-tag::before {
  content: ''; width: 40px; height: 1px; background: var(--olive-light);
}
.section-header { margin-bottom: 70px; max-width: 700px; }

/* ═══════════════════════ SERVICES ═══════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.service-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(74,103,65,0.3); }

.service-img { width: 100%; height: 260px; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}

.service-content { padding: 0 30px 35px; position: relative; z-index: 2; margin-top: -40px; }
.service-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 4rem;
  color: rgba(255,255,255,0.04); position: absolute; right: 20px; top: -25px;
  line-height: 1; letter-spacing: 3px;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { color: var(--gray-400); font-size: 0.95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--olive-light);
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-top: 10px;
}
.service-link i { transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ═══════════════════════ REPAIR ═══════════════════════ */
.repair-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.repair-img-box { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.repair-img-box img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--radius-lg); }

.repair-badge {
  position: absolute; bottom: -30px; right: -20px; padding: 25px 30px;
  display: flex; align-items: center; gap: 15px;
}
.repair-badge-icon {
  width: 50px; height: 50px; min-width: 50px; border-radius: 50%;
  background: var(--olive); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem;
}
.repair-badge h4 { font-size: 1.1rem; margin-bottom: 3px; }
.repair-badge p { margin: 0; font-size: 0.85rem; color: var(--gray-400); }

.repair-grid { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }

.repair-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px;
  background: rgba(255,255,255,0.02); border-radius: var(--radius);
  border: 1px solid transparent; transition: var(--transition);
}
.repair-item:hover { border-color: rgba(74,103,65,0.2); background: rgba(74,103,65,0.05); }
.repair-item i { color: var(--olive-light); font-size: 1.3rem; margin-top: 3px; flex-shrink: 0; }
.repair-item h4 { font-size: 1rem; margin-bottom: 4px; font-weight: 700; }
.repair-item p { font-size: 0.9rem; color: var(--gray-400); margin: 0; }

/* ═══════════════════════ PROGRAMS ═══════════════════════ */
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.program-card { overflow: hidden; transition: var(--transition); }
.program-card:hover { transform: translateY(-6px); border-color: rgba(74,103,65,0.3); }

.program-img { width: 100%; height: 260px; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.program-card:hover .program-img img { transform: scale(1.05); }

.program-content { padding: 35px; }

.program-icon {
  width: 55px; height: 55px; border-radius: 10px;
  background: rgba(74,103,65,0.15); border: 1px solid rgba(74,103,65,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--olive-light); font-size: 1.4rem; margin-bottom: 20px;
}

.program-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.program-card > .program-content > p { color: var(--gray-400); font-size: 0.95rem; }

.program-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.program-list li {
  display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--gray-100);
}
.program-list li i { color: var(--olive-light); font-size: 0.85rem; }

/* ═══════════════════════ GALLERY ═══════════════════════ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.gallery-item {
  position: relative; height: 350px; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; border: 1px solid var(--glass-border);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 25px;
  opacity: 0.7; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1.3rem; margin-bottom: 5px; transform: translateY(10px); transition: transform 0.3s; }
.gallery-overlay p { color: var(--olive-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin: 0; opacity: 0; transform: translateY(10px); transition: all 0.3s 0.1s; }
.gallery-item:hover .gallery-overlay h4 { transform: translateY(0); }
.gallery-item:hover .gallery-overlay p { opacity: 1; transform: translateY(0); }

/* ═══════════════════════ CTA ═══════════════════════ */
.cta-box {
  padding: 80px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(145deg, rgba(17,17,20,0.95), rgba(12,12,14,0.95)),
              url('hero.png') center/cover;
  border: 1px solid rgba(74, 103, 65, 0.2); position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(74, 103, 65, 0.1) 0%, transparent 50%); pointer-events: none;
}
.cta-box h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 20px; }
.cta-box p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 35px; color: var(--gray-100); }
.cta-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer { border-top: 1px solid var(--glass-border); padding: 80px 0 30px; background: rgba(8,8,10,0.98); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-desc { font-size: 0.95rem; color: var(--gray-400); max-width: 330px; margin-top: 18px; }
.footer-title { color: var(--white); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-400); transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--olive-light); padding-left: 5px; }

.contact-item { display: flex; gap: 12px; margin-bottom: 16px; color: var(--gray-400); font-size: 0.95rem; align-items: flex-start; }
.contact-item i { color: var(--olive-light); font-size: 1rem; margin-top: 3px; }
.contact-item a { color: var(--gray-100); font-weight: 600; }
.contact-item a:hover { color: var(--olive-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--gray-400);
}

/* ═══════════════════════ ANIMATIONS ═══════════════════════ */
.reveal { opacity: 0; transform: translateY(35px); transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.active { 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; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .repair-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .repair-img-box img { height: 400px; }
  .programs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(12,12,14,0.98); backdrop-filter: blur(20px);
    padding: 30px; flex-direction: column; gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding-top: 130px; }
  .stats-bar { margin-top: 40px; }
  .stats-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 50px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .section { padding: 80px 0; }
}
