:root {
    --text: #ffffff;
    --bg: #0D0C02;
    --primary: #DCC128;
    --secondary: #2C2607;
    --accent: #E0C73E;
}

@font-face {
    font-family: "campora classic";
    src: url('./FontsFree-Net-camporaclassic-black.ttf');
}

body {
    background-color: var(--bg);
    font-family: 'Red Hat Display', sans-serif;
    overflow-x: hidden;
}

.navbar {
    background-color: var(--bg) !important;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0px 14px 63px -5px rgba(255, 255, 255, 0.25);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 500;
    font-family: "campora classic";
    color: #eecf22;
    border-radius: 10px;
    border: 2px solid #eecf22;
    padding: 1px 10px ;
}

.navbar-brand:hover{
    color: #eecf22;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: var(--text) !important;
    font-size: larger;
}

#contact-btn {
    background-color: #DCC128;
    border-radius: 7px;
    padding: 5px 10px;
}

@media only screen and (max-width: 1000px) {
    #contact-btn{
        background-color: initial;
        padding: 0;
    }
}

.navbar-toggler-icon {
    background-image: url('./images/icons8-hamburger-menu-50.png');
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    animation: zoomFade 10s infinite;
    z-index: 9;
}

.background-container:nth-child(1) {
    background-image: url('./images//hero_images/luminous.png')
}

.background-container:nth-child(2) {
    background-image: url('./images//hero_images/exide.png')
}

.background-container:nth-child(3) {
    background-image: url('./images//hero_images/amaron.png')
}

.background-container:nth-child(4) {
    background-image: url('./images//hero_images/aaron.png')
}


@keyframes zoomFade {
    0% {
        transform: scale(.5);
        opacity: 0.3;
    }

    /* 50% {
      transform: scale(0.7);
      opacity: 1;
    } */
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@media only screen and (max-width: 690px) {
    .background-container {
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    @keyframes zoomFade {
        0% {
            transform: scale(1.0);
            opacity: 0.3;
        }

        100% {
            transform: scale(1.5);
            opacity: 0;
        }
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
    color: var(--text);
    height: 90vh;
    max-height: 100vh;
    position: relative;
    z-index: 10;
}

.hero-title {
    width: 50%;
    text-align: center;
    font-size: 3em;
    position: relative;
    z-index: inherit;
}

.hero-desc {
    text-align: center;
    position: relative;
    z-index: inherit;
}

.contact-btn {
    background-color: var(--primary);
    padding: 10px 30px;
    border: none;
    font-weight: 500;
    transition: .3s ease-in-out;
    text-decoration: none;
    color: var(--bg);
    position: relative;
    z-index: inherit;
}

.contact-btn:hover {
    background-color: var(--accent);
}

@media only screen and (max-width: 990px) {
    .hero-title {
        width: auto;
    }
}

.service {
    color: var(--text);
    min-height: 90vh;
}

.service-title {
    padding-top: 90px;
    text-align: center;
    word-spacing: 0.1em;
}

.service-card {
    width: 70%;
    background-color: #D9D9D9;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    text-align: center;
    color: var(--bg);
}

#row-2 {
    display: flex;
    justify-content: center;
    margin-top: 20px !important;
}

@media only screen and (max-width: 990px) {
    .service-card {
        background-color: #979797;
    }
}

@media only screen and (max-width: 990px) {
    .row {
        display: flex;
        gap: 20px;
    }

    .service-card {
        width: 100%;
    }
}

.gallery {
    color: var(--text);
    min-height: 90vh;
}

.gallery-title {
    padding-top: 90px;
    text-align: center;
    word-spacing: 0.2em;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    height: 80vh;
}

.card {
    position: relative;

    width: 700px;
    height: 400px;
    overflow: hidden;

    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/*Light blue cover above the slide show*/
.card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 900;

    display: block;
    width: 100%;
    height: 100%;

    background-color: rgba(40, 6, 28, 0.2);
}

.card_part {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;

    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;

    transform: translateX(700px);
    background-image: url('./images/gallery/1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation: opaqTransition 20s cubic-bezier(0, 0, 0, 0.97) infinite;
}


.card_part.card_part-two {
    z-index: 6;
    background-image: url('./images/gallery/2.jpeg');
    animation-delay: 5s;
}

.card_part.card_part-three {
    z-index: 5;
    background-image: url('./images/gallery/3.jpeg');
    animation-delay: 10s;
}

.card_part.card_part-four {
    z-index: 4;
    background-image: url('./images/gallery/4.jpeg');
    animation-delay: 15s;
}


@keyframes opaqTransition {
    3% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(0);
    }

    28% {
        transform: translateX(-700px);
    }

    100% {
        transform: translateX(-700px);
    }
}

.contact {
    color: var(--bg);
    min-height: 90vh;
}

.contact-container {
    background-color: var(--accent);
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    height: 500px;
}

.contact-section {
    height: 100%;
    width: 50%;
}

.contact-section h4 {
    text-align: center;
    font-weight: bold;
}

.contact-details {
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.contact-details ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    font-weight: 500;
    font-size: 20px;
}

.contact-details ul li a {
    color: var(--bg);
    text-decoration: none;
}

@media only screen and (max-width: 1000px) {
    .contact-section {
        width: 100%;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .contact-details {
        width: 100%;
    }

    .map-section {
        width: 100%;
    }

    .contact-details ul {
        width: 100%;
    }
}