:root {
    /* Default (Dark Mode) Variables */
    --bg-color: #1a1a1a;


    --bg-overlay: rgba(10, 10, 10, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(0, 0, 0, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #fff;
    --text-muted: #888;
    --input-bg: rgba(0,0,0,0.3);
    --btn-bg: #fff;
    --btn-text: #000;
    --link-color: lightskyblue;
}

/* LIGHT MODE OVERRIDES */
body.light-mode {
    --bg-color: #f5f5f5;
    --bg-overlay: rgba(245, 245, 245, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    --text-main: #111;
    --text-muted: #555;
    --input-bg: rgba(255, 255, 255, 0.5);
    --btn-bg: #111;
    --btn-text: #fff;
    --link-color: dodgerblue;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* BOTTOM MENU (Burger & Dropup) */
.menu-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.menu-trigger {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--btn-bg);
    border: 2px solid var(--border-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.menu-trigger:hover { transform: scale(1.1); }

.menu-trigger span {
    width: 20px;
    height: 2px;
    background: var(--btn-text);
    border-radius: 2px;
}

.dropup-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    min-width: 180px;
    display: none; /* Controlled by JS */
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.menu-item {
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.menu-item:hover {
    background: rgba(125,125,125,0.1);
}

/* Google Translate Overrides */
#google_translate_element {
    padding: 5px 10px;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.goog-te-menu-value span {
    color: var(--text-main) !important;
    font-size: 0.9rem !important;
}
.goog-te-gadget-icon { display: none !important; }

/* Header & Nav */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}


.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

nav { display: flex; gap: 10px; }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
}

nav a:hover, nav a.active {
    background: rgba(125, 125, 125, 0.15);
    color: var(--text-main);
}

a {
    color: var(--link-color);
    transition: color 0.3s ease;
}

/* Layout & Cards */

.wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

h3 { color: var(--text-main); }

.card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Service & Review Items */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.service-item:last-child { border-bottom: none; }

.price {
    background: rgba(125,125,125,0.1);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-main);
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-card {
    background: var(--input-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: var(--text-main);
    font-size: 0.9rem;
    text-align: right;
    display: block;
}

/* Forms & Footer */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    box-sizing: border-box;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

button.submit-btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: opacity 0.3s;
}
button.submit-btn:hover { opacity: 0.8; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    width: 100%;
    margin-top: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-sizing: border-box;
}

.cta-btn:hover {
    background: rgba(125, 125, 125, 0.2);
    opacity: 1;
}

.cta-btn:active {
    background: rgba(125, 125, 125, 0.3);
}



footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.schedule-column {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}

@media (max-width: 700px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .schedule-column {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 30px;
    }
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav {
        flex-wrap: wrap; /* Allows buttons to wrap to next line */
        justify-content: center;
    }
    .review-grid {
        grid-template-columns: 1fr;
    }
}
/* Appointment Wizard Styles */
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.grid-item {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.grid-item:hover {
    border-color: var(--link-color);
    background: rgba(125, 125, 125, 0.1);
}

.grid-item.selected {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

.summary-box {
    background: rgba(125, 125, 125, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px dashed var(--border-color);
}
