/* Base Styles */
:root {
  --primary-color: #35c3d0;
  --primary-light: #eef2ff;
  --secondary-color: #5cc6d0;
  --accent-color: #ec4899;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --muted-color: #f3f4f6;
  --border-color: #e5e7eb;
  --error-color: #ef4444;
  --success-color: #10b981;
  --radius: 0.5rem;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--background-color);
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

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

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem;
}

.btn-text:hover {
  background-color: var(--primary-light);
  border-radius: var(--radius);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn i {
  margin-left: 0.5rem;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Header */
.site-header {
  padding: 1rem 0;
  background-color: var(--background-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.9), rgba(99, 102, 241, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Services Section */
.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.featured-label {
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--muted-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.service-card.featured .service-icon {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

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

.service-price {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* How It Works */
.how-it-works {
  padding: 4rem 0;
  background-color: var(--muted-color);
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.step-icon-container {
  position: relative;
  margin-bottom: 1rem;
  display: inline-block;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.step-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-light);
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.reviewer-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem;
}

.reviewer-name {
  font-weight: 600;
}

.reviewer-service {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: var(--primary-light);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  opacity: 0.7;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: white;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.footer-contact i {
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  opacity: 0.7;
  font-size: 1.25rem;
}

.social-links a:hover {
  opacity: 1;
}

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

/* Order Page Styles */
.order-section {
  padding: 2rem 0 4rem;
}

.order-tabs {
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--muted-color);
}

.tab-btn {
  flex: 1;
  padding: 1rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn i {
  font-size: 1.25rem;
}

.tab-btn.active {
  color: var(--primary-color);
  background-color: var(--background-color);
  box-shadow: 0 2px 0 var(--primary-color);
}

.tab-btn.completed {
  color: var(--success-color);
}

.tab-content-container {
  padding: 2rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  margin-bottom: 0.5rem;
}

.tab-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--background-color);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--background-color);
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--background-color);
  font-size: 1rem;
  min-height: 100px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-control.invalid,
.form-select.invalid,
.form-textarea.invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Items Container */
.items-container {
  margin-bottom: 1.5rem;
}

.item-card {
  background-color: var(--muted-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.item-title {
  font-weight: 600;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

/* Photos Container */
.photos-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--error-color);
  color: white;
  border: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
}

.photo-item:hover .remove-photo-btn {
  opacity: 1;
}

.photo-upload-container {
  margin-bottom: 1.5rem;
}

.photo-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4.3;
  background-color: var(--muted-color);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 1.5rem;
  border: 2px dashed var(--border-color);
  transition: var(--transition);
}

.photo-upload-label:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.photo-upload-label i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.photo-upload-input {
  display: none;
}

/* Order Info */
.order-info {
  background-color: var(--muted-color);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.order-info p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

/* Summary Styles */
.summary-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-section:last-child {
  border-bottom: none;
}

.summary-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
}

.summary-item-details {
  flex: 1;
}

.summary-item-title {
  font-weight: 600;
}

.summary-item-subtitle,
.detail-note {
  font-size: 0.875rem;
  color: var(--text-light);
}

.summary-item-price {
  text-align: right;
}

.summary-photos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.summary-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-appointment {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-detail {
  display: flex;
  gap: 1rem;
}

.summary-detail i {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.summary-price {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
}

.price-row.total {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Confirmation Page */
.confirmation-page {
  padding: 4rem 0;
  text-align: center;
}

.confirmation-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.confirmation-card {
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.confirmation-section:last-child {
  border-bottom: none;
}

.confirmation-section h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-light);
}

.order-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.appointment-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.125rem;
}

.appointment-details i {
  color: var(--primary-color);
}

/* Contact Form */
.contact-info {
  background-color: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  color: var(--primary);
}

.contact-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}


.order-card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }

  .main-nav.active ul {
    flex-direction: column;
  }

  .main-nav.active li {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav.active li:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .tab-btn span {
    display: none;
  }

  .tab-content-container {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .form-actions button {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
  }

  .step {
    flex: 0 0 100%;
    margin-bottom: 2rem;
  }

  .step:last-child {
    margin-bottom: 0;
  }

  .tabs-nav {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .tab-btn {
    flex: 0 0 auto;
    padding: 0.75rem;
  }
}


/* Payment Styles */
.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.payment-success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-success-message i {
  font-size: 1.25rem;
  color: #28a745;
}

.payment-amount-display {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  text-align: center;
}

.payment-processing-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin: 15px 0;
}

.payment-processing-message i {
  color: var(--primary-color);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fa-spinner {
  animation: spin 1s linear infinite;
}
