:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
}

/* Background Vibe */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('vibe.png') center/cover no-repeat;
    opacity: 0.4; /* subtler */
    filter: brightness(0.7) blur(10px);
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, rgba(5,5,5,1) 100%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff, #999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon {
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
}
.nav-icon:hover { color: var(--text-primary); }

.btn-nav-primary {
    background: var(--text-primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-nav-primary:hover {
    transform: translateY(-2px);
    background: #e0e0e0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* offset nav */
    position: relative;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.5;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-15px) translateX(-50%);}
    60% {transform: translateY(-7px) translateX(-50%);}
}

/* Features Grid */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Reservation Section */
.reservation-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}
.res-header-text {
    text-align: center;
    margin-bottom: 2.5rem;
}
.res-header-text h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.res-header-text p { color: var(--text-secondary); font-size: 0.95rem; }

.reservation-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
}
.cal-left { flex: 1; min-width: 0; max-width: 420px; margin: 0 auto; }
.cal-right { width: 280px; flex-shrink: 0; padding-top: 2rem; }

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.calendar-header button {
    background: rgba(255,255,255,0.08); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    font-size: 1rem; transition: 0.3s;
}
.calendar-header button:hover { background: rgba(255,255,255,0.2); }
.calendar-header span { font-weight: 600; font-size: 1.2rem; }

.cal-day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.day-name {
    text-align: center; font-size: 0.8rem; color: var(--text-secondary);
    padding: 0.5rem 0; font-weight: 600;
}
.cal-day {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; font-size: 0.95rem; transition: 0.3s;
    border: 1px solid transparent; font-weight: 500;
}
.cal-day:hover:not(.empty):not(.full-booked) { background: rgba(255,255,255,0.15); }
.cal-day.empty { visibility: hidden; }
.cal-day.selected {
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
.cal-day.full-booked {
    color: rgba(255,255,255,0.2); pointer-events: none;
    background: rgba(255, 0, 0, 0.05);
}

#selected-day-details h4 {
    margin-bottom: 0.3rem; font-size: 1.1rem; color: var(--text-primary);
}
.detail-hint { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }

.hourly-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; margin-bottom: 1.5rem;
}
.hour-btn {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 0.7rem 0.2rem; color: var(--text-primary);
    cursor: pointer; transition: 0.25s; text-align: center; font-family: var(--font-main);
    font-weight: 600; font-size: 0.85rem;
}
.hour-btn:hover:not(.booked):not(.mola) { background: rgba(255,255,255,0.15); }
.hour-btn.selected { background: rgba(255,255,255,0.25); border-color: #fff; }
.hour-btn.booked {
    background: rgba(255,0,0,0.08); color: rgba(255,255,255,0.3);
    border-color: transparent; cursor: not-allowed;
}
.hour-btn.mola {
    background: transparent; border: 1px dashed rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.3); cursor: not-allowed; grid-column: span 3;
}
.selection-info { font-size: 0.85rem; color: #fff; margin-bottom: 0.8rem; font-weight: 600; }

.btn-primary {
    display: inline-block; width: 100%; padding: 1rem;
    background: #fff; color: #000; text-decoration: none; font-weight: 600;
    border-radius: 12px; transition: 0.3s; border: none; cursor: pointer; text-align: center;
}
.btn-primary:hover { background: #e0e0e0; transform: translateY(-2px); }

/* Footer */
.footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
}
.footer-logo {
    font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.footer-text { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }
.footer-links { margin-bottom: 2rem; }
.footer-links a {
    color: var(--text-secondary); text-decoration: none; margin: 0 1rem;
    font-size: 0.9rem; transition: 0.3s;
}
.footer-links a:hover { color: #fff; }
.copyright { color: rgba(255,255,255,0.3); font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem;}

/* Admin overrides */
.admin-container { max-width: 520px; padding: 4rem 1.5rem; margin: 0 auto; text-align: center;}
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display:block; margin-bottom:0.5rem; color:var(--text-secondary); font-size:0.9rem; }
.form-control {
    width:100%; padding:1rem; border-radius:12px; background:rgba(255,255,255,0.05); border:1px solid var(--glass-border);
    color:var(--text-primary); font-family:inherit; font-size:1rem; outline:none; transition:border-color 0.3s;
}
.form-control:focus { border-color: var(--text-primary); }
.btn-submit {
    width:100%; padding:1rem; background:var(--text-primary); color:#000; border:none; border-radius:12px;
    font-weight:600; font-size:1rem; font-family:inherit; cursor:pointer; transition:transform 0.2s, background 0.2s;
}
.btn-submit:hover { transform:translateY(-2px); background:#e0e0e0; }
#login-error { color:#ff5252; margin-top:1rem; font-size:0.9rem; display:none; }
.dashboard-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2rem; padding-bottom:1rem; border-bottom:1px solid var(--glass-border); }
.switch { position:relative; display:inline-block; width:50px; height:28px; }
.switch input { opacity:0; width:0; height:0; }
.slider { position:absolute; cursor:pointer; top:0; left:0; right:0; bottom:0; background-color:rgba(255,255,255,0.2); transition:.4s; border-radius:34px; }
.slider:before { position:absolute; content:""; height:20px; width:20px; left:4px; bottom:4px; background-color:white; transition:.4s; border-radius:50%; }
input:checked + .slider { background-color:#4CAF50; }
input:checked + .slider:before { transform:translateX(22px); }
.status-toggle { display:flex; align-items:center; gap:10px; background:rgba(0,0,0,0.3); padding:10px 15px; border-radius:12px; }
.admin-card { background:rgba(0,0,0,0.2); border:1px solid var(--glass-border); border-radius:20px; padding:1.5rem; margin-bottom:1.5rem; text-align:left; }
.btn-nav { background:rgba(255,255,255,0.1); border:none; color:white; width:30px; height:30px; border-radius:50%; cursor:pointer; font-size:1rem; transition:0.3s; }
.btn-nav:hover { background:rgba(255,255,255,0.2); }
.admin-hour-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 10px; padding: 0.8rem 0.2rem; color: var(--text-secondary); cursor: pointer; transition: 0.3s; text-align: center; font-family: var(--font-main); font-weight: 600; font-size: 0.9rem; }
.admin-hour-btn.is-open { background: rgba(76,175,80,0.2); border-color: rgba(76,175,80,0.5); color: #81c784; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .reservation-inner { flex-direction: column; gap: 2rem; }
    .cal-right { width: 100%; padding-top: 0; }
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .reservation-container { padding: 2rem 1rem; border-radius: 20px;}
}
@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .section-padding { padding: 4rem 0; }
    .hourly-grid { grid-template-columns: repeat(2, 1fr); }
    .hour-btn { font-size: 0.8rem; padding: 0.8rem 0.2rem;}
    .hour-btn.mola { grid-column: span 2; }
    .cal-left { max-width: 100%; }
}
