/* Font styles */
.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}
.nav-item{
    font-size:30pt;
}
.center{
    margin:auto;
}
.center p{
    font-size:18pt;
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}
/* Navbar styles */
.navbar {
    
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    font-family: 'Garamond', sans-serif;
    max-width: 1920px;
    margin: auto;
}

/* Navbar brand styles */
/*.navbar-brand > img:nth-child(2) {
    width: 5%;

}

.navbar-brand > img:nth-child(1) {
   width: 20%;
}*/
#hct-logo
{
    width: 25%;
    position: static;
}
#hct-logo img{
    max-width:100%;
    max-height:100%;
}
#tadano-logo
{
    width: 15%;
}
#tadano-logo img{
    max-width:100%;
    max-height:100%;
}


/* Navbar toggler styles */
.navbar-toggler {
    align-items: flex-end;
}

/* Navbar links styles */
.navbar-nav .nav-link {
    transition: transform 0.2s ease;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-5px);
}

/* Media query for small screens */
@media (max-width: 768px) {
    #tadano-logo {
        width: 30%;
    }
    #hct-logo {
        width: 30%;
    }
    #navbarNavDropdown
    {
        background-color: white;
        width: 100%;
    }
}

/* Image container styles */

.img-fluid {
    max-width: none;
}
.image-container {
    position: relative;
    overflow: hidden;
    margin: 0px; /* Remove margins */
    width: 100%; /* Ensure the container takes full width */
    height: 100%; /* Ensure the container takes full height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    max-width: 800px;
    max-height: 65vh;
    
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden; /* Hide overflow */
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: end;
    
}

.image-wrapper img {
    width: fit-content; /* Allow the image to resize based on container width */
    height: 100%; /* Ensure the image takes up the full height */
    object-fit: fill; /* Crop the image to cover the container */
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.3);

}

/* Caption styles */
.caption {
    width: 100%;
    position: absolute;
    text-align: center;
    color: white;
    font-size: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    transition: font-size 0.5s ease;

}
.container-fluid{
    position: relative;
    z-index: 1;
}

.image-container:hover .caption {
    font-size: 28px;

}

/* Additional styles */
.row.no-gutters [class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}

body {
    padding-top: 6vh; /* Adjusted padding-top */
    max-width: 1920px;
    margin: auto;
    
}


.container {
    margin-top: 1vh; /* Adjusted margin-top */
}
footer{
    padding-top: 0.3vh;
    position:relative;
    width:100%;
    bottom:0px;
    
   
}
.intro-text{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18pt;
}

.form_container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.kontaktforma {
    max-width: 600px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

@media (min-width: 768px) {
    .kontaktforma {
        max-width: 800px;
    }
}

.kontaktforma h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.field {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #555;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #555;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.message_sent {
    text-align: center;
    color: green;
}

.error_message {
    text-align: center;
    color: red;
}

.lang_icon {
    max-width: 24px;
}
.carousel-item{
    width: 100%; /* Set width of container */
    height: 390px; /* Set height of container to the same max-height */
    overflow: none;
    max-width: 100%;
}
.carousel-inner{
    max-width: 100%;
}
.carousel-item img{
    position: relative;
    top: 40%;
    transform: translateY(-50%);
    filter: brightness(35%);
    max-width:100%;
}
.front-text{
    font-size:18pt;
}
@media (max-width: 768px) {
    .front-text{
        font-size:1em;
    }
}
.description-header{
    font-size: 50pt;
}
.carousel-caption {
    height: 90%;
}
#carousel-container{
    position: relative;
    z-index: 10;
    padding-bottom: 1vh;
}
#container-categories{
    padding-bottom: 2vh;
    margin: auto;
    
}
div.col-12{
    padding-left: 1vh;
    padding-right: 0;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.5s ease;

}
@media (max-width: 768px) {
    .description {
        font-size: 0.875rem; /* Adjust font size for body text on smaller screens */
    }
    .description-header {
        font-size: 1.6rem; /* Adjust font size for headers on smaller screens */
    }
    .carousel-caption {
        width: 95%;
        left:0%;
    }
    .carousel-item img {
        width: 100%; /* Ensures the image spans the full width of the container */
        height: 100%; /* Ensures the image spans the full height of the container */
        object-fit: cover; /* Maintains aspect ratio while covering the container */
        object-position: center; /* Centers the image */
        overflow: hidden; /* Hides the overflow */
        transform: translateY(-65%);
    }
    #carousel-container{
        max-height: 250px;
    }
    div.container-fluid:nth-child(1)
    {
        --bs-gutter-x:0;
    }
    .carousel-inner{
       margin-top: 10px;
       max-width: 100%;
    }
    #container-categories{
        padding-top: 10vh;
        
    }
    div.col-12{
        margin-bottom: 0;
    }
   
}



.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-image {
    max-width: 45%; /* Adjust the width as necessary */
    height: auto;
}

.intro-text {
    max-width: 50%; /* Adjust the width as necessary */
    padding: 20px;
}

/* Ensure responsive design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-image, .intro-text {
        max-width: 100%;
        width: 100%;
    }
}
.hct-link{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18pt;
}
