/* Rachel's Cleaning Service - Main Stylesheet */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #f5a623;
  --accent-color: #50e3c2;
  --dark-color: #2d3e50;
  --light-color: #f9f9f9;
  --text-color: #333333;
  --light-text-color: #ffffff;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--secondary-color);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 4rem;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 2.4rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 3rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1.8rem;
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 18rem 0 10rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--light-text-color);
  text-align: center;
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
}

.hero h2 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
}

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

/* Services Section */
.services {
  padding: 10rem 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title h3 {
  font-size: 4rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.section-title p {
  font-size: 1.8rem;
  color: #777;
  max-width: 60rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.service-card {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-image {
  height: 20rem;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image svg {
  width: 8rem;
  height: 8rem;
  fill: var(--light-text-color);
}

.service-content {
  padding: 3rem;
}

.service-content h4 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.service-content p {
  font-size: 1.6rem;
  color: #777;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  padding: 10rem 0;
  background-color: #f5f7fa;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h3 {
  font-size: 3.6rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.about-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #555;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--light-text-color);
}

.feature-text {
  font-size: 1.6rem;
  color: #555;
}

/* Testimonials Section */
.testimonials {
  padding: 10rem 0;
  background-color: var(--dark-color);
  color: var(--light-text-color);
}

.testimonials .section-title h3 {
  color: var(--light-text-color);
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 3rem;
  position: relative;
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 2rem;
}

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

.author-image {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  border: 3px solid var(--accent-color);
}

.author-info h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Contact Section */
.contact {
  padding: 10rem 0;
  background-color: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-form {
  background-color: #fff;
  padding: 4rem;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

textarea.form-control {
  min-height: 15rem;
  resize: vertical;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.contact-info p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #555;
}

.contact-details {
  list-style: none;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 2rem;
  height: 2rem;
  fill: var(--light-text-color);
}

.contact-text {
  font-size: 1.6rem;
  color: #555;
}

.contact-text strong {
  display: block;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-text-color);
  padding: 6rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5rem;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-col p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 0.5rem;
}

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

.footer-bottom p {
  font-size: 1.4rem;
  opacity: 0.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 4rem;
  margin-right: 1rem;
}

.footer-logo h1 {
  font-size: 2.4rem;
  color: var(--light-text-color);
  font-weight: 700;
}

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    max-width: 60rem;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    padding: 2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero h2 {
    font-size: 4rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  .hero h2 {
    font-size: 3.5rem;
  }
  
  .section-title h3 {
    font-size: 3rem;
  }
  
  .contact-form {
    padding: 3rem 2rem;
  }
}
