:root {
  --primary: #8B4513;
  --secondary: #FDF5E6;
  --accent: #DAA520;
  --text: #333;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 100;
  border-bottom: 2px solid var(--accent);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Pacifico', cursive;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

.cta-button,
.booking-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
}

.cta-button:hover,
.booking-button:hover {
  background: transparent;
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background: repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 1px, transparent 0, transparent 50%);
  background-size: 10px 10px;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--primary);
  z-index: 2;
  width: 90%;
  max-width: 800px;
  padding: 120px 0 3rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Pacifico', cursive;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 150px 2rem 3rem;
  background: var(--secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .page-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 1px, transparent 0, transparent 50%);
  background-size: 10px 10px;
}

.page-hero h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.page-hero p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0.5rem auto 0;
  color: var(--text);
}

/* ---------- Sections ---------- */
.services,
.gallery,
.team,
.contact,
.booking {
  padding: 5rem 2rem;
  background: var(--secondary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  font-family: 'Pacifico', cursive;
}

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

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  border: 1px solid var(--accent);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  fill: var(--accent);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
}

/* ---------- Service detail ---------- */
.service-detail {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-item:nth-child(even) .service-text {
  order: -1;
}

.service-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.price-list {
  list-style: none;
  margin-top: 0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--accent);
}

.price-item span:first-child {
  font-weight: 500;
}

.price-item span:last-child {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Gallery ---------- */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-button {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.filter-button.active,
.filter-button:hover {
  background: var(--accent);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-desc {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-avatar {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--secondary);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-decoration {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--accent);
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.member-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1rem;
}

.member-desc {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: var(--primary);
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--accent);
}

/* ---------- Contact ---------- */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.contact-text {
  margin-bottom: 2rem;
  color: var(--text);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
  flex-shrink: 0;
}

.business-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #eee;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.day {
  font-weight: 500;
  color: var(--primary);
}

/* ---------- Forms ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: var(--primary);
  font-weight: 500;
}

.form-input,
.form-textarea {
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: var(--primary);
}

.form-error {
  color: #a03;
  font-size: 0.9rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--primary);
}

.form-success h3 {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ---------- Booking ---------- */
.booking-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 33.333%;
}

.step-number {
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--accent);
}

.step.active .step-number {
  background: var(--accent);
  color: white;
}

.step-label {
  color: var(--text);
  font-size: 0.9rem;
  text-align: center;
}

.booking-form {
  display: none;
}

.booking-form.active {
  display: block;
}

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

.service-card-select {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.service-card-select:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-card-select.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.service-card-select h4 {
  margin-bottom: 0.3rem;
}

.calendar {
  margin: 2rem 0;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.time-slot {
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.time-slot:hover {
  border-color: var(--accent);
}

.time-slot.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.nav-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.prev-btn {
  background: #ddd;
  color: var(--text);
}

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

.nav-btn:hover {
  transform: translateY(-2px);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner .logo {
  color: #fff;
}

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

.footer-links a {
  color: #f5e6d3;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--accent);
}

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

/* ---------- Strip ---------- */
.strip {
  background: var(--primary);
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.strip-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.strip-row strong {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  display: block;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.reveal {
  opacity: 0;
}

.reveal.visible {
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    flex-direction: column;
    top: 70px;
    right: -100%;
    width: 75%;
    max-width: 300px;
    background: var(--white);
    padding: 2rem 1.5rem;
    gap: 1.3rem;
    align-items: flex-start;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    border-radius: 0 0 0 20px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-item:nth-child(even) .service-text {
    order: 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .service-image {
    height: 300px;
  }

  .booking-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .booking-steps::before {
    display: none;
  }

  .step {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .booking-container {
    padding: 2rem 1.2rem;
  }
}