/* CSS Variables */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #1e3a5f;
    --secondary-light: #2c5282;
    --accent-color: #f7f9fc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --gray-light: #f7fafc;
    --gray-medium: #edf2f7;
    --border-color: #e2e8f0;
    --success: #48bb78;
    --warning: #ed8936;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

ul { 
    list-style: none;
}

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-text {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-heading);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-text {
    padding: 0;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
}

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

/* Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.emergency-link {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.services h2,
.why-choose h2,
.gallery h2,
.reviews h2,
.service-areas h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

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

.service-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.emergency-icon {
    font-size: 3rem;
}

.emergency-content h3 {
    margin-bottom: 0.5rem;
}

.emergency-content p {
    margin: 0;
    opacity: 0.95;
}

.emergency-banner .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    white-space: nowrap;
}

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

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

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

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-medium) 0%, var(--border-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
}

.gallery-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-dark);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--gray-light);
}

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

.review-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--warning);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.review-service {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-summary {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 12px;
}

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

.review-stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.review-stat span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background-color: var(--white);
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--gray-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.quote-intro h2 {
    text-align: left;
    color: var(--secondary-color);
}

.quote-benefits {
    margin-top: 1.5rem;
}

.quote-benefits li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Service Areas Section */
.service-areas {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.areas-list span {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

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

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

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-col a {
    color: var(--white);
    opacity: 0.9;
}

.footer-col a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.95rem;
}

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

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

.demo-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .quote-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.15rem; }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta .btn-large {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .services-grid,
    .features-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-content .btn-primary {
        width: 100%;
    }
    
    .review-summary {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
    }
    
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2rem; }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .quote-container {
        padding: 2rem 1.5rem;
    }
}
