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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
}

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

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

.header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-wrench {
    width: 32px;
    height: 32px;
    color: #ea580c;
    flex-shrink: 0;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.header-subtitle {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-link:hover {
    color: #ea580c;
}

.icon-small {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    z-index: 10;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 1.5s ease-out;
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 20;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 48rem;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInScale 0.6s ease-out 0.7s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ea580c;
    color: white;
}

.btn-primary:hover {
    background-color: #c2410c;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-white {
    background-color: white;
}

.section-gray {
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #fed7aa;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: #ea580c;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: #64748b;
    font-size: 0.9375rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 90rem;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #fed7aa;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.service-icon svg {
    color: #ea580c;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-description {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

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

.service-list li {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-list li::before {
    content: "•";
    color: #ea580c;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Inspections Section */
.inspections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
}

.inspections-intro {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.check-list {
    margin-bottom: 2rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.check-text {
    color: #64748b;
    font-size: 0.875rem;
}

.info-box {
    padding: 1.5rem;
    background-color: #fff7ed;
    border-radius: 0.5rem;
    border: 1px solid: #fed7aa;
}

.info-box p {
    font-size: 0.875rem;
    color: #7c2d12;
}

.info-box strong {
    color: #7c2d12;
}

.inspections-image {
    position: relative;
    height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 75rem;
    margin: 0 auto 3rem;
}

.contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #fed7aa;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.contact-icon svg {
    color: #ea580c;
}

.contact-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 0.875rem;
    color: #64748b;
}

.contact-text a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ea580c;
}

/* Contact Form */
.form-container {
    max-width: 48rem;
    margin: 0 auto;
}

.form-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
}

.form-title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.form-group label {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 3rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-text {
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ea580c;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Responsive Design */
@media (min-width: 640px) {
    .header-contact {
        flex-direction: row;
    }

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

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }

    .inspections-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    #cookies-message {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #222;
        color: #fff;
        padding: 18px 10px;
        z-index: 10000;
        text-align: center;
        font-size: 16px;
    }

    #cookies-message a {
        color: #4ae;
        text-decoration: underline;
    }

    #cookies-message button {
        margin-left: 20px;
        padding: 6px 14px;
        background: #4ae;
        color: #222;
        border: none;
        cursor: pointer;
        border-radius: 3px;
        font-size: 15px;
    }


}