/* Locksmith Ninja Perth - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    --primary-navy: #0d1b2e;
    --secondary-navy: #1a2942;
    --accent-yellow: #f7b731;
    --accent-orange: #ff8c42;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container & Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item i {
    color: var(--accent-yellow);
}

.phone-link {
    color: var(--accent-yellow);
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* ===== Header & Navigation ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cta-button {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--accent-yellow);
    transition: var(--transition);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-yellow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(247,183,49,0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    color: var(--accent-yellow);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    border-color: var(--accent-yellow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-navy);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.hero-feature {
    text-align: center;
}

.hero-feature i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.hero-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hero-feature p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-yellow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-card a {
    color: var(--accent-yellow);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card a:hover {
    color: var(--accent-orange);
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-top: 5px;
}

.about-feature h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* ===== Why Choose Us Section ===== */
.why-choose {
    padding: 80px 0;
    background: var(--primary-navy);
    color: var(--text-light);
}

.why-choose .section-header h2,
.why-choose .section-header p {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-yellow);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.testimonial-rating {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.testimonial-author h4 {
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.cta-section .btn {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.cta-section .btn:hover {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

/* ===== Footer ===== */
footer {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li i {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* ===== Service Page Styles ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--accent-yellow);
}

.service-detail {
    padding: 80px 0;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-main h2 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin: 30px 0 20px;
}

.service-main h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin: 25px 0 15px;
}

.service-main p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-main ul {
    margin: 20px 0;
    padding-left: 0;
}

.service-main ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    list-style: none;
}

.service-main ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-yellow);
    position: absolute;
    left: 0;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-top: 4px solid var(--accent-yellow);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.sidebar-services {
    display: grid;
    gap: 10px;
}

.sidebar-services a {
    padding: 12px 15px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.sidebar-services a:hover {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    transform: translateX(5px);
}

.contact-widget {
    background: var(--primary-navy);
    color: var(--text-light);
}

.contact-widget h3 {
    color: var(--accent-yellow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-top: 5px;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

/* ===== Blog Page ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 250px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
}

.blog-meta i {
    color: var(--accent-yellow);
}

.blog-content h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-yellow);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--accent-orange);
}

/* ===== Responsive Styles ===== */
@media (max-width: 968px) {
    .header-content nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px 30px;
        box-shadow: 5px 0 20px var(--shadow);
        transition: var(--transition);
        z-index: 999;
    }

    .header-content nav.active {
        left: 0;
    }

    .header-content nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-content nav li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }

    .header-content nav a {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .about-content,
    .contact-grid,
    .service-content {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.py-80 {
    padding: 80px 0;
}
