/* Reset & base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Light mode overrides */
body.light-mode {
  background: #fff;
  color: #111;
}

/* Header */
header.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}
.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}
.cta {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem 3rem;
  border-radius: 10px;
}
body.light-mode .cta {
  background: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
  background: orange;
  color: #000;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #ffae42;
}

/* Navigation */
nav.main-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
#menu-toggle {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links li a,
.language-switcher button,
#theme-toggle {
  background: orange;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #000;
  text-decoration: none;
}
.language-switcher button img {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  display: block;
}
.language-switcher button:hover,
.nav-links li a:hover,
#theme-toggle:hover {
  background: #ffae42;
}

/* Gallery */
.gallery {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 165, 0, 0.5);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 165, 0, 0.8);
}

/* Cards */
.services {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background: #222;
  border-radius: 10px;
  padding: 1rem;
  width: 300px;
  text-align: center;
  transition: background 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.7);
}
body.light-mode .card {
  background: #eee;
  color: #111;
}
.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card h2 {
  margin: 0;
}

/* Testimonials */
.testimonials {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 1rem;
}

/* FAQ */
.faq {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.faq h2 {
  margin-bottom: 1rem;
  text-align: center;
}
.faq-item {
  margin-bottom: 1rem;
  text-align: center;
}

/* Contact Form */
.contact {
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid orange;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
body.light-mode .contact form input,
body.light-mode .contact form textarea {
  background: #fff;
  color: #111;
  border-color: #ffae42;
}
.contact form input:focus,
.contact form textarea:focus {
  outline: none;
  border-color: #ffae42;
  background: #333;
  color: #fff;
}
body.light-mode .contact form input:focus,
body.light-mode .contact form textarea:focus {
  background: #ffe9c5;
  color: #111;
}

/* Submit button */
.contact form button {
  background: orange;
  color: #000;
  font-weight: bold;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 1.2rem;
}
.contact form button:hover {
  background: #ffae42;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px; /* changed from right to left */
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  padding: 16px;
  font-size: 24px;
  text-align: center;
  z-index: 1000;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #222;
    position: fixed;
    top: 50px;
    right: -300px;
    width: 250px;
    height: 100vh;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-radius: 0 0 0 10px;
  }
  .nav-links.active {
    right: 0;
  }
  #menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  #menu-toggle {
    display: none;
  }
}

.language-switch {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lang-btn img {
  width: 32px;   /* Adjust size to your preference */
  height: 20px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
}

.lang-btn:hover,
.lang-btn:focus {
  outline: none;
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.7); /* subtle orange glow on hover */
}

.lang-btn:focus-visible {
  outline: 2px solid orange;
  outline-offset: 2px;
}

/* Remove any existing orange backgrounds or border-radius on .lang-btn */

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: orange;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.3s ease;
}

#theme-toggle:hover {
  color: #ff9f1c;
  transform: scale(1.1);
}

:root {
  --bg-color: #111;
  --text-color: #fff;
  --btn-bg: orange;
  --btn-text: #000;
}

.dark-theme {
  --bg-color: #fff;
  --text-color: #111;
  --btn-bg: #222;
  --btn-text: #fff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* and so on for buttons */
.btn {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  object-position: center 20%;
}

/* Book a Service Section */
.contact {
  background-color: #111;
  color: #fff;
  padding: 3rem 1rem;
  border-top: 3px solid orange;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: orange;
  font-size: 2rem;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.1);
}

.contact form input,
.contact form textarea,
.contact form select {
  width: 100%;
  padding: 1rem;
  margin: 0.75rem 0;
  border: 2px solid #333;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s border ease;
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
  border-color: orange;
  outline: none;
}

.contact form button {
  background: orange;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  transition: 0.3s background ease;
}

.contact form button:hover {
  background: #ff9500;
}

.dropdown-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  font-family: inherit;
}

#dropdownToggle {
  background-color: #1a1a1a; /* site dark background */
  color: #ffae42;            /* updated orange-gold */
  border: 2px solid #ffae42;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#dropdownToggle:hover {
  background-color: #ffae42;
  color: #1a1a1a;
}

#dropdownList {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1a1a;        /* dark theme */
  border: 2px solid #ffae42;  /* orange-gold border */
  border-radius: 10px;
  display: none;
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

#dropdownList li {
  padding: 0.75rem 1rem;
  color: #ffae42;
  background-color: #1a1a1a;
  cursor: pointer;
  border-bottom: 1px solid #2a2a2a;
  transition: background-color 0.3s, color 0.3s;
}

#dropdownList li:last-child {
  border-bottom: none;
}

#dropdownList li:hover {
  background-color: #ffae42;
  color: #1a1a1a;
}