/* RINSEIFY MAIN STYLES */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 12rem 2rem 6rem 2rem;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 2rem;
}

.hero-content p {
  margin-bottom: 3rem;
  color: var(--color-text-light);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(181, 230, 29, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-highlight);
}

.badge-icon {
  width: 20px;
  height: 20px;
  background: var(--color-highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral);
  font-weight: bold;
  font-size: 0.8rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-placeholder {
  width: 100%;
  height: 500px;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hero);
  background: transparent;
}

.hero-before-after-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-large);
  background-color: #3a8cdf;
}

.before, .after {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-weight: bold;
}

.before {
  background: rgba(255, 255, 255, 0.2);
}

.after {
  background: var(--color-highlight);
  color: var(--color-neutral);
}

/* SERVICES SECTION */
.services {
  padding: 8rem 2rem;
  background: var(--color-bg);
}

.services-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-card-bg);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover-strong);
}

.service-card.featured {
  border: 2px solid var(--color-highlight);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: var(--color-neutral);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--color-text-light);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-highlight);
  font-weight: bold;
}

.service-price {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* QUICK BOOKING SECTION */
.quick-booking {
  padding: 4rem 2rem;
}

.booking-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.booking-actions {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* QUOTE SECTION */
.quote-section {
  padding: 8rem 2rem;
  background: var(--color-bg-light);
}

.quote-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.quote-header {
  text-align: center;
  margin-bottom: 4rem;
}

.quote-calculator {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-form {
  background: var(--color-card-bg);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border-medium);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: normal;
  margin-bottom: 0;
  padding: 1rem;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
  border: 2px solid var(--color-border-medium);
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox-group label:hover {
  background: var(--color-bg-section);
  border-color: var(--color-primary);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label:has(input:checked) {
  background: var(--color-bg-section);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.calculate-btn {
  width: 100%;
}

.quote-result {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
}

.result-card {
  padding: 3rem;
  text-align: center;
}

.result-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.quote-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.quote-breakdown {
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
}

.quote-note {
  font-size: 0.9rem;
  color: var(--color-text-lighter);
  margin-bottom: 2rem;
  font-style: italic;
}

.quote-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* GALLERY SECTION */
.gallery {
  padding: 8rem 2rem;
}

.gallery-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-item {
  text-align: center;
}

.gallery-placeholder {
  width: 100%;
  height: 250px;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.before-after-slider {
  width: 100%;
  height: 100%;
  display: flex;
}

.before-side, .after-side {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
}

/* Default placeholder backgrounds */
.before-side {
  background: linear-gradient(45deg, #8B4513, #A0522D);
}

.after-side {
  background: var(--gradient-primary);
}

/* Real images styling */
.gallery-placeholder.real-images .before-side,
.gallery-placeholder.real-images .after-side {
  background: none;
  padding: 0;
}

.gallery-placeholder.real-images .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.label {
  position: absolute;
  top: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  z-index: 2;
  color: white;
  font-weight: bold;
}

.gallery-item h4 {
  font-size: 1.2rem;
  color: var(--color-text);
  font-weight: 600;
}

.gallery-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.gallery-cta {
  text-align: center;
}

/* BOOKING SECTION */
.booking-section {
  padding: 8rem 2rem;
  background: var(--color-bg);
}

.booking-section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.booking-info h2 {
  margin-bottom: 2rem;
}

.booking-features {
  margin-top: 3rem;
}

.booking-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.feature-icon {
  font-size: 2rem;
  width: 60px;
  text-align: center;
}

.booking-feature h4 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.booking-calendar {
  background: var(--color-card-bg);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-card);
}

.calendar-header {
  text-align: center;
  margin-bottom: 2rem;
}

.calendar-header h3 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.calendar-day {
  text-align: center;
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-medium);
}

.calendar-day h4 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.calendar-day span {
  font-size: 0.9rem;
  font-weight: normal;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.time-slot {
  padding: 0.5rem;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.time-slot:hover {
  background: var(--color-primary);
  color: white;
}

.time-slot.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--color-text-lighter);
  color: var(--color-text-lighter);
}

.booking-form h4 {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row input,
.booking-form textarea {
  padding: 1rem;
  border: 2px solid var(--color-border-medium);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.booking-form textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 1rem;
  resize: vertical;
}

.form-row input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.booking-submit {
  width: 100%;
}

/* ABOUT SECTION */
.about {
  padding: 8rem 2rem;
}

.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-features {
  margin-top: 3rem;
}

.about-feature {
  margin-bottom: 2rem;
}

.about-feature h4 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-size: 1.2rem;
}

.about-feature p {
  color: var(--color-text-light);
  line-height: 1.6;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-card {
  background: var(--color-card-bg);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid var(--color-card-border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-light);
  font-weight: 600;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .booking-container {
    flex-direction: column;
    text-align: center;
  }
  
  .quote-calculator {
    margin: 0 1rem;
  }
  
  .calculator-form {
    padding: 2rem;
  }
  
  .quote-actions {
    flex-direction: column;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-section-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}