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

:root {
    --primary-blue: #1e3a8a;
    --navy: #0f172a;
    --slate: #475569;
    --green-accent: #10b981;
    --white: #ffffff;
    --light-gray: #f1f5f9;
    --border-gray: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--slate);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

a:focus {
    outline: 3px solid var(--green-accent);
    outline-offset: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    margin-top: 0.75rem;
}

.btn-link:hover {
    color: var(--green-accent);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    display: block;
    line-height: 0;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav a {
    color: var(--slate);
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

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

.header-phones {
    display: none;
    gap: 1rem;
}

.phone-link {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.phone-link:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.4);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    transition: 0.3s;
}

.mobile-menu-toggle:focus {
    outline: 3px solid var(--green-accent);
    outline-offset: 2px;
}

.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    box-shadow: 0 0 20px var(--green-accent);
}

.hero h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-subhead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-ctas .btn {
    min-width: 200px;
}

.hero-ctas .btn-primary {
    animation: pulse 2s ease-in-out infinite;
}

/* Trust Badges */
.trust-badges {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}

.badge {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
    border-color: var(--primary-blue);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.badge h3 {
    font-size: 1.125rem;
    color: var(--navy);
}

/* Welcome Section */
.welcome {
    padding: 3rem 0;
    text-align: center;
}

.welcome-text {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Photo Gallery */
.photo-gallery {
    padding: 3rem 0;
    background-color: var(--white);
}

.photo-gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

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

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
    border-left: 4px solid var(--green-accent);
}

.service-card h3 {
    color: var(--primary-blue);
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Reviews Preview */
.reviews-preview {
    padding: 3rem 0;
}

.reviews-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--green-accent);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.review-card p {
    margin-bottom: 0.5rem;
}

.reviewer {
    font-weight: 600;
    color: var(--navy);
    font-style: italic;
}

/* FAQ Preview */
.faq-preview {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.faq-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Contact Block */
.contact-block {
    padding: 3rem 0;
}

.contact-block h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.contact-item a {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section a {
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--green-accent);
    opacity: 1;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--slate);
    transition: border-color 0.3s ease;
    min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.active {
    display: block;
}

.form-success {
    background-color: #d1fae5;
    border: 2px solid var(--green-accent);
    color: #065f46;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form-success.active {
    display: block;
}

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

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    min-height: 44px;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Content Pages */
/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--slate);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.breadcrumbs-separator {
    color: var(--slate);
    user-select: none;
}

.breadcrumbs-current {
    color: var(--navy);
    font-weight: 500;
}

.page-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
}

.btn-back-to-services {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-back-to-services:hover {
    background-color: var(--navy);
}

.page-content {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1rem;
}

.content-section p,
.content-section ul {
    margin-bottom: 1rem;
}

.content-section ul {
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.service-details {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.service-details h3 {
    color: var(--primary-blue);
    margin-top: 1.5rem;
}

.service-details h3:first-child {
    margin-top: 0;
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 85px;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }

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

    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .nav {
        display: flex;
    }

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

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

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 4rem;
    }
    
    .services {
        padding: 5rem 0;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .header-phones {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item img {
        height: 300px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--white);
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-width: 3px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-banner,
    .mobile-menu-toggle {
        display: none;
    }
}
