/* ============================================================
   CÓCTEL LOUNGE - Premium Dark Theme
   ============================================================ */

/* ---- Variable Definitions ---- */
:root {
  /* Colors */
  --bg-color: #0c0c0c;
  /* Deep rich black/charcoal */
  --bg-color-alt: #131313;
  /* Slightly lighter module bg */
  --text-main: #f0f0f0;
  /* Off-white for legibility */
  --text-muted: #959595;
  /* Soft gray for secondary text */
  --accent: #c9a84c;
  /* Warm gold — craft cocktail lounge feel */
  --accent-hover: #dfc06a;
  --gold: #d4af37;
  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Sizing */
  --container-px: clamp(24px, 5vw, 80px);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Resets ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html {
  background-color: var(--bg-color);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-color);
  cursor: none;
}

/* Lenis Recommended CSS */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Ensure links don't show native cursor since we use custom */
a,
button {
  cursor: none;
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.container {
  padding: 0 var(--container-px);
  max-width: 1800px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2vh;
}

/* Text Splitting Utilities for GSAP */
.split-words,
.split-chars {
  display: inline-block;
  overflow: hidden;
}

.split-words .word,
.split-chars .char {
  display: inline-block;
  transform: translateY(110%);
}

.line {
  display: block;
  overflow: hidden;
}

/* ---- Custom Cursor ---- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: -5px;
  transition: transform 0.2s var(--ease-out-expo);
}

.cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  mix-blend-mode: normal;
}

/* Cursor Hover states applied by JS */
.custom-cursor.hovering .cursor-dot {
  transform: scale(4);
  background: transparent;
  border: 1px solid white;
  mix-blend-mode: difference;
}

.custom-cursor.hovering .cursor-label {
  display: none;
}


/* ---- Loader ---- */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-text {
  font-family: var(--font-script);
  font-size: 3.5rem;
  letter-spacing: 0.02em;
  color: white;
  margin-bottom: 20px;
}

.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--accent);
}

/* ==== Header ==== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px var(--container-px);
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Brand script font — matches the real Cóctel Lounge signature logo */
.brand-script {
  font-family: var(--font-script);
  text-transform: none;
}

.logo {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: white;
}

.desktop-nav {
  display: flex;
  gap: 40px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.btn-primary {
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg-color);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* ==== HERO ==== */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-px);
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-media {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1a0f05, #0a0402, #0c0807);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(12, 12, 12, 0.4) 60%, rgba(12, 12, 12, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 10vh;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 10rem);
  line-height: 0.85;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hide hero elements until GSAP intro animates them in */
.hero .eyebrow,
.hero-desc,
.hero-cta-group {
  opacity: 0;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-cta-group .btn-outline {
  color: var(--text-main);
}

/* ==== ABOUT / PINNED SCROLL ==== */
.about-section {
  padding: 150px 0;
  position: relative;
  background: var(--bg-color);
}

.about-container {
  display: flex;
  padding: 0 var(--container-px);
  gap: 8vw;
}

.about-text-col {
  flex: 1;
  position: sticky;
  top: 30vh;
  height: fit-content;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 2rem;
}

.about-text-col .text-content {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 500px;
}

.about-text-col p {
  margin-bottom: 1.5rem;
}

.about-visual-col {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 150px;
  padding-top: 20vh;
  padding-bottom: 20vh;
}

.parallax-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}

.offset-img {
  margin-left: -20%;
  width: 80%;
  aspect-ratio: 3/4;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.bg-about-1 {
  background-image: url('../img/about1.png');
  background-size: cover;
  background-position: center;
}

.bg-about-2 {
  background-image: url('../img/about2.png');
  background-size: cover;
  background-position: center;
}

/* ==== MENU HOVER LIST ==== */
.menu-section {
  padding: 150px var(--container-px);
  position: relative;
  background: var(--bg-color-alt);
}

.menu-header {
  margin-bottom: 80px;
}

.menu-list {
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  transition: padding-left 0.4s var(--ease-out-expo), opacity 0.3s;
  position: relative;
}

.menu-list:hover .menu-row {
  opacity: 0.4;
}

.menu-list .menu-row:hover {
  opacity: 1;
  padding-left: 30px;
}

.menu-item-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  transition: color 0.3s;
}

.menu-row:hover .menu-item-title {
  color: var(--accent);
}

.menu-item-desc {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 8px;
  display: block;
}

.menu-price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Floating Image attached to cursor */
.menu-hover-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 550px;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  transform: scale(0.8) translate(-50%, -50%);
  transform-origin: center center;
  transition: opacity 0.4s, transform 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.menu-hover-image.active {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

.hover-img-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo);
  pointer-events: none;
}

.hover-img-inner.active {
  opacity: 1;
}

/* Menu hover images */
.hover-img-inner.flatbread,
.mobile-bg-img.flatbread {
  background-image: url('../img/flatbread.png');
  background-size: cover;
  background-position: center;
}

.hover-img-inner.filet,
.mobile-bg-img.filet {
  background-image: url('../img/filet.png');
  background-size: cover;
  background-position: center;
}

.hover-img-inner.tacos,
.mobile-bg-img.tacos {
  background-image: url('../img/tacos.png');
  background-size: cover;
  background-position: center;
}

.hover-img-inner.martini,
.mobile-bg-img.martini {
  background-image: url('../img/martini.png');
  background-size: cover;
  background-position: center;
}

.menu-mobile-img {
  display: none;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  flex-shrink: 0;
}

.menu-cta {
  margin-top: 80px;
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s;
}

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

/* ==== EVENTS SECTION ==== */
.events-section {
  padding: 150px var(--container-px);
  position: relative;
  background: var(--bg-color);
}

.events-container {
  display: flex;
  gap: 8vw;
  align-items: flex-start;
}

.events-text {
  flex: 1;
}

.events-text .text-content {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

.events-text p {
  margin-bottom: 1.5rem;
}

.events-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.events-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-card {
  background: var(--bg-color-alt);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 4px;
}

.event-card h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 10px;
}

.event-card p {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.event-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-card a:hover {
  color: var(--accent-hover);
}

/* ==== REVIEWS HORIZONTAL SCROLL ==== */
.reviews-section {
  background: var(--bg-color-alt);
  overflow: hidden;
  padding: 150px 0;
}

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

.horizontal-scroll-container {
  position: relative;
}

.horizontal-track {
  display: flex;
  gap: 40px;
  padding: 0 var(--container-px);
  width: max-content;
}

.review-card {
  width: 500px;
  background: var(--bg-color);
  padding: 50px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 30px;
}

.review-card p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 40px;
  flex: 1;
}

.review-card .author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ==== FOOTER ==== */
.site-footer {
  background: #000;
  padding: 150px 0 50px 0;
}

.footer-top {
  text-align: center;
  margin-bottom: 100px;
}

.footer-cta {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-email {
  margin-top: 15px;
}

.footer-email a {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-email a:hover {
  color: var(--accent);
}

.huge-link {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.huge-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.huge-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  margin-bottom: 60px;
}

.ft-logo {
  font-family: var(--font-script);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: white;
  margin-bottom: 10px;
}

.ft-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 5px;
}

.brand-col p {
  color: var(--text-muted);
}

.ft-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.ft-col p,
.ft-col a {
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.95rem;
}

.ft-col a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.ft-col a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Hours table in footer */
.hours-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-main);
  gap: 12px;
}

.hours-row .closed {
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==== Responsiveness ==== */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
  }

  .about-text-col {
    position: relative;
    top: 0;
    margin-bottom: 60px;
    max-width: 100%;
  }

  .about-visual-col {
    gap: 40px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .offset-img {
    margin-left: 0;
    width: 100%;
  }

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

  .events-container {
    flex-direction: column;
  }

  .events-details {
    width: 100%;
  }
}

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

  .header-phone {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hours-row {
    justify-content: center;
    gap: 20px;
  }

  .menu-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .custom-cursor {
    display: none;
  }

  .menu-mobile-img {
    display: block;
    margin-top: 15px;
    width: 100%;
    height: 250px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

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

  /* Restore native cursor on mobile */
  a,
  button,
  body {
    cursor: auto;
  }

  .events-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
