/* =========================================================
   MILKMAN BOOKING — Global Stylesheet
   ========================================================= */

/* ===== 1. RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --white: #f5f2ef;
  --off-white: #ece8e3;
  --black: #2a2422;
  --soft-black: #3a3330;
  --gray: #938f8c;
  --light-gray: #d6d2ce;
  --border: #e0dcd7;

  /* Typography */
  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Times New Roman", Times, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 9rem;

  /* Layout */
  --max-width: 1200px;
  --narrow-width: 760px;
  --header-height: 70px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== 2. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--black);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--soft-black);
  max-width: 780px;
}

/* ===== 3. LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--black);
}

/* Grid systems */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== 4. BUTTONS ===== */
.btn {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--black);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  text-align: center;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-light:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== 5. HEADER / NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 1000;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* Header on home (transparent over hero) */
.home-page .site-header {
  color: var(--white);
  mix-blend-mode: difference;
}

/* Header on inner pages (solid) */
.inner-page .site-header {
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--border);
}

.mini-logo {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  z-index: 2;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  opacity: 0.8;
  position: relative;
  padding: 0.3rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: inherit;
  z-index: 2;
}

/* ===== 6. HOME — HERO ===== */
.home-page {
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/hero-bg.jpg") center/cover no-repeat fixed;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-md);
  max-width: 900px;
  animation: fadeUp 1.4s var(--ease) both;
}

.hero-logo {
  width: min(50vw, 320px);
  margin: 0 auto var(--space-md);
  filter: drop-shadow(0 6px 40px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 7. HOME — INTRO ===== */
.intro {
  background: var(--white);
}

.intro .lead {
  margin-bottom: var(--space-md);
}

.intro p:not(.lead) {
  max-width: 720px;
  color: var(--soft-black);
}

/* ===== 8. HOME — SERVICES PREVIEW ===== */
.services-preview {
  background: var(--off-white);
}

.card {
  background: var(--white);
  padding: var(--space-md);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: 0.95rem;
  color: var(--soft-black);
  margin: 0;
}

.services-preview .btn {
  margin-top: var(--space-lg);
}

/* ===== 9. HOME — FEATURED ARTISTS ===== */
.featured-artists {
  background: var(--white);
}

.artist-card {
  text-align: left;
}

.artist-card .artist-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--space-sm);
  filter: grayscale(20%);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.artist-card:hover .artist-image {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.artist-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.artist-card p {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin: 0;
}

.featured-artists .btn {
  margin-top: var(--space-lg);
}

/* ===== 10. HOME — TESTIMONIALS ===== */
.testimonials {
  background: var(--off-white);
}

.testimonial {
  background: var(--white);
  padding: var(--space-lg);
  border-left: 3px solid var(--black);
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  color: var(--soft-black);
}

.testimonial cite {
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--gray);
}

/* ===== 11. HOME — CTA ===== */
.cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta p {
  max-width: 600px;
  margin: 0 auto var(--space-md);
  opacity: 0.85;
}

/* ===== 12. INNER PAGES — GENERAL ===== */
.inner-page {
  background: var(--white);
  padding-top: var(--header-height);
}

.page-content {
  padding: var(--space-xl) 0 var(--space-xxl);
}

.page-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0;
}

.content-block {
  margin-bottom: var(--space-xl);
  max-width: var(--narrow-width);
}

.content-block h2 {
  text-transform: lowercase;
  letter-spacing: 0.03em;
}

.content-block p {
  color: var(--soft-black);
}

/* ===== 13. ABOUT — VALUES & STATS ===== */
.value-card {
  padding: var(--space-md);
  background: var(--off-white);
  border-top: 2px solid var(--black);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: 0.95rem;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.stat {
  text-align: left;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--gray);
}

/* ===== 14. ARTISTS PAGE ===== */
.artist-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.artist-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.artist-card-full:nth-child(even) .artist-image {
  order: 2;
}

.artist-card-full .artist-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  filter: grayscale(15%);
  transition: filter 0.4s var(--ease);
}

.artist-card-full:hover .artist-image {
  filter: grayscale(0%);
}

.artist-info h2 {
  text-transform: lowercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-xs);
}

.artist-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.artist-bio {
  color: var(--soft-black);
  margin-bottom: var(--space-md);
}

/* ===== 15. SERVICES PAGE ===== */
.service-block {
  margin-bottom: var(--space-xl);
}

.service-block h2 {
  text-transform: lowercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border);
}

.service-card {
  padding: var(--space-md);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card:hover {
  border-color: var(--black);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--soft-black);
  margin: 0;
}

/* ===== 16. TEAM PAGE ===== */
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.team-member-full {
  text-align: left;
}

.team-photo {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  margin-bottom: var(--space-sm);
  transition: filter 0.4s var(--ease);
}

.team-member-full:hover .team-photo {
  filter: grayscale(0%);
}

.team-info h2 {
  font-size: 1.15rem;
  text-transform: lowercase;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.team-info p:not(.team-role) {
  font-size: 0.95rem;
  color: var(--soft-black);
  margin: 0;
}

/* ===== 17. FAQ PAGE ===== */
.faq-list {
  max-width: var(--narrow-width);
  margin-bottom: var(--space-xl);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.faq-item summary {
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--space-md);
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--gray);
}

.faq-item p {
  margin-top: var(--space-sm);
  color: var(--soft-black);
  font-size: 0.95rem;
  animation: fadeUp 0.3s var(--ease) both;
}

.faq-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 18. CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.contact-info h2 {
  text-transform: lowercase;
  margin-bottom: var(--space-sm);
}

.contact-list {
  margin-bottom: var(--space-lg);
}

.contact-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--gray);
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--black);
  padding: 0.8rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.3s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* ===== 19. CTA BLOCK (inner pages) ===== */
.cta-block {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--off-white);
  max-width: 100%;
}

.cta-block h2 {
  text-transform: lowercase;
}

.cta-block p {
  max-width: 560px;
  margin: 0 auto var(--space-md);
}

/* ===== 20. FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom p {
  margin: 0;
}

/* ===== 21. SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 22. RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .artist-card-full {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .artist-card-full:nth-child(even) .artist-image {
    order: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-xxl: 5rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    transition: right 0.4s var(--ease);
    z-index: 1;
  }

  .nav.is-open {
    right: 0;
  }

  .nav a {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }

  .nav-toggle {
    display: block;
  }

  .home-page .site-header {
    mix-blend-mode: normal;
  }

  .home-page .site-header .nav-toggle {
    color: var(--white);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero {
    background-attachment: scroll;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .site-header {
    padding: 0 var(--space-sm);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .testimonial {
    padding: var(--space-md);
  }
}

/* ===== 23. ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

/* ===== 24. PRINT ===== */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero-actions {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}