/* ========================= */
/* RESET */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: block;
  color: #fff;
  background: #000;
  padding-top: 85px; /* match your header height */
}

/* ========================= */
/* CONTAINER SYSTEM (IMPORTANT FIX) */
/* ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ========================= */
/* HEADER */
/* ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #0b0b0b;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 120px;
  width: auto;
}

/* MOBILE LOGO POSITION */
@media (max-width: 768px) {
  .logo-img {
    height: 120px;
    width: auto;
    position: relative;
    right: -8px;   /* move slightly right */
    top: 4px;      /* move slightly down */
  }
}

/* TABLET LOGO POSITION */
@media (max-width: 1024px) {

  .logo-img {
    height: 120px;
    width: auto;
    position: relative;
    right: -20px;
    top: 4px;
  }

}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.nav a:hover {
  color: #D4AF37;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #111;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 999;
}

.dropdown-menu a {
  padding: 12px 15px;
  font-size: 13px;
  color: #fff;
}

.dropdown-menu a:hover {
  background: #D4AF37;
  color: #000;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* =========================
   TABLET NAV
========================= */
@media (max-width: 1024px) {


  .nav a {
    font-size: 13px;
  }

  .dropdown-menu {
    min-width: 180px;
  }

  .dropdown-menu a {
    padding: 10px 14px;
    font-size: 12px;
  }

}

/* =========================
   FOOTER BASE (MODERN)
========================= */
.footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 100px 0 30px;
}

/* =========================
   GRID LAYOUT (IMPORTANT)
   3-column premium structure
========================= */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 2fr 1.5fr;
  gap: 60px;
  align-items: start;
}

/* =========================
   HEADINGS
========================= */
.footer h3 {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
  position: relative;
}

/* GOLD ACCENT LINE */
.footer h3::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #D4AF37;
  display: block;
  margin-top: 10px;
  opacity: 0.9;
}

/* =========================
   COMPANY NAME
========================= */
.footer-company {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* =========================
   TEXT
========================= */
.footer p {
  font-size: 14px;
  line-height: 1.8;
  color: #999;
}

/* =========================
   LINKS
========================= */
.footer a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.footer a:hover {
  color: #D4AF37;
  transform: translateX(3px);
}

/* =========================
   CONTACT LINKS
========================= */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   BOTTOM BAR
========================= */
.footer-bottom {
  text-align: center;
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #666;
}

/* =========================
   MOBILE FOOTER
========================= */
@media (max-width: 768px) {

  .footer {
    padding: 70px 25px 25px;
    text-align: left;
    transform: translateX(-8px); /* shift everything slightly left */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .footer h3::after {
    margin-top: 10px;
  }

  .footer p {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer a {
    justify-content: flex-start;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer a:hover {
    transform: none;
  }

  .links-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-links {
    align-items: flex-start;
    gap: 12px;
  }

  .contact-links a {
    justify-content: flex-start;
  }

  .footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    font-size: 12px;
    text-align: left;
  }

}

@media (max-width: 768px) {

  .footer .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-links,
  .contact-links a {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-bottom {
    padding-left: 25px;
    text-align: left;
  }

}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 70px 0 20px;
  }
}

.scroll-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  background: #D4AF37;
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 999;
}

.scroll-top:hover {
  background: #b8962e;
  transform: translateY(-3px);
}

/* ========================= */
/* HAMBURGER (DEFAULT HIDDEN) */
/* ========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ========================= */
/* MOBILE NAV CONTROL */
/* ========================= */
@media (max-width: 768px) {

   .header .container {
    width: 100%;
    max-width: 100%;
    padding: 0 0; /* IMPORTANT */
  }

  .nav {
    left: 0;
    right: 0;
  }

  .dropdown-menu {
    width: 100vw;   /* KEY FIX */
    left: 0;
    right: 0;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    left: -20px;
  }

  .nav {
    position: absolute;
    top: 120px; /* LOWER the nav because logo is bigger */
    left: 0;
    width: 100%;
    background: #0b0b0b;

    flex-direction: column;
    align-items: center;

    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;

    display: flex;
  }

  .nav.active {
    max-height: 500px;
    padding: 15px 0;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown > a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;

    display: flex;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(10px); /* lower dropdown */
    pointer-events: none;

    transition: max-height 0.3s ease,
                opacity 0.2s ease,
                transform 0.2s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    transform: translateY(15px); /* dropdown opens lower */

    pointer-events: auto;
  }

}

/* =========================
   TABLET RESPONSIVE
========================= */
@media (max-width: 1024px) {

  .footer {
    padding: 80px 20px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer p,
  .footer a {
    font-size: 14px;
  }

}
