/* ===== KNOWS STUDIOS - Production Stylesheet ===== */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --text: #f0f0f0;
  --text-muted: #999;
  --accent-green: #39ff14;
  --accent-pink: #ff2d7b;
  --accent-gradient: linear-gradient(135deg, var(--accent-green), var(--accent-pink));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-pink); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: padding .3s, background .3s;
}
.nav.scrolled { padding: .6rem 0; background: rgba(10,10,10,.95); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text);
  text-transform: uppercase;
}
.nav-logo span { color: var(--accent-green); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.nav-links a:hover { color: var(--accent-green); }
.nav-cta {
  background: var(--accent-green);
  color: #000;
  padding: .55rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-pink); color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.3) 0%, rgba(10,10,10,.7) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  padding: .4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .3s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s .5s forwards;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin: 1.5rem 0 2.5rem;
  font-weight: 300;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .7s forwards;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .9s forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent-green); color: #000; }
.btn-primary:hover { background: #4dff33; color: #000; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(57,255,20,.3); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--accent-pink); color: var(--accent-pink); transform: translateY(-2px); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--text-muted); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeUp .8s 1.2s forwards;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent-green), transparent); animation: scrollPulse 2s infinite; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ===== SECTIONS ===== */
section { padding: var(--section-pad) 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: .95rem;
}
.section-line {
  width: 60px; height: 2px;
  background: var(--accent-gradient);
  margin: 1.5rem auto 0;
}

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image { border-radius: 8px; overflow: hidden; position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-image-accent {
  position: absolute; bottom: -1rem; right: -1rem;
  width: 120px; height: 120px;
  border: 2px solid var(--accent-green);
  border-radius: 8px;
  z-index: -1;
}
.about-text h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: .95rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent-green); }
.stat-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }

/* ===== SPACES ===== */
.spaces { background: var(--bg-card); }
.spaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.space-card {
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .3s, box-shadow .3s;
}
.space-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.space-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.space-card-body { padding: 1.5rem; }
.space-card h3 { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.space-card .space-size { color: var(--accent-green); font-size: .8rem; font-weight: 600; letter-spacing: .05em; margin-bottom: .75rem; }
.space-card p { color: var(--text-muted); font-size: .85rem; line-height: 1.6; }
.space-card ul { list-style: none; margin-top: .75rem; }
.space-card ul li { color: var(--text-muted); font-size: .85rem; padding: .2rem 0; padding-left: 1.2rem; position: relative; }
.space-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent-green); }

/* ===== EQUIPMENT ===== */
.equipment { background: var(--bg); }
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.equip-category {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.05);
}
.equip-category h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-green);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.equip-category ul { list-style: none; }
.equip-category li { color: var(--text-muted); font-size: .85rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.03); }
.equip-category li:last-child { border: none; }

/* ===== GALLERY ===== */
.gallery { background: var(--bg-card); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.gallery-item:hover::after { background: rgba(57,255,20,.08); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(1) img { aspect-ratio: 1; }

/* Gallery Pagination */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
}
.gallery-page-btn {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid #333;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .95rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
}
.gallery-page-btn:hover:not(.disabled) {
  background: var(--accent-green);
  color: #000;
  border-color: var(--accent-green);
}
.gallery-page-btn.active {
  background: var(--accent-green);
  color: #000;
  border-color: var(--accent-green);
  font-weight: 600;
}
.gallery-page-btn.disabled {
  opacity: .3;
  cursor: default;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}

/* ===== REVIEWS ===== */
.reviews { background: var(--bg); }
.reviews-score { text-align: center; margin-bottom: 3rem; }
.reviews-stars { color: #fbbf24; font-size: 1.5rem; letter-spacing: .1em; }
.reviews-rating { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin: .5rem 0; }
.reviews-count { color: var(--text-muted); font-size: .85rem; }
.reviews-badge { display: inline-block; background: var(--accent-green); color: #000; padding: .3rem .8rem; border-radius: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: .5rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 2rem;
}
.review-card .stars { color: #fbbf24; font-size: .85rem; margin-bottom: .75rem; }
.review-card p { color: var(--text-muted); font-size: .9rem; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.review-card .reviewer { font-size: .8rem; font-weight: 600; color: var(--text); }
.review-card .review-source { font-size: .7rem; color: var(--text-muted); }

/* ===== BOOKING ===== */
.booking { background: linear-gradient(135deg, #0f1a0f 0%, #0a0a0a 50%, #1a0f15 100%); }
.booking-content { text-align: center; max-width: 700px; margin: 0 auto; }
.booking-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }
.booking-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.booking-info { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.booking-info-item { text-align: center; }
.booking-info-item .label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.booking-info-item .value { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-top: .25rem; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-card); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-details h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(57,255,20,.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-green);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item .label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .value { font-size: .95rem; margin-top: .2rem; }
.contact-map { border-radius: 8px; overflow: hidden; min-height: 350px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 350px; border: none; filter: invert(90%) hue-rotate(180deg) brightness(.9) contrast(1.1); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 3rem 0 2rem;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--text); }
.footer-logo span { color: var(--accent-green); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links a:hover { color: var(--accent-green); }
.footer-copy { width: 100%; text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.05); color: var(--text-muted); font-size: .75rem; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,10,.97);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spaces-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
  .booking-info { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
