/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: url('color-year-purple-tones-abstract-landscape-with-fantasy-aesthetic.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  padding-top: 90px;
}

/* Header */
header {
  background: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  gap: 0.6rem;
  color: white;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 45px;
  width: 45px;
  object-fit: contain;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: linear-gradient(to right, #a10da6, #e464eb);
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Responsive Header/Nav */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
  }

  nav {
    position: relative;
    width: 100%;

  }

  .menu-toggle {
    display: block;
    
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem 0;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.8rem 0;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo img {
    height: 60px;
    width: 60px;
  }
}

/* Services Detail Section */
.services-detail {
  padding: 3rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}

.services-detail h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #111;
}

.service-item {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h2 {
  color: #9308a2;
  margin-bottom: 0.5rem;
}

.service-item p {
  margin-bottom: 1rem;
}

.service-item ul {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.service-item li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.price {
  font-weight: bold;
  color: #111;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  background: linear-gradient(to right, #a10da6, #e464eb);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(161, 13, 166, 0.3);
  margin-right: 10px;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #e464eb, #a10da6);
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.open {
  display: flex;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  max-height: 80%;
  overflow-y: auto;
  text-align: center;
  position: relative;
}

.popup-content .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #a10da6;
  border-radius: 30px;
}

#popup-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.img-box {
  width: 200px;
  text-align: center;
}

.img-box img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  color: white;
  margin-top: 2rem;
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
  .services-detail {
    padding: 2rem 1rem;
  }

  .btn {
    display: inline-block;
    margin-top: 1rem;
  }
}
