/* ========================================
   ProServ Restoration - Main Stylesheet
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #0a2540;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 15px; }

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: #0a2540;
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: #e63946;
    margin-right: 6px;
}

.top-bar-social a {
    color: #fff;
    margin-left: 12px;
    font-size: 1rem;
}

.top-bar-social a:hover {
    color: #e63946;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    padding: 10px 15px;
    font-weight: 600;
    color: #0a2540;
    display: block;
    font-size: 0.95rem;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: #e63946;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 8px 0;
}

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

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: #0a2540;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #e63946;
    padding-left: 25px;
}

.btn-call {
    background: #e63946;
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 50px;
    font-weight: 700;
}

.btn-call:hover {
    background: #c1121f;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #0a2540;
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.75)),
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

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

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #e63946;
    color: #fff;
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0a2540;
}

/* Page Hero (smaller) */
.page-hero {
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)),
                url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #ccc;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb a:hover {
    color: #e63946;
}

/* ========================================
   Section Common
   ======================================== */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e63946;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* ========================================
   About Preview
   ======================================== */
.about-preview {
    background: #fff;
}

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

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

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

.feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 8px;
    color: #e63946;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   Services Grid
   ======================================== */
.services-section {
    background: #f8f9fa;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -50px 0 15px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    position: relative;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content h3 a {
    color: #0a2540;
}

.service-content h3 a:hover {
    color: #e63946;
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: #e63946;
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    letter-spacing: 1px;
}

.read-more i {
    margin-left: 5px;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-choose {
    background: #0a2540;
    color: #fff;
}

.why-choose h2 {
    color: #fff;
}

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

.why-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(230,57,70,0.15);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.why-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.why-card p {
    color: #ccc;
    font-size: 0.95rem;
}

/* ========================================
   Process
   ======================================== */
.process-section {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    width: 70px;
    height: 70px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(230,57,70,0.3);
}

.process-card h3 {
    margin-bottom: 12px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(rgba(230, 57, 70, 0.92), rgba(193, 18, 31, 0.92)),
                url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: #fff;
    color: #e63946;
    margin: 5px;
}

.cta-section .btn:hover {
    background: #0a2540;
    color: #fff;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    background: #f8f9fa;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card:before {
    content: '\201C';
    font-size: 5rem;
    color: #e63946;
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 1;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: #ffb400;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: #888;
}

/* ========================================
   Service Detail Page
   ======================================== */
.service-detail {
    padding: 80px 0;
}

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

.service-main img {
    border-radius: 12px;
    margin-bottom: 30px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-main h2 {
    margin: 30px 0 15px;
}

.service-main h3 {
    margin: 25px 0 12px;
    color: #e63946;
}

.service-main ul {
    margin: 15px 0 20px 25px;
}

.service-main ul li {
    margin-bottom: 8px;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    color: #0a2540;
    border-bottom: 3px solid #e63946;
    padding-bottom: 10px;
}

.sidebar-services {
    list-style: none;
}

.sidebar-services li a {
    display: block;
    padding: 12px 15px;
    background: #fff;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 3px solid #e63946;
    color: #0a2540;
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-services li a:hover {
    background: #e63946;
    color: #fff;
    transform: translateX(5px);
}

.contact-widget {
    background: #0a2540;
    color: #fff;
    text-align: center;
}

.contact-widget h3 {
    color: #fff;
    border-color: #fff;
}

.contact-widget p {
    color: #ccc;
}

.contact-widget .phone {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    display: block;
    margin: 10px 0;
}

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

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

.contact-info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-info-card p, .contact-info-card a {
    color: #555;
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: #e63946;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #0a2540;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e63946;
}

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

.map-section {
    padding: 0;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #0a1929;
    color: #ccc;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e63946;
}

.footer-widget img {
    max-height: 60px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

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

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

.footer-widget ul li a {
    color: #bbb;
    font-size: 0.95rem;
}

.footer-widget ul li a:hover {
    color: #e63946;
    padding-left: 5px;
}

.footer-widget ul li i {
    color: #e63946;
    margin-right: 8px;
    width: 16px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-social a:hover {
    background: #e63946;
    transform: translateY(-3px);
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 80px 0; }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 15px 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 70vh;
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 5px;
    }

    .top-bar-info span {
        display: block;
        margin: 3px 0;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .services-grid,
    .testimonial-grid,
    .why-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    section { padding: 60px 0; }

    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

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

    .btn {
        width: 100%;
    }
}
