/* Express Locksmith & Car Keys - Main Stylesheet */

/* CSS Variables for Color Scheme */
:root {
    --primary-red: #c0392b;
    --dark-red: #a93226;
    --dark-bg: #1a1a1a;
    --dark-gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #dddddd;
}

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

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-bar-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.top-bar-item i {
    color: var(--primary-red);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--white);
    font-size: 16px;
}

.social-link:hover {
    color: var(--primary-red);
}

/* Header and Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-red);
    font-size: 18px;
    font-weight: 700;
}

.header-phone i {
    font-size: 24px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

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

.hero-text h1 span {
    color: var(--primary-red);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature i {
    color: var(--primary-red);
    font-size: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

/* Contact Form Box */
.hero-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.hero-form h3 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--dark-red);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--light-gray);
}

.section-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
    font-size: 60px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--primary-red);
    font-weight: 600;
    border: 2px solid var(--primary-red);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Feature Section with Image */
.feature-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-list i {
    color: var(--primary-red);
    font-size: 20px;
}

/* Why Choose Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    font-size: 50px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

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

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

/* Service Page Styles */
.page-header {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

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

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0 20px 40px;
}

.content-wrapper li {
    list-style: disc;
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-light);
}

.content-wrapper ol li {
    list-style: decimal;
}

.highlight-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-left: 4px solid var(--primary-red);
    margin: 30px 0;
}

.highlight-box h3 {
    margin-top: 0;
}

/* Contact Page */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.contact-info-item i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: var(--text-light);
}

.contact-info-item a {
    color: var(--primary-red);
    font-weight: 600;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-section {
    margin-top: 50px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--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 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--primary-red);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .hero-text h1 {
        font-size: 36px;
    }

    .feature-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .header-phone {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}
