/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Header */
.header {
  background: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: #f4f4f4;
  padding: 40px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.btn-book {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* ------------------------------- */
/* GRID (MAIN FIX) */
/* ------------------------------- */
.services {
  padding: 25px 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* SERVICE CARD */
.service-card {
  background: #ffffff;
  padding: 15px 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
}

/* ICON */
.icon {
  width: 45px;
  height: 45px;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #e50a0a;
  margin-top: 20px;
}

/* --------------------------------------- */
/* MOBILE — 3 icons per row */
/* --------------------------------------- */
@media (max-width: 600px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service-card {
    padding: 12px 5px;
  }

  .icon {
    width: 38px;
    height: 38px;
  }

  .service-card p {
    font-size: 13px;
  }
}

/* --------------------------------------- */
/* TABLET — 3 icons per row */
/* --------------------------------------- */
@media (min-width: 600px) and (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    padding: 15px 10px;
  }

  .icon {
    width: 45px;
    height: 45px;
  }
}

/* --------------------------------------- */
/* DESKTOP — 3 icons per row */
/* --------------------------------------- */
@media (min-width: 1024px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    padding: 20px;
  }

  .icon {
    width: 65px;
    height: 65px;
  }
}
.search-box {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.search-box input {
    width: 70%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 16px;
}

.search-box button {
    padding: 12px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
}

.search-box button:hover {
    background-color: #0056b3;
}
/* --------------------------------------------------- */
/* BOTTOM NAVIGATION MENU */
/* --------------------------------------------------- */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    z-index: 999;
    text-decoration: none;
}

.nav-item {
    text-decoration: none;
    color: #6b6b6b;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: 0.3s;
}

.nav-item i {
    font-size: 22px;
    transition: 0.3s;
}

/* Active state */
.nav-item.active,
.nav-item:hover {
    color: #007bff;
    font-weight: 600;
}

.nav-item.active i,
.nav-item:hover i {
    transform: scale(1.1);
}

/* Prevent content from hiding behind bottom nav */
body {
    padding-bottom: 80px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .nav-item i {
        font-size: 20px;
    }
    .nav-item span {
        font-size: 12px;
    }
}
/* login page */
/* Mobile responsiveness */
/* ===== REGISTER PAGE STYLING ===== */

.register-container {
    max-width: 380px;
    margin: 70px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
}

.register-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.register-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #bfbfbf;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.register-container input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
}

.btn-register {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.btn-register:hover {
    background: #0056b3;
}

.register-container p {
    margin-top: 12px;
    font-size: 15px;
}

.register-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
/* login page */
/* ===== LOGIN PAGE STYLING ===== */

.login-container {
    max-width: 380px;
    margin: 70px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.login-container h2 {
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: bold;
    color: #333;
}

.login-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #bfbfbf;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.login-container input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
}

.btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.btn-login:hover {
    background: #0056b3;
}

.login-container p {
    margin-top: 12px;
    font-size: 15px;
}

.login-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
 /* banner */
.banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin: 0px 0;
}

.banner-section .banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  padding: 20px;
}

.banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-book-banner {
  display: inline-block;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-book-banner:hover {
  background-color: #333;
}
/* 2rows 3 colums data */
/* Make body and container use full width */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* IMAGE GRID */
.image-grid {
  width: 100%;
  max-width: 1200px;       /* center on big screens */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2 columns on mobile/tablet */
  gap: 12px;
  padding: 12px 8px;       /* small, equal side padding */
}

/* Card */
.grid-item {
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  text-decoration: none;
  color: #222;
  padding: 10px;
}

/* Image */
.grid-item img {
  width: 100%;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Title */
.grid-item p {
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 600;
}

/* Desktop: 4 columns, still no side gap */
@media (min-width: 992px) {
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 12px;
  }

  .grid-item img {
    max-height: 140px;
  }
}


/* 3 columns, 1 row on all devices */
/* Do not change layout of other sections */
.page-content {
  margin-bottom: 24px;          /* gap between last section and footer */
}

/* FOOTER */
/* GAP BELOW MAIN CONTENT */
.page-content {
  margin-bottom: 24px;
}

/* FOOTER */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 20px 16px 24px;
  font-size: 14px;
}

/* 1 row, 2 equal columns on ALL devices */
.footer-top {
  max-width: 1100px;
  margin: 0 auto 12px;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap:12px 40px;
}

/* Columns */
.footer-col h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.footer-col p {
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 4px;
}

.footer-col a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Bottom line */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid #1f2937;
  padding-top: 8px;
  font-size: 13px;
}
/* Option 1: margin below footer */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 20px 16px 24px;
  font-size: 14px;
  margin-bottom: 80px;      /* space after footer */
}
a {
  text-decoration: none;
  color: inherit;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

/* ============================================= */
/* HOME CLEANING SERVICE CARDS - COMPLETELY FIXED */
/* ============================================= */

.page-header {
    background: #007bff;
    color: white;
    padding: 15px;
    text-align: center;
}

.page-header h1 {
    font-size: 22px;
    font-weight: bold;
}

.service-container {
    padding: 15px;
    background: #f5f5f5;
    margin-bottom: 80px;
}

.service-container > h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

/* ============================================= */
/* SERVICE CARD - MOBILE FIRST (DEFAULT) */
/* ============================================= */
.service-container .service-card {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    background: white;
    padding: 12px !important;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    gap: 10px !important;
    min-height: 120px;
}

/* LEFT SIDE - TEXT INFO */
.service-container .service-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.service-container .service-info h3 {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0 0 6px 0 !important;
    color: #222;
    line-height: 1.3;
    word-wrap: break-word;
}

.service-container .service-info p {
    font-size: 13px !important;
    margin: 3px 0 !important;
    color: #555;
    line-height: 1.4;
}

.service-container .service-info strong {
    font-size: 15px;
    color: #000;
    font-weight: 700;
}

/* RIGHT SIDE - IMAGE */
.service-container .service-image {
    flex-shrink: 0 !important;
    width: 100px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: static !important;
}

.service-container .service-image img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block !important;
    margin-bottom: 5px;
}

.service-container .service-image p {
    font-size: 13px !important;
    text-align: center;
    margin: 0 !important;
    width: 100%;
}

.service-container .service-image strong {
    color: #000;
    font-weight: 600;
}

/* STYLING HELPERS */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-left: 3px;
}

.green {
    color: #28a745 !important;
    font-weight: 600 !important;
}

.details {
    color: #6f42c1;
    text-decoration: none;
    font-size: 13px;
    margin-top: 5px;
    display: inline-block;
}

.details:hover {
    text-decoration: underline;
}

/* ============================================= */
/* TABLET - 600px and UP */
/* ============================================= */
@media (min-width: 600px) {
    .service-container {
        padding: 20px;
    }

    .service-container > h2 {
        font-size: 24px;
    }

    .service-container .service-card {
        padding: 18px !important;
        gap: 15px !important;
    }

    .service-container .service-info h3 {
        font-size: 18px !important;
    }

    .service-container .service-info p {
        font-size: 15px !important;
    }

    .service-container .service-image {
        width: 140px !important;
    }

    .service-container .service-image img {
        width: 140px !important;
        height: 120px !important;
    }
}

/* ============================================= */
/* DESKTOP - 1024px and UP - 2 CARDS PER ROW */
/* ============================================= */
@media (min-width: 1024px) {
    .service-container {
        max-width: 1400px;
        margin: 0 auto 80px auto;
        padding: 30px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
        background: #f5f5f5;
    }

    .service-container > h2 {
        font-size: 28px;
        margin-bottom: 25px;
        grid-column: 1 / -1; /* Make heading span full width */
    }

    .service-container .service-card {
        padding: 25px !important;
        gap: 25px !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    .service-container .service-info {
        flex: 1 !important;
    }

    .service-container .service-info h3 {
        font-size: 20px !important;
    }

    .service-container .service-info p {
        font-size: 16px !important;
    }

    .service-container .service-image {
        width: 220px !important;
        flex-shrink: 0 !important;
    }

    .service-container .service-image img {
        width: 220px !important;
        height: 180px !important;
    }

    .service-container .service-image p {
        font-size: 15px !important;
    }
}