/* ===============================
   ROOT VARIABLES
================================ */
:root {
  --primary: #ce9d4d;
  --accent: #e1ad4e;
  --gold: #c9a44a;
  --card-bg: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-gray: #555555;
  --dark: #1b243a;
}

/* ===============================
   GLOBAL RESET & BASE
================================ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: #ffffff;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===============================
   HEADER (LOGO HEADER) - Removed as not used
================================ */

/* ===============================
   NAVIGATION
================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

nav img {
  height: 80px;
  padding-left: 10px;
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-light);
}

nav a:hover {
  color: var(--text-gray);
}

nav .menu {
  margin-right: 50px;
}

/* ===============================
   HERO PARALLAX
================================ */
.hero-parallax {
  min-height: 90vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(27, 36, 58, 0.65)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 0.4rem;
}

.hero-content h1 span {
  color: var(--accent);
}

/* Reused parallax class */
.parallax {
  min-height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ===============================
   SECTION LAYOUT
================================ */
section {
  max-width: 1100px;
  margin: auto;
  padding: 90px 20px;
}

.title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 40px;
}

.title span {
  color: var(--gold);
}

/* ===============================
   FEATURE CARDS (Why Choose Us, Our Approach, Where We Operate)
================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

#our-approach .grid,
#where-we-operate .grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.card h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
}

.card h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.card p {
  font-size: 16px;
  color: var(--text-gray);
  margin: 0;
}

/* ===============================
   PRODUCTS / PROJECTS SECTION
================================ */
#products .title {
  text-align: center;
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 50px;
}

#products .cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

#products .card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

#products .card .parallax {
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#products .card .pad {
  padding: 60px;
}

#products .card h4 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

#products .card p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* White rows (odd) */
#products .card:nth-child(odd) {
  background: #ffffff;
  border: 1px solid #f0e2b8;
}

#products .card:nth-child(odd) h4 {
  color: var(--gold);
}

/* Gold rows (even) */
#products .card:nth-child(even) {
  background: linear-gradient(135deg, #f6e3a1, #c9a44a);
  color: #000000;
  grid-template-columns: 1fr 1.2fr;
}

#products .card:nth-child(even) h4 {
  color: var(--dark);
}

#products .card:nth-child(even) .parallax {
  order: 2;
}

#products .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* ===============================
   GOLD BAND
================================ */
.gold-band {
  background: linear-gradient(135deg, #f6e3a1, #c9a44a);
  color: #000000;
  padding: 100px 20px;
}

/* ===============================
   FOOTER
================================ */
footer {
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* ===============================
   RESPONSIVE (MOBILE)
================================ */
@media (max-width: 900px) {
  nav {
    padding: 15px 20px;
  }

  nav img {
    height: 70px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  /* Hamburger Menu */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 8px 12px;
  }

  .hamburger span {
    height: 3px;
    width: 26px;
    background: #ffffff;
    margin: 4px 0;
    border-radius: 2px;
  }

  nav .menu {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-right: 0;
  }

  nav .menu.active {
    display: flex;
  }

  nav .menu a {
    margin: 15px 0;
    font-size: 18px;
  }

  /* Product Cards - Stack vertically on mobile */
  #products .card {
    grid-template-columns: 1fr;
  }

  #products .card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  #products .card:nth-child(even) .parallax {
    order: 0;
  }

  #products .card .parallax {
    min-height: 280px;                    /* Better visibility */
    background-size: cover !important;    /* Critical fix - was 'contain' */
    background-position: center;
    background-repeat: no-repeat;
  }

  #products .card .pad {
    padding: 40px 30px;
    text-align: center;
  }

  section {
    padding: 70px 20px;
  }

  .gold-band {
    padding: 80px 20px;
  }
}