/* Locksmith Ninja Perth - Main Stylesheet */
:root {
    --primary: #c8102e;
    --primary-dark: #9c0c23;
    --secondary: #1a1a1a;
    --accent: #f5b400;
    --light: #f8f8f8;
    --gray: #666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; color: var(--primary); transition: 0.3s; }
a:hover { color: var(--primary-dark); }

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

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: #fff; margin-right: 15px; }
.top-bar a:hover { color: var(--accent); }
.top-bar .social a { margin: 0 5px; font-size: 16px; }

/* Header */
header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}
.logo img { height: 70px; }

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}
nav ul li { position: relative; }
nav ul li a {
    padding: 10px 15px;
    color: var(--secondary);
    font-weight: 600;
    display: block;
    border-radius: 4px;
}
nav ul li a:hover, nav ul li a.active {
    background: var(--primary);
    color: #fff;
}

/* Dropdown */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    flex-direction: column;
    padding: 5px 0;
    z-index: 100;
}
nav ul li:hover ul { display: flex; }
nav ul li ul li a {
    color: var(--secondary);
    padding: 10px 18px;
    border-radius: 0;
}
nav ul li ul li a:hover {
    background: var(--light);
    color: var(--primary);
}

.call-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 22px !important;
    border-radius: 50px;
    font-weight: 700;
}
.call-btn:hover { background: var(--primary-dark) !important; }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop&q=80') center/cover;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* Sections */
section { padding: 70px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 10px;
}
.section-title h2 span { color: var(--primary); }
.section-title p { color: var(--gray); max-width: 700px; margin: 0 auto; }

/* Features Bar */
.features-bar {
    background: var(--primary);
    color: #fff;
    padding: 30px 0;
}
.features-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}
.feature-item h3 { font-size: 20px; margin-bottom: 5px; }
.feature-item p { font-size: 14px; opacity: 0.9; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-top: 4px solid var(--primary);
}
.service-card:hover { transform: translateY(-8px); }
.service-card-img {
    height: 200px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 60px;
    background-size: cover;
    background-position: center;
}
.service-card-body { padding: 25px; }
.service-card h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 22px;
}
.service-card p { color: var(--gray); margin-bottom: 15px; }
.service-card a {
    color: var(--primary);
    font-weight: 700;
}
.service-card a:hover { color: var(--primary-dark); }

/* About Section */
.about-section {
    background: var(--light);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h2 { font-size: 34px; margin-bottom: 20px; color: var(--secondary); }
.about-text h2 span { color: var(--primary); }
.about-text p { margin-bottom: 15px; color: var(--gray); }
.about-img img { border-radius: 10px; box-shadow: var(--shadow); }

.check-list { list-style: none; margin-top: 20px; }
.check-list li {
    padding: 8px 0 8px 30px;
    position: relative;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 18px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(200, 16, 46, 0.92), rgba(200, 16, 46, 0.92)),
        url('https://images.unsplash.com/photo-1582139329536-e7284fece509?w=1600&auto=format&fit=crop&q=80') center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.cta-banner h2 { font-size: 36px; margin-bottom: 15px; }
.cta-banner p { font-size: 18px; margin-bottom: 25px; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.testimonial {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}
.testimonial .stars { color: var(--accent); margin-bottom: 10px; font-size: 20px; }
.testimonial h4 { color: var(--secondary); margin-bottom: 10px; }
.testimonial p { color: var(--gray); font-style: italic; margin-bottom: 15px; }
.testimonial .author { font-weight: 700; color: var(--primary); }

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 25px;
    background: var(--light);
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover { background: #efefef; }
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    color: var(--gray);
}
.faq-item.active .faq-answer { padding: 18px 25px; max-height: 500px; }
.faq-item.active .faq-question { background: var(--primary); color: #fff; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-box {
    background: var(--secondary);
    color: #fff;
    padding: 35px;
    border-radius: 10px;
}
.contact-info-box h3 { color: var(--accent); margin-bottom: 25px; font-size: 24px; }
.contact-info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-info-item .icon {
    background: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 5px; }
.contact-info-item a, .contact-info-item p { color: #ccc; }
.contact-info-item a:hover { color: var(--accent); }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* Map */
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Footer */
footer {
    background: var(--secondary);
    color: #ddd;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ddd; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.footer-col p { margin-bottom: 12px; line-height: 1.6; }

.social-links { display: flex; gap: 10px; margin-top: 15px; }
.social-links a {
    width: 38px;
    height: 38px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.social-links a:hover { background: var(--primary); }

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop&q=80') center/cover;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.page-banner h1 { font-size: 42px; margin-bottom: 10px; }
.page-banner p a { color: var(--accent); }
.page-banner p a:hover { color: #fff; }

/* Service Page Content */
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.service-content img { border-radius: 10px; box-shadow: var(--shadow); }
.service-content h2 {
    color: var(--secondary);
    margin-bottom: 18px;
    font-size: 30px;
}
.service-content h3 {
    color: var(--primary);
    margin: 25px 0 10px;
    font-size: 22px;
}
.service-content p { margin-bottom: 15px; color: var(--gray); }
.service-content ul { padding-left: 20px; margin-bottom: 15px; }
.service-content ul li { margin-bottom: 8px; color: var(--gray); }

.sidebar {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}
.sidebar h3 { color: var(--secondary); margin-bottom: 15px; }
.sidebar ul { list-style: none; }
.sidebar ul li { margin-bottom: 10px; }
.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    color: var(--secondary);
    border-left: 3px solid var(--primary);
}
.sidebar ul li a:hover { background: var(--primary); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px;
        box-shadow: var(--shadow);
    }
    nav ul.active { display: flex; }
    nav ul li ul { position: static; box-shadow: none; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .about-grid, .contact-grid, .service-content {
        grid-template-columns: 1fr;
    }
    .section-title h2, .cta-banner h2 { font-size: 28px; }
    .page-banner h1 { font-size: 30px; }
}
