/* hide logo */
.header-left{
  display: none;
}
/* ================== Global Reset & Base ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #ccc;
  padding-top: 120px;
  width: 100%;
  overflow-x: hidden;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ================== Header ================== */
header {
  background-color: #c00;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  flex-wrap: wrap;
  overflow-x: hidden;
}
.header-left img {
  height: 45px;
}
.header-center {
  font-size: 1.6rem;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.header-right a.whatsapp i {
  font-size: 28px;
  color: #25D366;
  transition: 0.3s ease;
}
.header-right a.whatsapp i:hover {
  text-shadow: 0 0 8px #25D366, 0 0 12px #25D366;
  transform: scale(1.2);
}

/* ================== Navigation ================== */
nav {
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  flex-wrap: wrap;
  transition: none;
  overflow-x: hidden;
}
nav a {
  color: #fff;
  padding: 10px 16px;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}
nav a:hover {
  background-color: #900;
}

/* ================== Mobile Menu ================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  background: #fff;
  height: 3px;
  margin: 4px 0;
  width: 25px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    left: 100%;
    top: 65px;
    height: calc(100vh - 65px);
    padding-top: 120px;
  }

  nav.show-nav {
    left: 0;
  }

  nav a {
    width: 80%;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    border-top: 1px solid #222;
  } 
  
}

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 10px;
  }
  .header-center {
    position: static;
    transform: none;
    margin: 10px 0;
  }
  .header-right {
    justify-content: center;
    margin-top: 10px;
    font-size: 0.75rem;
  }
  .header-left img {
    height: 38px;
  }


/* ================== Social Icons ================== */
.social-icons {
  margin: 15px 0;
}
.social-icons a {
  margin: 0 10px;
  font-size: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.social-icons a.facebook {
  color: #1877f2;
}
.social-icons a.instagram {
  color: #e1306c;
}
.social-icons a.whatsapp {
  color: #25D366;
}
.social-icons a:hover {
  transform: scale(1.4);
  filter: brightness(150%) drop-shadow(0 0 6px currentColor);
}

/* ================== Hero Sections ================== */
.hero-home,
.hero-immo,
.hero-track,
.hero-dash,
.hero-smart,
.hero-about,
.hero-contact {
  position: relative;
  padding: 120px 20px 80px;
  min-height: 550px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-home {
  background: linear-gradient(to bottom right, rgba(20,11,11,0.8), rgba(161,155,155,0.6)),
              url('images/garage/vw2.jpg') center/cover no-repeat;
}
.hero-immo {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(60,0,0,0.4)),
              url('images/immobiliser/immo1.webp') center/cover no-repeat;
}
.hero-track {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,60,0,0.4)),
              url('images/trackers/bmw1.jpg') center/cover no-repeat;
}
.hero-dash {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,60,0.3)),
              url('images/Dashcam/Dashcam.png') center/cover no-repeat;
}
.hero-smart {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(60,0,60,0.3)),
              url('images/Alarms/S9.png') center/cover no-repeat;
}
.hero-about {
  background: linear-gradient(to bottom right, rgba(80,0,0,0.8), rgba(255,0,0,0.6)),
              url('images/hero-bg.jpg') center/cover no-repeat;
  animation: heroMove 30s ease-in-out infinite alternate;
}
.hero-contact {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(80,80,80,0.5)),
              url('images/contact/contact-bg.jpg') center/cover no-repeat;
}
.hero-home h1,
.hero-immo h1,
.hero-track h1,
.hero-dash h1,
.hero-smart h1,
.hero-about h1,
.hero-contact h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-home p,
.hero-immo p,
.hero-track p,
.hero-dash p,
.hero-smart p,
.hero-about p,
.hero-contact p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 20px;
}
.hero-home button,
.hero-about button,
.hero-contact button {
  background-color: #007bff;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.hero-home button:hover,
.hero-about button:hover,
.hero-contact button:hover {
  background-color: #cc0000;
}
@keyframes heroMove {
  to {
    background-position: top right;
  }
  /* mobile reduce hero*/
  
}
@media (max-width: 768px) {
  .hero-home,
  .hero-immo,
  .hero-track,
  .hero-dash,
  .hero-smart,
  .hero-about,
  .hero-contact {
    padding: 60px 15px 40px;
    min-height: 350px;
    background-size: contain; /* makes image fully visible without cropping */
    background-position: center top;
  }

  .hero-home h1,
  .hero-immo h1,
  .hero-track h1,
  .hero-dash h1,
  .hero-smart h1,
  .hero-about h1,
  .hero-contact h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero-home p,
  .hero-immo p,
  .hero-track p,
  .hero-dash p,
  .hero-smart p,
  .hero-about p,
  .hero-contact p {
    font-size: 1rem;
    max-width: 90%;
    margin-bottom: 12px;
  }

  .hero-home button,
  .hero-about button,
  .hero-contact button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* ================== Features / Sections ================== */
section, .features, .packages, .contact-form-container {
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 1200px;
}
.flex-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.flex-section.reverse {
  flex-direction: row-reverse;
}
.section-text p, .section-text ul,
.hero-home-col p, .package h3, .hero-about p,
.feature-item p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
.hero-home-col ul, .section-text ul {
  padding-left: 20px;
  margin-bottom: 1.2rem;
}
.hero-home-col li, .section-text li {
  margin-bottom: 0.75rem;
}
.packages {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
}
.package {
  background-color: #1a1a1a;
  padding: 20px;
  text-align: center;
  border: 1px solid #333;
  border-radius: 6px;
}
.package h3 {
  color: #c00;
  margin-bottom: 10px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.feature-item {
  background-color: #222;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
}
.feature-item h3 {
  color: #ff5555;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* section imm track dash  to reduce size */

@media (max-width: 768px) {
  .flex-section,
  .flex-section.reverse {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .section-img img {
    max-width: 100%;
    height: auto;
  }

  .section-text {
    max-width: 100%;
  }

  .section-text h2 {
    font-size: 1.5rem;
  }

  .section-text p,
  .section-text ul {
    font-size: 1rem;
  }

  .section-text ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

/* ================== Contact Form ================== */
.contact-form-container {
  background-color: rgba(0,0,0,0.6);
  border-radius: 10px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #555;
  border-radius: 6px;
  background-color: #222;
  color: #fff;
  font-size: 1rem;
}
.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button:hover {
  background-color: rgb(224, 14, 14);
}

/* ================== Footer ================== */
footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* ================== Responsive Adjustments ================== */
@media (max-width: 900px) {
  .hero-main-title {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }
  .hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .hero-content, .flex-section {
    flex-direction: column;
  }
  .hero-col {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }
  .hero-about button {
    width: 100%;
    padding: 18px 0;
    font-size: 1.2rem;
  }
}
/* nav back to desktop*/

@media (min-width: 769px) {
  nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: 45px;
    flex-direction: row;
    justify-content: center;
    padding-top: 0;
    left: 0 !important;
    top: 65px !important;
    z-index: 999;
  }

  nav.show-nav {
    left: 0 !important;
  }

  nav a {
    width: auto;
    text-align: initial;
    font-size: 1.2rem;
    border-top: none;
  }
}


/* header back to destop*/
@media (min-width: 769px) {
  header {
    flex-direction: row;
    align-items: center;
    text-align: initial;
    height: 65px;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .header-left {
    flex: 1;
  }

  .header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    flex: none;
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
  }

  .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    font-size: 0.85rem;
  }

  .header-left img {
    height: 45px;
  }
}
