/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: #111; transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.5); }

.header-top {
  background: #0a0a0a;
  padding: 6px 0;
  font-size: .8rem;
  color: #aaa;
  border-bottom: 1px solid #222;
}
.header-top .container {
  display: flex; justify-content: flex-end; gap: 24px; align-items: center;
}
.header-top a { color: #ccc; transition: color .2s; }
.header-top a:hover { color: #fff; }
.header-top svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }

.header-main { padding: 0; background: #111; }
.header-main .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}

.logo {
  font-size: 1.6rem; font-weight: 800; color: #fff;
  letter-spacing: -1px;
}
.logo span { color: #d4d4d4; font-weight: 500; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  color: #ccc; padding: 10px 16px; border-radius: 6px;
  font-size: .9rem; font-weight: 500; transition: all .2s;
}
.nav-list a:hover, .nav-list a.active { color: #fff; background: #222; }

.header-cta {
  background: #fff; color: #111; padding: 10px 22px;
  border-radius: 6px; font-weight: 600; font-size: .85rem;
  transition: all .2s;
}
.header-cta:hover { background: #e0e0e0; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px; background: #fff;
  transition: all .3s; transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* ===== HERO ===== */
.hero {
  margin-top: 100px;
  background: #0a0a0a;
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: url('images/1.jpeg') center/cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: linear-gradient(to right, #0a0a0a 0%, rgba(10,10,10,.6) 40%, rgba(10,10,10,.2) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block; background: #222; color: #aaa;
  padding: 6px 16px; border-radius: 20px; font-size: .75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px; border: 1px solid #333;
}
.hero h1 { font-size: 3rem; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero h1 strong { color: #d0d0d0; }
.hero p { color: #999; font-size: 1.1rem; max-width: 500px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: #fff; color: #111; padding: 14px 32px;
  border-radius: 8px; font-weight: 600; font-size: .95rem;
  transition: all .2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #e0e0e0; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 1px solid #444; transition: all .2s; cursor: pointer;
}
.btn-secondary:hover { border-color: #888; background: rgba(255,255,255,.05); }


/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2.2rem; color: #111; margin-bottom: 12px;
}
.section-header p { color: #666; max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.section-tag {
  display: inline-block; background: #f0f0f0; color: #555;
  padding: 4px 14px; border-radius: 16px; font-size: .75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}

/* ===== ABOUT ===== */
.about { background: #fafafa; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p { color: #555; margin-bottom: 16px; }
.about-image {
  background: #111; border-radius: 16px; height: 360px;
  display: flex; align-items: center; justify-content: center;
  color: #333; font-size: 4rem; position: relative; overflow: hidden;
}


/* ===== SERVICES ===== */
.services { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: #fafafa; border: 1px solid #eee; border-radius: 12px;
  padding: 36px 28px; transition: all .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  border-color: #ddd;
}
.service-icon {
  width: 60px; height: 60px; background: #111; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem; color: #fff;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #111; }
.service-card p { color: #666; font-size: .9rem; line-height: 1.6; }

/* ===== PRODUCTS ===== */
.products { background: #0a0a0a; }
.products .section-header h2 { color: #fff; }
.products .section-header p { color: #888; }
.products .section-tag { background: #222; color: #888; }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product-card {
  background: #151515; border: 1px solid #222; border-radius: 12px;
  overflow: hidden; transition: all .3s; cursor: pointer;
}
.product-card:hover {
  border-color: #444; transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.product-thumb {
  height: 180px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: #fff; border-bottom: 1px solid #222;
}
.product-card h3 {
  color: #fff; font-size: .95rem; padding: 18px 20px 6px;
}
.product-card p {
  color: #666; font-size: .8rem; padding: 0 20px 18px; line-height: 1.5;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  text-align: center; padding: 80px 0;
}
.cta h2 { color: #fff; font-size: 2.2rem; margin-bottom: 16px; }
.cta p { color: #888; font-size: 1.05rem; max-width: 500px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #050505; color: #888; padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid #1a1a1a;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: .9rem; max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; background: #151515; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #666; font-size: .85rem; transition: all .2s;
  border: 1px solid #222;
}
.footer-social a:hover { background: #222; color: #fff; border-color: #333; }

.footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #666; font-size: .9rem; transition: color .2s;
}
.footer ul a:hover { color: #fff; }

.footer-bottom {
  text-align: center; padding: 24px 0;
  font-size: .8rem; color: #444; margin-top: 0;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .nav-list, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-list.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #111;
    padding-top: 60px;
    z-index: -1;
    align-items: center; justify-content: center; gap: 0;
  }
  .nav-list.open a {
    display: block; width: 100vw;
    text-align: center; padding: 18px 0;
    font-size: 1.1rem;
  }

  .hero { padding: 60px 0; margin-top: 60px; }
  .hero::before { width: 100%; }
  .hero::after {
    width: 100%;
    background: rgba(10,10,10,.7);
  }
  .hero h1 { font-size: 2rem; }
  .hero p { margin-bottom: 32px; }
  .hero-buttons { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .section-header h2 { font-size: 1.7rem; }

  .hero-content{
    padding-top:50px;
  }

  .hero-buttons a{
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
