/* --- 1. APP LAYOUT VARIABLES --- */
:root {
    --bg-dark: #0a0a0a;
    --gold: #D4AF37; 
    --text-white: #ffffff;
    --input-bg: #f3f3f3;
    
    /* FONTS */
    --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; /* Space for Header */
    padding-bottom: 70px; /* Space for Nav */
    overflow-x: hidden;
    font-family: var(--font-body);
    margin: 0;
}

/* --- 2. 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; box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.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.4rem; color: #ffffff;
    letter-spacing: 2px; text-transform: uppercase;
}

/* --- 3. HERO SECTION --- */
.hero-full { width: 100vw; height: 60vh; position: relative; overflow: hidden; }
.hero-slide { width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.hero-overlay { width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); padding: 20px; }
.hero-overlay h1 { font-family: var(--font-headline); font-weight: 900; font-size: 2.4rem; margin: 0 0 10px 0; line-height: 1.1; }
.gold-text { color: var(--gold); }

/* --- 4. SECTIONS --- */
.content-section { padding: 40px 0; }
.bg-white { background: #fff; color: #111; }
.bg-light { background: #f5f5f5; color: #111; }
.section-header, .section-title { margin-bottom: 20px; padding: 0 5px; display: flex; justify-content: space-between; align-items: center; }
h2 { font-family: var(--font-headline); font-weight: 700; margin: 0; }
.see-all { color: var(--gold); text-decoration: none; font-size: 0.9rem; font-weight: 600; }

/* --- 5. PROBLEM CARDS --- */
.problem-card {
    background: #222; border: 1px solid #333;
    align-items: center; text-align: center; justify-content: center;
    height: 140px; padding: 15px;
    min-width: 140px; /* Ensure width in scroller */
}
.problem-icon-img { width: 50px; height: 50px; object-fit: contain; margin-bottom: 15px; }
.problem-card h3 { color: black; font-size: 0.9rem; margin: 0; }

/* --- 6. SOLUTION STEPS --- */
.step-card {
    flex: 0 0 220px; background: #fff; border: 1px solid #eee;
    padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
}
.step-number {
    background: var(--gold); color: #000; width: 30px; height: 30px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 900; margin-bottom: 10px;
}
.step-card h3 { font-size: 1.1rem; color: #000; margin: 5px 0; }
.step-card p { font-size: 0.85rem; color: #555; line-height: 1.4; }

/* --- 7. SCROLL CONTAINERS --- */
.scroll-row {
    display: flex; overflow-x: auto; gap: 20px; padding: 10px 5px 25px 5px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -5px;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-card {
    flex: 0 0 160px; background: #fff; border-radius: 12px; padding: 15px;
    scroll-snap-align: start; box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; position: relative;
}

/* --- 8. SERVICE POSTER CARDS --- */
.service-card { 
    background: #222; border-radius: 16px; position: relative; overflow: hidden;
    height: 240px; border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0; 
}
.service-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; transition: transform 0.3s ease;
}
.service-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.9)); z-index: 1;
}
.service-content { position: relative; z-index: 2; padding: 15px; width: 100%; }
.service-card h3 { font-size: 1.2rem; margin: 0 0 4px 0; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.service-tags { font-size: 0.75rem; color: #ddd; margin-bottom: 10px; font-weight: 400; opacity: 0.9; }
.service-badge {
    position: absolute; top: 10px; right: 10px; background: var(--gold); color: #000;
    font-size: 0.7rem; font-weight: 900; padding: 4px 8px; border-radius: 4px; z-index: 2; text-transform: uppercase;
}

/* --- 9. REVIEW CARDS (FIXED VISIBILITY) --- */
.review-card {
    min-width: 280px; /* Wider for reading */
    background: #ffffff; /* Explicit White */
    border: 1px solid #e0e0e0; /* Border for contrast */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Lift off page */
    padding: 20px;
    border-radius: 12px;
}
.review-card .stars { color: #f1c40f; margin-bottom: 8px; font-size: 1.1rem; }
.review-card p { font-style: italic; color: #444; line-height: 1.5; margin: 0; }
.review-card .reviewer { text-align: right; font-weight: 700; color: #000; margin-top: 10px; font-size: 0.9rem; }

/* --- 10. SKELETON LOADER (FIXED HEIGHT) --- */
.skeleton {
    background: linear-gradient(90deg, #eeeeee 25%, #f5f5f5 50%, #eeeeee 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    
    /* FIX: Force Dimensions */
    display: block;
    height: 220px !important; 
    width: 100%;
    min-width: 160px;
    border-radius: 12px;
}
.big-skeleton { height: 200px !important; }

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- 11. BUTTONS & UTILS --- */
.cta-group { display: flex; gap: 15px; margin-top: 15px; }
.btn { display: inline-block; text-align: center; font-family: var(--font-headline); cursor: pointer; border-radius: 8px; }
.btn.primary { background: var(--gold); color: #000; border: none; font-weight: 700; padding: 12px 24px; text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid #fff; color: #fff; padding: 12px 24px; text-decoration: none; }
.btn.service-btn {
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; 
    font-weight: 700; text-transform: uppercase; font-size: 0.75rem; 
    padding: 8px 0; width: 100%; border-radius: 6px; text-decoration: none; 
    letter-spacing: 1px; margin-top: 5px;
}
.full-width { width: 100%; display: block; }

/* --- 12. REVIEW FORM --- */
.review-form-box {
    margin: 40px auto 10px auto; padding: 25px; background: #fff; 
    border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 500px; width: 100%; box-sizing: border-box;
}
.review-form-box h3 { margin-top: 0; color: #000; text-align: center; }
.app-input {
    width: 100%; padding: 14px; margin-bottom: 12px; border: 2px solid transparent; 
    border-radius: 8px; background: var(--input-bg); font-size: 0.95rem; 
    font-family: var(--font-body); box-sizing: border-box; transition: 0.2s;
}
.app-input:focus { outline: none; background: #fff; border-color: var(--gold); }

/* --- 13. PRODUCT CARDS --- */
.large-row .scroll-card {
    flex: 0 0 200px; padding: 12px; border: none; box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.product-img-large {
    width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 10px;
}
.product-title { font-weight: 800; font-size: 1rem; color: #000; margin-bottom: 4px; }
.product-price { color: #d00000; font-weight: 700; font-size: 0.95rem; }

/* --- 14. TRUST LIST --- */
.trust-list { display: flex; flex-direction: column; gap: 25px; }
.trust-card { display: flex; gap: 15px; align-items: flex-start; }
.trust-card img { width: 45px; height: 45px; object-fit: contain; }
.trust-text h3 { margin: 0; font-size: 1rem; color: #000; font-weight: 700; }
.trust-text p { margin: 5px 0 0 0; font-size: 0.9rem; color: #555; line-height: 1.4; }

/* --- 15. BOTTOM NAV & LINKS --- */
.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); }
.social-links a { font-weight: bold; font-size: 0.9rem; }

/* --- 16. GALLERY MODAL (NEW) --- */
.modal-gallery {
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    gap: 10px; 
    padding: 0 0 15px 0;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
}
.modal-gallery img {
    height: 250px; 
    width: auto; 
    min-width: 85%;
    object-fit: cover; 
    border-radius: 12px; 
    scroll-snap-align: center;
    background: #f0f0f0;
    flex-shrink: 0;
}
.modal-gallery::-webkit-scrollbar { display: none; }