/* ===== Variables & Reset ===== */
:root {
  --color-primary: #d88ba0;
  --color-primary-dark: #b96b81;
  --color-secondary: #f7e6ea;
  --color-text: #3a2c30;
  --color-muted: #7a6a6e;
  --color-bg: #fffaf9;
  --color-white: #ffffff;
  --color-border: #ecd9de;
  --color-success: #4c8c5b;
  --color-error: #c0392b;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(58, 44, 48, 0.08);
  --max-width: 1100px;
  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--color-primary-dark);
}

.section-title p {
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-dark);
}

.nav-links .btn {
  padding: 8px 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-primary-dark);
  min-width: 44px;
  min-height: 44px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg));
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: var(--color-primary-dark);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-image {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.hero-image .placeholder-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-size: 3rem;
  box-shadow: var(--shadow);
}

/* ===== Cards / Grids ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--color-border);
}

.card h3 {
  color: var(--color-primary-dark);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* ===== Services list (info page) ===== */
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed var(--color-border);
  gap: 16px;
  flex-wrap: wrap;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row .service-name {
  font-weight: 600;
}

.service-row .service-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.service-row .service-price {
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

/* ===== Hours / Contact ===== */
.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .today {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ===== Booking page ===== */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 860px) {
  .booking-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.booking-form,
.booking-summary {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--color-border);
}

@media (min-width: 860px) {
  .booking-summary {
    position: sticky;
    top: 90px;
  }
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

legend {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  padding: 0;
  font-size: 1.05rem;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 4px;
}

.service-options {
  display: grid;
  gap: 10px;
}

.service-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.service-option:hover {
  border-color: var(--color-primary);
}

.service-option input {
  margin-top: 4px;
}

.service-option.selected {
  border-color: var(--color-primary);
  background: var(--color-secondary);
}

.service-option-text strong {
  display: block;
}

.service-option-text span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.time-slot {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 8px;
  padding: 8px 6px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-slot:hover {
  border-color: var(--color-primary);
}

.time-slot.selected {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.time-slot:disabled,
.time-slot.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-row .label {
  color: var(--color-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 16px 0;
  color: var(--color-primary-dark);
}

.alert {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.alert-error {
  background: #fdecea;
  color: var(--color-error);
  border: 1px solid #f5c6c1;
}

.alert-success {
  background: #eaf6ec;
  color: var(--color-success);
  border: 1px solid #c3e6c9;
}

.hidden {
  display: none !important;
}

/* ===== Footer ===== */
.site-footer {
  background: #2f2327;
  color: #e9dde0;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 24px;
}

.footer-grid h4 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.site-footer a {
  color: #e9dde0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #c9b9be;
}

/* ===== Responsive nav ===== */
@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px 4px;
  }

  .nav-links .btn {
    display: block;
    text-align: center;
  }
}

@media (max-width: 600px) {
  section {
    padding: 40px 0;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .hero-actions .btn,
  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .booking-form,
  .booking-summary {
    padding: 20px;
  }
}
