/* Reset + Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #000;
}

/* Hero Section */
.slider-container {
    position: relative;
    width: 100%;
    z-index: 1;
    line-height: 15px;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
	    filter: brightness(0.5);
}

/* Overlay content (logo + text) */
.overlay {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5%;
    pointer-events: none;
}

.logo {
    width: 200px;
    pointer-events: auto;
}

.slider-content {
    font-size: clamp(1rem, 2.5vw, 2rem);
    color: white;
    pointer-events: auto;
    margin-bottom: 5%;
}

/* Services Background */
.services-bg {
    background-image: url('/images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    padding: 10rem 2rem 0rem 2rem;
    margin-top: -143px;
    position: relative;
    z-index: 0;
}
.services-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* adjust darkness */
    z-index: -1; /* keeps it behind content */
}
/* Consistent Inner Container */
.services-inner {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Services Title */
.services-bg h2 {
    font-weight: 400;
    text-align: left;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    margin-left: 0;
    padding-left: 0;
}

/* Services Columns */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    color: white;
}

.services-column {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.services-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.services-column ul {
    padding-left: 1rem;
    list-style: disc;
}

.services-column li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* MOT Section */
.mot {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 2rem;
    text-align: center;
}

.mot a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 30px;
}


.garage-section {
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

.garage-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* adjust darkness */
    z-index: -1; /* sits behind content */
}


.garage-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1900px;
    gap: 20px;
}

.garage-image {
    width: 100%;
    max-width: 280px;
    /* Don't exceed this width */
    height: auto;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.garage-image:nth-child(1) {
    animation-delay: 0.2s;
}

.garage-image:nth-child(2) {
    animation-delay: 0.4s;
}

.garage-image:nth-child(3) {
    animation-delay: 0.6s;
}

.garage-image:nth-child(4) {
    animation-delay: 0.8s;
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address {
        display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    flex-direction: column;
}

.footer-logo {
    width: 25%;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contact-details-container {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
    letter-spacing: 5px;
    align-items: center;
    text-align: center;
}

.contact-details-container p a {
    color: black;
    text-decoration: none;
    cursor: pointer;
    font-size: 24px;
}


@media (max-width: 1024px) {

    .logo {
        width: 300px;
    }

    .overlay {
        top: -20px;
    }

}


@media (max-width: 768px) {
	.mot {
    padding: 20px 0;
}
	.services-inner {
    padding: 0 0;
}
    .logo {
        width: 250px;
    }

    .slider-content {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .services-column {
        max-width: 90%;
    }

    .address {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .contact-details-container {
        width: 100%;
    }

    .contact-details-container {
        font-size: 18px;
    }

    .contact-details-container p a {
        font-size: 16px;
    }
}