@import url(../css/clash-display.css);

html,body {
    scroll-behavior: smooth;
}

/* VARIABLES */
:root {
    --c-dark: #212529;
    --c-brand: rgb(78, 87, 212);
    --c-brand-light: #6970dd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s ease;
}

body {
    font-family:  'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 1.7;
    color: var(--c-body);
    overflow-x: hidden;
    
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}


img {
    position: relative;
    max-width: 250px;
    height: 100%;
    padding: 0;
    margin-bottom: 0;

}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

#myButton {
    display: inline-block;
    background-color: #152F4F;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: all 0.2s ease-in;
    opacity: 0;
    visibility: hidden;
    z-index: 11;
  }
  
  #myButton i {
    padding-top: 12px;
    color: #fff;
    font-size: 25px;
  }
  
  #myButton:hover {
    cursor: pointer;
    background-color: #1d426e;
  }
  
  #myButton.show {
    opacity: 1;
    visibility: visible;
  }

/* NAVBAR */

.navbar {
    box-shadow: var(--box-shadow);
    padding-bottom: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}

@media screen and (min-width: 992px) {
    .navbar {
        padding: 0;
    }
}

@media screen and (max-width: 991px) {
    .navbar-brand {
        padding-left: .7em;
    }

    .navbar-nav {
        padding-top: .5em;
    }
}


.navbar-nav .nav-link {
    font-weight: 600;
    padding: 1em;
    color: var(--c-dark);
    background: rgba(var(--c-brand-light), 0.3);
}

.navbar-nav .nav-link.active {
    color: var(--c-brand);
}

/* NAVBAR HOVER*/

.navbar .navbar-nav .nav-link:hover {
    background-color: var(--c-brand);
    color: white;
    width: 100%;
    transition-timing-function: ease-in-out;
    transition-duration: 0.4s;
}

@media screen and (max-width: 950px) {
    .navbar .navbar-nav .nav-link {
        text-align: center;
    }

    .navbar .navbar-nav .nav-link:hover {
        color: #4180CB;
        text-decoration: underline overline;
        background-color: transparent;
        transition-timing-function: ease-in-out;
        transition-duration: 0.4s;
    }

    .btn .btn-brand {
        align-self: center;
    }
}

/* BTN */

#hero .btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
    margin-bottom: 10px;
}

#hero .btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

#hero .btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

#hero {
    background-position: center;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    height: 100%;
}

/* Custom Button Styling */
#btn-custom {
    font-weight: bold;
    margin-top: 40px;
    background-color: #4e57d4; /* Button background color */
    color: white; /* White font color */
    padding: 12px 24px; /* Padding for button */
    border: none; /* Remove border */
    border-radius: 5px; /* Slight rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Cursor pointer on hover */
    transition: transform 0.5s ease-in-out; /* Smooth transition for background color */
}

#btn-custom:hover {
    background-color: #3c47b2; /* Lighter color on hover */
    transform: translateY(-10px)
}

#btn-custom a
{
    text-decoration: none;
    color: white;
}

.line {
    width: auto;
    height: auto;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

/* SECTION TITLE */

.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ICONBOX */

.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}

.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-brand);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: white;
}

.service:hover .iconbox {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* IMAGE ZOOM*/
.image-zoom {
    position: relative;
    overflow: hidden;
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img {
    transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}

.portofolio-item .iconbox {
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portofolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}


/* GALLERY MODAL */

.modal-content {
    border: none;
    background-color: transparent;
}

.modal-backdrop.show {
    opacity: 0.45;
}

/* CAROUSEL */

.carousel-item {
    transition: transform .5s ease, opacity .5s ease-out;
    max-height: 800px !important;
}


/* GALLERY */
.photos .row {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    row-gap: 30px;
    column-gap: 30px;

    justify-items: center;
}

.photos img {
    -webkit-transition: all 0.5s ease;
    transition: 0.3s;
}

.photos img:hover {
    transform: scale(1.1);

}

/* Adjust layout for small screens (less than 768px) */
@media (max-width: 768px) {
    .photos .row {
        grid-template-columns: 1fr;  /* Display images in a single column */
    }

    .photos img {
        width: 70%; /* Keep width at 70% */
    }
}

/* FOOTER */
.footer {
    background: #152F4F;
    color: white;
    height: 100%;
    width: 100%;
}

.footer .links ul {
    list-style-type: none;
}

.footer .links li a {
    color: white;
    transition: color .2s;
}

.footer .links li a:hover {
    text-decoration: none;
    color: #4180CB;
}

.footer .about-company i {
    font-size: 25px;
}

.footer .about-company a {
    color: white;
    transition: color .2s;
}


.footer .about-company a:hover {
    color: #4180CB;
    transition: color .2s;
}

.footer .communication i {
    font-size: 18px;
}


.adress span,
.contact span,
.social span {
    color: #FFF;
    font-weight: 800;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 3px;
}

.adress li p,
.contact li a,
.social li a {
    color: #FFF;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: 15px;
}

.social li {
    float: left;
}

.adress,
.contact,
.social {
    list-style: none;
}



.footer .business-hours {
    background: rgb(16, 41, 71);
    padding: 40px 25px;
    position: relative;
}

.footer .business-hours:before {
    content: '';
    width: 23px;
    height: 23px;
    background: #000000;
    position: absolute;
    top: 10px;
    left: -12px;
    transform: rotate(-45deg);
    z-index: -1;
}

.footer .business-hours .title {
    text-align: center;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    padding-left: 5px;
    border-left: 4px solid rgb(23, 59, 104);
    border-right: 4px solid rgb(23, 59, 104);
    
}

.business-hours li {
    color: #fff;
    line-height: 30px;
    border-bottom: 1px solid rgb(20, 85, 165);
}

.business-hours li:last-child {
    border-bottom: none;
}

.business-hours .opening-hours li.today {
    color: rgb(20, 85, 165);
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 60px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}


.fa-google:hover {
    opacity: 0.7;
    background: whitesmoke;
    color: #ea4335;
    transition: all 0.3s ease-in-out;
    transform: translateY(-5px);
}


.fa-google {
    color: white;
    background-color: #ea4335;

}


.footer .copyright p {
    text-align: center;
    font-size: 1.3rem;
    text-shadow: 1px 1px black;
    border-top: 1px solid rgb(255, 255, 255, 0.8);
    border-bottom: 1px solid rgb(255, 255, 255, 0.8);
}

/* GALLERY MODAL */

.modal-content {
    border: none;
    background-color: transparent;
}

.modal-backdrop.show {
    opacity: 0.45;
}

/* CAROUSEL */

/* GALLERY */

.gallery {
    background: linear-gradient(to bottom, white, #152f4f);
    padding-bottom: 200px;
}

.gallery .row   {
    align-items: center;
}
.gallery img {
    max-width: 100%;
    margin: 10px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Flex layout, adjust column behavior */
.gallery .d-flex {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to new rows */
    justify-content: space-between;
}

.gallery .d-flex > div {
    padding: 10px;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

/* On large screens, display 4 images per row */
@media (min-width: 1201px) {
    .gallery .d-flex > div {
        flex: 0 0 23%; /* 4 items per row */
    }
}

/* On medium-large screens (<= 1200px), display 3 images per row */
@media (max-width: 1200px) {
    .gallery .d-flex > div {
        flex: 0 0 35%; /* 3 items per row */
    }
}

/* On medium screens (<= 992px), display 2 images per row */
@media (max-width: 992px) {
    .gallery .d-flex > div {
        flex: 0 0 45%; /* 2 items per row */
    }
}

/* On small screens (<= 768px), display 1 image per row */
@media (max-width: 768px) {
    .gallery .d-flex > div {
        flex: 0 0 100%; /* 1 item per row */
        text-align: center; /* Ensure the content in div is centered */
    }

    .gallery img {
        width: 60%; /* Adjust image width */
        display: block; /* Make the image block-level */
        margin: 10px auto; /* Center the image horizontally */
    }
    
}

/* LOGO */

#logo {
    max-width: 60%;
}

/* Smaller screens: Reduce logo size */
@media (max-width: 1024px) {
    #logo {
        width: 60%;
        max-width: 330px;
    }
}

@media (max-width: 768px) {
    #logo {
        width: 60%;
        max-width: 300px;
    }
}

.blank 
{
    height: 200px;
    
}

/* COUNTER */

#hero_counter {
    background-position: center;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    height: 100%;

}


#hero_counter .row .counter {
    height: 100%;
    
    color: #ffffff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    height: 150px;
    width: 150px;
    padding: 30px 15px 25px;
    margin: 10px 30px;
    border: 3px solid #ffffff;
    border-radius: 15px 15px;
    position: relative;
    z-index: 1;
}

#hero_counter.counter h2 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

#hero_counter.counter:before,
#hero_counter .counter:after {
    content: "";
    background: transparent;
    border-radius: 15px;
    box-shadow: 2px 2px 1px rgba(5, 5, 5, 0.5);
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 15px;
    right: 15px;
    z-index: -1;
}

#hero_counter .counter:after {
    background: transparent;
    width: 100px;
    height: 100px;
    border: 15px solid #0c1858;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 20px;
    box-shadow: none;
    top: auto;
    left: -10px;
    bottom: -10px;
    right: auto;
}

#hero_counter .counter:hover {
    text-shadow: 2px 2px 0 #000000;
}

#hero_counter .counter h2 {
    align-self: center;
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 15px;
}

@media screen and (max-width:990px) {
    #counter .counter {
        margin-bottom: 40px;
    }
}
