/* Font */
@import url(../css/clash-display.css);

/* Variables */
:root {
    --c-dark: #212529;
    --c-brand: #d4830a;
    --c-brand-light: #f5c044;
    --c-brand-rgb: 144, 238, 144;
    --c-body: #dfc47e;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* REST & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

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 {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    overflow: hidden;
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}

/* NAV */
.navbar {
    box-shadow: var(--box-shadow);
    background-color: var(--c-brand) !important; /* Use !important to override other styles */
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: white; /* Change text color to white for better contrast */
    transition: color 0.3s ease, background-color 0.3s ease; /* Add transition for color and background color */
}

.navbar-nav .nav-link.active {
    color: var(--c-brand-light); /* Optional: Change active link color */
}

.navbar-nav .nav-link:hover {
    color: var(--c-brand) !important;
    background-color: var(--c-brand) !important; /* Use !important to override other styles */
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: white; /* Set the background color of the dropdown */
}

.dropdown-menu .dropdown-item {
    color: rgb(0, 0, 0); /* Default text color for dropdown items */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--c-brand-light); /* Change this to your desired hover color */
    color: white; /* Ensure text color remains white on hover */
}

/* BTN */
.btn {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

/* HERO */
#hero {
    height: 100vh; /* Set the height of the hero section */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    transition: background-image 1s ease-in-out, opacity 1s ease-in-out; /* Smooth transition for both background and opacity */
    opacity: 1; /* Initial opacity */
}

#hero h1 {
    margin-top: 10px; /* Adjust this value to move the heading up */
}

#hero h5 {
    margin-top: 5px; /* Adjust this value to move the subheading up */
}

/* 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: 44px;
    flex: none;
}

/* SERVICE */
.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-color: 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;
}

/* Counter */
#counter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/image2.jpg);
    background-size: cover; /* or 'contain' depending on your needs */
    background-position: center; /* centers the image */
    background-repeat: no-repeat; /* prevents the image from repeating */
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox { 
    opacity: 1;
    top: 50%;
}

/* Team member image styles */
.image-zoom-wrapper {
    width: 100%;
    height: 400px; /* Increased height for better display */
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Focus on the top portion of images */
    transition: var(--transition);
}

/* Team member content styling */
.team-member-content {
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: auto;
    max-width: calc(100% - 50px);
    height: auto;
    transform: translate(-50%);
    padding: 15px;
    background-color: var(--c-brand);
    transition: var(--transition);
    opacity: 0;
    text-align: center;
}

.team-member:hover .team-member-content {
    opacity: 1;
    bottom: 24px;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}

.review-head {
    position: relative;
} 

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/image2.jpg);
    background-size: cover; /* or 'contain' depending on your needs */
    background-position: center; /* centers the image */
    background-repeat: no-repeat; /* prevents the image from repeating */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact .form-control {
    border-radius: 0;
}

/* AUTH LAYOUT */
.auth-split-layout {
    display: flex;
    min-height: 100vh;
}

.auth-split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.auth-split-form {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FOOTER */
footer {
    padding-top: 20px;
}

.footer-top {
    padding-top: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
}

footer li,
footer p,
footer a {
    color: rgba(255,255,255,0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}

.btn-floating {
    display: inline-block;
    padding: 10px 20px; /* Adjust padding */
    font-size: 16px; /* Adjust font size */
    color: white; /* Text color */
    background-color: var(--c-brand); /* Use your application green color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: var(--box-shadow); /* Add shadow */
    text-decoration: none; /* Remove underline */
    transition: transform var(--transition), box-shadow var(--transition); /* Transition for hover effect */
    animation: float 3s ease-in-out infinite; /* Floating animation */
}

.btn-floating:hover {
    box-shadow: 0px 25px 35px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
    transform: translateY(-5px); /* Slightly lift the button on hover */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0); /* Start and end at original position */
    }
    50% {
        transform: translateY(-10px); /* Move up 10px at the midpoint */
    }
}

#popup {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* SWIPPER */
.section-divider {
    height: 50px; /* Adjust height as needed */
    background-color: #f0f0f0; /* Change to your desired color */
    margin: 20px 0; /* Space above and below the divider */
}

.swiper-container {
    width: 100%;
    height: 100%; /* Adjust height as needed */
    padding: 0 20px; /* Add padding to the left and right */
    overflow: hidden; /* Hide overflow to prevent scrollbar */
}

.swiper-wrapper {
    display: flex; /* Ensures slides are in a row */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto; /* Allows the slide to take the width of the content */
    margin: 0 5px; /* Adjust this value to control space between slides */
}

.swiper-slide img {
    max-width: 230px;
    max-height: 115px;
    object-fit: contain; /* Ensures the image fits well */
}
