/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #e66445;
  --primary-dark: #c94e33;
  --dark: #121c22;
  --dark-2: #17262f;
  --heading: #1f2531;
  --body: #4a5257;
  --light-text: #abafb5;
  --light-bg: #f5f7f8;
  --border: #d3d3d3;
  --white: #ffffff;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 50px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

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

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark);
  padding: 10px 0;
  font-size: 14px;
  color: var(--light-text);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-contact { display: flex; gap: 25px; align-items: center; }
.topbar-contact a { color: var(--light-text); display: flex; align-items: center; gap: 6px; }
.topbar-contact a:hover { color: var(--primary); }
.topbar-contact svg { width: 14px; height: 14px; flex-shrink: 0; }

.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--light-text);
  transition: all var(--transition);
}
.topbar-social a:hover { background: var(--primary); color: var(--white); }
.topbar-social svg { width: 14px; height: 14px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 55px; height: 55px; object-fit: contain; }
.logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--heading); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
  background: rgba(230,100,69,0.06);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--heading);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpeg') center/cover no-repeat;
  opacity: 0.25;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,28,34,0.92) 0%, rgba(23,38,47,0.75) 100%);
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(230,100,69,0.15);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(230,100,69,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.15;
}
.hero h1 span { color: var(--primary); }

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Decorative elements */
.hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border: 2px solid rgba(230,100,69,0.12);
  border-radius: 50%;
  z-index: 1;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  border: 2px solid rgba(230,100,69,0.08);
  border-radius: 50%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230,100,69,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(230,100,69,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* ===== SECTION HEADERS ===== */
.section-header {
  max-width: 600px;
  margin-bottom: 60px;
}
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 40px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--primary);
}
.section-header.centered .section-label { padding-left: 0; }
.section-header.centered .section-label::before { display: none; }

.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--light-text); font-size: 1.05rem; }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 60px; height: 60px;
  background: rgba(230,100,69,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}
.product-icon svg { width: 28px; height: 28px; }

.product-card h4 { margin-bottom: 12px; }
.product-card p { font-size: 15px; color: var(--light-text); }
.product-card .capacity {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--light-bg);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(18,28,34,0.4), transparent);
}

.about-experience {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  background: var(--primary);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 12px;
}
.about-experience .number { font-size: 2.5rem; font-weight: 800; line-height: 1; font-family: var(--font-heading); }
.about-experience .label { font-size: 14px; opacity: 0.9; }

.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 20px; }

.about-features { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--light-bg);
  border-radius: 10px;
}
.about-feature .icon {
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature .icon svg { width: 20px; height: 20px; }
.about-feature h5 { margin-bottom: 4px; color: var(--heading); }
.about-feature p { font-size: 14px; color: var(--light-text); }

/* ===== STATS ===== */
.stats {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpeg') center/cover no-repeat;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 30px;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,28,34,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

.gallery-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 20px;
}
.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== CAREERS ===== */
.careers-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.careers-content h2 { margin-bottom: 20px; }
.careers-content p { font-size: 1.1rem; margin-bottom: 30px; }
.careers-icon {
  width: 80px; height: 80px;
  background: rgba(230,100,69,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--primary);
}
.careers-icon svg { width: 36px; height: 36px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--light-bg);
  border-radius: 12px;
  transition: all var(--transition);
}
.contact-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card .icon {
  width: 50px; height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h5 { margin-bottom: 4px; }
.contact-card p { font-size: 15px; color: var(--light-text); }
.contact-card a { color: var(--body); font-weight: 500; }
.contact-card a:hover { color: var(--primary); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-form h3 { margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--heading);
  transition: border-color var(--transition);
  background: var(--light-bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.map-section { margin-top: -2px; }
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  filter: grayscale(30%);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpeg') center/cover no-repeat;
  opacity: 0.15;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.page-banner .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb a:hover { color: var(--primary); }
.page-banner .breadcrumb .sep { color: var(--primary); }

/* ===== CTA ===== */
.cta {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border: 60px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  right: -100px; top: -100px;
}
.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta h2 { color: var(--white); max-width: 550px; }
.cta .btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.cta .btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about .logo { margin-bottom: 20px; }
.footer-about .logo-text { color: var(--white); }
.footer-about p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer h5 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(230,100,69,0.4);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--primary-dark); }
.scroll-top svg { width: 20px; height: 20px; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 350px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav.open a { padding: 14px 20px; border-radius: 8px; }
  .mobile-toggle { display: block; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-decoration { display: none; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }

  .section { padding: 60px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-number { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta .container { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .page-banner { padding: 80px 0 40px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item.tall, .gallery-item.wide { grid-column: auto; grid-row: auto; }
}
