/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #fffdf9; /* soft cream background */
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo img {
  height: 60px;
  border-radius: 8px;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-links li a:hover {
  color: #3fd9ff;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #3fd9ff, #005c72); /* Teal gradient */
  color: white;
  padding: 4rem 2rem;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* Hero Left */
.hero-left h1 {
  font-size: 2.5rem;
  font-weight: 400;
}

.hero-left h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: gold; /* gold for elegance */
  margin-bottom: 1rem;
}

.hero-left p {
  margin-bottom: 1rem;
  max-width: 500px;
}

.hero-buttons {
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-right: 1rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Owner Card */
.owner {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.owner-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  margin-bottom: 0.5rem;
}

.owner-caption {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.owner-name {
  font-weight: bold;
  font-size: 1.2rem;
}

.features {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Right */
.hero-right {
  display: grid;
  gap: 1rem;
}

.sample {
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

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

/* ---------------- Services Page ---------------- */

/* Page Wrapper */
body.watermark {
  background: #fffdf9;
  color: #222;
  padding: 2rem;
}

/* Section Title */
h2 {
  text-align: center;
  font-size: 2rem;
  color: #005c72; /* same teal as hero */
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Services Form */
form#servicesForm {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
}

/* Service Options */
#dynamicServices label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f9fb;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#dynamicServices label:hover {
  background: #e6faff;
  border-color: #3fd9ff;
}

/* Checkbox styling */
#dynamicServices input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
}

/* Totals */
#totalTime,
#totalPrice {
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
}

/* Continue Button */
form#servicesForm button {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, #3fd9ff, #005c72);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  margin-top: 1.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.3s ease;
}

form#servicesForm button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #005c72, #3fd9ff);
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  background: black;
  color: white;
  font-size: 0.9rem;
}

#backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparent overlay */
  z-index: 5; /* behind the navbar links */
}

#backdrop.show {
  display: block;
}

/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* Backdrop */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h3 {
  margin-top: 0;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.timeslot.partially-selected {
  background: #ffeb3b;
  color: #000;
}
.selected-day {
  background: #ffe599 !important;
}

.hidden {
  display: none !important;
}




/* Fade-in Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




/* Mobile Styles */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left h2 {
    font-size: 2.5rem;
  }

  .hero-right {
    grid-template-columns: 1fr 1fr;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: black;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .navbar-links.open {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hero-right {
    grid-template-columns: 1fr;
  }

  .calendar {
    grid-template-columns: repeat(3, 1fr);
  }
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

    .gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .gallery-item img { height: 180px; }

}
