/* style.css - Complete Styles for SparkleClean Website */

/* Variables */
:root {
  --primary-color: #0e7fd0;
  --secondary-color: #28589b;
  --accent-color: #ff6b6b;
  --dark-color: #1e1e2d;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.btn {
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
  color: var(--primary-color);
}

.social-links a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: 8px;
  color: var(--white);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.navbar {
  padding: 15px 0;
}

.navbar-brand {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-icon {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 24px;
}

.navbar-brand span:last-child span {
  color: var(--primary-color);
}

.navbar-nav .nav-item {
  margin: 0 8px;
}

.navbar-nav .nav-link {
  font-weight: bold;
  color: var(--dark-color);
  font-size: 19px;
  padding: 8px 15px !important;
  border-radius: 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: bold;
}

.navbar-nav .nav-link.btn {
  color: var(--white);
  padding: 8px 20px !important;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
  margin-top: 120px;
}

.carousel-item {
  height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(30, 30, 45, 0.8), rgba(30, 30, 45, 0.1));
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 600px;
}

.carousel-caption h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
}

.carousel-caption p {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 30px;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

/* Quick Booking Form */
.quick-booking {
  padding: 60px 0;
  background-color: var(--light-color);
}

.booking-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.booking-form-wrapper h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.booking-form .form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.booking-form .form-control {
  height: 50px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 10px 15px;
  transition: var(--transition);
}

.booking-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  height: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: rgba(74, 108, 247, 0.1);
  border-radius: 50%;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Why Choose Us */
.why-choose-us {
  padding: 100px 0;
  background-color: var(--light-color);
}

.features-list {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  margin-bottom: 30px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--white);
  border-radius: 50%;
  text-align: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 20px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.feature-content h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-content p {
  color: var(--gray-color);
}

.image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  height: 100%;
}

.rating {
  color: #ffc107;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--gray-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h5 {
  margin-bottom: 5px;
  font-size: 18px;
}

.author-info span {
  color: var(--gray-color);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons .btn {
  margin: 0 10px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding-top: 80px;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-logo span:last-child span {
  color: var(--primary-color);
}

.footer-widget h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-widget ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-links a {
  margin-left: 20px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Page Content */
.page-hero {
  background: linear-gradient(rgba(30, 30, 45, 0.8), rgba(30, 30, 45, 0.2)), url('https://images.pexels.com/photos/6197121/pexels-photo-6197121.jpeg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  color: var(--white);
  margin-top: 120px;
}

.page-hero-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--light-gray);
}

.page-content {
  padding: 100px 0;
}

/* About Page */
.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.milestone-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.milestone-card:hover {
  transform: translateY(-10px);
}

.milestone-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  background-color: rgba(74, 108, 247, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 30px;
}

.milestone-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Services Page */
.service-detail-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-detail-card:hover .service-image img {
  transform: scale(1.1);
}

.service-detail-content {
  padding: 30px;
}

.service-detail-content h3 {
  margin-bottom: 15px;
}

.service-features {
  margin: 20px 0;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Gallery Page */
.gallery-filter {
  margin-bottom: 40px;
  text-align: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  margin: 0 5px 10px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.gallery-item {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(30, 30, 45, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.gallery-info p {
  color: var(--light-gray);
  font-size: 14px;
}

/* Contact Page */
.contact-info-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  text-align: center;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  background-color: rgba(74, 108, 247, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 30px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-control {
  height: 50px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 10px 15px;
  transition: var(--transition);
}

.contact-form textarea.form-control {
  height: 150px;
  resize: none;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

/* Booking Page */
.booking-steps {
  margin-bottom: 50px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 20px;
}

.booking-form-container {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-summary {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--light-gray);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--light-gray);
}



/* Admin Panel */
.admin-sidebar {
  background-color: #2c3e50;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.admin-sidebar .nav-link {
  color: #bdc3c7;
  padding: 1rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background-color: #34495e;
  color: white;
}

.admin-content {
  margin-left: 250px;
  padding: 2rem;
}

.admin-header {
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-left: 250px;
  position: fixed;
  top: 0;
  right: 0;
  left: 250px;
  z-index: 999;
}

.admin-main {
  margin-top: 80px;
}

/* Status Badges */
.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-confirmed {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-in-progress {
  background-color: #e2e3f1;
  color: #383d41;
}

.status-completed {
  background-color: #d4edda;
  color: #155724;
}

.status-cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .admin-content,
  .admin-header {
    margin-left: 0;
  }

  .admin-header {
    left: 0;
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .navbar-nav .nav-item {
      margin: 5px 0;
  }
  
  .carousel-caption h1 {
      font-size: 36px;
  }
  
  .carousel-item {
      height: 500px;
  }
  
  .booking-form-wrapper {
      margin-top: 0;
  }
  
  .section-title {
      font-size: 30px;
  }
  
  .feature-item {
      flex-direction: column;
      text-align: center;
  }
  
  .feature-icon {
      margin-right: 0;
      margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .top-bar .contact-info {
      text-align: center;
      margin-bottom: 10px;
  }
  
  .top-bar .social-links {
      text-align: center;
  }
  
  .carousel-caption {
      text-align: center;
  }
  
  .carousel-caption h1 {
      font-size: 28px;
  }
  
  .booking-form .form-group {
      margin-bottom: 15px;
  }
  
  .footer-bottom .text-right {
      text-align: left !important;
      margin-top: 10px;
  }
  
  .footer-links a {
      margin-left: 0;
      margin-right: 15px;
  }
  
  .page-hero-content h1 {
      font-size: 36px;
  }
  
  .service-detail-content {
      padding: 20px;
  }
  
  .contact-form {
      padding: 30px 20px;
  }
  
  .booking-form-container {
      padding: 30px 20px;
  }
}

@media (max-width: 575px) {
  .carousel-caption h1 {
      font-size: 24px;
  }
  
  .carousel-caption p {
      font-size: 16px;
  }
  
  .section-title {
      font-size: 26px;
  }
  
  .service-card {
      padding: 30px 20px;
  }
  
  .testimonial-card {
      padding: 20px;
  }
  
  .page-hero {
      height: 300px;
  }
  
  .page-hero-content h1 {
      font-size: 28px;
  }
}