@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #24252A;
    font-size: 21px;
}

li,
a,
button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 21px;
    color: #edf0f1;
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: rgba(36, 37, 42, 0.8);
}

.logo {
    cursor: pointer;
    width: 10%;
    max-width: 80px;
    min-width: 50px;
}

.nav_links {
    list-style: none;
    display: flex;
}

.nav_links li {
    display: inline-block;
    padding: 0px 20px;
}

.nav_links li a {
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover {
    color: #0088a9;
}

button {
    padding: 9px 25px;
    background-color: rgba(0, 136, 169, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: rgba(0, 136, 169, 0.8);
}

.background {
    background-image: url('horizontal 2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

main {
    text-align: center;
    color: #edf0f1;
    margin-top: 400px;
    background-color: rgba(36, 37, 42, 0.6);
}

section {
    padding: 100px 10%;
    color: #edf0f1;
    background-color: #2a2c31;
}

.about_container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about_container h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #00aabb;
}

.about_container p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #cdd1d4;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 5px;
}

.service_box {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.service_box:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.service_box .text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    pointer-events: none;
}

.service_box h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.service_box p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.contact_container {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

footer {
    background-color: #1f2023;
    padding: 25px 10%;
    color: #aaa;
    text-align: center;
    font-size: 0.9rem; /* ← Not changed */
}

footer nav a,
footer .social_links a,
.legal_links a {
    color: #aaa;
    margin: 0 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav a:hover,
footer .social_links a:hover,
.legal_links a:hover {
    color: #00aabb;
}

.call-now-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00aabb;
    color: white;
    font-size: 21px;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#openStatus {
    font-weight: bold;
    font-size: 18px;
    color: white;
    display: flex;
    justify-content: center;
}
#openStatus.open {
    color: #00ff88;
}
#openStatus.closed {
    color: #ff5555;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #edf0f1;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    header {
        padding: 20px 5%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        width: auto;
        max-width: 100px;
        margin-right: auto;
    }

    .hamburger {
        display: flex;
    }

    .nav_links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #2a2c31;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        padding: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;

        transition: max-height 0.7s ease-in-out,
            opacity 0.7s ease-in-out,
            padding 0.7s ease-in-out;
    }

    .nav_links.active {
        max-height: 500px;
        opacity: 1;
        padding: 20px 0;
        pointer-events: auto;
    }

    .nav_links li {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav_links li:last-child {
        border-bottom: none;
    }

    .nav_links li a {
        font-size: 21px;
        padding: 15px;
        transition: background-color 0.3s ease;
    }

    button {
        display: none;
    }

    .services_grid {
        grid-template-columns: 1fr;
    }

    body,
    li,
    a,
    button {
        font-size: 21px;
    }

    .service_box h3 {
        font-size: 1.6rem;
    }

    .service_box p {
        font-size: 1.25rem;
    }

    .about_container h2 {
        font-size: 3rem;
    }

    .about_container p {
        font-size: 1.4rem;
    }

    .call-now-button {
        display: block;
    }
    .background {
      background-image: url('vertical 1.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      color: white;
    }
}

