/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Reset and Variables */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

:root {
  --primary-color: #222;
  --secondary-color: #555;
  --accent-color: #e0dfd5;
  --max-width: 1100px;
}

/* Global Layout */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary-color);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

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

/* Sections */
section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f5f4f2;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -15%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6), transparent);
  transform: skewY(-8deg);
  pointer-events: none;
}

.hero-title {
  font-size: 4rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  max-width: 600px;
}

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

button, .button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  background-color: var(--primary-color);
  color: #fff;
}

button:hover, .button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Section Headings */
.section-heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p.price {
  font-weight: 600;
  margin: 1rem 0;
}

.service-card details {
  margin-top: 1rem;
  cursor: pointer;
}

.service-card summary {
  font-weight: 500;
  margin-bottom: 0.5rem;
  outline: none;
}

/* Who It’s For Cards */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.who-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* How It Works */
.steps-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Order Form */
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

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

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.order-form button {
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.order-form button:hover {
  background-color: var(--secondary-color);
}

/* FAQ */
.faq-section details {
  margin-bottom: 1rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-section summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-section p {
  margin-top: 0.5rem;
  color: var(--secondary-color);
}

/* Contact */
.contact-section p {
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #f0efed;
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

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

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-tagline {
    font-size: 1.25rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
