/* 
 * Main Stylesheet for Roofing Contractor Website
 * Author: Manus AI
 * Version: 1.0
 */

/* Variables */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333333;
    --light-text: #ffffff;
    --gray-color: #95a5a6;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --error-color: #e74c3c;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 300px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--secondary-color);
}

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-light {
    color: var(--light-text);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.bg-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.bg-accent {
    background-color: var(--accent-color);
    color: var(--light-text);
}

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

.bg-dark {
    background-color: var(--dark-color);
    color: var(--light-text);
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex {
    display: flex;
}

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

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

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

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

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.rounded {
    border-radius: var(--border-radius-md);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #e67e22;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--light-text);
}

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

.top-bar .social-icons {
    display: flex;
    gap: 1rem;
}

.top-bar .contact-info {
    display: flex;
    gap: 1.5rem;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-left: 0.5rem;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

.main-nav .current-menu-item > a {
    color: var(--primary-color);
}

.main-nav .has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    margin-left: 0.5rem;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: var(--shadow-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 100;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

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

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    text-transform: none;
    font-weight: 400;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Emergency Call Section */
.emergency-call {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1.5rem 0;
    text-align: center;
}

.emergency-call h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.emergency-call p {
    margin-bottom: 1rem;
}

.emergency-call .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before,
.testimonial-content:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
}

.testimonial-content:before {
    top: -10px;
    left: -15px;
}

.testimonial-content:after {
    bottom: -30px;
    right: -15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-color);
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Projects Gallery */
.projects-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0 1rem;
}

.gallery-category {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Trust Indicators */
.trust-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Service Areas Map */
.service-areas-section {
    padding: 5rem 0;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding-top: 4rem;
}

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

.footer-widget h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 1rem;
}

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

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget a {
    color: var(--light-text);
    transition: var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-info {
    margin-bottom: 1.5rem;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
}

.breadcrumbs-item:not(:last-child):after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--gray-color);
}

.breadcrumbs-link {
    color: var(--gray-color);
}

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

.breadcrumbs-current {
    color: var(--dark-color);
    font-weight: 600;
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.page-description {
    max-width: 800px;
    margin: 0 auto;
}

/* About Page */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Services Page */
.service-detail {
    padding: 4rem 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-main-content h2 {
    margin-bottom: 1.5rem;
}

.service-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.service-features {
    margin: 2rem 0;
}

.service-features-list {
    list-style: none;
    padding: 0;
}

.service-features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-features-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.service-sidebar {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

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

.service-list li {
    margin-bottom: 0.5rem;
}

.service-list a {
    display: block;
    padding: 0.75rem;
    background-color: #fff;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.service-list a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.service-list .current-service a {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-widget {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.cta-widget h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.cta-widget p {
    margin-bottom: 1.5rem;
}

.cta-widget .btn {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.cta-widget .btn:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

/* Contact Page */
.contact-info-section {
    padding: 4rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-title {
    margin-bottom: 1rem;
}

.contact-info-content {
    color: var(--gray-color);
}

.contact-info-content a {
    color: var(--dark-color);
    font-weight: 600;
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-content h2 {
    margin-bottom: 1.5rem;
}

.contact-form-content p {
    margin-bottom: 2rem;
}

.office-hours {
    margin-top: 2rem;
}

.office-hours h3 {
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
}

.map-section {
    padding: 4rem 0;
}

/* Location Pages */
.location-header {
    position: relative;
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.location-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.location-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.location-header-content {
    position: relative;
    z-index: 10;
}

.location-header h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.location-description {
    max-width: 800px;
    margin: 0 auto;
}

.location-info-section {
    padding: 4rem 0;
}

.location-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-text h2 {
    margin-bottom: 1.5rem;
}

.location-services-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.location-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-testimonials-section {
    padding: 4rem 0;
}

.location-projects-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.location-cta-section {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

.location-cta-section h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.location-cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-content,
    .service-detail-content,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #fff;
        padding: 2rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .mobile-nav.active {
        transform: translateX(0);
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav li {
        margin-bottom: 1rem;
    }
    
    .mobile-nav a {
        display: block;
        padding: 0.75rem 0;
        color: var(--dark-color);
        font-weight: 600;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-nav a:hover {
        color: var(--primary-color);
    }
    
    .mobile-dropdown {
        padding-left: 1rem;
        display: none;
    }
    
    .mobile-dropdown.active {
        display: block;
    }
    
    .mobile-nav .has-dropdown > a {
        position: relative;
    }
    
    .mobile-nav .has-dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hero-content {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .gallery-grid,
    .team-grid,
    .trust-grid,
    .contact-info-grid,
    .location-services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}
