:root {
  --primary: #2c1810;
  --secondary: #f9f4f0;
  --accent: #d4a373;
  --text: #4a4a4a;
  --white: #fff;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, .section-title, .logo {
  font-family: 'Italiana', serif;
  font-weight: 400;
  letter-spacing: 1px;
}

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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--primary);
  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: 300;
  transition: color 0.3s;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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;
}

.book-cta {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: 1px solid var(--accent);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.book-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

.hero-content {
  position: relative;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 120px 0 3rem;
}

.hero-title {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

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

.page-hero h1 {
  font-size: 3rem;
  color: var(--primary);
}

.page-hero p {
  max-width: 700px;
  margin: 0.5rem auto 0;
  font-weight: 300;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 2rem;
  background: var(--secondary);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

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

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

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  fill: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

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

.service-card .book-cta {
  margin-top: 1.5rem;
}

/* ---------- Service categories ---------- */
.service-category {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.category-icon {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

.category-title {
  font-size: 2rem;
  color: var(--primary);
}

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

.service-item {
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

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

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

.service-price {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.1rem;
}

.service-duration {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

.service-description {
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

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

.team-member {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.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(--accent);
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
}

.avatar-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf6ef;
}

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

.member-role {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.member-description {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.member-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.specialty-tag {
  background: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
}

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

.filter-button {
  padding: 0.8rem 1.5rem;
  border: none;
  background: white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

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

.filter-button:hover {
  background: var(--primary);
  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;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-category {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.modal-stage {
  width: 640px;
  max-width: 90vw;
  aspect-ratio: 1;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  color: white;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 360px;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-icon {
  width: 40px;
  height: 40px;
  fill: var(--accent);
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.info-card p {
  font-weight: 300;
  font-size: 0.95rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
  background: white;
  color: var(--text);
}

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

.form-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  transition: all 0.3s;
  pointer-events: none;
  background: transparent;
}

.form-group textarea + label {
  top: 1rem;
  transform: none;
}

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

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.8rem;
  background: white;
  padding: 0 0.5rem;
}

.form-group label.nolabel {
  position: static;
  transform: none;
  display: block;
  margin-bottom: 0.5rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}

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

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

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

.form-success h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ---------- Booking ---------- */
.booking-container {
  max-width: 640px;
  margin: 0 auto;
}

.booking-form {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ---------- Strip ---------- */
.strip {
  background: var(--primary);
  color: var(--secondary);
  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-size: 2rem;
  display: block;
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 2rem 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: var(--secondary);
  font-size: 1.3rem;
}

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

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

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

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(249, 244, 240, 0.15);
}

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

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ---------- 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;
  }

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

  .page-hero h1,
  .section-title {
    font-size: 2.2rem;
  }

  .service-category {
    padding: 2rem 1.5rem;
  }
}

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

  .booking-form,
  .contact-form {
    padding: 2rem 1.2rem;
  }
}