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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1a1a1a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: #666;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    padding: 12px 24px;
    text-decoration: none;
    border: 2px solid #1e40af;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-emergency {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: pulse-emergency 2s infinite;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-emergency {
    0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #1e40af;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.emergency-badge {
    background: #dc2626;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.navbar {
    padding: 16px 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.ninja-text {
    color: #1e40af;
}

.perth-text {
    color: #dc2626;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e40af;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #1e40af;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    margin-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    font-weight: 500;
}

.hero-features .feature i {
    font-size: 1.2rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.locksmith-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.locksmith-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.locksmith-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #1e40af;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #1e40af;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: #f8fafc;
}

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

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.feature-list {
    list-style: none;
    margin: 40px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #555;
    font-weight: 500;
}

.feature-list i {
    color: #22c55e;
    font-size: 1.2rem;
}

.security-priority {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.security-priority h4 {
    color: white;
    margin-bottom: 12px;
}

.security-priority p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.professional-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 2rem;
    color: #1e40af;
}

.card-header h3 {
    color: #1a1a1a;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Emergency Section */
.emergency-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.emergency-content {
    text-align: center;
}

.emergency-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 24px;
}

.emergency-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.emergency-features .feature {
    text-align: center;
}

.emergency-features .feature i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.emergency-features h4 {
    color: white;
    margin-bottom: 12px;
}

.emergency-features p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.emergency-cta {
    margin-top: 40px;
}

/* Service Areas */
.service-areas {
    padding: 80px 0;
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.area {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.area:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-4px);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #f8fafc;
}

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

.testimonial {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 40px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial h4 {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.testimonial p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: white;
    color: #1e40af;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-logo p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #3b82f6;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ccc;
}

.contact-details i {
    color: #3b82f6;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        margin-top: 80px;
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .emergency-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 120px;
}

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

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background: #f8fafc;
    padding: 20px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
}

.breadcrumb-nav a {
    color: #1e40af;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

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

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

.service-main h2 {
    margin-bottom: 24px;
    color: #1a1a1a;
}

.service-main h3 {
    margin: 32px 0 16px;
    color: #1e40af;
}

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

.service-main li {
    margin-bottom: 8px;
    color: #555;
}

.service-sidebar {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    height: fit-content;
}

.sidebar-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-cta h3 {
    color: white;
    margin-bottom: 16px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.quick-links h4 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #1e40af;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #1e40af;
    transform: translateY(-4px);
}

.feature-box i {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 20px;
}

.feature-box h4 {
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-box p {
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
        margin-top: 80px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-sidebar {
        padding: 30px 20px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
}