@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root { --color1: #be2a20; --color2: #938f8e; --color3: #212529; --border: #e5e5e5; }

html { scroll-behavior: smooth; }
body { background:#FFF; font-family: 'Lato'; color: var(--color3); font-size: 18px; }

h1, h2, h3, h4 { font-family: 'Raleway'; font-weight: 600; }
h1 { font-size:2.8em; }
h2 { font-size:1.8em; text-transform: uppercase; }
h3 { font-size:1.3em; }

a { color: var(--color1); text-decoration: none; transition: all 0.3s ease-out; }
a:hover { color: var(--color3); }
p { margin-bottom: 1rem; }
blockquote { background: #f9f9f9; padding: 1rem; margin-bottom: 1.5rem; font-size: 0.9em; }

/* Classes */
.nomargin { margin: 0!important; }
.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-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.fluid { width: 100%; }
.float-right { float: right; }

.bg { padding-top:3rem; background: linear-gradient(180deg, rgba(32, 40, 45, 0.1) 0%, rgba(255, 255, 255, 0.1) 70%); }

/* Header */
.navbar { background: #FFF; border-top:4px solid var(--color1); padding: 0; }
.navbar-brand { color: #FFF; }
.navbar-brand:hover { color: #FFF; }
.navbar-brand img { height: 95px; transition: all 0.3s ease-out; }
.navbar-brand:hover img { opacity:0.8; }
.nav-link { padding: 0.5rem 0.8rem!important; font-size: 1.1em; color: var(--color1); _text-transform: uppercase; }
.nav-link:hover, .nav-link:active, .nav-link:focus, .nav-link.active, .navbar-text a:hover { color: var(--color3)!important; }
.navbar .btn { background: #FFF; color: #000; }
.navbar .btn i { margin-right: 5px; }
.navbar-text { padding-left: 1rem; color: #FFF; }
.navbar-text a { color: #FFF; }
.navbar-text i { margin-left: 0.5rem; }
.navbar-text img { width: 35px; height: 35px; border-radius: 50%; margin-right: 0.5rem; }

/* Section */
section { margin-bottom: 5rem; }
/*section .intro { max-width: max-content; border: 1px solid #E9E9E9; border-radius: 5px; padding: 0.5rem 1rem; margin-bottom: 2rem; font-size: 0.9em; font-weight: 600; text-transform: uppercase; color: #5D666F; letter-spacing: 1px; }*/
section .intro { margin-bottom: 2rem; font-size: 0.9em; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

section h2 { margin-bottom: 3rem; }
section h2::after { content: ''; width: 80px; height: 2px; background: var(--color1); display: block; margin: 10px 0 0; }
section h2.text-center:after { margin: 10px auto 0; }
section .img-border { border-radius: 10px; }
.container { max-width: 1400px; }
.box { background: #FFF; border-radius: 10px; padding: 2rem; margin-bottom: 2rem; }

/* Carousel */
#carousel { margin: 0; border-bottom: 5px solid var(--color1); }
#carousel .carousel-item { height: 65vh; }
#carousel .carousel-item img { height: 100%; object-fit: cover; animation: dezoom 12s; }
#carousel .carousel-control-prev-icon, #carousel .carousel-control-next-icon { width: 4rem; height: 4rem; }

#carousel .carousel-caption { opacity: 0; animation: fadeUp 0.4s ease forwards 0.5s; width: 30%; bottom: 40%; background: rgba(0,0,0,0.6); padding: 2rem; _border-left:5px solid var(--color1); text-align: left; }
#carousel .float-start { width: 15%; }
#carousel .float-start i { font-size: 2.8em; line-height: 0; color: var(--color1); }
#carousel .float-end { width: 85%; }
#carousel h1 { font-size: 1.8em; color: #FFF; text-transform: none; margin-bottom: 1.5rem; }
#carousel h1:after { content: ''; width: 80px; height: 2px; background: var(--color1); display: block; margin: 15px 0 0; }
#carousel p { font-size: 1em; color: #afafaf; margin-bottom: 2rem; }
#carousel .cta { font-size: 0.9em; text-transform: uppercase; color: #FFF; }
#carousel .cta:hover { color: var(--color1); }

#half_circle {
    position: absolute; bottom: 0px; right: 10%; z-index: 2;
    width: 180px;
    height: 90px; /* as the half of the width */
    border-top-left-radius: 100px; border-top-right-radius: 100px;
    background: var(--color1);
    padding-top: 3px;
    text-align: center;
}
#half_circle i { font-size: 3.4em; color: #FFF; }

/* About */
#about { padding-top: 2rem; }

/* Services  */
#services .service_detail { background: #FFF; border-radius: 0 0 10px 10px; border: 1px solid var(--border); margin-bottom: 2rem; }
#services figure { overflow:hidden; margin: 0; }
#services figure img { width: 100%; height: auto; overflow:hidden; aspect-ratio: 16/9; object-fit: cover; }
#services figure img:hover { width:100%; transform:scale(1.3); transition:1s ease-in-out; }
#services h3 { margin: 0; padding: 1.5rem; }
#services p { margin: 0; padding: 0 1.5rem 1.5rem; }

/* Quote */
#quote_left { background: #FFF; box-shadow: 0px 21px 46px rgba(0, 0, 0, 0.04); border-radius: 10px; margin-right: -20px; padding: 4rem 5rem; }
#quote_right { margin-left: -30px; }
#quote_right img { border-radius: 10px; }

/* Title */
#title { background-image: url('../pictures/title.jpg'); background-position: center center; background-size: cover; padding: 5rem 0; text-align: center; }
#title h1 { margin: 0; color: #FFF; text-transform: uppercase; text-shadow: 1px 1px 2px #000; }

/* Page */
#page_left { background: #FFF; box-shadow: 0px 21px 46px rgba(0, 0, 0, 0.04); border-radius: 10px; margin-right: -20px; padding: 3rem 4rem; }
#page_left h2 { font-size: 1.6em; line-height: 35px; text-transform: none; }
#page_right { margin: 3rem 0 0 -3rem; }

/* Gallery */
#gallery figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
#gallery figcaption { padding-top: 0.5rem; text-align: center; }
.gallery_detail { position: relative; overflow:hidden; transition: all 0.3s ease-out; }
.gallery_detail .shadow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s ease-out; z-index: 1; }
.gallery_detail .icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 70px; height: 70px; border: 1px solid #FFF; border-radius: 50%; text-align: center; line-height: 65px; color: #fff; font-size: 2.3em; opacity: 0; transition: all 0.3s ease-out; z-index: 2; }
.gallery_detail:hover .shadow { opacity: 1; }
.gallery_detail:hover .icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Contact */
.contact_detail { background: #f1f1f1; padding:2rem; margin-bottom: 2rem;  }
.contact_detail i { font-size: 2.3em; color: var(--color1); margin-right: 1.8rem; }
#contact_left { position: relative; z-index: 2; background: #FFF; border-radius: 10px; padding: 3rem; margin-right: -30px; }
#contact_left h2 { font-size: 1.8rem; }
#contact_middle { margin: 0 -30px; }
#contact_middle img { border-radius: 10px; }
#contact_right { background: #20282d; border-radius: 10px; padding: 2rem; margin-left: -90px; }
.contact_info { display: flex; align-items: center; gap: 20px; margin-bottom: 3rem; }
.contact_info .icon { height: 55px; width: 55px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2em; color: var(--color1); }
.contact_info span { display: block; margin-bottom: 0.5rem; font-size: 0.9em; color: #B3B7C1;  }
.contact_info a { color: #FFF; font-weight: 600; }

.alert { padding: 0.8rem 1rem; font-size: 0.9em; }
.alert i { margin-right: 0.5rem; line-height: 0; }
.alert-success { margin: 0; }
.mb-form { margin-bottom: 1.5rem; }
.input-group-text { font-size: 1.1em; padding: 0 0.8rem; }
.form-control, .form-select { border-radius: 0; padding: 0.6rem 1rem; font-size: 1em; }

/* Parallax */
#parallax { background-image: url('../pictures/parallax.jpg'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; margin: 0; padding: 5rem 0; text-align: center; }
#parallax h3 { font-size: 2.4em; color:#FFF; margin-bottom: 1.5rem; }
#parallax p { font-size: 1.2em; color:#FFF; margin-bottom: 2rem; }

/* Mentions */
#mentions { font-size: 0.9em; }

/* Footer */
footer { background: #FFF; color: var(--color3); font-size: 0.9em; }
.footer_detail { padding: 2rem 3rem; }
.footer_detail b { font-size: 1.2em; text-transform: uppercase; font-weight: 600; }
.footer_detail a { color: var(--color1); text-decoration: none; }
.footer_detail a:hover { color: #FFF; }
.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 { width: 100%; margin-bottom: 1.5rem; }
.footer_detail .logo:hover { opacity: 0.8; }
.footer_detail .btn { font-size: 0.9em; width: 100%; }
.footer_detail .btn-primary { border-color: var(--color1); background: var(--color1); color: #FFF; }
.footer_detail .btn-primary:hover, .footer_detail .btn-primary:active, .footer_detail .btn-primary:focus { border-color: #000!important; background: var(); color: #000!important; }
#socials { margin-top: 1.5rem; }
#socials li { display: inline-block; margin-right: 0.5rem; }
#socials li:last-child { margin: 0; }
#socials li a { display: block; width: 40px; height: 40px; border-radius: 50%; line-height: 37px; background: var(--color1); border:1px solid var(--color1); text-align: center; font-size: 1.1em; color: #FFF; }
#socials li a:hover { background: #FFF; color: var(--color1); }
#legal { background: #FFF; border-top:1px solid var(--color1); padding: 1rem; font-size:0.9em; color: #000; }

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

    /* Body */
    body { font-size: 17px; }

     /* Classes */
    .pl, .pr { padding: 0; }
    .mb-0-xs { margin-bottom: 0!important; }
    .mb-1-xs { margin-bottom: 1rem!important; }
    .mb-2-xs { margin-bottom: 2rem!important; }
    .fluid-xs { width: 100%; }

    /* Navbar */
    .navbar-brand img { height: 40px; }
    .navbar-toggler { padding: 0.5rem 0.8rem; background:#FFF; color: var(--color3); border: 0; }
    .navbar-toggler i { margin-right: 2px; }
    .nav-link { padding: 0.9rem!important; font-size: 1.2em; text-align: center; } 

    /* Menu V2 */
    #dev header { padding: 1rem 0 0; }
    #dev .navbar-brand img { width: 100%; height: auto; }
    #dev .header_detail { display: none; }
    #dev .navbar-toggler { width: 100%; }

    /* Section */
    section { margin-bottom: 2rem; }
    .box { padding: 1rem; margin-bottom: 1.5rem; }

    /* Carousel */
    #carousel .carousel-caption { width: 70%; bottom: 30%; padding: 1.5rem; }
    #carousel .float-start { display: none; }
    #carousel .float-end { width: auto; }
    #carousel h1 { font-size: 1.5em; }

    /* Title */
    #title { padding: 3rem 0;}
    #title h1 { text-align: center; }

    /* About */
    #about { padding: 2rem 1rem; }

    /* Services */
    #services .box:last-child { margin: 0; }

    #services2 .service2_detail { margin-bottom: 2rem; }

      /* Quote */
    #quote_left { margin: 0  0 1rem; padding: 1rem; }
    #quote_right { margin: 0 0 1rem; }

    /* Paralax */
    #parallax { background-attachment: scroll; } 

    /* Contact */
    #contact_left, #contact_middle, #contact_right { margin: 0 0 1rem; }
    #contact_left, #contact_right { padding: 2rem; }

    /* Footer */
    .footer_detail { padding: 1.5rem 0 0; text-align: center; }
    #legal { margin-top: 2rem; }
}

/* Buttons */
.btn { padding: 0.6rem!important; font-family: 'Raleway'; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; transition: all 0.3s ease-out; }
.btn i, .btn .ico { margin-right: 5px; }
.btn-primary { border-color: var(--color1); background: var(--color1); color: #FFF; }
.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary.active { border-color: var(--color1)!important; background: #FFF!important; color: var(--color1)!important; }
.btn-secondary { color: #FFF; }
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary.active { background: #FFF!important; color: #6c757d; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dezoom {
  from {
    transform: scale(1.2, 1.2);
  }
  to {
    transform: scale(1, 1);
    
  }
}