/* === Google Font Import - Poppins === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgb(255, 255, 255);
}

:root {
    --swiper-navigation-size: 24px; /* Set your desired size */
}

/* Video Background Section */
.video-background {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header Container */
.header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3; /* Ensure header is above the Spline object */
    padding: 20px 0; /* Add some padding */
}

/* Header Styling */
header {
    width: 1140px;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto; /* Center the header */
    height: 50px;
    align-items: center;
}

header .logo {
    font-weight: bold;
    color: white; /* Ensure logo is visible */
}

header nav a {
    margin-left: 30px;
    text-decoration: none;
    color: white; /* Ensure links are visible */
    font-weight: 500;
}

/* Content Overlay */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Explore Fields Button */
.content .btn {
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
    background-color: #7d2ae8; /* Primary color */
    color: white;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block; /* Ensure the button behaves like a block element */
}

.content .btn:hover {
    background-color: #6616d0; /* Darker shade on hover */
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.content .btn:active {
    transform: translateY(0); /* Reset lift effect when clicked */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Smaller shadow when clicked */
}

/* Carousel Section */
.carousel-section {
  position: relative;
  width: 100%;
  padding: 50px 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 100%;
  max-width: 950px;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  height: 400px;
  margin: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
}

.card .image {
  height: 160px;
  width: 180px;
  border-radius: 20%;
  padding: 3px;
  background: #7d2ae8;
  margin-top: 30px;
}

.card .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20%;
  border: 3px solid #fff;
}

.card .name-profession {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  color: black;
}

.name-profession .name {
  font-size: 20px;
  font-weight: 600;
}

.name-profession .profession {
  font-size: 15px;
  font-weight: 500;
}

.card .rating {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.card .rating i {
  font-size: 18px;
  margin: 0 2px;
  color: #7d2ae8;
}

.card .button {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.card .button button {
  background: #7d2ae8;
  outline: none;
  border: none;
  color: #fff;
  padding: 8px 22px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button button:hover {
  background: #6616d0;
}

.swiper-pagination {
  position: absolute;
  top: 450px;
}

.swiper-pagination-bullet {
  height: 7px;
  width: 26px;
  border-radius: 25px;
  background: white;
}

.swiper-button-next,
.swiper-button-prev {
  opacity: 0.7;
  color: #6616d0;
  transition: all 0.3s ease;
  font-size: 24px !important; /* Force smaller icon size */
  width: 40px !important; /* Force smaller width */
  height: 40px !important; /* Force smaller height */
  background-color: rgb(255, 255, 255); /* Optional: Add a background */
  border-radius: 50%; /* Optional: Make the buttons circular */
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  color: white;
  background-color: rgba(0, 0, 0, 0.7); /* Optional: Darker background on hover */
}

/* Gallery Section */
.gallery-section {
  position: relative;
  width: 100%;
  padding: 50px 0;
  background: #ffffff;
    display: flex
;;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallerySwiper {
  width: 100%;
  max-width: 950px;
}

.album-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 250px;
  text-align: center;
}

.album-thumbnail img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.album-info {
  padding: 15px;
}

.album-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.album-info button {
  background: #7d2ae8;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.album-info button:hover {
  background: #6616d0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #000;
  z-index: 1001; /* Ensure it's above other elements */
}

.close:hover {
  color: #666;
}

.modalSwiper {
  width: 100%;
  height: 400px;
}

.modalSwiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}









/* Booking Modal Styles */
#bookingModal .modal-content {
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 90%;
  max-width: 400px; /* Smaller modal width */
  margin: 10% auto; /* Center the modal */
  text-align: center;
}

#bookingModal h2 {
  font-size: 1.5rem;
  color: #7d2ae8;
  margin-bottom: 15px;
}

#bookingModal label {
  font-size: 1rem;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

#bookingModal input[type="date"],
#bookingModal input[type="time"],
#bookingModal select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  color: #333;
}

#bookingModal input[type="submit"] {
  background: #7d2ae8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#bookingModal input[type="submit"]:hover {
  background: #6616d0;
}

#bookingModal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

#bookingModal .close:hover {
  color: #333;
}



.booking-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.booking-item:last-child {
    border-bottom: none;
}








/* Profile Modal Styling */
#profileModal .modal-content {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 90%;
  max-width: 400px; /* Smaller modal width */
  margin: 10% auto; /* Center the modal */
  text-align: center;
  animation: fadeIn 0.3s ease-in-out; /* Fade-in animation */
}

#profileModal h2 {
  font-size: 1.5rem;
  color: #7d2ae8;
  margin-bottom: 15px;
}

#profileModal p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}


#profileModal a {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none; /* Remove underline from links */
  text-align: center;
}



#profileModal a.btn-primary {
  background: #7d2ae8;
  color: white;
}

#profileModal a.btn-primary:hover {
  background: #6616d0;
}

#profileModal a.btn-secondary {
  background: #4caf50;
  color: white;
}

#profileModal a.btn-secondary:hover {
  background: #45a049;
}

#profileModal a.btn-danger {
  background: #f44336;
  color: white;
}

#profileModal a.btn-danger:hover {
  background: #e53935;
}





#profileModal button {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#profileModal #editProfileButton {
  background: #7d2ae8;
  color: white;
}

#profileModal #editProfileButton:hover {
  background: #6616d0;
}

#profileModal #viewOrdersButton {
  background: #4caf50;
  color: white;
}

#profileModal #viewOrdersButton:hover {
  background: #45a049;
}

#profileModal #logoutButton {
  background: #f44336;
  color: white;
}

#profileModal #logoutButton:hover {
  background: #e53935;
}

/* Orders Modal Styling */
#ordersModal .modal-content {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 90%;
  max-width: 800px; /* Wider modal for orders */
  margin: 5% auto; /* Center the modal */
  animation: fadeIn 0.3s ease-in-out; /* Fade-in animation */
}

#ordersModal h2 {
  font-size: 1.5rem;
  color: #7d2ae8;
  margin-bottom: 15px;
}

#ordersList {
  max-height: 400px; /* Scrollable content */
  overflow-y: auto;
  padding: 10px;
}

#ordersList table {
  width: 100%;
  border-collapse: collapse;
}

#ordersList th,
#ordersList td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#ordersList th {
  background: #7d2ae8;
  color: white;
}

#ordersList tr:nth-child(even) {
  background: #f9f9f9;
}

#ordersList tr:hover {
  background: #f1f1f1;
  transition: background 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Edit Profile Section */
.edit-profile-section {
    padding: 50px 20px;
    background: #f9f9f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.form-container h2 {
    font-size: 1.8rem;
    color: #7d2ae8;
    margin-bottom: 20px;
}

.form-container .alert {
    margin-bottom: 20px;
}

.form-container .form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
}

.form-container .btn-primary {
    background: #7d2ae8;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-container .btn-primary:hover {
    background: #6616d0;
}







/* Contact Section */
.contacts {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.contacts h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contacts p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.contact-details {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details div {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.contact-details div strong {
    color: #333;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: #7d2ae8;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #6616d0;
}

/* === Mobile Responsive Styles === */
@media (max-width: 768px) {
  :root {
    --swiper-navigation-size: 20px; /* Smaller size for mobile */
  }

  header .logo,
  header nav a {
    color: white; /* Change to black for mobile view */
  }

  .contacts h2 {
    font-size: 2rem;
  }

  .contacts p {
    font-size: 1rem;
  }

  .contact-details div {
    font-size: 0.9rem;
  }

  .social-icons a {
    font-size: 1.2rem;
  }

  .content h1 {
    font-size: 2.5rem;
  }

  .content p {
    font-size: 1rem;
  }

  .content .btn {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }

  .swiper {
    width: 100%;
    padding: 0 10px;
  }

  .card {
    height: 350px;
    margin: 15px 0;
    width: 90%;
  }

  .card .card-content {
    padding: 20px;
  }

  .card .image {
    height: 120px;
    width: 120px;
    margin-top: 20px;
  }

  .card .name-profession .name {
    font-size: 18px;
  }

  .card .name-profession .profession {
    font-size: 14px;
  }

  .card .rating i {
    font-size: 16px;
  }

  .card .button button,
  .card .button a.hireMe {
    padding: 8px 16px;
    font-size: 12px;
  }

  .swiper-pagination {
    top: 370px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
    font-size: 20px !important; /* Force smaller size for mobile */
    width: 10px !important; /* Force smaller width for mobile */
    height: 30px !important; /* Force smaller height for mobile */
  }

  .gallery-section {
    padding: 30px 0;
  }

  .album-card {
    width: 100%;
    max-width: 300px;
  }

  .album-thumbnail img {
    height: 180px;
  }

  .album-info h3 {
    font-size: 16px;
  }

  .album-info button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .card {
    height: 320px;
  }

  .card .image {
    height: 120px;
    width: 150px;
  }

  .card .name-profession .name {
    font-size: 16px;
  }

  .card .name-profession .profession {
    font-size: 12px;
  }

  .card .rating i {
    font-size: 14px;
  }

  .card .button button,
  .card .button a.hireMe {
    padding: 6px 12px;
    font-size: 11px;
  }

  .swiper-pagination {
    top: 340px;
  }

  .album-card {
    max-width: 100%;
  }

  .album-thumbnail img {
    height: 150px;
  }

  .album-info h3 {
    font-size: 14px;
  }

  .album-info button {
    padding: 6px 12px;
    font-size: 12px;
  }
}