:root {
  --primary-color: #007bff;
  --primary-light: #52aaff;
  --primary-dark: #0056b3;
  --accent-color: #ffc107;
  --text-dark: #2c3e50;
  --text-light: #34495e;
  --bg-light: #f8f9fa;
  --bg-dark: #232931;
  --white: #ffffff;
  --light-gray: #ecf0f1;
  --border-color: #dfe4ea;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --header-bg: var(--white);
  --main-bg-color: var(--bg-light);
  --main-text-color: var(--text-light);
  --card-bg: var(--white);
  --review-card-bg: var(--white);
  --news-bg: #232931;
  --news-item-bg: #34495e;
  --footer-bg: #212121;
  --footer-text-color: var(--light-gray);
  --hero-color: var(--white);
  --link-color: #6a6a6a;
  --icon-color: #929292;
}

body.dark-mode {
  --primary-color: #7986cb;
  --primary-light: #aab6fe;
  --primary-dark: #49599a;
  --accent-color: #ffca28;
  --text-dark: #e0e0e0;
  --text-light: #bdbdbd;
  --bg-light: #303030;
  --bg-dark: #212121;
  --white: #ffffff;
  --light-gray: #e0e0e0;
  --border-color: #424242;
  --shadow-color: rgba(255, 255, 255, 0.1);
  --header-bg: #424242;
  --main-bg-color: #303030;
  --main-text-color: #bdbdbd;
  --card-bg: #424242;
  --review-card-bg: #424242;
  --news-bg: #212121;
  --news-item-bg: #303030;
  --footer-bg: #212121;
  --footer-text-color: #bdbdbd;
  --hero-color: var(--white);
  --link-color: #e0e0e0; /* Darker background, so links should be light */
  --icon-color: #e0e0e0; /* Darker background, so icons should be light */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  margin-bottom: 0.8em;
  line-height: 1.2;
  transition: color 0.3s ease;
}

h1 {
  font-size: 2.8em;
}

h2 {
  font-size: 2.2em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.4em;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.section-padding {
  padding: 80px 0;
  text-align: center;
}

.section-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2em;
  color: var(--main-text-color);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--light-gray);
}

.bg-dark h3,
.bg-dark p {
  color: var(--light-gray);
}

.main-header {
  background-color: var(--header-bg);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}

.logo {
  font-size: 1.7em;
  font-weight: 700;
}

.logo-content {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
  background-color: var(--primary-light);
  color: var(--hero-color);
  padding: 150px 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('car5.jpg') no-repeat center center/cover;
}

body.dark-mode .hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('car5.jpg') no-repeat center center/cover;
}

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

.hero-content h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--hero-color);
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content h4 {
  font-size: 1.1em;
  font-weight: 500;
  color: var(--hero-color);
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--hero-color);
}

.hero-content .btn {
  margin: 0 10px;
}

.boast-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 25px 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boast-text {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.services-section .section-title {
  color: var(--text-dark);
}

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

.service-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-align: left;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-item h4 {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: var(--text-dark);
}

.service-item p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.service-item.payment-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 2px solid var(--primary-color);
}

.service-item.payment-info-box p {
  font-size: 1.1em;
  font-weight: 500;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  text-align: left;
}

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

.about-image img {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.news-section {
  background-color: var(--news-bg);
}

.news-section .section-title,
.news-section .section-subtitle {
  color: var(--white);
}

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

.news-item {
  background-color: var(--news-item-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dark-mode .news-item {
  border-color: #424242;
}

.news-item h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.news-item p {
  color: var(--light-gray);
  font-size: 0.9em;
}

.news-date {
  font-style: italic;
  font-size: 0.8em;
  color: var(--accent-color);
  margin-top: auto;
}

.booking-section {
  background-color: var(--bg-light);
}

.booking-section .container {
  max-width: 1000px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.booking-form-container,
.booking-map-container {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--card-bg);
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  border: 1px solid var(--white);
}

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

.form-group .input-note {
  font-size: 0.8em;
  color: var(--text-light);
  margin-top: 5px;
}

.booking-form-container .btn {
  width: 100%;
}
/* Styling for the Terms & Conditions checkbox text and layout */
.form-check-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-group label {
    display: inline-flex;
    align-items: flex-start;
    font-size: 0.85rem;
    white-space: nowrap;
    line-height: 1.5;
}

.form-check-group a {
    font-size: 0.85rem;
}

/* --- New CSS for Form Validation Error Message --- */
.form-validation-error {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: 1px solid var(--primary-dark);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.form-validation-error i {
    color: var(--primary-dark);
    margin-right: 5px;
    font-size: 1.1em;
}

body.dark-mode .form-validation-error {
    color: #2c3e50;
    border-color: #ffca28;
}

.setmore-button-container {
  text-align: center;
  margin-top: 20px;
}

.setmore-button-container img {
  display: inline-block;
  max-width: 250px;
}

.reviews-container-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

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

.review-card {
  background-color: var(--review-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: center;
}

.review-star-rating {
  color: var(--accent-color);
  margin-right: 15px;
}

.review-star-rating .fa-star {
  font-size: 1.2em;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1em;
}

.review-description {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 15px;
}

.trustpilot-widget {
  margin-top: 50px;
}

.faq-section {
  background-color: var(--bg-light);
}

.faq-search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
}

#faq-search-bar {
  width: 100%;
  padding: 15px 50px 15px 20px;
  font-size: 1em;
  border: 2px solid var(--border-color);
  border-radius: 999px;
  background-color: var(--card-bg);
  color: var(--text-dark);
  transition: all 0.3s ease;
  margin-bottom: 0;
}

#faq-search-bar:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 15px;
  color: var(--text-light);
  pointer-events: none;
}

#show-all-btn,
#show-less-btn {
  display: block;
  margin: 20px auto 0;
}

#show-less-btn {
  display: none;
}

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

.faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.faq-item h4 {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1.2em;
}

.faq-item p {
  color: var(--text-light);
  font-size: 1em;
}

.faq-item.hidden {
  display: none;
}

.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  padding: 60px 0 20px;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2em;
}

.footer-grid ul {
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul li a {
  color: var(--footer-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid ul li a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

/* --- Contact Section Styles (Unified) --- */
.direct-contact-container {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.direct-contact-container h4 {
  font-size: 1.5em;
  color: var(--text-dark); /* Ensure it respects Dark Mode via h4 inheritance, or set directly for clarity */
  margin-bottom: 30px;
}

body.dark-mode .direct-contact-container h4 {
  color: var(--text-dark); /* Explicitly set to dark mode H4 color */
}

.direct-contact-container .contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-item .contact-link,
.contact-item .whatsapp-link,
.footer-contact .contact-link,
.footer-contact .whatsapp-link {
  font-size: 1.1em;
  font-weight: 500;
  color: var(--link-color); /* Uses link color variable */
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.contact-item .contact-link:hover,
.contact-item .whatsapp-link:hover,
.footer-contact .contact-link:hover,
.footer-contact .whatsapp-link:hover {
  color: var(--primary-color);
}

.contact-item .contact-link i,
.contact-item .whatsapp-link i,
.footer-contact .contact-link i,
.footer-contact .whatsapp-link i {
  color: var(--icon-color); /* Uses icon color variable */
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.contact-item .contact-link:hover i,
.contact-item .whatsapp-link:hover i,
.footer-contact .contact-link:hover i,
.footer-contact .whatsapp-link:hover i {
  color: var(--primary-color);
}

.contact-item .copy-btn,
.footer-contact .copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--icon-color);
  font-size: 1.1em;
  padding: 5px;
  transition: color 0.3s ease;
}

.contact-item .copy-btn:hover,
.footer-contact .copy-btn:hover {
  color: var(--primary-color);
}

.contact-item .whatsapp-link .fab.fa-whatsapp,
.footer-contact .whatsapp-link .fab.fa-whatsapp {
  color: #25d366; /* WhatsApp brand color - kept consistent */
  font-size: 1.2em;
}

.contact-item .whatsapp-link span,
.footer-contact .whatsapp-link span {
  font-weight: normal;
  color: var(--link-color);
}

.contact-item .whatsapp-link:hover span,
.footer-contact .whatsapp-link:hover span {
  color: var(--primary-color);
}

.contact-item .whatsapp-link .arrow-icon,
.footer-contact .whatsapp-link .arrow-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--link-color);
  margin-left: 8px;
  transition: border-left-color 0.3s ease;
}

.contact-item .whatsapp-link:hover .arrow-icon,
.footer-contact .whatsapp-link:hover .arrow-icon {
  border-left-color: var(--primary-color);
}
/* --- End Contact Section Styles (Unified) --- */

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
}

.mode-toggle-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

#mode-label {
  font-size: 1em;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.dark-mode #mode-label {
  color: var(--light-gray);
}

#mode-toggle {
  display: none;
}

.mode-toggle {
  width: 50px;
  height: 25px;
  background-color: var(--light-gray);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px var(--shadow-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.mode-toggle .slider {
  position: absolute;
  content: '';
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.mode-toggle .sun-icon,
.mode-toggle .moon-icon {
  position: absolute;
  font-size: 14px;
  transition: opacity 0.3s ease, z-index 0s ease;
  z-index: 1;
}

.mode-toggle .sun-icon {
  left: 5px;
  color: var(--accent-color);
  opacity: 1;
}

.mode-toggle .moon-icon {
  right: 5px;
  color: #ffffff;
  opacity: 0;
}

#mode-toggle:checked + .mode-toggle {
  background-color: var(--bg-dark);
}

#mode-toggle:checked + .mode-toggle .slider {
  transform: translateX(25px);
}

#mode-toggle:checked + .mode-toggle .sun-icon {
  opacity: 0;
}

#mode-toggle:checked + .mode-toggle .moon-icon {
  opacity: 1;
  z-index: 3;
}

/* --- Media Queries for Responsive Design --- */

/* Small devices (phones, 576px and down) */
@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 2em;
  }

  .hero-content h4 {
    font-size: 1em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .hero-content .btn {
    width: 100%;
    margin: 10px 0;
  }

  .booking-form-container,
  .booking-map-container {
    padding: 20px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .boast-text {
    font-size: 1.2em;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-image img {
    max-width: 100%;
    margin: 0 auto;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-grid,
  .reviews-grid,
  .news-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2em;
  }

  .section-subtitle {
    font-size: 1em;
  }
  
  /* ADDED: Mobile specific style for Contact Links in the footer/contact section */
  .direct-contact-container .contact-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Large devices (laptops, 992px and up) */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 0;
    min-height: 50vh;
  }

  .hero-content h2 {
    font-size: 2.5em;
  }

  .hero-content p {
    font-size: 1.1em;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    margin-top: 15px;
    text-align: center;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    background-color: var(--header-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
  }

  .main-nav ul li {
    margin: 10px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .main-nav.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: var(--header-bg);
    z-index: 999;
  }

  .reviews-grid,
  .service-grid,
  .news-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Extra large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .reviews-grid,
  .service-grid,
  .news-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* --- Gallery Section Styles (FIXED) --- */
.gallery-section {
  background-color: var(--bg-light);
}

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

.gallery-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: ew-resize; 
  user-select: none; 
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  display: block;
  overflow: hidden; 
}

/* Base image (Always visible as 'Before') */
.gallery-item .before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; 
}

/* The element that holds the 'After' image and covers the 'Before' image from the right. */
.after-image-slider {
  position: absolute;
  top: 0;
  right: 0; /* Align to the right edge of the wrapper */
  width: 50%; /* Initial visible width (50% for a centered start) */
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  transition: width 0.1s linear; 
  
  /* CRITICAL FIX: The background image needs to be positioned such that its right edge 
     aligns with the right edge of the *wrapper*, regardless of the slider's width. 
     This is achieved by using background-position: right top; */
  background-position: right top; 
}

/* Set the specific after-image background for each item (using user's uploaded files) */
.gallery-item:nth-child(1) .after-image-slider {
    background-image: url('after1.jpg'); /* Your first After image */
}
.gallery-item:nth-child(2) .after-image-slider {
    background-image: url('after2.jpg'); /* Placeholder */
}
.gallery-item:nth-child(3) .after-image-slider {
    background-image: url('after3.jpg'); /* Placeholder */
}


/* The vertical handle that the user drags */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%; /* Starts in the middle */
  width: 4px; 
  height: 100%;
  background-color: var(--white); 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 3;
  transform: translateX(-2px); /* Correctly center the 4px handle */
  transition: left 0.1s linear; /* Changed from right to left */
}

.slider-handle i {
  position: absolute;
  top: 50%;      
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  border: 3px solid var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Label Text Visibility */
.gallery-label {
    position: absolute;
    /* Adjust position for better visibility over the BEFORE side */
    top: 15px;
    left: 15px; 
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 500;
    z-index: 10;
    transition: all 0.3s ease;
}

/* When the slider is mostly to the right, switch label to 'AFTER' and move it to the right */
.gallery-item.show-after .gallery-label {
    background-color: var(--primary-color);
    left: auto;
    right: 15px;
}

/* Adjustments for dark mode */
body.dark-mode .slider-handle {
  background-color: var(--text-dark);
}

body.dark-mode .slider-handle i {
  border-color: var(--bg-dark);
}

/* Style for the redirect message */
.redirect-message {
  font-size: 0.9em;
  color: var(--primary-dark);
  margin-top: 15px;
  font-style: italic;
  font-weight: 500;
}
.booking-form-container .redirect-message {
    color: white;
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: rgba(33, 37, 41, 0.95);
    color: #fff;
    padding: 15px;
    z-index: 1010; /* Highest layer to cover floating button */
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-banner .container {
    display: block;
    text-align: left;
}

.cookie-banner p {
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.cookie-banner .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 5px;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

/* Light mode specific styling */
.light-mode .cookie-banner {
    background-color: rgba(255, 255, 255, 0.95);
    color: #212529;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .cookie-banner a {
    color: #212529;
}

/* Media query for smaller screens: make it full width at the bottom */
@media (max-width: 600px) {
    .cookie-banner {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        padding: 15px;
    }
}
/* --- Floating Feedback Button --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 1000; /* Lower than cookie banner (1010) */
}

/* FIX: Dark mode Feedback Button Text Color */
body.dark-mode .floating-btn {
    color: #2c3e50;
}

.floating-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.floating-btn i {
    font-size: 1.2em;
}

/* Mobile: Ensure the text is visible */
@media (max-width: 600px) {
    .floating-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .floating-btn span {
        display: inline; /* Show the text on mobile */
    }
}

/* --- Modal/Pop-up Styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: left;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    color: var(--text-dark);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 5px;
}

/* Feedback Modal Explanatory Text Spacing/Size */
.modal-feedback-note {
    font-size: 0.85em;
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
}


/* --- Star Rating Styles --- */
.star-rating {
    font-size: 1.8em;
    color: var(--border-color);
    cursor: pointer;
    margin: 10px 0 20px;
}

.star-rating i {
    transition: color 0.2s;
    margin-right: 5px;
}

.star-rating i.fas {
    color: var(--accent-color);
}

/* Dark mode adjustments for Modal */
body.dark-mode .modal-content {
    background-color: var(--bg-dark);
}

body.dark-mode .close-btn {
    color: var(--light-gray);
}
/* --- New Styles for Donation Section --- */
.donations-section {
  /* Using bg-dark as defined in the HTML */
}

.donation-card {
  /* This replaces the inline style box */
  background-color: var(--card-bg); 
  padding: 30px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
  text-align: center;
  max-width: 600px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* Added a subtle border */
}

.donation-card h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

.donation-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.donation-card strong {
  color: var(--text-dark); /* Highlight the important note */
}

.donation-card .btn-donation {
  /* Styling the button directly for a unique look, based on btn-primary */
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 35px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 25px;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.donation-card .btn-donation:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.donation-card .note-text {
  font-size: 0.9em;
  color: var(--text-light);
  margin-top: 15px;
}

/* Dark Mode Overrides for Donation Card */
body.dark-mode .donation-card {
  background-color: var(--card-bg); /* Use the slightly lighter card color for contrast */
  border-color: var(--border-color);
}

body.dark-mode .donation-card h4 {
  color: var(--primary-light);
}

body.dark-mode .donation-card p {
  color: var(--footer-text-color);
}

body.dark-mode .donation-card strong {
  color: var(--white);
}

body.dark-mode .donation-card .note-text {
  color: var(--text-light);
}
/* --- End New Styles for Donation Section --- */

/* ADDED FIX: Hide the map div specifically on smaller screens */
@media (max-width: 768px) {
  #map-location {
    display: none !important;
  }
}

/* --- New CSS for Website Launch Offer Popup --- */
.website-launch-content {
    text-align: center;
    max-width: 450px; /* Keep popup contained */
}

.website-launch-content .popup-title {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 700;
}

.website-launch-content .popup-intro {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.launch-offer-details {
    background-color: var(--bg-light); /* Light background for the offer details */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px dashed var(--accent-color); /* Used accent color for a punchier look */
}

body.dark-mode .launch-offer-details {
    background-color: var(--news-item-bg); /* Match news item background in dark mode for contrast */
    border-color: var(--accent-color);
}

.launch-offer-details .offer-highlight {
    color: var(--primary-dark); /* Strong color for the highlight */
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 5px;
}

body.dark-mode .launch-offer-details .offer-highlight {
    color: var(--primary-light);
}

.promo-duration {
    font-weight: 600;
    color: var(--primary-dark); /* Added strong color for duration */
    font-style: italic;
}

body.dark-mode .promo-duration {
    color: var(--primary-light);
}

.promo-code-box {
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

body.dark-mode .promo-code-box {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.promo-code-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--light-gray); /* Highlight the code */
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 1px;
    margin: 10px 0;
    border: 1px solid var(--primary-light);
}

body.dark-mode .promo-code-text {
    color: var(--accent-color);
    background-color: var(--bg-dark);
    border-color: var(--accent-color);
}

.popup-btn-book {
    width: 90%;
    padding: 12px;
}
/* ADD THIS CSS TO YOUR EXISTING styles.css FILE */

/* --- Launch Offer Floating Button Positioning & Style --- */
/* The existing .floating-btn styles should be kept */

#launch-offer-btn {
    bottom: 90px; /* Position it above the feedback button (60px btn height + 10px gap) */
    background-color: #ff6f61; /* A distinct, attention-grabbing color like a sales red/orange */
    animation: pulse 2s infinite; /* Optional: Make it 'pulse' to draw attention */
    border-radius: 10px; /* Make it more of a badge shape */
    width: 80px; /* Slightly wider */
    height: 40px; /* More horizontal */
    padding: 5px 10px;
    flex-direction: row;
    justify-content: space-evenly;
}

#launch-offer-btn:hover {
    background-color: #e65c50;
    transform: scale(1.05);
}

#launch-offer-btn i {
    font-size: 16px;
    margin-bottom: 0;
}

#launch-offer-btn span {
    font-size: 14px;
    font-weight: 700;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 111, 97, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0);
    }
}

/* --- Launch Offer Modal Content Styling (REVISED for Responsiveness & Vertical Fit) --- */

/* The outer modal container will inherit from your general .modal styles */

#launch-discount-modal .modal-content {
    text-align: center;
    max-width: 380px; /* Increased max-width for better text flow on mobile/tablet */
    width: 90%; /* Responsive width */
    padding: 20px; 
    box-sizing: border-box; 
    /* The key change: Remove max-height and overflow-y to fit content naturally */
    max-height: none; 
    overflow-y: visible; 
}

#launch-discount-modal .popup-title {
    /* Title bar background and text color */
    color: white; /* Ensure title text is white */
    background-color: var(--primary-color, #7A57D8); /* Use primary color for background */
    margin-bottom: 10px; 
    font-size: 1.6rem; 
    padding: 10px 15px;
    border-radius: var(--border-radius); 
    line-height: 1.2;
}

#launch-discount-modal .offer-highlight {
    /* Get £5 Off Your Next Clean! box */
    color: var(--primary-color, #7A57D8);
    font-size: 1.25rem; /* Slightly smaller to save space */
    margin: 8px 0; /* Reduced margin */
    padding: 5px;
    border: 2px dashed var(--primary-color, #7A57D8);
    display: inline-block;
}

/* Paragraph text within the modal */
#launch-discount-modal p {
    font-size: 0.9rem; /* Smaller body text for tighter fit */
    line-height: 1.4;
    margin: 5px 0; /* Reduced margin on paragraphs */
}

#launch-discount-modal .promo-code-box {
    background-color: var(--bg-color); 
    padding: 10px;
    border-radius: var(--border-radius);
    margin: 10px 0; 
    border: 1px solid #ddd;
}

#launch-discount-modal .promo-code-text {
    font-size: 1.2rem; 
    font-weight: 700;
    color: #ff6f61; /* LAUNCH5 text is RED only */
    margin: 5px 0; 
    word-break: break-all; 
}

.popup-btn-book {
    margin-top: 10px; /* Reduced margin */
    padding: 10px 20px; 
    font-size: 1rem; 
}

/* --- "Do Not Show Again" Button Style (Link Look) --- */
.do-not-show-btn {
    margin-top: 10px; /* Reduced margin */
    background-color: transparent; 
    color: var(--link-color, #007bff); /* Blue link color */
    font-size: 0.9rem; 
    padding: 5px 10px; 
    border: none; 
    text-decoration: underline; 
    display: block; 
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.do-not-show-btn:hover {
    color: var(--primary-color, #7A57D8); 
    text-decoration: none; 
}

/* Dark mode specific visibility for the link */
body.dark-mode .do-not-show-btn {
    color: #8ab4f8; /* A visible light blue for dark mode */
}


