/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  height: 175px;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
}

/* ✅ Logo on the left */
.logo img {
  height: 200px;
  width: auto;
}

/* ✅ Opening time in center (hide on mobile) */
.opening-time {
  flex-grow: 1;
  text-align: center;
}

.opening-time p {
  font-size: 30px;
  font-weight: bold;
  color: #0057b4;
  white-space: nowrap;
  font-family: "Arial Black", Arial, sans-serif;
}

/* Nav container */
.nav-links {
  display: flex;
  align-items: center;
}

/* Reset ul and li */
.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

/* Main nav links */
.nav-links ul li {
  position: relative; /* for dropdown positioning */
}

/* Links style */
.nav-links ul li a {
  color: #007bff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Hover color */
.nav-links ul li a:hover {
  color: #0056b3;
}

/* Dropdown menu (hidden by default) */
.nav-links ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* below the parent */
  left: 0;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 10px 0;
}

/* Show dropdown on hover */
.nav-links ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown items */
.nav-links ul li .dropdown-menu li {
  margin: 0;
}

/* Dropdown links */
.nav-links ul li .dropdown-menu li a {
  padding: 10px 20px;
  display: block;
  color: #007bff;
  font-weight: 500;
  font-size: 16px;
}

/* Dropdown links hover */
.nav-links ul li .dropdown-menu li a:hover {
  background-color: #e7f0ff;
  color: #0056b3;
}


/* ✅ Hamburger hidden by default */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* ========== Mobile Nav (slide-in from right) ========== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #f8f8f8;
    box-shadow: -3px 0 8px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    flex-direction: column;
    padding-top: 80px;
    z-index: 9999;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-links ul {
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }

  .nav-links ul li {
    width: 100%;
  }

  .nav-links ul li a {
    display: block;
    font-size: 20px;
    padding: 12px 0;
    width: 100%;
  }

  .hamburger {
    display: block;
    z-index: 10000;
    position: relative;
  }

  /* Ensure dropdowns work in mobile too */
  .nav-links ul li .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 10px;
    background: none;
    display: none;
  }

  .nav-links ul li.dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-links ul li .dropdown-menu li a {
    font-size: 18px;
    padding: 8px 0;
  }
}


/* section 1 - Hero Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 40px;
  gap: 10px;
  background-image: url('background2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-wrap: nowrap;
  /* Keep in one line */
  height: 650px;
}

.hero-left {
  flex: 0 0 65%;
  /* fixed 65% width */
  max-width: none;
  height: 450px;
  background: linear-gradient(90deg,
      rgba(18, 11, 83, 0.85) 0%,
      /* deeper dark blue */
      rgba(54, 100, 155, 0.75) 100%
      /* lighter blue */
    );
  padding: 40px 35px;
  border-radius: 15px;
  text-align: center;
  color: white;
  margin-right: 10px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  margin: 0 0 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}

.hero-left h2 {
  margin: 0 0 25px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #e0e0ff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-left p {
  font-size: clamp(16px, 2vw, 24px);
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  color: #d1d9ff;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
  text-shadow: 0 0 5px rgba(0, 0, 50, 0.4);
}



.hero-right {
  flex: 0 0 30%;
  /* fixed 30% width */
  min-width: unset;
  /* reset min-width */
  text-align: center;
  margin-left: 0;
  /* remove margin, no need */
  box-sizing: border-box;
}

.hero-right img {
  width: 100%;
  /* fill the container width */
  height: auto;
  animation: floatImage 3s ease-in-out infinite;
  max-height: 450px;
  /* match hero-left height */
  object-fit: contain;
}

/* ✅ Responsive: header + section */
@media (max-width: 966px) {
  .opening-time {
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero-right {
    display: none;
  }
}

/* Mobile Layout Fixes */
@media (max-width: 709px) {
  .main-header {
    flex-direction: row;
    justify-content: space-between;
    height: 150px;
    align-items: center;
  }

  .logo {
    order: 1;
  }

  .logo img {
    height: 150px;
    width: auto;
  }

  .hamburger {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links button {
    margin: 10px 0;
    width: 100%;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    height: 500px;
  }

  .hero-left {
    height: 300px;
  }

  .hero-left,
  .hero-right {
    flex: unset;
    width: 100%;
  }

  .hero-left h1,
  .hero-left h2 {
    padding-top: 100px;
    font-size: 50px;
  }

  .hero-left p {
    color: transparent;
    /* hide original text */
    position: relative;
  }

  .hero-left p::after {
    content: "Trusted, professional & reliable";
    position: absolute;
    left: 0;
    top: 0;
    color: #d1d9ff;
    /* same color as paragraph text */
    width: 100%;
    text-align: center;
    line-height: 1.6;
    font-family: "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: clamp(16px, 2vw, 24px);
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.cleaning-services {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 40px;
  background-color: #f0f4ff;
  /* light, clean background */
  flex-wrap: wrap;
}

.service-item {
  flex: 1 1 30%;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 50, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 50, 0.15);
}

.service-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #12396b;
  margin-bottom: 12px;
}

.service-item p {
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

/* Responsive for smaller screens */
@media (max-width: 900px) {
  .cleaning-services {
    flex-direction: column;
    padding: 40px 20px;
  }

  .service-item {
    flex: unset;
    width: 100%;
    margin-bottom: 30px;
  }

  .service-item:last-child {
    margin-bottom: 0;
  }
}

.about-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 50, 0.1);
  object-fit: cover;
}

.about-content {
  flex: 1 1 50%;
  text-align: left;
}

.about-content h2 {
  font-size: 32px;
  color: #122063;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
}

.about-content p {
  font-size: 18px;
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }

  .about-content {
    text-align: center;
  }
}

.service-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.service-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-box {
  flex: 1 1 300px;
  max-width: 300px;
  background: linear-gradient(135deg, #2a52be, #1e40af);
  border-radius: 15px;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 50, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 50, 0.3);
}

.service-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-box:hover .service-image img {
  transform: scale(1.05);
}

.service-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 0; /* no description so no need for bottom margin */
  color: #f0f0f0;
}


.service-content p {
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #d1d9ff;
  padding: 0 10px;
}

/* Responsive: stack services vertically on small screens */
@media (max-width: 800px) {
  .service-container {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    max-width: 90%;
    width: auto;
  }

  .service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.contact-follow-section {
  background-color: #1a1a5e; /* Dark blue tone */
  color: #d1d9ff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.contact-follow-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

/* Menu Column */
.menu {
  flex: 1 1 200px;
  text-align: left;
}

.menu h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.menu ul {
  list-style: none;
  padding-left: 0;
}

.menu ul li {
  position: relative; /* make parent <li> relative */
}

.menu ul > li > a {
  color: #a3b1ff;
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.menu ul li .dropdown-menu {
  display: none;
  position: absolute;  /* overlay positioning */
  top: 100%;           /* just below the parent li */
  left: 0;
  background-color: #1a1a5e; /* match footer bg or choose */
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  min-width: 180px;
  z-index: 10;          /* ensure on top */
}

.menu ul li.dropdown:hover .dropdown-menu {
  display: block;
}

.menu ul li .dropdown-menu li {
  margin-bottom: 8px;
}

.menu ul li .dropdown-menu li:last-child {
  margin-bottom: 0;
}

.menu ul li .dropdown-menu li a {
  display: block;
  color: #a3b1ff;
  font-size: 16px;
}

.menu ul li .dropdown-menu li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Follow Us column */
.follow-us {
  flex: 1 1 150px;
  text-align: left;
}

.follow-us h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Social links vertical */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  color: #a3b1ff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact Info */
.contact-info {
  flex: 1 1 250px;
  text-align: left;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-info p {
  margin: 8px 0;
  font-size: 18px;
}

.contact-info a {
  color: #a3b1ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .contact-follow-section .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .menu,
  .follow-us,
  .contact-info {
    text-align: center;
  }

  .menu ul {
    padding-left: 0;
  }
  
  /* Dropdown stays functional on mobile if needed */
  .menu ul li.dropdown:hover .dropdown-menu,
  .menu ul li.dropdown:focus-within .dropdown-menu {
    display: none; /* Disable dropdown on mobile for simplicity */
  }
}



.main-footer {
  background-color: #120b53; /* dark blue matching hero */
  color: #d1d9ff;
  padding: 25px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.1);
}

.main-footer a {
  color: #a3b1ff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.main-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.services-area {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.services-area h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #1e3799;
}

.services-area .description {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.service-locations {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.service-locations li {
  background: #1e3799;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}
