/* General styling */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fff8f4;
  color: #333;
}

header {
  background-color: #ffe6ea;
  color: #2a2a2a;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(
      rgba(255, 192, 203, 0.6),
      rgba(255, 192, 203, 0.3)
    ),
    url("https://images.unsplash.com/photo-1610130387422-b8f3e00c8a58?auto=format&fit=crop&w=1050&q=80")
      no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  margin-bottom: 1rem;
}

.hero-banner h2 {
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Navigation */
nav {
  background-color: #ff4081;
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
  margin: 0 15px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}

nav a:hover {
  color: #ffebee;
  text-decoration: underline;
}

/* Sections */
section {
  background-color: #fffdfd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 2rem auto;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: #c2185b;
  margin-bottom: 1.5rem;
}

/* Services */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.card {
  background: #fff0f5;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  font-weight: bold;
  font-size: 1rem;
  width: 150px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card span {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-slider {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-slider img {
  width: 220px;
  border-radius: 10px;
  opacity: 0.4;
  transition: 0.5s ease;
}

.gallery-slider img.active {
  opacity: 1;
  border: 2px solid #c2185b;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #c2185b;
  margin: 1rem auto;
  max-width: 700px;
  padding-left: 1rem;
  color: #555;
  background-color: #fff1f5;
  border-radius: 5px;
}

/* Contact */
iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 1rem;
}

/* Buttons */
.call-button,
.whatsapp-button {
  display: inline-block;
  margin: 1rem;
  padding: 0.8rem 1.8rem;
  background-color: #c2185b;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.call-button:hover,
.whatsapp-button:hover {
  background-color: #a3154e;
}

/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 0.5rem 1rem;
  background: #c2185b;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #ffdee3;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .card {
    width: 100%;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .gallery-slider {
    flex-direction: column;
    align-items: center;
  }

  .hero-banner {
    padding: 2rem 1rem;
  }

  .call-button,
  .whatsapp-button {
    width: 80%;
    text-align: center;
  }
}

/* Theme Switcher Button */
.theme-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
}

#themeToggle {
  padding: 0.5rem 1rem;
  background-color: #c2185b;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#themeToggle:hover {
  background-color: #a3154e;
}

/* Dark Mode Theme */
body.dark-mode {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

body.dark-mode header {
  background-color: #333;
  color: #fff;
}

body.dark-mode nav {
  background-color: #444;
}

body.dark-mode nav a {
  color: #ddd;
}

body.dark-mode section {
  background-color: #2a2a2a;
  box-shadow: none;
}

body.dark-mode .card {
  background-color: #3a3a3a;
  color: #eee;
}

body.dark-mode blockquote {
  border-left: 4px solid #ff4081;
  background-color: #2e2e2e;
}

body.dark-mode .call-button,
body.dark-mode .whatsapp-button,
body.dark-mode #backToTop {
  background-color: #ff4081;
}

body.dark-mode footer {
  background-color: #333;
  color: #aaa;
}

/* Modern Toggle Switch */
.theme-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #c2185b;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px;
  color: white;
  font-size: 1.1rem;
}

.switch input:checked + .slider {
  background-color: #444;
  justify-content: flex-end;
}

.slider .icon {
  transition: transform 0.3s ease;
}

.switch input:checked + .slider .icon {
  transform: rotate(180deg);
}

/* Smooth Theme Transition */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

section,
header,
footer,
nav {
  transition: background-color 0.4s ease, color 0.4s ease;
}

#appointment form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

#appointment input,
#appointment select,
#appointment button {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#appointment button {
  background-color: #c2185b;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#appointment button:hover {
  background-color: #a3154e;
}
