/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Arial", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0.5em 0;
}

/* Header Section with Parallax Effect */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-content {
  z-index: 3;
  color: #fff;
  padding: 0 20px;
  text-align: center;
  max-width: 700px; /* Max width to keep it centered */
}

.header-title {
  font-family: "Cursive", sans-serif;
  font-size: 5em; /* Large title for desktop */
  font-weight: bold;
  color: #f8a5c2; /* Soft pink color */
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7); /* More prominent shadow */
  margin-bottom: 20px;
}

.header-subtitle {
  font-size: 1.8em;
  font-weight: 300;
  color: #fff;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.cta-button {
  padding: 18px 35px;
  background-color: #f8a5c2; /* Soft pink color */
  color: #fff;
  border-radius: 25px;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #f67280; /* Slightly darker pink */
  transform: scale(1.1);
}

/* Video Background with Parallax Effect */
.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.background-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: blur(3px); /* Apply blur effect to the video */
}

/* Parallax Animation */
@keyframes parallax {
  0% {
    transform: translateY(-50%) scale(1.1);
  }
  50% {
    transform: translateY(0) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1.1);
  }
}

/* Responsive Adjustments */

/* For devices with a max width of 1024px (Tablets and smaller) */
@media (max-width: 1024px) {
  .header {
    height: 80vh; /* Reduce height for smaller devices */
  }

  .header-title {
    font-size: 4em; /* Adjust font size for tablets */
    letter-spacing: 3px;
  }

  .header-subtitle {
    font-size: 1.5em; /* Adjust font size for tablets */
  }

  .cta-button {
    font-size: 1.1em; /* Slightly smaller CTA button for tablets */
  }
}

/* For devices with a max width of 768px (Mobile Phones) */
@media (max-width: 768px) {
  .header {
    height: 60vh; /* Further reduce height for mobile */
  }

  .header-title {
    font-size: 2.5em; /* Smaller font size for mobile */
    letter-spacing: 2px;
  }

  .header-subtitle {
    font-size: 1.2em; /* Smaller subtitle for mobile */
  }

  .cta-button {
    padding: 15px 30px; /* Smaller padding for mobile CTA */
    font-size: 1em; /* Adjust font size for mobile */
  }

  /* Optional: Adjust video for better mobile view */
  .background-video {
    filter: blur(2px); /* Slightly reduce the blur for mobile */
  }

  .header-content {
    max-width: 90%; /* Increase width on mobile for better layout */
  }
}

/* Services Section with Hover Animations */
.services {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.services .section-title {
  font-size: 2.5em; /* Large font size for desktop */
  margin-bottom: 30px;
  color: #f8a5c2;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-item {
  margin: 20px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  width: 30%; /* Three items per row on desktop */
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
}

.service-item i {
  font-size: 3em;
  margin-bottom: 10px;
  color: #f8a5c2;
  transition: transform 0.3s ease;
}

.service-item:hover i {
  transform: rotate(20deg); /* Animate icon rotation */
}

.service-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #333;
}

/* Responsive Adjustments */

/* For devices with a max width of 1024px (Tablets and smaller) */
@media (max-width: 1024px) {
  .services .section-title {
    font-size: 2.2em; /* Slightly smaller title for tablets */
  }

  .services-container {
    justify-content: center; /* Center services on tablet */
  }

  .service-item {
    width: 45%; /* Two items per row on tablets */
    margin: 15px;
    padding: 25px; /* Reduce padding for better spacing */
  }

  .service-item i {
    font-size: 2.5em; /* Smaller icon size for tablets */
  }

  .service-item h3 {
    font-size: 1.6em; /* Adjust title font size */
  }
}

/* For devices with a max width of 768px (Mobile Phones) */
@media (max-width: 768px) {
  .services .section-title {
    font-size: 1.8em; /* Smaller title for mobile */
  }

  .services-container {
    justify-content: center; /* Center services on mobile */
  }

  .service-item {
    width: 80%; /* One item per row on mobile */
    margin: 15px 0; /* Reduce margin between items */
    padding: 20px; /* Adjust padding for mobile */
  }

  .service-item i {
    font-size: 2em; /* Adjust icon size for mobile */
  }

  .service-item h3 {
    font-size: 1.4em; /* Smaller title font size */
  }
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    #ffb6c1,
    #f08080
  ); /* Soft pink gradient */
  color: #fff;
  font-family: "Arial", sans-serif; /* Elegant sans-serif font */
  animation: fadeIn 1.5s ease-in-out;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
}

.contact h1 {
  font-size: 3.5rem; /* Larger heading for prominence */
  font-family: "Cursive", sans-serif; /* A cursive-style font to give a nail salon feel */
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.2rem;
  margin: 10px 0;
  line-height: 1.5;
}

.contact-info {
  margin-top: 30px;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 5px 0;
  font-weight: bold;
}

.cta-button {
  padding: 15px 30px;
  background-color: #ff69b4; /* Bright pink */
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ff1493; /* Darker pink when hovering */
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Main Flex Container */
.form-map-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  margin: 50px auto;
  padding: 0 20px;
  max-width: 1200px;
}

/* Contact Form Styling */
.form-container {
  flex: 1;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

form h2 {
  margin-bottom: 20px;
  color: #f8a5c2;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  width: 100%;
  background: #f8a5c2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #f67280;
}

/* Contact Details & Map */
.map-details-container {
  flex: 1;
  max-width: 500px;
}

.contact-details {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
  margin-bottom: 15px;
  color: #f8a5c2;
}

.contact-details ul {
  list-style: none;
  line-height: 2;
}

#map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#map {
  width: 100%;
  height: 100%;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .form-map-container {
    flex-direction: column;
    align-items: center;
  }

  .form-container,
  .map-details-container {
    width: 100%;
    max-width: 90%;
  }
}

/* Pricing Section */
.pricing {
  background: linear-gradient(
    135deg,
    #f8a5c2,
    #f67280
  ); /* Gradient background */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pricing-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  width: 22%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.pricing-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.pricing-box:hover .pricing-image {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.pricing-box h3 {
  color: #f8a5c2;
  font-size: 2em;
  margin: 15px 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.price {
  font-size: 2.5em;
  font-weight: bold;
  color: #f67280;
  margin-bottom: 15px;
}

.pricing-box p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 20px;
}

.pricing-button {
  padding: 12px 25px;
  background-color: #f8a5c2;
  color: #fff;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pricing-button:hover {
  background-color: #f67280;
  transform: scale(1.1);
}

/* Responsive Adjustments */

/* For devices with a max width of 1024px (Tablets and smaller) */
@media (max-width: 1024px) {
  .pricing-container {
    gap: 20px; /* Slightly reduced gap for tablet */
  }

  .pricing-box {
    width: 48%; /* Adjust width to allow two boxes per row */
    padding: 30px; /* Reduced padding for better spacing on tablets */
  }

  .pricing-box h3 {
    font-size: 1.8em; /* Slightly smaller title for tablet */
  }

  .price {
    font-size: 2em; /* Adjust price font size for tablet */
  }

  .pricing-box p {
    font-size: 1em; /* Adjust paragraph text size for tablet */
  }

  .pricing-button {
    font-size: 1em; /* Adjust button font size for tablet */
  }
}

/* For devices with a max width of 768px (Mobile Phones) */
@media (max-width: 768px) {
  .pricing-container {
    gap: 15px; /* Reduced gap for mobile */
  }

  .pricing-box {
    width: 100%; /* Full width for each pricing box on mobile */
    padding: 20px; /* Reduced padding for mobile */
    margin-bottom: 20px; /* Spacing between the boxes */
  }

  .pricing-box h3 {
    font-size: 1.6em; /* Smaller heading font size on mobile */
  }

  .price {
    font-size: 2em; /* Adjust price font size for mobile */
  }

  .pricing-box p {
    font-size: 1em; /* Adjust paragraph text size for mobile */
  }

  .pricing-button {
    font-size: 1em; /* Adjust button font size for mobile */
  }
}

/* Gallery Section */
.gallery {
  padding: 50px 20px;
  text-align: center;
  background-color: #f5f5f5;
}

.gallery-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-item {
  width: 30%;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Adjustments */

/* For devices with a max width of 1024px (Tablets and smaller) */
@media (max-width: 1024px) {
  .gallery-item {
    width: 45%; /* Adjust width to fit two items per row on tablet */
  }
}

/* For devices with a max width of 768px (Mobile Phones) */
@media (max-width: 768px) {
  .gallery-item {
    width: 100%; /* Full width for each gallery item on mobile */
    margin-bottom: 20px; /* Add space between the stacked items */
  }
}

/* FAQ Section */
.faq {
  background-color: #f8f8f8; /* Light background for contrast */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Styling the FAQ Item */
.faq-item {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.faq-item.open {
  background-color: #f8a5c2; /* Highlight background color */
  color: #fff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.faq-answer {
  display: none; /* Initially hidden */
  font-size: 1.2em;
  color: #555;
  margin-top: 15px;
  padding-left: 20px;
  font-weight: 300;
  line-height: 1.6;
  transition: max-height 0.5s ease-out, padding 0.3s ease-out;
  max-height: 0;
  padding: 0;
}

.faq-item.open .faq-answer {
  display: block;
  max-height: 500px; /* Adjust based on your content */
  padding: 15px; /* Adjust padding if necessary */
}

.faq-icon {
  font-size: 1.6em;
  color: #f8a5c2;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg); /* Rotates the icon when open */
}

/* Smooth transition for the FAQ items */
.faq-item {
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
}

.faq-question {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  font-size: 1.2em;
  color: #555;
  margin-top: 15px;
  padding-left: 20px;
  font-weight: 300;
  line-height: 1.6;
}

.faq-icon {
  font-size: 1.6em;
  color: #f8a5c2;
  transition: transform 0.3s ease;
}
.faq-item .faq-answer {
  display: none; /* Hidden by default */
}
.faq-item.open .faq-answer {
  display: block; /* Show when the item is open */
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open {
  background-color: #f8a5c2; /* Highlight background when open */
  color: #fff;
}

/* Optionally animate the answer */
.faq-answer {
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  max-height: 0;
  padding: 0;
}
.faq-item.open .faq-answer .faq-item.open .faq-answer {
  max-height: 500px; /* Adjust based on your content */
  padding: 15px; /* Adjust padding if necessary */
}

/* Floating Bubbles Animation */
.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.2) 10%,
      transparent 20%
    )
    repeat;
  animation: bubbleAnimation 10s linear infinite;
  z-index: 0;
}

@keyframes bubbleAnimation {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Bubble circles */
.faq .bubble {
  position: absolute;
  background-color: rgba(255, 192, 203, 0.4); /* Soft pink */
  border-radius: 50%;
  animation: bubbleMove 10s ease-in-out infinite;
}

.faq .bubble-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.faq .bubble-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 30%;
  animation-delay: 3s;
}

.faq .bubble-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 20%;
  animation-delay: 6s;
}

.faq .bubble-4 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 50%;
  animation-delay: 9s;
}

@keyframes bubbleMove {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.2);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* FAQ Container adjustments to stay on top of background */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

/* Special Offers Section */
.offers {
  padding: 50px 20px;
  text-align: center;
  background-color: #f5f5f5;
}

.offer-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}
