:root {
    /* colors */
    --color-primary: #000000;        /*-- (colour-primary: just a name) */
    --color-secondary: #111;       /*-- (colour-primary: just a name) */
    --color-text: #252020;       /*-- (colour-primary: just a name) */
    --color-light: #f4f4f4;
    --color-icons:  rgb(38, 16, 166);       
    
    /* Fonts */
    --font-primary: 'Open Sans', Helvetica, Arial, sans-serif;          /* open sans: main font, if browser doesn't support it: use the other three*/
    --font-bold: 700;
    --font-size-text: 13px;
    --font-size-title: 20px;
    --font-size-section-title: 40px;

    /* Size */
    --size-primary: 25px;
    --size-double:calc(var(--size-primary) * 2);        /* calc * 2 : to make size primary * 2  */
    --size-half:calc(var(--size-primary) / 2);          /* calc * 2 : to make size primary / 2 : */

    --margin-primary: var(--size-primary);
    --padding-primary: var(--size-primary);
    --padding-double: var(--size-double);
    --padding-half: var(--size-half);
    --height-primary: 120px;
    --height-half: 50px;


}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif !important;
}

@media (min-width: 768px){          /* here apply from md */


    .navbar .MTL-nav-link.nav-link {              /* no space between two classes : the two in the same class (or level) */    
        background-color: black !important;
        color: white !important;
        border-radius: 100px !important;        /* buttons round when screen bigger */
        }
    
    .navbar .MTL-nav-link.nav-link.active {
        background-color: white !important;
        color: black !important;        
    }

    .navbar .MTL-nav-link.nav-link:hover {
        background-color: var(--color-text) !important;         /* make bg grey when we hover over a button */
        color: white !important;           /* font color when hover */
    }

}


/* Submenu Container, Tarieven menu */     
.nav-item.dropdown {            
    z-index: 1000;
    position: relative;
}

/* Hide the submenu by default */
.dropdown-menu {
    display: none;
    position: absolute;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    z-index: 1000;
}

/* Show submenu on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Submenu links */
.dropdown-item {
    font-size: var(--font-size-text);
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-text);
    display: block;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

a {
    color: inherit;     /* links in blue will be in paragraph color */
    text-decoration: none;      /* and without underline */
}
    
.navbar {
    height: var(--height-half);     /*navbar height*/
}

/* here apply on sm */
.navbar .MTL-nav-link.nav-link {              /* no space between two classes : the two in the same class (or MTL) */
    z-index: 1000;
    padding-right: var(--padding-half);
    padding-left: var(--padding-half);
    font-size: var(--font-size-text);
    background-color: white;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    color: black;
    border-radius: 8px;
}

.navbar .MTL-nav-link.nav-link.active {
    background-color: white;
    color: black;
}        /* when we on home page home button will be white */

.navbar .MTL-nav-link.nav-link:hover {
    background-color: var(--color-text);         /* make bg grey when we hover over a button */
    color: white;           /* font color when hover */
}

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

.navbar-brand h1 {
    margin: 0;
    font-size: var(--font-size-title);
    color: var(--color-light);               /*  color logo stay white when hover */
}

.hero {
    background: url(../img/taxi-img.jpg) no-repeat center center /cover;        /* center center : horiz & vertic in center */
    height: 600px;          /* the backgroun (car) size */
    display: flex;          
    align-items: center;            /* make text in center not up */
    justify-content: center;
}

.navbar-toggler {
    background-color: white;
    border-radius: 100px;
    padding-right: var(--padding-half);
    padding-left: var(--padding-half);

}

.search-form {
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;        /* elements wrap not in same line */
    gap: var(--size-half);          /* space between elemnts */
    padding: var(--padding-primary) var(--padding-double);
}

.form-group {
    flex: 1 25%;         /* 1: to stretch ,25%: from page */
    position: relative;         /* so when we give position :left or right it will take from form not from page */
    display: flex;
    align-items: center;
}

.form-group .form-control {         /* inside form-group we have form-control */
    border-radius: 8px;           /* to make elemants border sharp */
    padding: var(--padding-half);           
    padding-left: var(--padding-double);            /* to make space from left for the icons */
}

.form-group i {
    color: var(--color-primary);
    font-size: var(--font-size-title);
    position: absolute;
    left: var(--size-half);
}

.btn-primary {
    background-color: var(--color-primary);
    border: none;
    border-radius: 10px;
    width: 100%;
    padding: var(--padding-half);
    text-transform: uppercase;
    font-weight: var(--font-bold);
    font-size: var(--font-size-text);
}

.btn-primary:hover {
    background-color: #36332c;
}

.need-help {
    background-color: white;
    border-radius: 10px;
    font-size: .8rem;
    padding: 0 var(--padding-double) var(--padding-half);
}


section {
    padding: var(--padding-double) 0;
    position: relative;         /* so what we apply will be on the same section not whole site */
}

.section-color {
    background-color: var(--color-primary);
    color: white;
}

.section-title {
    font-size: var(--font-size-section-title); /* Default size */
    word-wrap: break-word; /* Wrap text if it's too long */
}

.section-subtitle {
    font-size: var(--font-size-title);
}

.btn-white {
    border: 2px solid white;
    color: inherit;
    padding: var(--padding-half) var(--padding-primary);
}

.btn-white:hover {
    background-color: white;
    color: var(--color-primary);
}

/* SERVICES */
.section-down-arrow {
    position: absolute;
    top:0;
    width: 100%;
    height: var(--height-primary);
}

.article {
    text-align: center;
    color: var(--color-primary);
    margin-top: var(--size-double);
    padding: var(--padding-primary);
    transition: all .2s ease-in;        /* the poping out will be smoother with .2second */
}

.article:hover {
    scale: 1.1;         /* when sign on article it's pop out */ 
    box-shadow: 0 0 7px 0 var(--color-text);      /* shadow on boxes when pops out */
}

.article .article-icon {
    font-size: 4rem;        /* icon size */
    color: var(--color-icons);
    margin-bottom: var(--size-primary);
}

.btn-fit {
    width: max-content;
}

/* SLIDER */

.section-grey {
    background-color: var(--color-light);
}

.MTL-slider-item {
    background-color: white;
    margin-right: 12px;
}

.MTL-slider img {
    width: 100%; /* Ensure the slider image takes up full width */
    height: auto; /* Maintain the aspect ratio */
    max-width: 100%; /* Prevent it from being larger than its container */
    object-fit: cover;
    width: 430px;
    height: 430px;
}

.MTL-slider-item-container {
    padding: var(--padding-primary);
}

.MTL-slider-item h3 {
    font-size: var(--font-size-title);
    color: var(--color-primary);
}

.MTL-slider-item p {
    font-size: var(--font-size-text);
    color: var(--color-text);
}

/* STAR PLACES */
.star-places {
    background-color: white;
}

.star-places-header {
    background-color: var(--color-primary);
    color: white;
    padding: var(--padding-half);
}

.star-places-header h3 {
    font-size: var(--font-size-title);
    font-weight: var(--font-primary);
}

.star-places-header p {
    font-size: var(--font-size-text);
    margin: 0;
}

.star-places-body {
    padding: var(--padding-primary);
}

.star-places-body a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--size-primary);
    background-color: var(--color-light);
    margin-bottom: var(--size-half);
    transition: all .2e ease-in;
}

.star-places-body a:hover {
    background-color: #c1c1c1;
}

.star-places-body h4 {
    font-size: var(--font-size-title);
    text-transform: uppercase;
}

/* VIDEO 
.video-overlay {
    position: absolute;
    background-color: rgb(0 0 0 / 50%);     /* transparant 50% !!
    width: 100%;
    height: 515px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-play, .video-control-pause {
    color: white;
    font-size: var(--font-size-section-title);
    cursor: pointer;

}

.video-control-pause {
    display: none;      /* to hide the pause button !!
}

.video-container {
    overflow: hidden;
    width: 100%;
    height: 515px;
    position: relative;
}

.video-container video {
    width: 100%;
}

*/

/* CONTACT FORM */
.contact-form {
    margin: auto;
}

.contact-form .form-control {
    background-color: var(--color-light);
    border: none;
    font-size: .8rem;
    margin-bottom:  var(--size-half);
}

.contact-form .form-group i {
    top: var(--size-half);
}

.map-container {
    width: 100%;
    height: 100%;
    padding-bottom: var(--size-half);       /* space between map and cont-form when small screen */
}

/* FOOTER */
.footer {
    background-color: var(--color-secondary);
}

.footer p {
    padding: var(--padding-primary);
    color: white;
    text-align: center;
    margin-bottom: 0;
}