:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --gold-dark: #a07c30;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #888888;
    --gray-dark: #333333;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }

/* ── NAVBAR ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 0 1.5rem;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-logo { height: 44px; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: #ccc; font-size: 0.9rem; font-weight: 500; transition: var(--transition); letter-spacing: 0.5px; }
.nav-link:hover { color: var(--gold); }
.nav-cta {
    background: var(--gold); color: var(--black) !important;
    padding: 0.5rem 1.25rem; border-radius: var(--radius);
    font-weight: 600; transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-phone { color: var(--gold) !important; display: flex; align-items: center; gap: 0.4rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ── */
.btn-gold {
    display: inline-block; background: var(--gold); color: var(--black);
    padding: 0.75rem 2rem; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    border: none; transition: var(--transition); letter-spacing: 0.5px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
    display: inline-block; background: transparent; color: var(--gold);
    padding: 0.75rem 2rem; border-radius: var(--radius);
    font-weight: 600; border: 2px solid var(--gold); transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-dark {
    display: inline-block; background: var(--dark); color: var(--white);
    padding: 0.75rem 2rem; border-radius: var(--radius);
    font-weight: 600; border: none; transition: var(--transition); cursor: pointer;
}
.btn-dark:hover { background: var(--dark-2); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-2) 50%, #1a1500 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 100px 1.5rem 4rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
    display: inline-block; background: rgba(201,168,76,0.15);
    color: var(--gold); padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem; border: 1px solid rgba(201,168,76,0.3);
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white); margin-bottom: 1.5rem; line-height: 1.1;
}
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; color: #aaa; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--gray); font-size: 0.8rem; letter-spacing: 2px;
    text-transform: uppercase; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-dark { background: var(--dark); color: var(--white); }
.section-gray { background: var(--gray-light); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.section-title p { color: var(--gray); font-size: 1.05rem; }
.section-title .gold-line {
    width: 60px; height: 3px; background: var(--gold);
    margin: 1rem auto 0; border-radius: 2px;
}

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--dark-2); border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius); padding: 2rem; text-align: center;
    transition: var(--transition); cursor: pointer;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--gray); font-size: 0.9rem; }

/* ── FORMS ── */
.form-card {
    background: var(--white); border-radius: 12px;
    box-shadow: var(--shadow); padding: 2.5rem; max-width: 600px; margin: 0 auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--dark); }
.form-control {
    width: 100%; padding: 0.75rem 1rem;
    border: 2px solid #e5e5e5; border-radius: var(--radius);
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    transition: var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 0.8rem; color: var(--gray); margin-top: 0.3rem; }
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; padding-top: 70px; }
.sidebar {
    width: 250px; background: var(--dark); position: fixed;
    top: 70px; left: 0; bottom: 0; overflow-y: auto;
    border-right: 1px solid rgba(201,168,76,0.15);
    padding: 1.5rem 0;
}
.sidebar-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1.5rem; color: #aaa; font-size: 0.9rem;
    transition: var(--transition); cursor: pointer;
}
.sidebar-item:hover, .sidebar-item.active { color: var(--gold); background: rgba(201,168,76,0.08); }
.sidebar-item svg { width: 18px; height: 18px; }
.sidebar-section { padding: 0.5rem 1.5rem; font-size: 0.7rem; color: #555; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 1rem; }
.admin-content { margin-left: 250px; flex: 1; padding: 2rem; background: #f8f8f8; min-height: calc(100vh - 70px); }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.page-header h1 { font-size: 1.75rem; }

/* ── CARDS/STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--dark); font-family: 'Playfair Display', serif; }
.stat-card .stat-label { color: var(--gray); font-size: 0.85rem; margin-top: 0.25rem; }
.stat-card .stat-gold { color: var(--gold); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.card-header h3 { font-size: 1.1rem; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 0.75rem 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); border-bottom: 2px solid #eee; }
td { padding: 0.875rem 1rem; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; }
tr:hover td { background: #fafafa; }

/* ── BADGES ── */
.badge { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-inprogress { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #f3f4f6; color: #374151; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); }

/* ── CHATBOT ── */
.chatbot-bubble {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gold); box-shadow: var(--shadow-gold);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.chatbot-bubble:hover { transform: scale(1.1); background: var(--gold-light); }
.chatbot-window {
    position: fixed; bottom: 6rem; right: 2rem; z-index: 998;
    width: 360px; height: 520px; background: var(--white);
    border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; overflow: hidden;
}
.chatbot-window.hidden { display: none; }
.chatbot-header {
    background: var(--dark); color: var(--white);
    padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.chatbot-avatar {
    width: 36px; height: 36px; background: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.chatbot-header strong { font-size: 0.95rem; display: block; }
.chatbot-status { font-size: 0.75rem; color: #4ade80; }
.chatbot-close { margin-left: auto; background: none; border: none; color: #aaa; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.chatbot-close:hover { color: var(--white); }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { max-width: 80%; }
.chat-msg p { padding: 0.6rem 0.9rem; border-radius: 12px; font-size: 0.875rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.bot p { background: #f1f1f1; color: var(--dark); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.user p { background: var(--gold); color: var(--black); border-bottom-right-radius: 4px; }
.chat-msg.typing p { background: #f1f1f1; color: var(--gray); font-style: italic; }
.chatbot-input-area { padding: 0.75rem; border-top: 1px solid #eee; display: flex; gap: 0.5rem; }
#chatbot-input { flex: 1; padding: 0.6rem 0.875rem; border: 2px solid #eee; border-radius: 50px; font-size: 0.875rem; outline: none; }
#chatbot-input:focus { border-color: var(--gold); }
.chatbot-send { width: 38px; height: 38px; background: var(--gold); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.chatbot-send:hover { background: var(--gold-light); }

/* ── BOOKING STEPS ── */
.booking-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 2.5rem; }
.step { display: flex; align-items: center; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; background: #e5e5e5; color: var(--gray); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.step.active .step-circle { background: var(--gold); color: var(--black); }
.step.done .step-circle { background: var(--dark); color: var(--white); }
.step-label { font-size: 0.8rem; color: var(--gray); margin-top: 0.3rem; text-align: center; }
.step.active .step-label { color: var(--gold); font-weight: 600; }
.step-line { width: 60px; height: 2px; background: #e5e5e5; }
.step-wrap { display: flex; flex-direction: column; align-items: center; }

/* ── PRICE SUMMARY ── */
.price-summary { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
.price-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; }
.price-row.total { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 0.75rem; margin-top: 0.5rem; font-weight: 700; font-size: 1rem; }
.price-row .gold { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,10,10,0.98); padding: 1rem 1.5rem 2rem; gap: 1rem; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .admin-layout { flex-direction: column; }
    .sidebar { width: 100%; position: relative; top: 0; height: auto; }
    .admin-content { margin-left: 0; }
    .chatbot-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
    .hero-btns { flex-direction: column; align-items: center; }
}

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    color: #aaa;
    padding: 3rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.875rem; color: #666; margin-top: 0.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.footer-links a, .footer-contact a { color: #888; font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.25rem;
    font-size: 0.8rem; color: #555; text-align: center;
}
.mt-2 { margin-top: 0.5rem; }

/* ── LAYOUT FIX ── */
html, body { width: 100%; overflow-x: hidden; }
main { width: 100%; }
.hero { width: 100%; }

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ── OVERFLOW FIX ── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
main { overflow-x: hidden; }
.section { overflow-x: hidden; }
.services-grid { 
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.footer-container { overflow-x: hidden; }
