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

:root {
    --primary-color: #c8102e;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --gray: #666;
    --border-color: #ddd;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
}

.top-bar-info a {
    color: var(--white);
    transition: color 0.3s;
}

.top-bar-info a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    color: var(--white);
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

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

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-content {
    display: none;
    position: absolute;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.nav-menu .dropdown:hover .dropdown-content {
    display: block;
}

.nav-menu .dropdown-content a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
}

.nav-menu .dropdown-content a:hover {
    background: var(--light-bg);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #a00d25;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

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

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

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

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

.section-title h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-alt {
    background: var(--light-bg);
}

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

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

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

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

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

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

.service-card .btn {
    padding: 10px 25px;
    font-size: 16px;
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-box i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-box p {
    color: var(--gray);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.about-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

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

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-item p {
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

/* Map Section */
.map-container {
    width: 100%;
    margin-top: 50px;
}

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

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.service-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

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

.service-main h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    margin-top: 30px;
}

.service-main h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    margin-top: 25px;
}

.service-main p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-main ul {
    list-style: none;
    margin: 20px 0;
}

.service-main ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
}

.service-main ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

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

.sidebar-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.sidebar-box h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 10px;
}

.service-list a {
    display: block;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 5px;
    transition: all 0.3s;
}

.service-list a:hover,
.service-list a.active {
    background: var(--primary-color);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

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

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p,
.footer-section li {
    color: #ccc;
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s;
}

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

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

/* Responsive Styles */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

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

    .nav-menu .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--light-bg);
        margin-top: 10px;
    }

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

    .hero p {
        font-size: 18px;
    }

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

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

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

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-info {
        justify-content: center;
    }
}

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

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .section {
        padding: 50px 20px;
    }

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

    .service-hero h1 {
        font-size: 28px;
    }

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