/* ========================================
   The Players' Lounge — Stylesheet
   Palette: Terracotta + Sand + Neutral
   ======================================== */

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

:root {
  --terracotta: #B85342;
  --terracotta-dark: #9A4235;
  --terracotta-light: #D4786A;
  --sand: #F5E6D3;
  --sand-light: #FBF5EE;
  --sand-dark: #E8D5C0;
  --charcoal: #1A1A1A;
  --dark: #2C2C2C;
  --mid: #5A5A5A;
  --light: #F9F6F3;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(26,26,26,0.08);
  --shadow-md: 0 4px 20px rgba(26,26,26,0.10);
  --shadow-lg: 0 12px 40px rgba(26,26,26,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--terracotta-dark);
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---- Typography ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.063rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin-top: 16px;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  box-shadow: 0 -7px 0 var(--charcoal), 0 7px 0 var(--charcoal);
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  rotate: 45deg;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  rotate: -45deg;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--sand-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184,83,66,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--terracotta);
  font-style: italic;
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--sand-dark);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--mid);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-dark);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-stack {
  position: relative;
  height: 600px;
}

.hero-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img--main {
  top: 0;
  right: 0;
  width: 75%;
  height: 80%;
}

.hero-img--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img--accent {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border: 6px solid var(--sand-light);
}

.hero-img--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 38%;
  left: -10px;
  background: var(--white);
  color: var(--charcoal);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.813rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

/* ---- About ---- */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.063rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--sand-dark);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--dark);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ---- Products ---- */
.products {
  padding: 120px 0;
  background: var(--sand-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 220px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.product-info p {
  font-size: 0.938rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ---- Gallery ---- */
.gallery {
  padding: 120px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  min-height: 400px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
  min-height: 240px;
}

.gallery-item--wide {
  grid-column: 1 / 13;
  grid-row: 2 / 3;
  min-height: 280px;
}

/* ---- Visit ---- */
.visit {
  padding: 120px 0;
  background: var(--sand-light);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--terracotta);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.contact-block h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-block p {
  font-size: 0.938rem;
  color: var(--mid);
  line-height: 1.6;
}

.contact-block a {
  color: var(--terracotta);
  font-weight: 500;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  background: var(--sand-dark);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--sand-dark) 0%, var(--sand) 100%);
  gap: 16px;
}

.map-pin {
  width: 48px;
  height: 48px;
  color: var(--terracotta);
}

.map-placeholder p {
  font-size: 1.063rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ---- CTA ---- */
.cta {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,83,66,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta .section-eyebrow {
  color: var(--terracotta-light);
}

.cta-title {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-ghost-light:hover {
  color: var(--terracotta);
}

/* ---- Contact ---- */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  margin-top: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  color: var(--charcoal);
  background: var(--sand-light);
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(184,83,66,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid);
  opacity: 0.6;
}

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

.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: var(--radius);
  font-size: 0.938rem;
  font-weight: 500;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--sand-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-dark);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 0.938rem;
  color: var(--mid);
  line-height: 1.6;
}

.info-card h4 {
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.info-card a {
  color: var(--charcoal);
  font-weight: 500;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.938rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.063rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.938rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.938rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
}

.footer-contact a:hover {
  color: var(--terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.813rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.813rem;
}

.footer-bottom a:hover {
  color: var(--terracotta-light);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-stack {
    height: 480px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img {
    height: 400px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--sand-dark);
  }

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

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-image-stack {
    height: 400px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .gallery-item--large {
    min-height: 280px;
  }

  .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    min-height: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-stack {
    height: 320px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
