/* --- VARIABLES & BASE --- */
:root {
    --bg-dark: #0a0a0a;
    --gold: #D4AF37;
    --text-white: #ffffff;
    --font-headline: 'Lato', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding-top: 60px;
    padding-bottom: 80px; /* Space for Bottom Nav */
    font-family: var(--font-body);
    margin: 0;
}

/* --- HEADER --- */
.app-header {
    position: fixed; top: 0; left: 0; right: 0; height: 60px;
    background: rgba(10, 10, 10, 0.98); 
    display: flex; justify-content: center; align-items: center;
    z-index: 100; border-bottom: 1px solid #222;
}
.brand-container { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 32px; width: auto; }
.brand-name {
    font-family: var(--font-headline); font-weight: 900; 
    font-size: 1.2rem; color: #fff; letter-spacing: 2px;
}

/* --- HERO --- */
.page-hero { padding: 30px 0 20px 0; }
.container { padding: 0 20px; }
.page-hero h1 { font-family: var(--font-headline); font-weight: 900; font-size: 2rem; margin-bottom: 10px; line-height: 1.2; }
.gold-text { color: var(--gold); }
.page-hero p { color: #888; margin: 0; font-size: 0.95rem; }

/* --- VERTICAL GRID --- */
.vertical-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on small phones */
    gap: 20px;
}
/* 2 Columns on larger phones/tablets */
@media (min-width: 400px) {
    .vertical-grid { grid-template-columns: 1fr 1fr; }
}

/* --- SERVICE POSTER CARD --- */
.service-poster {
    background: #222; border-radius: 12px; position: relative; overflow: hidden;
    height: 200px; /* Square-ish look */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}
.service-poster:active { transform: scale(0.98); }

.poster-bg {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.poster-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.9));
}
.poster-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 15px;
}
.poster-content h3 { margin: 0; font-size: 1.1rem; font-weight: 700; text-shadow: 0 2px 4px #000; }
.poster-content p { margin: 5px 0 0 0; font-size: 0.75rem; color: #ddd; }

.poster-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--gold); color: #000;
    font-size: 0.65rem; font-weight: 800; padding: 4px 8px;
    border-radius: 4px; text-transform: uppercase;
    z-index: 10;
}

/* --- BOTTOM NAV --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
    background: #111; display: flex; justify-content: space-around; align-items: center;
    border-top: 1px solid #333; z-index: 100;
}
.nav-item { text-decoration: none; display: flex; flex-direction: column; align-items: center; color: #666; font-size: 0.7rem; }
.nav-icon { width: 24px; height: 24px; margin-bottom: 4px; }
.nav-item.active { color: var(--gold); }

/* --- MODAL (BOTTOM SHEET) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 2000;
    flex-direction: column; justify-content: flex-end; align-items: center;
}
.modal-content {
    background: #fff; width: 100%; max-width: 500px;
    border-radius: 20px 20px 0 0; padding: 0; /* Padding handled inside body */
    max-height: 90vh; overflow-y: auto; 
    position: relative; animation: slideUp 0.3s ease; color: #000;
}
@keyframes slideUp { from {transform: translateY(100%);} to {transform: translateY(0);} }

/* GALLERY IN MODAL */
.modal-gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 10px; padding: 20px 20px 10px 20px;
    -webkit-overflow-scrolling: touch;
}
.modal-gallery img {
    height: 200px; width: auto; min-width: 80%; /* Show most of image */
    object-fit: cover; border-radius: 12px;
    scroll-snap-align: center;
    background: #eee;
}
.modal-gallery::-webkit-scrollbar { display: none; }

.modal-body { padding: 0 25px 30px 25px; }

.close-modal {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0,0,0,0.1); border-radius: 50%;
    width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; z-index: 20; color: #333;
}

#modal-title { margin: 10px 0 5px 0; font-size: 1.5rem; font-weight: 800; }
.modal-price-tag { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 20px; }
.modal-description h3 { font-size: 1rem; margin-bottom: 5px; color: #555; text-transform: uppercase; }
.modal-description p { color: #333; line-height: 1.6; margin-bottom: 25px; font-size: 0.95rem; }

.btn.full-width {
    display: block; width: 100%; text-align: center;
    background: var(--gold); color: #000; font-weight: 700;
    padding: 15px; border-radius: 8px; text-decoration: none;
}

/* --- HERO UPDATES --- */
.power-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #fff;
    margin: 10px 0 20px 0;
    opacity: 0.9;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    flex: 1; /* Makes buttons equal width */
    min-width: 140px;
    font-size: 0.9rem;
    padding: 12px 10px;
}

/* --- STATUS BAR (The Disclaimer) --- */
.status-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed #444;
    color: #888;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}




/* --- HERO UPDATES --- */
.power-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #fff;
    margin: 10px 0 20px 0;
    opacity: 0.9;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    flex: 1; /* Equal width */
    min-width: 140px;
    font-size: 0.9rem;
    padding: 12px 10px;
}

/* --- STATUS BAR (Disclaimer) --- */
.status-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed #444;
    color: #888;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- REQUEST BOX --- */
.bg-light {
    background: #f4f6f8; color: #333; margin-top: 20px; border-top: 1px solid #ddd;
}
.request-box {
    background: #fff; padding: 25px; border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center;
    max-width: 500px; margin: 0 auto;
}
.request-box h3 { margin-top: 0; color: #000; font-size: 1.2rem; }
.request-box p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }

.app-input {
    width: 100%; padding: 14px; margin-bottom: 12px;
    border: 2px solid #eee; border-radius: 8px;
    background: #f9f9f9; font-size: 1rem;
    font-family: inherit; box-sizing: border-box;
}
.app-input:focus { outline: none; background: #fff; border-color: var(--gold); }