@charset "utf-8";

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=afaOpen+Sans:wght@300;600&family=Raleway:wght@300;500;600;800&family=Hind:wght@300;500&family=Poppins:wght@300;500;800&display=swap');*/

/* Root Variables */
:root {
    --site-background-color: #fff;
    --hero-text-color: #fff;
    --site-text-color: #000;
    --site-link-hover-color: #e2e9ea;
    --site-padding: 1.2rem;  
    --site-footer-bg-color: #000;
    --site-footer-text-color: #fff;
    --site-footer-link-color: #00ffdb;  
}

/* General Normalization */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--site-background-color);
    color: var(--site-text-color);
    font-family: 'Afacad Flux', sans-serif;
    font-size: 400;
    line-height: 1.5;
}



a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
}

a:hover {
    color: var(--site-link-hover-color);
}


.pulse {
  animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}

/* Container Normalization */
.container, 
.container-lg, 
.container-md, 
.container-sm, 
.container-xl {
    max-width: 1440px;
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
    margin: 0 auto;
}

/* Logo Wording */
.logo_wording {
    vertical-align: middle;
    padding-left: 1rem;
    font-size: 3vw;
}

@media (min-width: 768px) {
    .logo_wording {
        font-size: 3vw;
    }
}

@media (min-width: 1200px) {
    .logo_wording {
        font-size: 2vw;
    }
}

/* Navigation */
#navbarNav {
    padding: 1rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--site-text-color);
}

/* Category List */
.category-list ul li a {
    color: var(--site-text-color);
    display: block;
}

.category-list ul li a:hover {
    color: var(--site-link-hover-color);
}

.category-list ul li.c-link.active {
    background-color: aliceblue;
}

/* Hero Section */
.hero, .hero-sm {
    background: url('_assets/_images/hero.webp') no-repeat center center;
    background-size: cover;
    color: var(--hero-text-color);
    text-align: center;
}

.hero {
    padding: 100px 0;
}

.hero-sm {
    padding: 50px 0;
}

.hero img.logo, 
.hero-sm img.logo {
    width: 10vw;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
}

.hero .spin-logo {
    animation: spin 1.5s ease 2s 1;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(180deg);
    }
}

@media (max-width: 768px) {
    .hero img.logo {
        width: 40vw;
    }
    .hero h1 {
        font-size: 9vw;
    }
}

/* Dealer Button */
.dealer_btn {
    background-color: darkslategrey;
    color: var(--hero-text-color) !important;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--site-footer-bg-color);
    color: var(--site-footer-text-color);
    padding: var(--site-padding) 0;
    text-align: center;
}

footer a,
footer ul li a {
    color: var(--site-footer-link-color);
}

footer a:hover,
footer ul li a:hover {
    color: var(--site-link-hover-color);
}




.editable {
    position: relative;
}

.editable::after {
    content: "Click to edit";
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 12px;
    color: gray;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.editable:hover::after {
    opacity: 1;
}


.mobile-nav{
    display: none;
}
/* *************** */
/* APP mobile view */
/* *************** */
@media (max-width: 640px) {
    .mobile-nav {
        position: fixed;
        bottom: -100px; /* Initially hidden */
        left: 0;
        width: 100%;
        background: #062a30;
        color: #fff;
        display: flex;
        justify-content: space-around;
        padding: 10px;
        box-shadow: 0px -2px 10px rgba(0,0,0,0.2);
        transition: bottom 0.3s ease-in-out;
    }

    .mobile-nav a {
        color: white;
        text-align: center;
        font-size: 14px;
        text-decoration: none;
        flex: 1;
    }

    .mobile-nav a:hover {
        opacity: 0.7;
    }

    /* Show the navbar when the class 'visible' is added */
    .mobile-nav.visible {
        bottom: 0;
    }
}


/* *************** */