/* Color palette and global variables */
:root {
  --primary-color: #EAEAEA;
  --accent-color: #bb8E3D;
  --button-color: #c8bc63;
  --button-hover: #af995d;
  /* Main text colour: dark plum to avoid pure black */
  --text-color: #231F20;
}

/* Global styles */
body {
  font-family: 'Tajawal', 'Montserrat', sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
}
h1, h2 {
  color: var(--accent-color);
}
/* Remove border/box highlight on mobile + bootstrap focus ring */
button.navbar-toggler,
button.navbar-toggler:focus,
button.navbar-toggler:active,
button.navbar-toggler:focus-visible {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Mobile tap highlight (iOS/Android) */
button.navbar-toggler {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}



/* Increase size of service summary images */
#services-summary .card-img-top {
  max-height: 350px;
  object-fit: cover;
}

/* Price colour for packages and pricing cards */
.package-price {
  color: var(--button-color);
}

/* Customize accordion for FAQ to use light pink instead of default blue */
.accordion-button:not(.collapsed) {
  background-color: var(--accent-color);
  color: var(--text-color);
  box-shadow: none;
}
.accordion-button {
  border-radius: 25px;
  padding: 1rem;
  background-color: #ffffff;
  color: var(--text-color);
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  background-color: #fffafc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}


.hero-section {
  position: relative;
  height: 100vh; /* أو أي ارتفاع بدك ياه */
}

.carousel-indicators {
  bottom: 30px;

}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}


/* New service item layout for treatments page */

.service-item {
  position: relative;
  height: 70vh;
    width: 50vw;      /* نصف عرض الشاشة */
  margin: 0 auto 3rem auto; /* توسيط أفقي + مسافة تحت */

  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  background-size: cover;
  background-position: center;
  color: var(--text-color);
}
.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 236, 200, 0.55);
  z-index: 1;
}
.service-item .service-content {
  position: relative;
  z-index: 2;
  max-width: 70%;
  text-align: center;
}

.card-img-top {
  height: 300px;        /* الطول ثابت */
  width: 100%;          /* العرض يملى الكرت */
  object-fit: cover;    /* قص ذكي بدون تشويه */
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.02); /* يصغر شوي */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-img {
  border-radius: 25px;   /* تدوير الحواف */
  display: block;
  margin: 0 auto;        /* توسيط أفقي */
    transition: transform 0.4s ease;

}
.carousel-indicators [data-bs-target] {
  background-color:  var(--accent-color); /* زهري */
  opacity: 0.6;}

.carousel-indicators .active {
  background-color: var(--primary-color); /* زهري غامق */
  opacity: 1;
}


/* Table styling customisation */
/* Custom table header styling for pricing table */
.table thead th {
  background-color: var(--accent-color) !important;
  color: var(--text-color) !important;
  border: none;
}

/* Footer redesign */
footer {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding-top: 2rem;
  padding-bottom: 2rem;
}
footer .footer-col {
  margin-bottom: 1rem;
}
footer .footer-col h5 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-col ul li {
  margin-bottom: 0.5rem;
}
footer .footer-col ul li a {
  color: var(--text-color);
  text-decoration: none;
}
footer .footer-col ul li a:hover {
  text-decoration: underline;
}
footer .social-icons a {
  font-size: 1.6rem;
  margin: 0 0.3rem;
  color: var(--text-color);
  transition: color 0.3s;
}
footer .social-icons a:hover {
  color: var(--button-color);
}

/* Contact info links styling */
.contact-info a {
  color: var(--button-color);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Override navbar toggle button to fit colour palette */
.navbar .btn-outline-dark,
.navbar .btn-outline-dark:focus {
  border-color: #fff;
  color: #fff;
}
.navbar .btn-outline-dark:hover {
  background-color: var(--button-color);
  border-color: var(--button-color);
  color: #fff;
}

/* Invert toggler icon to make it visible on coloured navbar */
.navbar-light .navbar-toggler-icon {
  filter: invert(1);
}

/* Navbar */
.navbar {
  font-size: 1rem;
  background-color: var(--accent-color) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

/* Hover and active states for nav links */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--button-color) !important;
}
.navbar .navbar-toggler {
  border-color: var(--text-color);
}

/* Hero section */
.hero-section {
  height: 80vh;
  position: relative;
  overflow: hidden;
  color: white;
}
.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.hero-section .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Cards */
.card {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}
.card-img-top,
.card img {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.service-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
.testimonial-card {
  background-color: #ffffff;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  background-color: var(--button-color);
  border-color: var(--button-color);
  border-radius: 25px;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--button-hover);
  border-color: var(--button-hover);
}

/* Outline primary buttons matching colour palette */
.btn-outline-primary {
  color: var(--button-color);
  border-color: var(--button-color);
  border-radius: 25px;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--button-color);
  border-color: var(--button-color);
  color: #fff;
}

/* Images */
img {
  border-radius: 25px;
}

/* Ensure images in hero carousel cover container */
.object-fit-cover {
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: var(--text-color);
  font-size: 0.9rem;
}
footer a {
  color: var(--text-color);
  text-decoration: none;
}
footer .social-icons a {
  font-size: 1.4rem;
  margin: 0 0.5rem;
  color: var(--text-color);
}