/* ========================================
   ROYAL CLEAN LAVANDERIA - CSS PRINCIPAL
   Paleta de cores: Roxo e tons relacionados
   ======================================== */

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

:root {
  --primary-purple: #6b3fa0;
  --secondary-purple: #8b5fbf;
  --light-purple: #d4a5e8;
  --dark-purple: #4a2563;
  --accent-purple: #b88fd9;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f9f7fc;
  --white: #ffffff;
  --border-color: #e0d5f0;
  --success-color: #27ae60;
  --warning-color: #f39c12;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* ========== HEADER E NAVEGAÇÃO ========== */

header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 14px;
}

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

/* ========== HERO SECTION ========== */

.hero {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-purple);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-purple);
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background-color: var(--white);
  color: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========== SEÇÃO DE BAIRROS ========== */

.neighborhoods-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-title {
  font-size: 36px;
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.neighborhood-button {
  background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--accent-purple) 100%);
  color: var(--white);
  padding: 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.neighborhood-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(107, 63, 160, 0.3);
}

/* ========== ACORDEÃO ========== */

.accordion-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.accordion-item {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 6px 12px rgba(107, 63, 160, 0.15);
}

.accordion-header {
  background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--accent-purple) 100%);
  color: var(--white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
}

.accordion-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 20px;
}

.accordion-content-inner {
  color: var(--text-dark);
  line-height: 1.8;
}

.accordion-content-inner h3 {
  color: var(--primary-purple);
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 20px;
}

.accordion-content-inner p {
  margin-bottom: 15px;
  text-align: justify;
}

.accordion-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.accordion-content-inner table th,
.accordion-content-inner table td {
  border: 1px solid var(--border-color);
  padding: 12px;
  text-align: left;
}

.accordion-content-inner table th {
  background-color: var(--light-purple);
  color: var(--white);
  font-weight: bold;
}

.accordion-content-inner table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* ========== SEÇÃO DE SERVIÇOS E PREÇOS ========== */

.services-section {
  background-color: var(--white);
  padding: 60px 20px;
  margin: 60px 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(107, 63, 160, 0.2);
  border-color: var(--secondary-purple);
}

.service-card h3 {
  color: var(--primary-purple);
  font-size: 20px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-price {
  font-size: 24px;
  color: var(--success-color);
  font-weight: bold;
}

/* ========== SEÇÃO DE PROMOÇÃO ========== */

.promotion-section {
  background: linear-gradient(135deg, var(--warning-color) 0%, #e67e22 100%);
  color: var(--white);
  padding: 40px 20px;
  margin: 60px 0;
  border-radius: 10px;
  text-align: center;
}

.promotion-container {
  max-width: 1000px;
  margin: 0 auto;
}

.promotion-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.promotion-section p {
  font-size: 18px;
  margin-bottom: 15px;
}

.promotion-list {
  list-style: none;
  margin: 30px 0;
  font-size: 16px;
}

.promotion-list li {
  margin: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* ========== SEÇÃO DE IMAGENS ========== */

.images-gallery {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(107, 63, 160, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* ========== SEÇÃO DE CONTATO ========== */

.contact-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-item a {
  color: var(--light-purple);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--white);
}

.social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-purple);
  transform: scale(1.1);
}

/* ========== RODAPÉ ========== */

footer {
  background-color: var(--dark-purple);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: var(--light-purple);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white);
}

/* ========== BOTÕES FLUTUANTES ========== */

.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1fa856;
}

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

.btn-phone:hover {
  background-color: var(--dark-purple);
}

.btn-location {
  background-color: var(--secondary-purple);
}

.btn-location:hover {
  background-color: var(--primary-purple);
}

.btn-top {
  background-color: var(--accent-purple);
}

.btn-top:hover {
  background-color: var(--secondary-purple);
}

.floating-btn-label {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-btn:hover .floating-btn-label {
  opacity: 1;
}

/* ========== RESPONSIVIDADE ========== */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .neighborhoods-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .accordion-header {
    font-size: 16px;
    padding: 15px;
  }

  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .floating-btn-label {
    right: 60px;
    font-size: 10px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  .neighborhoods-grid {
    grid-template-columns: 1fr;
  }

  .accordion-content-inner table {
    font-size: 12px;
  }

  .accordion-content-inner table th,
  .accordion-content-inner table td {
    padding: 8px;
  }

  .promotion-section h2 {
    font-size: 24px;
  }

  .floating-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    bottom: 10px;
    right: 10px;
    left: 10px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .floating-btn-label {
    display: none;
  }
}
