/* ============================================
   ANKA LOUNGE — STYLES
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0b0b;
  --bg-elev: #131313;
  --bg-elev-2: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-muted: #b3b3b3;
  --text-dim: #8a8a8a;
  --accent: #ff7a00;
  --accent-hover: #ff8f2b;
  --accent-soft: rgba(255, 122, 0, 0.15);

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.2s var(--ease);
  --t-med: 0.4s var(--ease);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elev);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.eyebrow,
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.section-sub,
.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--t-fast), background var(--t-fast),
    border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0b0b0b;
  box-shadow: 0 10px 30px -10px rgba(255, 122, 0, 0.6);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(255, 122, 0, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  transition: background var(--t-med), backdrop-filter var(--t-med),
    border-color var(--t-med), padding var(--t-med);
  border-bottom: 1px solid transparent;
}

.navbar.menu-open {
  background: rgba(11, 11, 11, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}

.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  display: block;
  width: 150px;
  height: 56px;
  background: transparent;
  transition: transform var(--t-fast);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nav-logo:hover .logo-mark {
  transform: scale(1.04);
}

.logo-mark-lg {
  width: 180px;
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 0.93rem;
  color: var(--text-muted);
  font-weight: 400;
  border-radius: 8px;
  transition: color var(--t-fast);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med);
}

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-icon {
  margin-left: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.nav-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
  z-index: 105;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  transition: color var(--t-fast);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    color var(--t-fast);
}

.mobile-overlay.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-overlay.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-overlay.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-overlay.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-overlay.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link:hover {
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: subtleZoom 20s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.85) 70%, rgba(11, 11, 11, 1) 100%),
    linear-gradient(to bottom, rgba(11, 11, 11, 0.4), rgba(11, 11, 11, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-logo-frame {
  display: block;
  width: clamp(280px, 60vw, 560px);
  aspect-ratio: 2.68 / 1;
  margin: 0 auto;
  overflow: hidden;
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation:
    hero-wings 5s ease-in-out infinite,
    hero-glow 3.6s ease-in-out infinite,
    hero-glitch 7s steps(1, end) infinite;
  transform-origin: 50% 60%;
  will-change: transform, filter;
}

@keyframes hero-wings {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  50%      { transform: scaleX(1.025) scaleY(0.985); }
}

@keyframes hero-glow {
  0% {
    filter:
      drop-shadow(-10px 0 12px rgba(255, 122, 0, 0.55))
      drop-shadow(0 0 22px rgba(255, 122, 0, 0.35));
  }
  50% {
    filter:
      drop-shadow(10px 0 18px rgba(255, 140, 20, 0.85))
      drop-shadow(0 0 34px rgba(255, 122, 0, 0.55));
  }
  100% {
    filter:
      drop-shadow(-10px 0 12px rgba(255, 122, 0, 0.55))
      drop-shadow(0 0 22px rgba(255, 122, 0, 0.35));
  }
}

@keyframes hero-glitch {
  0%,    93%   { opacity: 1; }
  93.3%        { opacity: 0; }
  93.7%        { opacity: 1; }
  94%          { opacity: 0.15; }
  94.4%        { opacity: 1; }
  95%          { opacity: 0; }
  96%          { opacity: 1; }
  96.4%        { opacity: 0.4; }
  96.8%        { opacity: 1; }
  100%         { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  z-index: 2;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; top: 8px; }
  50% { opacity: 1; }
  100% { opacity: 0; top: 24px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--t-med), border-color var(--t-med),
    background var(--t-med);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.4);
  background: var(--bg-elev-2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 11, 11, 0.92), rgba(11, 11, 11, 0.75)),
    radial-gradient(circle at 70% 50%, rgba(255, 122, 0, 0.25), transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elev);
  display: block;
  margin: 0;
  cursor: default;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter var(--t-med);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
}

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

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================
   LOCATION
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.location-info .lead {
  margin: 20px 0 30px;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-elev-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--t-med), border-color var(--t-med);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.4);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card .big {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin-top: 6px;
}

.contact-card .big a {
  transition: color var(--t-fast);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: -12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-credit a {
  color: var(--accent);
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-heart {
  color: var(--accent);
  display: inline-block;
  animation: footer-heart-pulse 1.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes footer-heart-pulse {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.25); }
  40%      { transform: scale(0.95); }
  60%      { transform: scale(1.15); }
  80%      { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-heart { animation: none; }
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px -8px rgba(255, 122, 0, 0.6);
  transition: transform var(--t-fast), background var(--t-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  background: var(--accent-hover);
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}

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

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@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; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-tall { grid-row: span 1; }
  .gallery-wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .nav-container { padding: 14px 18px; }

  .hero { padding: 100px 18px 60px; }
  .hero-cta .btn { padding: 12px 22px; font-size: 0.9rem; }

  .hero-logo-frame {
    width: 100vw;
    max-width: 560px;
    aspect-ratio: 2 / 1;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .hero-logo {
    width: 140%;
    max-width: none;
    height: 140%;
    margin-left: -20%;
    margin-top: -20%;
  }

  .hero-subtitle {
    max-width: 360px;
    padding-inline: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-wide { grid-column: span 1; }

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

  .service-card { padding: 30px 22px; }
  .contact-card { padding: 32px 22px; }

  .whatsapp-fab {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}
