/* ============================= */
/* GLOBAL LAYOUT */
/* ============================= */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url("../images/bg.image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

/* Main content wrapper */
main {
    flex: 1 0 auto;
    padding-top: 80px; /* space for fixed header */
}

/* Keep sections above overlay */
header, .hero, .about-club, .services, .contact, footer {
    position: relative;
    z-index: 1;
}

/* ============================= */
/* HEADER / NAVIGATION FIXED */
/* ============================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end; /* centers the wrapper */
    padding: 20px 50px; /* top-bottom 15px, left-right 40px */
    box-sizing: border-box;
    text-align: right;
    background-color: black;
    color: white;
    z-index: 1000;
}

/* ============================= */
/* LOGO STYLING */
/* ============================= */
.logo {
    position: absolute; /* Takes the logo out of the normal layout */
    left: 50px;         /* Matches your header's 50px side padding */
    top: 50%;           /* Pushes it halfway down the header */
    transform: translateY(-50%); /* Pulls it back up perfectly into the center */
    text-decoration: none; 
}
.logo img {
    height: 80px; /* Gawing mas malaki sa header height */
    width: auto;
    position: relative;
    top: 10px; /* I-adjust ito para maging sentro o lumampas pababa */
    margin-top: -10px; /* Hilahin paitaas para hindi lumaki ang header bar */
    z-index: 1001;
}

/* If you are using a text logo instead of an image: */
.logo h1 {
    margin: 0;
    color: red; /* Fits your current theme */
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
nav {
    display: flex;
    gap: 90px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: red;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:active {
    color: red;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to right, #00e5ff, #ff1ac6, #00e5ff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.hero p {
    margin-bottom: 20px;
}

/* ============================= */
/* ABOUT CLUB SECTION */
/* ============================= */
.about-club {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.about-club-content {
    max-width: 800px;
    background: rgba(0,0,0,0.75);
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(255,0,0,0.5);
}

.about-club-content h2 {
    font-size: 45px;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px red, 0 0 20px red, 0 0 40px darkred;
}

.about-club-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
}

.about-club-content button {
    padding: 12px 30px;
    background: red;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 15px red;
}

.about-club-content button:hover {
    background: darkred;
    box-shadow: 0 0 25px red, 0 0 50px darkred;
    transform: scale(1.05);
}

/* ============================= */
/* SERVICES SECTION */
/* ============================= */
.services {
    padding: 80px 20px;
    text-align: center;
}

.services h2 {
    font-size: 48px;
    margin-bottom: 60px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 10px #ff6666, 0 0 20px #ff3333, 0 0 40px #990000;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 30px; /* spacing between cards */
    max-width: 1200px;
    margin: auto;
}

.service-card {
    position: relative;
    min-height: 300px;         /* fixed height */
    border-radius: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* text at bottom */
    padding: 25px 20px;
    background-size: cover;       /* full image */
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 15px rgba(255,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Overlay for text readability */
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    border-radius: 15px;
    z-index: 0;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1; /* above overlay */
    margin: 0;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffd700; /* golden theme */
}

.service-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px red, 0 0 50px darkred;
}

/* ============================= */
/* RESPONSIVE */
@media screen and (max-width: 1000px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

@media screen and (max-width: 700px) {
    .services-container {
        grid-template-columns: 1fr; /* 1 per row */
    }
}

/* ============================= */
/* CONTACT SECTION */
/* ============================= */
.contact {
    flex: 1 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 45px;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #ff6666, 0 0 20px #ff3333, 0 0 40px #990000;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.contact-info {
    background: rgba(0,0,0,0.75);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
    text-align: left;
}

.contact-info p {
    margin-bottom: 15px;
    color: #ddd;
    font-size: 16px;
}

.contact-form {
    background: rgba(0,0,0,0.75);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 10px red;
}

.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: red;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 0 15px red;
}

.contact-form button:hover {
    background: darkred;
    box-shadow: 0 0 25px red, 0 0 50px darkred;
    transform: scale(1.05);
}

/* ============================= */
/* FOOTER */
/* ============================= */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px;
}

/* ============================= */
/* BUTTONS GENERAL */
button {
    padding: 12px 25px;
    background-color: red;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}

button:hover {
    background-color: darkred;
}

/* REGISTRATION BOX */
.reg-box {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.form-card {
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid red;
    width: 350px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* Inputs stay dark with red focus */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: red;
}

.btn-join {
    background: red;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-join:hover {
    background: darkred;
    box-shadow: 0 0 10px red;
}

/* DASHBOARD SPECIFIC STYLES */
body.dashboard-body {
    margin: 0;
    display: flex;
    background: #050505; 
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    height: 100vh;
    background: #000;
    border-right: 2px solid #990000;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    z-index: 1000;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.sidebar-logo img {
    max-width: 140px;
    filter: drop-shadow(0 0 5px red);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    color: #888;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-left: 4px solid transparent;
}

.sidebar-nav a i {
    margin-right: 15px;
    width: 20px;
    font-size: 18px;
}

.sidebar-nav a:hover, 
.sidebar-nav a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1) 0%, transparent 100%);
    border-left: 4px solid red;
    text-shadow: 0 0 10px red;
}

.logout {
    margin-top: auto;
    color: #555 !important;
}

.logout:hover {
    color: red !important;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 999;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.username-highlight {
    color: red; 
    text-shadow: 0 0 5px red;
}

.user-status {
    background: #990000;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.dashboard-content {
    padding: 40px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stat-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: red;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.stat-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
    background: red;
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #fff;
}

.stat-card span {
    color: red;
    font-size: 13px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.select-wrapper::after {
    content: 'v';
    font-family: Arial, sans-serif;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    pointer-events: none;
    font-weight: bold;
}

/* ============================= */
/* FLOOR PLAN / TABLE STATUS (UPDATED) */
/* ============================= */

:root {
    --status-available: #00FF47; /* Neon Green */
    --status-pending: #FF9100;   /* Bright Orange */
    --status-occupied: #FF0000;  /* Pure Red */
}

/* Base Node Styling */
.node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #444; /* Default accent */
}

/* Status Dot Glow Effect */
.status-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* 1. AVAILABLE - GREEN */
.node.available {
    border-color: rgba(0, 255, 71, 0.2);
    border-left: 4px solid var(--status-available);
    background: rgba(0, 255, 71, 0.02);
}
.node.available .status-dot {
    background: var(--status-available);
    box-shadow: 0 0 10px var(--status-available);
}
.node.available:hover {
    background: rgba(0, 255, 71, 0.08);
    transform: translateY(-5px);
    border-color: var(--status-available);
}
.node.available .label { color: var(--status-available); }

/* 2. PENDING - ORANGE */
.node.pending {
    border-color: rgba(255, 145, 0, 0.2);
    border-left: 4px solid var(--status-pending);
    background: rgba(255, 145, 0, 0.05);
}
.node.pending .status-dot {
    background: var(--status-pending);
    box-shadow: 0 0 10px var(--status-pending);
}
.node.pending:hover {
    background: rgba(255, 145, 0, 0.1);
    transform: translateY(-5px);
}
.node.pending .label { color: var(--status-pending); }

/* 3. OCCUPIED - RED */
.node.occupied {
    border-color: rgba(255, 0, 0, 0.2);
    border-left: 4px solid var(--status-occupied);
    background: rgba(255, 0, 0, 0.05);
}
.node.occupied .status-dot {
    background: var(--status-occupied);
    box-shadow: 0 0 10px var(--status-occupied);
}
.node.occupied:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-5px);
}
.node.occupied .label { color: var(--status-occupied); }

/* Selection State */
.node.selected {
    border-color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Labels */
.info-area .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-area .cap {
    display: block;
    font-size: 0.65rem;
    color: #888;
    margin-top: 2px;
}


/* Costumer Dashboard Section*/

