/* Color Scheme Variables for Light and Dark Themes */
:root {
  --primary-color: #ff99bf;
  --background-color: #ffffff;
  --text-color: #121212;
  --accent-color: #dd79a1;
  --toggle-bg: #e0e0e0;
  --button-hover-color: #dd79a1;
  --font-family: 'Poppins', sans-serif;
  --transition-duration: 0.3s;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-hover: rgba(0, 0, 0, 1.9);
}

[data-theme='dark'] {
  --background-color: #1d1f27;
  --text-color: #ffffff;
}

/* Reset & Base Styles #858484*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color var(--transition-duration), color var(--transition-duration);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

body.dark-mode {
  background-color: var(--background-color);
  color:var(--text-color);
}

/* Header */
header {
  background-color: var(--background-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 4;
}
header h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
}
nav {
  display: flex;
  gap: 20px;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li {
  list-style: none;
}
nav ul li {
  margin: 0 10px;
}
nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

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

h1{
  margin-top: 2rem;
  margin-left: 2rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* Ensure labels remain black in both light and dark modes */
#cleaningForm label {
  color: black !important;
}

/* Style input fields */
#cleaningForm input[type="text"],
#cleaningForm input[type="date"],
#cleaningForm input[type="time"],
#cleaningForm input[type="number"],
#cleaningForm input[type="tel"],
#cleaningForm input[type="email"],
#cleaningForm select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: black; /* Ensure text inside inputs is black */
  background-color: white;
}

/* Style checkboxes */
#cleaningForm input[type="checkbox"] {
  margin-right: 5px;
}

/* Ensure the step container has correct background color */
#step1, #step2 {
  /*background-color: var(--background-color);*/
  padding: 20px;
  border-radius: 8px;
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}
/* Hamburger Menu (Hidden on Desktop) */
.phone-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  outline: none;
  margin-left: auto;
}

.phone-toggle.active {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .logo {
    max-width: 150px; /* Scale down further for tablets */
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: var(--background-color);
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  nav ul.active {
    display: flex;
  }
  .phone-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 120px; /* Scale down further for smaller phones */
  }
  .phone-toggle {
    display: block; /* Show hamburger menu on small screens */
  }
}

/* Offer Button Position */
#offer-button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #FF99BFFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#offer-button:hover {
  background-color: #FF66B2FF;
}

/* General Card Layout */
.card-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.card-container .card {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /*flex: 1;*/
  margin-right: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.card-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

label {
  display: block;
  margin-bottom: 5px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #FF99BFFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow:0 4px 20px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: #FF66B2FF;
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.social-icons li {
  margin: 0 10px;
}

.social-icons li a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(3780%) hue-rotate(290deg) brightness(97%) contrast(110%);
}

.social-icons li a img:hover {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(90%) sepia(20%) saturate(3000%) hue-rotate(300deg) brightness(100%) contrast(105%);
}

/* Responsive Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: var(--background-color);
  padding: 20px;
  text-align: center;
  color: var(--primary-color);
}
footer {
  text-align: center;
  padding: 30px 0px;
}

/* Responsive Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

