/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

html,
body {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-scrollbar: none;
    background-color: var(--c-canvas);
}

/* css variables - BMW M */
:root {
    /* colors */
    --c-canvas: #ffffff;
    --c-footer: #f7f7f7;
    --c-card: #fafafa;
    --c-heading: #ffffff;
    --c-subheading: #e6e6e6;
    --c-footer-text: #7e7e7e;
    --c-button: #0066b1;
    --c-button-hover: #1c69d4;
    --c-navigation: #222222;
    /* fonts */
    --ff-heading: "Archivo", sans-serif;
    --ff-subheading: "Poppins", sans-serif;
    /* sizing */
    --sz-heading-lg: 3.5rem;
    --sz-heading-md: 2.5rem;
    --sz-heading-sm: 2rem;
    --sz-title-lg: 1.5rem;
    --sz-title-md: 1.3rem;
    --sz-title-sm: 1.1rem;
    --sz-body-md: 1rem;
    --sz-body-sm: 0.9rem;
    --sz-label: 0.9rem;
    --sz-button: 0.9rem;
    /* weight */
    --w-heading: 700;
    --w-title: 700;
    --w-body: 400;
    --w-label: 700;
    --w-button: 700;
    --w-links: 400;
    /* spacing */
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 12px;
    --gap-lg: 16px;
    /* radius */
    --rd-sm: 2px;
    --rd-md: 4px;
    --rd-lg: 6px;
}

/* ========================= */

/* navigation scroll */
#navigation-scroll.scroll {
    background-color: var(--c-navigation);
}

/* navigation links — color */
.navigation-links ul li a.scroll-link {
    color: var(--c-subheading);
}

/* overflow hidden when the navigation is active */
.no-scroll {
    overflow: hidden;
}

/* ========================= */

/* navigation */
.navigation-ctp {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
}

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

.navigation-grp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.navigation-logo {
    display: block;
    width: 150px;
    height: auto;
}

.navigation-actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: var(--gap-lg);
}

.navigation-links ul {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.navigation-links ul li {
    list-style-type: none;
}

.navigation-links ul li a {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-sm);
    font-weight: var(--w-links);
    text-decoration: none;
    color: var(--c-heading);
    position: relative;
}

.navigation-links ul li a::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--c-button);
    transition: all .5s ease;
}

.navigation-links ul li a:hover::before {
    width: 100%;
}

#navigation-hamburger {
    display: none;
    color: var(--c-heading);
}

.navigation-cta-grp {
    position: relative;
}

.navigation-cta-dropdown {
    width: 100%;
    position: absolute;
    top: 3rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--gap-sm);
}

.navigation-cta-dropdown.clicked {
    display: flex;
}

.n-cta-one,
.n-cta-two {
    font-family: var(--ff-subheading);
    font-size: var(--sz-button);
    color: var(--c-subheading);
    text-decoration: none;
    background-color: var(--c-button-hover);
    border-radius: var(--rd-md);
    width: 100%;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-xs);
    text-decoration: none;
    font-family: var(--ff-subheading);
    font-size: var(--sz-button);
    height: 40px;
    padding: 0 24px;
    outline: none;
    border: none;
    color: var(--c-subheading);
    background-color: var(--c-button);
    border-radius: var(--rd-md);
    cursor: pointer;
    transition: background-color .5s ease;
}

.btn:hover {
    background-color: var(--c-button-hover);
}

/* main */

/* section */
section {
    padding: 88px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* title */
.title {
    font-family: var(--ff-heading);
    font-size: var(--sz-title-sm);
    font-weight: var(--w-title);
    color: var(--c-button);
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* home */
.main-home {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)), url('Assets/Images/background\ 1.jpg') no-repeat fixed center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.home-tagline {
    font-family: var(--ff-subheading);
    font-size: var(--sz-label);
    font-weight: var(--w-label);
    color: var(--c-subheading);
}

.home-heading {
    font-family: var(--ff-heading);
    font-size: var(--sz-heading-lg);
    font-weight: var(--w-heading);
    color: var(--c-heading);
}

.home-tagline span,
.home-heading span {
    color: var(--c-button-hover);
}

.home-subheading {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: var(--c-subheading);
}

.home-cta-grp {
    margin-top: 40px;
    width: 100%;
    display: flex;
    gap: var(--gap-lg);
}

.home-cta {
    width: 200px;
}

/* about */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
}

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

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--rd-lg);
}

.about-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.about-title {
    font-family: var(--ff-heading);
    font-size: var(--sz-title-lg);
    font-weight: var(--w-heading);
    color: #000000;
}

.about-description {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: #222222;
}

/* services */
.services-cards-grp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: row;
    gap: var(--gap-lg);
}

.services-card {
    width: 100%;
    height: auto;
}

.services-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.services-content {
    margin-top: 16px;
}

.services-name {
    font-family: var(--ff-heading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-button);
    color: #000000;
    margin-bottom: 4px;
}

.services-text {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-sm);
    font-weight: var(--w-body);
    color: #222222;
}

.services-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.services-highlight-texts {
    max-width: 600px;
    text-align: center;
    font-family: var(--ff-subheading);
    font-size: var(--sz-title-lg);
    font-weight: var(--w-body);
    /* color: var(--c-button); */
}

/* contact */
.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.contact-title {
    font-family: var(--ff-heading);
    font-size: var(--sz-heading-sm);
    font-weight: var(--w-title);
    color: #000000;
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.contact-email,
.contact-viber,
.contact-landline,
.contact-address {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: #222222;
}

.contact-fblink {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: var(--c-button);
    text-decoration: none;
}

.contact-fblink i {
    color: var(--c-button-hover);
}

.contact-fblink:hover {
    text-decoration: underline;
}

.content-right {
    width: 500px;
    border: 1px solid #222222;
    padding: 32px 32px;
    border-radius: var(--rd-sm);
}

.right-div {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.right-title {
    font-family: var(--ff-heading);
    font-size: var(--sz-title-sm);
    font-weight: var(--w-title);
    color: var(--c-button);
}

.right-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

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

.text-title {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: #222222;
}

.text-open {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-body);
    color: var(--c-button);
}

/* footer */
.main-footer {
    border-top: 1px solid var(--c-navigation);
}

.footer-content {
    padding: 32px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-left-content {
    width: 150px;
}

.footer-left-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer-center-content {
    width: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--gap-lg);
}

.center-content-links,
.center-content-services {
    width: 100%;
}

.footer-title {
    font-family: var(--ff-heading);
    font-size: var(--sz-body-md);
    font-weight: var(--w-button);
    color: var(--c-button);
    margin-bottom: 8px;
}

.center-content-links .footer-text,
.center-content-services .footer-text {
    font-family: var(--ff-subheading);
    font-size: var(--sz-body-sm);
    font-weight: var(--w-body);
    color: var(--c-footer-text);
    transition: all .5s ease;
    cursor: pointer;
}

.center-content-links .footer-text:hover,
.center-content-services .footer-text:hover {
    transform: translateX(4px);
}

.footer-right-content {
    width: 300px;
}

.footer-right-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--rd-md);
}

/* another page */
#map-section {
    width: 100%;
}

.map-section-image {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-lg);
}

.map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================= */

/* tablet and mobile - responsive navigation */
@media (max-width: 768px) {
    .navigation-links ul {
        display: none;
    }

    .navigation-actions {
        gap: var(--gap-lg);
    }

    #navigation-hamburger {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 99;
    }

    .navigation-links ul.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--gap-lg);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: var(--rd-md);
        z-index: 99;
        width: 100%;
        height: 100vh;  
    }

    .navigation-links ul li a {
        color: var(--c-heading);
    }
}

/* tablet */
@media (max-width: 768px) {
    /* navigation */
    .navigation-grp {
        padding: 0 16px;
    }

    /* home */
    .home-content {
        gap: var(--gap-md);
    }

    .home-heading {
        font-size: var(--sz-heading-md);
    }

    .home-subheading {
        font-size: var(--sz-body-sm);
    }

    /* about */
    .about-container {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: var(--gap-lg);
    }

    /* services */
    .services-cards-grp {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-highlight-texts {
        font-size: var(--sz-title-md);
    }

    /* contact */
    .contact-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-md);
    }

    .contact-title {
        font-size: var(--sz-title-md);
    }

    .contact-text p {
        font-size: var(--sz-body-md);
    }

    .content-right {
        width: 100%;
    }

    /* footer */
    .footer-content {
        flex-wrap: wrap;
        gap: var(--gap-md);
    }

    .footer-right-content {
        width: 100%;
    }

    /* another page */
    #map-section {
        background-image: url('Assets/Images/mobile_map.png');
    }
}

/* mobile */
@media (max-width: 420px) {
    /* navigation */
    .navigation-grp {
        padding: 0 8px;
    }

    /* home */
    .home-content {
        gap: var(--gap-sm);
    }

    .home-heading {
        font-size: var(--sz-heading-sm);
    }

    .home-subheading {
        font-size: var(--sz-body-sm);
    }

    .home-cta-grp {
        flex-direction: column;
    }

    .home-cta {
        width: 100%;
    }

    /* about */
    .about-container {
        gap: var(--gap-lg);
    }
    
    .about-description {
        font-size: var(--sz-body-sm);
    }

    .about-image img {
        height: 500px;
        object-fit: cover;
    }

    /* services */
    .services-cards-grp {
        grid-template-columns: 1fr;
    }
    
    .services-highlight-texts {
        font-size: var(--sz-title-sm);
    }

    /* contact */
    .contact-title {
        font-size: var(--sz-title-sm);
    }

    .contact-information p,
    .contact-information .contact-fblink {
        font-size: var(--sz-body-sm);
    }

    .content-right {
        padding: 24px 16px;
    }

    .text-title,
    .text-open {
        font-size: var(--sz-body-sm);
    }

    /* footer */
    .footer-content {
        gap: var(--gap-lg);
    }

    .footer-center-content {
        flex-direction: column;
        width: 100%;
    }

    /* map section */
    .map-section-image {
        flex-direction: column;
        width: 100%;
    }
}