/* --- GLOBAL VARIABLES & RESET --- */
:root {
    /* Transitions */
    --ease: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* THEME 1: VUK KIDS (Playful) */
    --kids-bg: #F4E4BA;
    --kids-primary: #784F41;
    --kids-secondary: #784F41;
    --kids-text: #2d3436;
    --kids-font: 'Fredoka', sans-serif;

    /* THEME 2: VUK GASTRO (Elegant) */
    --rest-bg: #1A1A1A;
    --rest-accent: #D4AF37; /* Gold */
    --rest-text: #F5F5F5;
    --rest-card: #222;
    --rest-font: 'Playfair Display', serif;

    /* THEME 3: VUK NIGHT (Edgy) */
    --club-bg: #000000;
    --club-neon: #9D00FF;
    --club-cyan: #D4AF37;
    --club-text: #FFFFFF;
    --club-font: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- 1. HUB PAGE (INDEX) --- */
.hub-body { height: 100vh; overflow: hidden; font-family: 'Montserrat', sans-serif; background: #000; }

.hub-logo {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, 0);
    z-index: 10;
    font-size: 5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 10px;
    background: rgba(0,0,0,0.7);
    padding: 10px 30px;
    pointer-events: none; /* Let clicks pass through */
    text-transform: uppercase;
    height: 150px;
    width: 100%;
}

.hub-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.split-container { display: flex; width: 100%; height: 100%; }
.split-section {
    flex: 1; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
    transition: var(--ease);
    background-size: cover; background-position: center;
    overflow: hidden;
}

/* Hub Backgrounds */
.split-play { background-image: url('../img/playroom.jpg'); }
.split-rest { background-image: url('../img/restaurant.jpg'); }
.split-club { background-image: url('../img/club.jpg'); }

.split-section .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); transition: var(--ease);
}
.split-section .content { z-index: 2; transform: translateY(calc(-50% + 70px)); transition: var(--ease); }
.split-section h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }
.split-section h2 { font-size: 2.5rem; font-weight: 900; margin: 10px 0 20px; }
.split-section .btn {
    padding: 12px 30px; border: 2px solid white; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; font-size: 0.8rem;
    background: transparent; color: white; transition: var(--ease);
}

/* Hub Hover Effects */
.split-section:hover { flex: 2.5; }
.split-section:hover .overlay { background: rgba(0,0,0,0.3); }
.split-section:hover .btn { background: white; color: black; }

/* Mobile Hub */
@media(max-width: 768px) {
    .hub-body { overflow: auto; height: auto; min-height: 100vh; }
    .split-container { flex-direction: column; height: auto; }
    .split-section {
        height: 70vh;
        flex: none;
        transition: none;
    }
    .split-section .overlay { transition: none; }
    .split-section .content { transition: none; }
    .split-section .btn { transition: none; }
    .split-section:hover { flex: none; }
    .split-section:hover .overlay { background: rgba(0,0,0,0.6); }
    .hub-logo { font-size: 3rem; border-width: 2px; }
}

/* --- COMMON INNER PAGE ELEMENTS --- */
.page-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; position: fixed; width: 100%; top: 0; z-index: 100;
    transition: background 0.3s; backdrop-filter: blur(10px);
}
.page-nav .logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; }
.page-nav .logo img { max-height: 70px; }
.page-nav ul { display: flex; gap: 30px; list-style-type: none;}
.page-nav ul li a { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

.hero-header {
    height: 80vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background-size: cover; background-position: center;
    padding-top: 80px; position: relative;
}
.hero-content { z-index: 2; color: white; max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 900; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); }

.section { padding: 80px 7%; }
.section-title { text-align: center; margin-bottom: 60px; font-size: 2.5rem; text-transform: uppercase; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { padding: 24px; border-radius: 8px; text-align: center; transition: var(--ease); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-10px); }

footer { padding: 60px 10%; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
footer h3 { margin-bottom: 20px; font-size: 1.5rem; }
footer p { margin-bottom: 10px; line-height: 1.6; }

/* --- THEME SPECIFIC STYLES --- */

/* 1. VUK KIDS */
body.theme-kids { background: var(--kids-bg); color: var(--kids-text); font-family: var(--kids-font); }
.theme-kids nav { background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.theme-kids nav .logo { color: var(--kids-primary); }
.theme-kids nav a { color: var(--kids-text); }
.theme-kids nav a.active-btn { background: var(--rest-accent); color: white; padding: 10px 20px; border-radius: 20px; }

.theme-kids .hero-header { background-image: url('../img/4c74a2cb-2984-4185-9586-f4133c6edf7a-home.webp'); }
.theme-kids .section-title { color: var(--kids-primary); }
.theme-kids .card { background: white; border-bottom: 5px solid var(--kids-secondary); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.theme-kids .card.featured { background: linear-gradient(135deg, #fff8e7 0%, #fff 100%); border: 3px solid var(--rest-accent); border-bottom: 5px solid var(--rest-accent); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3); transform: scale(1.08); z-index: 2; margin: -20px 0; }
.theme-kids .card.featured:hover { transform: scale(1.08) translateY(-10px); }
.theme-kids .card.featured .price { color: var(--rest-accent); }
.theme-kids .card-icon { font-size: 5rem; margin-bottom: 8px; display: block; }
.theme-kids .card-cta { display: inline-block; margin-top: auto; padding: 12px 30px; background: var(--kids-primary); color: white; border-radius: 25px; font-weight: 600; font-size: 1.1rem; transition: var(--ease); text-decoration: none; }
.theme-kids .card-cta:hover { background: var(--rest-accent); transform: scale(1.05); }
.theme-kids .card.featured .card-cta { background: var(--rest-accent); }
.theme-kids .card.featured .card-cta:hover { background: var(--kids-primary); }
.theme-kids .menu-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 32px; margin-bottom: 32px; }
.theme-kids .menu-btn { display: inline-block; padding: 15px 40px; background: var(--kids-primary); color: white; border-radius: 25px; font-weight: 600; font-size: 1.1rem; transition: var(--ease); text-decoration: none; }
.theme-kids .menu-btn:hover { background: var(--rest-accent); transform: scale(1.05); }
.theme-kids .price { font-size: 2rem; color: var(--kids-primary); font-weight: bold; display: block; margin-bottom: 16px; }
.theme-kids footer { background: var(--kids-secondary); color: white; }

/* 2. VUK GASTRO */
body.theme-rest { background: var(--rest-bg); color: var(--rest-text); font-family: var(--rest-font); }
.theme-rest nav { background: rgba(26, 26, 26, 0.95); border-bottom: 1px solid #333; }
.theme-rest nav .logo { color: var(--rest-accent); }
.theme-rest nav a { color: var(--rest-text); letter-spacing: 1px; }

.theme-rest .hero-header { background-image: url('../img/restaurant_home.webp'); }
.theme-rest .hero-content h1 { font-family: 'Playfair Display', serif; font-style: bold}
.theme-rest .section-title { color: var(--rest-accent); font-family: 'Playfair Display', serif; }
.theme-rest .card { background: var(--rest-card); border: 1px solid #333; }
.theme-rest .card h3 { color: var(--rest-accent); margin: 15px 0; font-size: 1.5rem; }
.theme-rest .card .card-img { width: 100%; height: 200px; }
.theme-rest .card .card-img img { width: 100%; height: 100%; object-fit: cover; }

.theme-rest footer { background: #111; color: #888; }
.theme-rest footer h3 { color: var(--rest-accent); }
.theme-rest .menu-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 32px; margin-bottom: 32px;}
.theme-rest .menu-btn { display: inline-block; padding: 15px 40px; background: transparent; border: 2px solid var(--rest-accent); color: var(--rest-accent); border-radius: 5px; font-weight: 600; font-size: 1.1rem; transition: var(--ease); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.theme-rest .menu-btn:hover { background: var(--rest-accent); color: var(--rest-bg); }

/* 3. VUK NIGHT */
body.theme-club { background: var(--club-bg); color: var(--club-text); font-family: var(--club-font); }
.theme-club nav { background: rgba(0, 0, 0, 0.8); border-bottom: 1px solid #222; }
.theme-club nav .logo { text-shadow: 0 0 10px var(--club-neon); color: white; }
.theme-club nav a { color: #ccc; }

.theme-club .hero-header { background-image: url('../img/night_club_home.jpg'); }
.theme-club .hero-content h1 { 
    text-transform: uppercase; 
    text-shadow: 3px 3px 0px var(--club-cyan);
}
.theme-club .card { background: #0a0a0a; border: 1px solid #222; }
.theme-club .card:hover { border-color: var(--club-neon); box-shadow: 0 0 15px var(--club-neon); }
.theme-club .card h3 { text-transform: uppercase; letter-spacing: 2px; }
.theme-club .card .date { color: var(--club-cyan); font-weight: bold; margin-bottom: 10px; display: block; }
.theme-club footer { background: #000; border-top: 1px solid #222; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-nav ul { display: none; } /* Add JS hamburger for full experience */
    .hero-content h1 { font-size: 2.2rem; }
    .section { padding: 60px 5%; }
}

.menu-package {
    text-align: center;
}

.menu-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: #2b2b2b;
}

.menu-card h1 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 700;
}

.menu-block {
  margin-bottom: 8px;
}

.menu-block h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.menu-block h2 span {
  font-weight: 400;
  font-size: 18px;
}

.menu-block p {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.menu-footer {
  margin-top: 30px;
  font-size: 18px;
}

.menu-footer p {
  margin: 6px 0;
}

.menu-footer .highlight {
  margin-top: 15px;
  font-weight: 600;
}

/* --- CAROUSEL --- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.carousel-container {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--ease);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: var(--kids-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: var(--ease);
}

.carousel-dot:hover,
.carousel-dot.active {
  background: var(--kids-primary);
  border-color: var(--kids-primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-slide img {
    height: 300px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    z-index: 20;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }

  .carousel-dots {
    z-index: 20;
    bottom: 15px;
  }

  .carousel-dot {
    width: 14px;
    height: 14px;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
}
