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

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #ffffff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================
   HEADER
   ========================= */

header {
    background: #1f1f1f;
    color: white;
    padding: 20px 0;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
}

nav a:hover {
    text-decoration: underline;
}

.call-button {
    background: #c62828;
    color: white;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.call-button:hover {
    background: #a91f1f;
}


/* =========================
   HERO
   ========================= */

.hero {
    width: 100%;
    background: #ffffff;
    text-align: center;
    padding: 0;
    margin: 0;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1774px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    flex-wrap: wrap;
}


/* =========================
   ESTIMATE CALL TO ACTION
   ========================= */

.estimate-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 15px;
    padding: 16px 20px;
    background: #c62828;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.estimate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
}

.estimate-icon {
    font-size: 1.7rem;
}

.estimate-text {
    text-align: left;
    flex: 1;
}

.estimate-text strong {
    display: block;
    font-size: 1.1rem;
}

.estimate-text small {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
    opacity: 0.95;
}

.estimate-arrow {
    font-size: 1.5rem;
    font-weight: bold;
}

.direct-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
   ========================= */

.button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.primary {
    background: #c62828;
    color: white;
}

.primary:hover {
    background: #a91f1f;
}

.secondary {
    background: white;
    color: #222;
    border: 1px solid #ccc;
}

.secondary:hover {
    background: #f2f2f2;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: -15px auto 35px;
}


/* =========================
   SERVICES
   ========================= */

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

.service {
    padding: 25px;
    border-radius: 10px;
    background: #f5f5f5;
    border-left: 5px solid #c62828;
}

.service h3 {
    margin-bottom: 10px;
}


/* =========================
   ABOUT
   ========================= */

.about {
    background: #222;
    color: white;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
    text-align: center;
}

.about-points strong {
    font-size: 1.1rem;
}

.about-points p {
    margin-top: 8px;
}


/* =========================
   CONTACT
   ========================= */

.contact {
    text-align: center;
}

.contact-buttons {
    margin-top: 25px;
}


/* =========================
   CONTACT FORM
   ========================= */

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

form textarea {
    resize: vertical;
}

form input[type="file"] {
    background: #ffffff;
    padding: 10px;
}

form button {
    margin-top: 20px;
}


/* =========================
   SOCIAL MEDIA
   ========================= */

.social {
    padding: 55px 0;
    background: #f5f5f5;
}

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

.social-container h2 {
    margin-bottom: 10px;
}

.social-container > p {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 280px;
    padding: 16px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(
        135deg,
        #833ab4,
        #c13584,
        #e1306c,
        #fd1d1d,
        #fcb045
    );
}

.social-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.45rem;
}

.social-text {
    flex: 1;
}

.social-text strong {
    display: block;
    font-size: 1.05rem;
}

.social-text small {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    opacity: 0.9;
}

.social-arrow {
    font-size: 0.8rem;
    opacity: 0.8;
}


/* =========================
   FOOTER
   ========================= */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}


/* =========================
   MOBILE CONTACT BAR
   ========================= */

.mobile-contact {
    display: none;
}


/* =========================
   FORM HIGHLIGHT
   ========================= */

#contact {
    scroll-margin-top: 20px;
}

#contact.form-highlight {
    animation: estimateHighlight 2.5s ease-in-out;
}

@keyframes estimateHighlight {
    0% {
        box-shadow: inset 0 0 0 0 rgba(198, 40, 40, 0);
    }

    20% {
        box-shadow: inset 0 0 0 6px rgba(198, 40, 40, 0.65);
    }

    70% {
        box-shadow: inset 0 0 0 6px rgba(198, 40, 40, 0.65);
    }

    100% {
        box-shadow: inset 0 0 0 0 rgba(198, 40, 40, 0);
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    /* Header */

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .call-button {
        padding: 9px 14px;
    }


    /* Hero */

    .hero {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .hero-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 12px;
        gap: 10px;
    }


    /* Estimate link */

    .estimate-link {
        max-width: 360px;
        padding: 15px;
    }

    .estimate-text strong {
        font-size: 1rem;
    }

    .estimate-text small {
        font-size: 0.78rem;
    }


    /* Direct contact */

    .direct-contact {
        flex-direction: column;
        width: 100%;
    }

    .direct-contact .button {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
    }


    /* Sections */

    .section {
        padding: 45px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }


    /* About */

    .about-points {
        grid-template-columns: 1fr;
    }


    /* Social */

    .social {
        padding: 45px 0;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .social-link {
        width: 100%;
    }


    /* Mobile contact bar */

    .mobile-contact {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .mobile-contact a {
        flex: 1;
        text-align: center;
        padding: 15px;
        color: white;
        text-decoration: none;
        font-weight: bold;
        background: #c62828;
        border-right: 1px solid white;
    }

    .mobile-contact a:last-child {
        border-right: none;
    }


    /* Keep page content above mobile contact bar */

    body {
        padding-bottom: 50px;
    }
}
