/* === GLOBAL THEME VARIABLES === */
:root {
  --color-bg: #111;              /* Deep charcoal background */
  --color-section-bg: #181818;   /* Slightly lighter for sections */
  --color-accent: #ff6600;       /* Brand orange */
  --color-accent-dark: #e65500;
  --color-white: #f6f6f6;        /* Light text */
  --color-gray: #999;            /* Secondary text */
  --color-light-gray: #ccc;
  --color-shadow: rgba(0,0,0,0.5);
  --font-primary: "Poppins", sans-serif;
}


/* === GLOBAL RESET === */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}
/* === CSS Code for Top Nav Bar HEADER WRAPPER === */
.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* smaller header */
  background: linear-gradient(90deg, #0d0d0d, #1a1a1a 70%, #ff6600 130%);
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.2);
  border-bottom: 1px solid rgba(255, 102, 0, 0.3);
  /* background-color: var(--color-section-bg); */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* === CSS Code for BRAND SECTION (Logo + Name) === */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* === CSS Code for LOGO === */
.company-logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}
/* Hover effect on logo */
.company-logo:hover {
  transform: scale(1.05);
}

/* === CSS Code for COMPANY NAME === */
.company-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
/* Hover effect on company name */
.company-name:hover {
  color: var(--color-accent-dark);
}



/* === DESKTOP NAVIGATION === */
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: 5%;
  flex-wrap: nowrap;
}

.nav-item {
  text-decoration: none;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  
}

/* underline hover effect */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-item:hover::after {
  width: 100%;
  box-shadow: 0 0 8px var(--color-accent);
}

.nav-item:hover {
  color: var(--color-accent);
}

/* === CALL NOW BUTTON === */
.callnow {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: 0.3s;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
}

.callnow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 102, 0, 0.6);
}


/* === CSS Code for Hamburger for DropDown Menu  === */
/* === HAMBURGER ICON === */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
  margin-right: 5%;
}
.bar1, .bar2, .bar3 {
  width: 26px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.4s ease;
}

/* === Hamburger Open Animation === */
/* === HAMBURGER MENU ICON === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.bar1, .bar2, .bar3 {
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  transition: 0.4s;
}

/* open animation */
.hamburger.open .bar1 {
  transform: translateY(8px) rotate(-45deg);
}
.hamburger.open .bar2 {
  opacity: 0;
}
.hamburger.open .bar3 {
  transform: translateY(-8px) rotate(45deg);
}

/* === MOBILE DROPDOWN MENU === */
.dropdown-menu {
 list-style: none;
  padding: 12px 20px;
  margin: 0;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 5%;
  min-width: 150px;
  z-index: 2000;
  background: var(--color-section-bg);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.dropdown-menu.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--color-light-gray);
  font-size: 1.0rem;
  font-weight: 500;
  transition: color 0.3s;
}

/* ===== Mobile dropdown menu highlight on hover/tap ===== */
.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
    /* background: linear-gradient(90deg, #25f5e3, #007bff); gradient highlight */
    color: var(--color-accent);                                         /* text color white */
    border-radius: 6px;                                  /* smooth edges */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 4️⃣ Section styling for consistency */
section {
  padding: 80px 10%;
  background-color: var(--color-section-bg);
  border-top: 1px solid rgba(255, 102, 0, 0.1);
}

section:nth-of-type(even) {
  background-color: #141414;
}

h2.section-title {
  color: var(--color-accent);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
}

h2.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}



/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .company-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .company-name {
    font-size: 1.1rem;
  }
}
  .dropdown-menu li a:hover {
    background: linear-gradient(90deg, #25f5e3, #007bff);
  }

@media (max-width: 450px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .company-name {
    font-size: 1.1rem;
  }
}



/* === ANIMATIONS === */
/* 5️⃣ Fade-in animation for dropdown */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile dropdown menu hover/tap highlight */
.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: linear-gradient(90deg, #25f5e3, #007bff);
    color: var(--color-accent);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}
