/* ==========================================================================
   Schnitt & Stil — Demo Starter Website
   Color: Black (#1a1a1a) + Rose (#c5a0a0) + White (#fff) + Light Gray (#f7f3f0)
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --color-black: #1a1a1a;
  --color-rose: #c5a0a0;
  --color-rose-light: #d4b5b5;
  --color-rose-dark: #a88585;
  --color-white: #ffffff;
  --color-gray-light: #f7f3f0;
  --color-gray-medium: #e0d8d3;
  --color-text: #333333;
  --color-text-light: #666666;

  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

  --max-width: 1120px;
  --header-height: 64px;
  --banner-height: 36px;
  --radius: 6px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--banner-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  padding-top: var(--banner-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Utility --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-rose);
  color: var(--color-white);
  border: 2px solid var(--color-rose);
}

.btn--primary:hover {
  background-color: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
}

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

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* --- Header --- */
.header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
  white-space: nowrap;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-md);
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-rose);
  transition: width var(--transition);
}

.header__nav-link:hover {
  color: var(--color-rose-dark);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-rose-dark);
  white-space: nowrap;
}

.header__phone-icon {
  flex-shrink: 0;
}

.header__phone-text {
  display: none;
}

/* Burger */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__burger--active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Open */
.header__nav--open {
  display: flex;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: var(--space-md);
}

.header__nav--open .header__nav-list {
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

.header__nav--open .header__nav-link {
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-gray-light);
}

/* --- Hero --- */
.hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-sm) var(--space-2xl);
  text-align: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rose-light);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-medium);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* --- Sections (shared) --- */
.section {
  padding: var(--space-2xl) var(--space-sm);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-black);
}

.section--light {
  background-color: var(--color-gray-light);
}

.section--rose {
  background-color: var(--color-white);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section--dark .section__title {
  color: var(--color-white);
}

/* --- Placeholder images --- */
.placeholder-image {
  background-color: var(--color-gray-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  color: var(--color-text-light);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.placeholder-image--tall {
  aspect-ratio: 3 / 4;
}

.placeholder-image--map {
  aspect-ratio: 16 / 9;
  background-color: var(--color-gray-medium);
  min-height: 280px;
}

/* --- About --- */
.about {
  display: grid;
  gap: var(--space-lg);
}

.about__text p {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* --- Services --- */
.services {
  display: grid;
  gap: var(--space-md);
}

.services__card {
  background-color: var(--color-gray-light);
  padding: var(--space-md);
  border-radius: var(--radius);
  text-align: center;
}

.services__icon {
  color: var(--color-rose);
  margin-bottom: var(--space-sm);
}

.services__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-black);
}

.services__list {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.services__list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-gray-medium);
}

.services__list li:last-child {
  border-bottom: none;
}

.services__note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

/* --- Hours --- */
.hours {
  max-width: 500px;
  margin: 0 auto;
}

.hours__table {
  width: 100%;
  border-collapse: collapse;
}

.hours__table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours__table tr:last-child {
  border-bottom: none;
}

.hours__day,
.hours__time {
  padding: 0.75rem 0;
  font-size: 1rem;
}

.hours__day {
  font-weight: 600;
}

.hours__time {
  text-align: right;
  color: var(--color-rose-light);
}

.hours__time--closed {
  color: var(--color-gray-medium);
  font-style: italic;
}

/* --- Contact --- */
.contact {
  display: grid;
  gap: var(--space-lg);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__address p {
  margin-bottom: 0.25rem;
}

.contact__details p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact__details a {
  color: var(--color-rose-dark);
  font-weight: 500;
  transition: color var(--transition);
}

.contact__details a:hover {
  color: var(--color-black);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-black);
  color: var(--color-gray-medium);
  padding: var(--space-md) var(--space-sm);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
}

.footer__address {
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer__links a {
  color: var(--color-gray-medium);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-rose-light);
}

/* ==========================================================================
   Responsive — Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .header__phone-text {
    display: inline;
  }

  .header__nav {
    display: flex;
  }

  .header__burger {
    display: none;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   Responsive — Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .header__inner {
    padding: 0 var(--space-md);
  }

  .header__nav-list {
    gap: var(--space-lg);
  }
}
