/* ===== Base & Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4af37;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
header {
  background: #222;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d4af37;
}

header nav {
  margin-top: 10px;
}

header nav a {
  margin: 0 15px;
  color: #fff;
  font-weight: 500;
}

header nav a:hover {
  color: #d4af37;
}

@media (min-width: 768px) {
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  header nav {
    margin-top: 0;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      to bottom right,
      #1a1a1a,             /* Dark background */
      rgba(212, 175, 55, 0.1)  /* Soft gold overlay */
    ),
    url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='40' x2='40' y2='0' stroke='%23d4af55' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E") repeat; /* Diagonal pattern */
  padding: 120px 20px;
  overflow: hidden;
}

/* Logo overlay with glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/jaman1.png") center 35% no-repeat;
  background-size: contain;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  animation: fadeInLogo 1.2s ease forwards;
  transform: scale(0.9);
}

/* Soft overlay behind text for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.hero .hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInText 1s ease forwards;
  animation-delay: 0.6s;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  color: #ffd966;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f5f5f0;
}

.hero .btn {
  display: inline-block;
  background: #d4af37;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
  background: #b9972f;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

/* ===== Animations ===== */
@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Sections ===== */
section {
  padding: 60px 20px;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

section p.section-desc {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 1.1rem;
}

/* ===== Services / Products Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.2);
}

/* ===== Clients Carousel ===== */
.clients {
  background: #fdf7e3;
  text-align: center;
  padding: 40px 20px;
  border-radius: 15px;
}

.clients h2 {
  margin-bottom: 10px;
  color: #d4af37;
}

.clients p {
  margin-bottom: 25px;
  color: #666;
  font-size: 0.95rem;
}

.client-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.client-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.client-track {
  display: flex;
  gap: 15px;
}

.client-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.2);
}

.client-carousel button {
  background: #d4af37;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.client-carousel button:hover {
  background: #b9972f;
  transform: scale(1.1);
}

/* ===== Contact Page ===== */
.contact-info {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info h2 {
  margin-bottom: 15px;
  color: #222;
}

.contact-info p {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
}

.contact-info i {
  color: #d4af37;
  font-size: 1.2rem;
  min-width: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
  outline: none;
}

button {
  background: #d4af37;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  background: #b9972f;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.map-container {
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
}

/* ===== Footer ===== */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
}

footer p {
  margin-bottom: 8px;
}

footer .social a {
  margin: 0 8px;
  color: #ccc;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease, color 0.3s ease;
}

footer .social a:hover {
  color: #d4af37;
  transform: translateY(-2px);
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  header nav a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  .client-card img {
    height: 45px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}
