/* css/style.css */
/* ------------------------------------------------
   Table of Contents:
   1. CSS Reset & Base
   2. Variables & Typography
   3. Utility Classes
   4. Header & Navigation (sticky, transparent)
   5. Mobile Hamburger
   6. Hero / Parallax
   7. Buttons & Cards
   8. Sections & Grid
   9. Footer
   10. Animations & Keyframes
   ------------------------------------------------ */

/* 1. Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1E293B;
  background-color: #FFFFFF;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* 2. Variables & Typography */
:root {
  --navy: #0A1A2F;
  --orange: #FF6B00;
  --steel: #6B7280;
  --white: #FFFFFF;
  --light-bg: #F8FAFC;
  --dark-overlay: rgba(10, 26, 47, 0.85);
  --header-height: 80px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { font-size: 1rem; color: #334155; }

/* 3. Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--navy); }
.text-white { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.9); }
.orange { color: var(--orange); }

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.light-tag { color: #FFB347; }
.section-title { margin-bottom: 1rem; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.gap-5 { gap: 3rem; }
.gap-4 { gap: 2rem; }
.gap-3 { gap: 1.5rem; }
.align-center { align-items: center; }
.mt-5 { margin-top: 3rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

.rounded-image { border-radius: 12px; width: 100%; height: auto; }
.shadow { box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15); }

/* 4. Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background-color: var(--navy);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo a {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-alpha { color: var(--white); }
.logo-sub { font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.9); margin-left: 0.3rem; }
.scrolled .logo-alpha { color: var(--white); } /* stays white */
.nav-list {
  display: flex;
  list-style: none;
}
.nav-list li a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--orange);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 2000;
}
.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: 0.4s;
  border-radius: 2px;
}

/* 5. Mobile Styles */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--navy);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 1500;
  }
  .main-nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
  }
  .nav-list li {
    margin: 1rem 0;
  }
  .nav-list li a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 6. Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed; /* parallax effect */
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,26,47,0.85) 0%, rgba(10,26,47,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.hero-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}
.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* 7. Buttons & Cards */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid transparent;
  font-size: 1rem;
}
.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background-color: #e05e00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(255,107,0,0.4);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}
.btn-secondary {
  background-color: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: #142b44;
}

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -5px rgba(10,26,47,0.15);
}
.service-icon {
  font-size: 2.8rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: var(--transition);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover img { transform: scale(1.05); }
.product-card h4 { margin: 1rem 1rem 0.5rem; }
.product-card p { margin: 0 1rem 1.5rem; color: var(--steel); }

.check-list {
  list-style: none;
  margin-top: 2rem;
}
.check-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.check-list i { margin-right: 0.8rem; font-size: 1.3rem; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stat-item {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}
.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

/* 8. Footer */
.site-footer {
  background-color: var(--navy);
  color: #CBD5E1;
  padding: 3rem 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-about p { color: #9CA3AF; margin: 1rem 0; }
.social-icons a {
  display: inline-block;
  width: 38px; height: 38px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  margin-right: 0.5rem;
  color: white;
  transition: 0.3s;
}
.social-icons a:hover { background-color: var(--orange); }
.footer-links ul { list-style: none; }
.footer-links li a {
  color: #9CA3AF;
  text-decoration: none;
  line-height: 2.2;
}
.footer-links li a:hover { color: var(--orange); }
.footer-contact p { margin-bottom: 0.8rem; color: #9CA3AF; }
.footer-contact i { width: 25px; color: var(--orange); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #253749;
  color: #6B7280;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 9. Animations */
.fade-in { animation: fadeIn 1s ease both; }
.slide-up { animation: slideUp 0.8s ease both; }

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* misc */
.stats-mini {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.stat-mini-item { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); }