/* ===== VARIABLES ===== */
:root {
  --green: #2ecc71;
  --green-dark: #27ae60;
  --blue: #56b5e0;
  --blue-light: #7ec8e8;
  --navy: #1a3a5c;
  --navy-dark: #0f2744;
  --navy-light: #2a5580;
  --white: #ffffff;
  --off-white: #f5f9f7;
  --gray-50: #f0f5f3;
  --gray-100: #e2ebe7;
  --gray-200: #c5d5cd;
  --gray-500: #6b7c74;
  --gray-700: #3a4a43;
  --gray-900: #1a2620;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(26, 58, 92, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 58, 92, 0.12);
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 8px;
}
.btn-nav:hover {
  background: var(--green-dark);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  height: 44px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav a:hover {
  color: var(--green-dark);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 39, 68, 0.8) 0%, rgba(26, 58, 92, 0.6) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.highlight {
  color: var(--green);
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ===== STATS ===== */
.stats {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== SECTIONS COMMON ===== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.service-icon {
  color: var(--green);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: var(--transition);
}
.service-link:hover {
  color: var(--navy);
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--off-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-text p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  font-weight: 500;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

/* ===== GALLERY SLIDESHOW ===== */
.gallery {
  padding: 100px 0;
}
.slideshow {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-50);
}
.slideshow-track {
  position: relative;
  display: flex;
  width: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}
.slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(15, 39, 68, 0.8));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 2;
}
.slide-arrow--left { left: 16px; }
.slide-arrow--right { right: 16px; }
.slide-arrow:hover {
  background: var(--green);
  color: var(--white);
}
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  background: var(--white);
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slide-dot.active {
  background: var(--green);
  transform: scale(1.2);
}

/* ===== PRODUCTION ===== */
.production {
  padding: 100px 0;
}
.production-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.prod-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.prod-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.prod-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.prod-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.why-us .section-title {
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.why-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--off-white);
}
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  transition: var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-details {
  display: grid;
  gap: 20px;
}
.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-item span {
  color: var(--gray-700);
}
.contact-form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--gray-900);
  transition: var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .btn {
  justify-self: start;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--green);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { text-align: center; }
  .hero-inner { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .production-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0);
  }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 80vh; }
  .section-title { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .slide-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  .slide-arrow--left { left: 8px; }
  .slide-arrow--right { right: 8px; }
  .production-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
