/* Reset + Base */
:root {
    --primary-color: #c89ba3;      /* blush pink */
    --secondary-color: #b49b8a;    /* warm beige */
    --accent-color: #819784;       /* sage green */
    --background-color: #f8f5f3;   /* off-white */
    --text-color: #5c5454;
    --card-bg: #ffffff;
    --primary-hover: #a97584;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color:  var(--primary-color);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: #6f6d6d;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary-hover);
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem;
  }
}

/* Hero Section (Landing Banner) */
.hero {
  position: relative;
  height: 100vh;
  background: url('./images/background.jpg') center/cover no-repeat; /*change background image here, only url*/
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 60px 60px;       
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.65);
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2rem;
  color:  var(--primary-color);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding: 0 20px 40px;
  }

  .hero-content {
    text-align: center;
  }
}

.btn {
  background-color:  var(--primary-color);
  color: var(--card-bg);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(182, 143, 199, 0.3);
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
}

.btn:hover {
  background-color: var(--primary-hover);
}

/* Section base styles */
section {
  padding: 80px 20px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* About Section (Clinic Introduction) */
.about-section {
  padding: 60px 20px;
  background-color: var(--background-color); 
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.about-text {
  flex: 1;
  color: #333;
  padding: 40px;
  min-width: 300px;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image on the right */
.about-image {
  flex: 1;
  background-color: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Treatments Section */
.treatments-section {
  padding: 60px 20px;
  background-color: var(--background-color);
}

.treatment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.treatment-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.card p {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 12px;
}

.card-link {
  display: inline-block;
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s;
  margin-top: auto;
}

.card-link:hover {
  color: var(--primary-hover);
}

.price-range {
  font-weight: bold;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Gallery*/
.gallery-section {
  background-color: var(--card-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/*Testimonials */

.testimonials-section {
  background-color: var(--card-bg);
  padding: 60px 20px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial {
  background-color: var(--background-color);
  padding: 25px;
  border-radius: 12px;
  font-style: italic;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}
.testimonial span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

/*Booking form*/
.booking-section {
  background-color: var(--background-color);
  padding: 60px 20px;
  text-align: center;
}

.booking-form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booking-form input,
.booking-form textarea {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fff;
  resize: none;
}

.booking-form button {
  align-self: center;
  border: none;
  cursor: pointer;
}

/*FAQ*/
.faq-section {
  background-color: var(--card-bg);
  padding: 60px 20px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-hover);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
  font-size: 0.85rem;
  color: var(--text-color);
}

.faq-item.active .faq-answer {
   max-height: 500px;
   margin-bottom: 15px;
}

.faq-answer p {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.faq-item.active .faq-answer p {
  opacity: 1;
}

.arrow {
  transition: transform 0.3s;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/*Footer*/
.footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.footer a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

/*booking button*/
@keyframes bounceIn {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  60% {
    transform: translateY(-10px);
    opacity: 1;
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

.fixed-booking-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.3s ease;
}

.fixed-booking-btn.show {
  opacity: 1;
  pointer-events: auto;
  animation: bounceIn 0.6s ease forwards;
}

.fixed-booking-btn:hover {
  background-color: var(--primary-hover);
}

/*laser-hair removal page*/
.clean-hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 60px 60px;
  color: #333;
}

.clean-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.clean-hero .hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 500px;
}

.clean-treatment {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.clean-treatment h2,
.clean-treatment h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 60px 0 20px;
  font-weight: 600;
}

.clean-treatment p {
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 25px;
}

.clean-treatment ul {
  list-style: none;
  padding-left: 0;
}

.clean-treatment ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-color);
}

.clean-treatment ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.centered-btn {
  text-align: center;
  margin-top: 60px;
}

.pricing-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* soft, clean line */
  padding-bottom: 20px;

}

/*dropdown*/
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: #6f6d6d;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}

.dropdown-toggle:hover {
  color: var(--primary-hover);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  z-index: 999;
  min-width: 220px;
  padding: 12px 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 30px;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 20px;
    gap: 20px;
  }

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

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-menu.show {
    display: block;
    margin-top: 8px;
  }

  .dropdown-toggle {
    text-align: left;
    width: 100%;
  }
}

/*menu*/
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 30px;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 20px;
    gap: 20px;
  }

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

/*Booking page*/
.booking-page {
  padding: 100px 20px 60px;
  background-color: var(--background-color);
  min-height: 100vh; /* ✅ Fixes collapsing layout */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.booking-section h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-wrapper {
  background-color: #f4eaed; /* soft pink */
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(182, 143, 199, 0.08);
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  font-weight: 500;
  text-align: left;
  color: var(--text-color);
}

form input,
form select,
form textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

form textarea {
  resize: none;
}

form button.btn {
  align-self: center;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(182, 143, 199, 0.3);
  transition: background-color 0.3s ease;
  width: 230px;
}

form button.btn:hover {
  background-color: var(--primary-hover);
}

.booking_btns {
  display: flex;
  justify-content: center;
  gap: 50px;
}

form select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-color);
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23819784" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
}

/* Tablet layout: improve form width and layout spacing */
@media (min-width: 768px) and (max-width: 1024px) {
  .booking-page {
    padding: 60px 40px;
    align-items: center;
  }

  .booking-section {
    max-width: 90%;
  }

  .form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 40px;
  }

  form {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  form label,
  form input,
  form select,
  form textarea {
    width: 100%;
  }

  .booking_btns {
    width: 100%;
    justify-content: flex-start;
  }

  form button.btn {
    width: auto;
    padding: 12px 32px;
  }
}

/*success message*/
.success-message {
  display: none;
  text-align: center;
  padding: 40px;
  background-color: #fbeff3;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(182, 143, 199, 0.1);
  animation: fadeIn 0.5s ease-out forwards;
  margin-top: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


