/* ==== BASE STYLES ==== */
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #ffffff;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==== NAVIGATION ==== */
/* (Same as your UI/UX CSS) */
.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #ff0066;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
}

.horizontal-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: #000;
  z-index: 1000;
  border-bottom: 1px solid #222;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  overflow-x: visible;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.horizontal-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  white-space: nowrap;
}

.menu-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffffff;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 3px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

.menu-link:hover::after,
.menu-link.active::after {
  width: 100%;
}

.menu-link:hover,
.menu-link.active {
  color: #ee01df;
}

@media (max-width: 768px) {
  .horizontal-menu { display: none; }
}

/* Dropdown (desktop) */
.dropdown { position: relative; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #000;
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  padding: 0; margin: 0;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dropdown.open .dropdown-content {
  display: flex;
  visibility: visible;
  opacity: 1;
}
.dropdown-content li { width: 100%; }
.dropdown-content li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #fff;
}
.dropdown-content li a:hover {
  background: #111;
}
.arrow {
  font-size: .6em;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Mobile menu */
.mobile-menu-button,
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
    position: fixed;
    top: 1rem; right: 1rem;
    background: #000;
    color: #fff;
    border: none;
    padding: .5rem 1rem;
    font-size: 1.2rem;
    z-index: 1000;
    cursor: pointer;
  }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 3.5rem; right: 0;
    background: #000;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
  }
  .mobile-menu.show { display: block; }

  .mobile-menu ul {
    list-style: none;
    margin: 0; padding: 0;
  }
  .mobile-menu li {
    padding: .75rem 1.5rem;
    border-top: 1px solid #000;
  }
  .mobile-menu a {
    color: #fff;
    font-size: 1.1rem;
    display: block;
  }
  .mobile-menu li.dropdown .dropdown-content {
    position: static;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    margin: 0 1rem 3rem 2rem;
    background: #6c6a6a;
    border-radius: 4px;
  }
  .dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    padding: .5rem 1rem  .5rem 22px;
    display: flex;
    align-items: center;
  }
  .dropdown-toggle .arrow { color: #fff; font-size: .9rem; margin-left: .5rem; }
  .dropdown-toggle:hover { color: #ee01df; }
  .dropdown-toggle:hover .arrow { color: #ee01df; }
  .mobile-menu .arrow {
    float: right;
    transition: transform 0.3s ease;
    margin-left: .5rem;
    font-size: .8rem;
  }
  .mobile-menu li.dropdown.open > ul.dropdown-content {
    display: block;
  }
  .mobile-menu li.dropdown.open > a .arrow {
    transform: rotate(180deg);
  }
}

/* ==== HEADER (animated) ==== */
.animated-header {
  position: relative;
  background: #212121 url('images/Maintenance background image.jpg') no-repeat center/cover;
  padding: 80px 20px 40px;
  text-align: center;
  overflow: hidden;
}
.animated-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 10px;
}
.animated-header p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 40px;
}
.slide-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 250px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide-left,
.slide-right {
  position: absolute;
  opacity: 0;
  width: 25%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}
.slide-left img,
.slide-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@keyframes slideInOutLeft {
  0%,100% { transform: translateX(-120%); opacity: 0; }
  25%,75% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInOutRight {
  0%,100% { transform: translateX(120%); opacity: 0; }
  25%,75% { transform: translateX(0); opacity: 1; }
}
.slide-left {
  left: 5%;
  animation: slideInOutLeft 20s infinite ease-in-out;
}

.slide-right {
  right: 5%;
  animation: slideInOutRight 20s infinite ease-in-out;
}
@media (max-width: 768px) {
  .slide-left,
  .slide-right {
    top: -40px; /* move up */
    transform: translateY(-40px);
    width: 40%;
    position: absolute;
  }
}
/*intro section*/
.intro-section {
  background: #f5f5f5;
  padding: 80px 5%;
  text-align: center;
}
.intro-section h1 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 20px;
}
.intro-section p {
  font-size: 1.2rem;
  color: #3c3c3c;
  max-width:s 800px;
  margin: 0 auto;
}

/* Maintenance sections (same alternating layout) */
.service-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  gap: 40px;
  flex-wrap: wrap;
}
.service-section:nth-child(even) {
  flex-direction: row-reverse;
  background-color: #e9e7e7cf;
}
.service-section img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}
.service-section .content {
  flex: 1;
  min-width: 300px;
}
.service-section .content h2 {
  font-size: 2rem;
  color: #0000ff;
  margin-bottom: 20px;
}
.service-section .content p {
  font-size: 1.1rem;
  color: #000000;
}

/* Contact block */
.contact-block {
  background: #080808;
  padding: 80px 5%;
  text-align: center;
  color: #fff;
}
.contact-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 40px;
  display: block;
}
.contact-block h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.contact-block a {
  background: #fff;
  color: #ff0066;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  margin-top: 20px;
  transition: background 0.3s ease;
}
.contact-block a:hover {
  background: #f5f5f5;
}

/* Responsive service section */
@media (max-width: 768px) {
  .service-section {
    flex-direction: column;
    text-align: center;
  }
  .service-section img { max-width: 100%; }
  .service-section .content { padding-top: 20px; }
}

/* Footer */
footer {
  text-align: center;
  padding: 0.5em;
  background: #eee;
  color: #000;
}
