/* Import Modern Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0; /* Light gray text for readability */
    background: #0f172a; /* Deep slate background */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Header & Navigation */
header {
    background: #020617; /* Darker header for contrast */
    padding: 1.5rem 0;
    border-bottom: 1px solid #334155;
}

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

header h1 {
    font-size: 2.2rem;
    color: #f8fafc;
    letter-spacing: 1px;
    font-weight: 700;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #eab308; /* Locksmith Gold accent on hover */
}

/* Main Content Area */
main {
    padding: 2rem 0;
    margin-top: 1rem;
    min-height: 60vh;
}

section {
    padding: 2.5rem;
    background: #1e293b; /* Raised dark card effect */
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

/* Typography */
h2, h3, h4 {
    color: #f8fafc;
    font-weight: 700;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-left: 5px solid #eab308;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
}

.hero img {
    border: 2px solid #334155 !important;
}

/* Services Section (Automatically fixes your image layouts) */
.services > div > div {
    background: #0f172a !important; /* Overrides the old light blue */
    border: 1px solid #334155;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services > div > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.services h3 {
    color: #f8fafc !important; 
    font-size: 2rem;
}

.services h4 {
    margin-top: 1rem;
    color: #eab308;
}

/* Areas We Cover */
.areas h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.area-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.area-list li {
    background: #334155;
    color: #f8fafc;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #475569;
    transition: background 0.3s ease, color 0.3s ease;
}

.area-list li:hover {
    background: #eab308;
    color: #0f172a;
    border-color: #eab308;
}

/* Contact Page Specific */
.contact-info {
    text-align: center;
    border-bottom: 1px solid #334155;
    padding-bottom: 2.5rem;
}

.phone-number {
    font-size: 2.8rem;
    color: #eab308;
    margin-top: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

.contact-form {
    max-width: 600px;
    margin: auto;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 1rem 0;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #cbd5e1;
}

input, textarea {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

button {
    background: #eab308;
    color: #0f172a;
    border: none;
    padding: 1.2rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #ca8a04;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #020617;
    color: #64748b;
    border-top: 1px solid #1e293b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    nav {
        margin-top: 0.5rem;
    }

    nav a {
        margin: 0 1rem;
    }

    .area-list {
        justify-content: center;
    }

    section {
        padding: 1.5rem;
    }
    
    .phone-number {
        font-size: 2rem;
    }
}