@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed: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');

@font-face {
    font-family: 'Nexa';
    src: url('fonts/Nexa-Regular.woff2');
    font-weight: normal;
    font-style: normal;
    line-height:normal;
}
@font-face {
    font-family: 'Nexa';
    src: url('fonts/Nexa-Heavy.woff2');
    font-weight: bold;
    font-style: normal;
    line-height:normal;
}
@font-face {
    font-family: 'Nexa Extra';
    src: url('fonts/Nexa-ExtraLight.woff2');
    font-weight: normal;
    font-style: normal;
    line-height:normal;
}

:root { --color1: #D9BB64; --color2: #000; }

html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
body { background:#f6f4ef; font-family: 'Nexa'; color: #000; font-size: 18px; }
.container { max-width: 1500px; }

h1, h2 { font-family:"Barlow Condensed"; font-size: 3.6em; font-weight: 500; letter-spacing: -0.03em; line-height:1em; text-transform: uppercase; margin-bottom: 3rem; }
h1 span, section p span { color: var(--color1); }
section p span { font-weight: bold; }
h3 { font-family:"Barlow Condensed"; font-size: 2em; font-weight: 600; margin-bottom: 2rem; }
h4 { font-size: 3.8em; }
label { font-weight: 600; }
a { color: #000; }
a:hover { color: var(--color1); }
.gold { color: var(--color1); }
.bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }
.small { font-size: 0.7em; }
.intro { font-style: italic; text-align: right; }
.fluid { width: 100%; }
.nomargin { margin: 0!important; }
.nopadding { padding: 0; }
.mr-1 { margin-right: 1rem; }
.mr-2 { margin-right: 2rem; }
.mb-1 { margin-bottom: 1rem!important; }
.mb-2 { margin-bottom: 2rem!important; }
.mb-3 { margin-bottom: 3rem!important; }
.pl { padding-left: 3rem; }
.pr { padding-right: 3rem; }
.text-left { text-align: left!important; }
.text-right { text-align: right!important; }
.only-xs { display: none; }
.clear { clear: both; }
.border { border:1px solid #3a526a; }
.btn { padding: 1rem; line-height: 15px; font-weight: bold; text-transform: uppercase; } 
.btn:first-child:active { background: var(--color2); border-color:var(--color2); }
.btn-primary, .button { border-color: var(--color1); background: var(--color1); color: #FFF; letter-spacing: 0.5px; }
.btn-primary:hover, .btn-primary:active, .btn-primary.active { border-color: var(--color2)!important; background: var(--color2)!important; color: #FFF!important; }
.button { border-radius: 15px; padding: 0.5rem; text-align: center; font-size: 1.5em; }
.form-control { font-family:"Barlow Condensed"; letter-spacing: 0.2px; font-weight: 600; font-size: 1.1em!important; }
.black { color: #000!important; font-weight: normal!important; } 
.green { color: green; }
blockquote { font-family:"Barlow Condensed"; font-size: 1.6em; font-weight: 600; font-style: italic; background: #FFF; border-left: 5px solid var(--color1); padding: 2rem; margin-bottom: 2rem; }
section ul { list-style: none; margin: 0; }
section ul li { margin-bottom: 0.5rem; }
section ul li i { margin-right: 0.5rem; }

/* Navbar */
.navbar { height: 14vh; background: #000; padding: 1.5rem 0; }
.navbar-brand { padding: 0; margin: 0; }
.navbar-brand img { height:80px; }
.navbar-brand img:hover { opacity: 0.8; }
.nav-link { color: #FFF; font-size: 1.1em; padding: 1rem!important; }
.nav-link:hover, .nav-link:active, .nav-link.active { color: var(--color1)!important; }
.navbar { padding: 0;  }
.navbar .btn { font-size: 1.1em; font-weight: 600!important; }
.navbar .btn-secondary { background: none; border-color:#000; color: #000; }
.navbar .btn-secondary:hover { background: #000; border-color:#000; color: #FFF!important; }

/* Section */
section { padding-top: 5rem; }

/* Home H1 */
#home_h1 { padding: 1.5rem 0; background: #000; }
#home_h1 h1 { color: #FFF; font-family:"Barlow Condensed"; font-size: 3.2em; text-transform: uppercase; text-align: center;  margin: 0; }

/* Carousel */
#carousel .carousel-item { height: 86vh; min-height: 400px; }
#carousel .carousel-item img { height: 100%; object-fit: cover; }
#carousel .carousel-control-prev-icon, #carousel .carousel-control-next-icon { width: 4rem; height: 4rem; }
#carousel .carousel-caption { width: 850px; left: 4%; bottom: 65%; background: rgba(0,0,0,0.6); padding: 1rem; }
#carousel .carousel-caption h1, #carousel .carousel-caption .h1 { font-family:"Barlow Condensed"; font-size: 3.2em; text-transform: uppercase; }
/*
#carousel .carousel-item { height: 86vh; min-height: 400px; }
#carousel .carousel-item img { height: 100%; object-fit: cover; }
#carousel .carousel-control-prev-icon, #carousel .carousel-control-next-icon { width: 4rem; height: 4rem; }
#carousel .carousel-caption { left: 15%; right: 15%; bottom: 38%; background: rgba(0,0,0,0.7); padding: 1rem; }
#carousel .carousel-caption h1, #carousel .carousel-caption .h1 { font-size: 3.4em; text-transform: uppercase; }
*/

/* Title */
#title { padding: 0; background: url('../pictures/lolo.jpg') center center; background-size: cover; padding: 6rem 0; }
#title h1 { font-size: 4.2em; font-weight: 500; letter-spacing: -0.03em; line-height:0.90em; text-transform: uppercase; color: #FFF; text-align: left; padding: 5rem 0; margin: 0; }

/* Expertises */
#expertises a { position: relative; text-decoration: none; }
#expertises .shadow { background: #000; width: 100%; height: 300px; opacity: 0; }
#expertises a:hover .shadow { opacity: 30%; }
#expertises a:hover .expertise_text { bottom:0; }
.expertise_detail { position: relative; height: 300px; overflow:hidden; background-size: cover; background-position: center center; margin-bottom:1.5rem; }
.expertise_text { position: absolute; z-index: 1; left: 0; bottom: -80px; width: 100%; padding: 1.5rem; transition: all 0.2s; }
.expertise_text h3 { font-size: 1.5em; text-transform: uppercase; margin-bottom: 16px; text-shadow: 1px 1px #000; }
.expertise_text h3, .expertise_text p { color: #FFF; }
.expertise_text p { margin: -4px; }
.expertise_text .btn { width: 100%!important; font-size: 0.9em; text-transform: uppercase; line-height: normal; }

/* Why */
.why_detail { width: 90%; margin:auto; background: #FFF; border-radius: 15px; padding: 2rem 1rem; box-shadow: 0px 4px 18px 0px rgba(17.9, 17.9, 58.9, 0.04); margin-bottom: 2rem; text-align: center; transition: transform .2s; }
.why_detail:hover { transform: scale(1.1); }
.why_detail img { height: 80px; margin-bottom: 1rem; }
.why_detail p { font-family: "Barlow Condensed"; font-size: 1.4em; color: #000; font-weight: 600; margin: 0; }

/* Partners */
.partner_detail { position: relative; height: 120px; background-size: cover; background-position: center center; }

/* Table */
.table th { background: #f6f4ef; color: var(--color1); font-size: 1em; text-align: center; text-transform: uppercase; padding: 1rem; }
.table td { background: #f6f4ef; color:#000; padding: 1rem; }

/* Box */
.box { background: #FFF; border-radius: 15px; padding: 2rem; box-shadow: 0px 4px 18px 0px rgba(17.9, 17.9, 58.9, 0.04); }
.box img { margin-bottom: 1rem; }

/* Accordion */
.accordion-item button { background: #FFF!important; padding: 2rem; font-size: 0.6em; font-weight: 600; color: #000!important; }
.accordion-body { padding: 2rem; }

/* Contact */
.contact_detail { background: #FFF; padding:2rem; margin-bottom: 2rem;  }
.contact_detail p { margin: 0; }
.contact_detail i { font-size: 3em; color: var(--color1); margin-right: 1.8rem; }
label { margin-bottom: 0.5rem; }
.form-control, .form-select { border-radius: 0; padding: 0.6rem 1rem; font-size: 1em; color: #333; }

/* Legal */
#mentions { text-align: left; font-size: 0.9em; }
#mentions h2 { text-align: left; font-size: 2em; margin: 2rem 0 1rem; }

/* Footer */
footer { background:#000; color:#FFF; margin-top:4rem; }
.footer_detail { padding: 3rem 4rem; }
.footer_detail b { font-family:"Barlow Condensed"; text-transform: uppercase; font-size: 1.5em; font-weight: 500; letter-spacing: -0.03em; line-height:0.85em; }
.footer_detail a { color:#FFF; text-decoration: none; }
.footer_detail a:hover { color: var(--color1); }
.footer_detail ul { list-style: none; padding: 0; margin: 0; }
.footer_detail ul li { margin-bottom: 0.5rem; }
.footer_detail ul li:last-child { margin: 0; }
.footer_detail .logo:hover { opacity: 0.8; }
.footer_detail .btn { font-size: 0.8em; width: 100%; }
.footer_detail .btn-primary { border-color: #FFF; background: #000; color: #FFF; }
.footer_detail .btn-primary:hover, .footer_detail .btn-primary:active { border-color: #FFF!important; background: #FFF!important; color: #000!important; }
#socials li { float: left; margin-right: 10px; }
#socials li:last-child { margin: 0; }
#socials li a { display: block; width: 40px; height: 40px; line-height: 45px; background: #FFF; border:1px solid #FFF; text-align: center; color: #000; }
#socials li a:hover { background: var(--color1); border-color: var(--color1); color: #000; }
#legal { border-top:1px solid #666; padding: 1rem; margin: 0; color: #FFF; font-size:0.8em; }
#legal a { color: var(--color1); text-decoration: none; } 

/* Mobile */
@media only screen and (max-width: 768px) {

    body { font-size: 17px; }
	.hidden-xs { display:none; }
    .only-xs { display: block; }
    .mb-3 { margin-bottom: 2rem!important; }
    .pr, .pl { padding: 0; }
    h1, h2 { font-size: 2.5em; margin-bottom: 1.5rem; }

    .navbar { height:auto!important; padding: 1rem 0; }
    .navbar-brand img { height:50px; }
    .navbar-toggler { background:#FFF; color: #000; font-weight: 600; border: 0; padding: 0.5rem 1rem; }
    .navbar-toggler:focus { box-shadow: none; }
    .navbar-collapse { background: #000; margin-top: 15px; }
    .nav-link { color: #FFF; text-shadow: none; padding: 0.9rem!important; font-size: 1.1em; text-align: center; }
    .navbar .btn { font-size: 1em; }

    #carousel .carousel-item { height: 90vh; min-height: 400px; }

    section { padding-top: 3rem; }

    #expertises a:hover .expertise_text { bottom: -80px; }
    .contact_detail { width: 100%; }

    label, .form-control, .form-select { font-size: 1.1em; }

    .footer_detail { padding: 1rem; }
}

.image-mosaic {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 210px;
    margin-bottom: 2rem;
}

.image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    transition: all 500ms;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

@media screen and (min-width: 600px) {
    .tall { grid-row: span 2 / auto; }
    .wide { grid-column: span 2 / auto; }
}

