/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ================= HEADER ================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.tagline {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  transition: color 0.3s, transform 0.2s;
}

.nav a:hover {
  color: #f97316;
  transform: translateY(-2px);
}

.nav-btn {
  background: #f97316;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-btn:hover {
  background: #ffb347;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #1f2937;
  border-radius: 2px;
  transition: 0.3s;
}

/* ================= HERO ================= */

.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("images/hero.jpg") center / cover no-repeat;
  padding: 120px 30px;
  color: #ffffff;
}

.hero-text {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

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

.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn.primary {
  background: #f97316;
  color: #ffffff;
}

.btn.primary:hover {
  background: #ffb347;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

/* ================= SECTIONS ================= */

.section {
  padding: 70px 30px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.section.light {
  background: #f9fafb;
}

.center {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 15px;
}

/* ================= SERVICES ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
}

/* ================= GALLERY ================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ================= CONTACT ================= */

.contact {
  background: #1f2937;
  color: #ffffff;
  padding: 70px 30px;
}

.contact h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-box {
  max-width: 500px;
  margin: auto;
  text-align: center;
}

.contact-box a {
  color: #f97316;
  text-decoration: none;
}

/* ================= FOOTER ================= */

.footer {
  background: #111827;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ================= MODAL ================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: 5% auto;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding-top: 100px;
    gap: 25px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  }

  .nav.active {
    right: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
