
/* Los Angeles Generator Service - Premium CSS */
:root {
    --primary: #1a3a5c;
    --secondary: #d4af37;
    --accent: #c41e3a;
    --light: #f8f9fa;
    --dark: #0d1b2a;
    --text: #2c3e50;
    --success: #28a745;
    --warning: #ffc107;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--secondary); text-decoration: none; }

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px; height: 60px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--dark); font-weight: bold;
}

.logo-text h1 {
    color: white;
    font-size: 28px;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--secondary);
    font-size: 14px;
    display: block;
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s;
}
nav a:hover { background: var(--secondary); color: var(--dark); }

/* Hero */
.hero {
    background: linear-gradient(rgba(13,27,42,0.85), rgba(13,27,42,0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a3a5c" width="1200" height="600"/><text x="600" y="300" fill="%23d4af37" font-size="40" text-anchor="middle">Los Angeles Generator Service</text></svg>');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.hero h2 { font-size: 52px; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 22px; max-width: 800px; margin: 0 auto 40px; opacity: 0.95; }

.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn {
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
}
.btn-primary { background: var(--secondary); color: var(--dark); }
.btn-primary:hover { background: #e5c158; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,175,55,0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: var(--dark); }

/* Contact Image Section */
.contact-section {
    background: white;
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
}
.contact-section img {
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Sections */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px; height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 60px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--secondary);
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.service-card h3 { color: var(--primary); font-size: 24px; margin: 20px 0 15px; }

/* Image Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.1); }

/* Trust Badges */
.trust-section { background: var(--dark); color: white; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.trust-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.2);
}
.trust-item h3 { color: var(--secondary); font-size: 22px; margin-bottom: 15px; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: var(--secondary);
    position: absolute;
    top: 10px; left: 20px;
    opacity: 0.3;
    line-height: 1;
}
.testimonial-card p { font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { font-weight: bold; color: var(--primary); }
.stars { color: var(--warning); font-size: 20px; margin-bottom: 15px; }

/* FAQ */
.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}
.faq-question {
    padding: 25px 30px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}
.faq-answer {
    padding: 0 30px 25px;
    color: #555;
    line-height: 1.8;
}

/* Service Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 40px;
}
.area-link {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid var(--secondary);
}
.area-link:hover { background: var(--primary); color: white; transform: translateX(5px); }

/* Technical Specs */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.tech-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.tech-card h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}
.tech-card ul { list-style: none; }
.tech-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}
.tech-card li:last-child { border-bottom: none; }

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 20px;
}
.footer-section a {
    color: #aaa;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}
.footer-section a:hover { color: var(--secondary); }

/* Social Icons */
.social-bar {
    background: rgba(255,255,255,0.05);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.social-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.2);
}
.social-icon:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    color: #777;
    font-size: 14px;
}

/* Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(40,167,69,0.15);
    color: var(--success);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--success);
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 { font-size: 32px; }
    .hero p { font-size: 16px; }
    nav ul { display: none; }
    .section-title { font-size: 28px; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.8s ease-out; }

/* Schema markup container (hidden) */
.schema-markup { display: none; }
