/*
Theme Name: Interklas Theme
Theme URI: http://example.com/interklas-theme/
Author: Dzhaner Mehmed
Description: Custom theme for Interklas Logistics.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interklas-theme
*/

:root {
	--BG-WHITE: rgb(228, 228, 288);
	--BIG-SPACE-BLUE: rgb(47, 47, 161);
	--NAV-BLUE: rgb(36, 36, 130);
	--BUTTON-FILL: rgb(246, 75, 115);
	--WHITE-TEXT: rgb(251, 252, 253);
	--BLACK-TEXT: rgb(0, 0, 0);
}

html, body {
	margin: 0;
    padding: 0;
    width: 100%;
    /*height: calc(var(--vh, 100vh)* 100);*/
    height: 100%;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    background-color: #121212;
    /*background-color: #000435;*/
    user-select: none;
    overflow: hidden;
}

header {
	width: 100%;
	height: 68px;
	position: sticky;
	top: 0;
	z-index: 1000;
	-webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

nav {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

a {
	text-decoration: none;
	color: var(--WHITE-TEXT);
}

.nav-container {
	
}

.logo {
	margin-left: 12px;
	margin-top: -7px;
	font-family: 'Helvetica', sans-serif;
	color: var(--WHITE-TEXT);
	font-size: 2.5em;
	text-transform: lowercase;
	font-weight: 600;
}

.logo .logistics {
	font-size: 0.4em;
	display: block;
	margin-top: -10px;
	font-weight: 300;
	margin-left: 2px;
}

.nav-button {
    font-size: 1.2em;
    margin-right: 25px;
    font-weight: 300;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: color 0.3s;
    padding: 7px 17px;
    border-radius: 12px;
}

.nav-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(255, 185, 65);
    transition: width 0.3s;
}

.nav-button:hover, .nav-button:focus {
    color: rgb(255, 185, 65);
}

.nav-button:hover::after, .nav-button:focus::after {
    width: 100%;
}

.mobile, .mobile-buttons {
	display: none;
}

.mobile-buttons {
    position: fixed;
    top: 68px;
    right: -100%;
    width: 100%;
    height: 50vh;
    background-color: rgba(18, 19, 22, 0.99);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 1001;
}

.mobile-buttons .nav-button {
	margin: 0 0 12px 0;
	font-size: 1.35em;
    transition: color 0.1s;
}

.mobile-menu-active {
    right: 0;
}

.carousel {
	font-family: 'Roboto', sans-serif;
	position: relative;
	top: -68px;
	height: 100vh;
	width: 100%;
	z-index: 1;
	overflow: hidden;
}

.carousel .list .item {
	position: absolute;
	inset: 0;
	transition: opacity 0.4s ease-in-out, transform 0.9s ease-in-out;
	will-change: transform, opacity;
}

.carousel .list .item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 15, 20, 0.6);
    z-index: 2;
}

.carousel .list .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}

.carousel .list .item .content {
	position: absolute;
	top: 11%;
	width: 900px;
	max-width: 80%;
	left: 3%;
	text-shadow: 0 5px 10px #0004;
	padding: 10px 25px 20px 35px;
	z-index: 3;
	/*-webkit-backdrop-filter: blur(2px);
	border-radius: 22px;
	border: 1px solid rgba(80, 80, 90, 0.3);*/
}

.carousel .list .item .content .title {
	color: rgb(251, 252, 253);
	font-size: 4.3em;
	font-weight: 700;
	margin-bottom: 20px;
}

.carousel .list .item .content .title2 {
	color: rgb(255, 185, 65);
	font-size: 4.2em;
	font-weight: 700;
}

.carousel .list .item .content .description {
	color: rgb(231, 232, 233);
	font-size: 1.2em;
	font-weight: 400;
	border-radius: 12px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(150px);
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.carousel .list .item .content .title,
.carousel .list .item .content .title2,
.carousel .list .item .content .description {
    animation: fadeInUp 1.4s ease-out forwards;
}

.thumbnail {
	position: fixed;
	bottom: 15px;
	right: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	z-index: 5;
}

.thumbnail .item {
	position: relative;
	height: 240px;
	width: 160px;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 8px 15px 3px #0006;
	border: 1px solid rgba(20, 30, 40, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.thumbnail .item:hover {
	transform: scale(1.07);
}

.thumbnail .item img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
	filter: blur(2px);
}

.thumbnail .item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60, 70, 80, 0.3);
    z-index: 10;
}

.thumbnail .item .titles {
    position: absolute;
    color: var(--WHITE-TEXT);
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    z-index: 10;
    margin: 0;
    text-align: center;
    z-index: 11;
}

.thumbnail .item .titles .title2 {
	color: rgb(255, 185, 65);
	font-weight: 700;
	font-size: 0.95em;
}

.carousel .list .item:not(:first-child) {
    visibility: hidden;
    opacity: 0;
}

@media (max-width: 768px) {
	.computer {
		display: none;
	}

	.mobile {
		display: block;
		height: 40px;
		width: 40px;
		margin-right: 14px;
		padding: 6px;
	}

	.carousel .list .item .content .title {
		font-size: 2.5em;
		margin-bottom: 12px;
	}

	.carousel .list .item .content .title2 {
		font-size: 2.4em;
	}

	.carousel .list .item .content .description {
		font-size: 1em;
	}

	.thumbnail .item {
		height: 160px;
		width: 100px;
	}

	.thumbnail .item .titles {
		font-size: 0.7em;
	}

	.thumbnail .item .titles .title2 {
		font-size: 0.85em;
	}

	.thumbnail .item:hover {
		transform: unset;
	}
}

@media (max-width: 450px) {
	.carousel .list .item .content {
		overflow-y: visible;
	}

	.carousel .list .item .content {
		max-width: unset;
		width: 90%;
		left: 0;
		padding: 0 20px 0 20px;
		text-align: center;
	}

	.carousel .list .item .content .title {
		font-size: 1.6em;
		margin-bottom: 10px;
	}

	.carousel .list .item .content .title2 {
		font-size: 1.5em;
	}

	.carousel .list .item .content .description {
		font-size: 0.95em;
	}

	.lastdesc {
		margin-bottom: 200px;
	}

	.thumbnail .item {
		height: 160px;
		width: 100px;
	}

	.thumbnail .item .titles {
		font-size: 0.7em;
	}

	.thumbnail .item .titles .title2 {
		font-size: 0.85em;
	}
}

@media (max-width: 400px) {
	.thumbnail {
		justify-content: flex-end;
	}

	.thumbnail .item {
		width: 100px;
		height: 160px;
	}
}

@media (max-width: 345px) {
	.thumbnail {
		gap: 7px;
		bottom: 7px;
		right: 7px;
	}

	.thumbnail .item {
		width: 90px;
		height: 140px;
	}

	.thumbnail .item img {
		filter: blur(2px);
	}

	.carousel .list .item .content {
		width: 93%;
		padding: 0 10px 0 10px;
	}
}

@media (min-width: 1600px) {
    .carousel .list .item .content {
        width: unset;
    }
    
    .carousel .list .item .content .title {
        font-size: 5.8em;
    }
    
    .carousel .list .item .content .title2 {
        font-size: 5.7em;
    }
    
    .carousel .list .item .content .description {
        font-size: 1.8em;
    }
}

@media (min-width: 2200px) {
    .carousel .list .item .content .title {
        font-size: 7.3em;
    }
    
    .carousel .list .item .content .title2 {
        font-size: 7.2em;
    }
    
    .carousel .list .item .content .description {
        font-size: 2.6em;
    }
}


/* Home Styles */
.homecontainer {
	font-family: 'Roboto', sans-serif;
	position: relative;
	top: -68px;
	height: 100%;
	width: 100%;
	z-index: 1;
	overflow: hidden;
}

.homecontainer .content {
	position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100vw;
}

.homecontainer .content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 68, 0.5);
    z-index: 2;
}

.content .text-side, .content .logo-side {
    flex: 1;
    display: flex;
    align-items: center;
}

.content .text-side {
    justify-content: flex-start;
    flex-direction: column;
    padding-right: 10%;
    /*flex: 55%;*/
    flex: 100%;
}

.content .logo-side {
    justify-content: flex-end;
    padding-left: 10%;
    flex: 45%;
}

.homecontainer .bgimage img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: top;
}

.biglogo {
    width: 80%;
    height: auto;
    z-index: 5;
    -webkit-filter: drop-shadow(5px 5px 5px #0004);
	filter: drop-shadow(5px 5px 5px #0004);
}

.text-side .title2 {
	color: rgb(255, 185, 65);
	font-size: 2.5em;
	font-weight: 700;
}

.text-side p {
	color: var(--WHITE-TEXT);
	font-size: 1.1em;
	line-height: 1.5;
	max-width: 60ch;
	text-align: justify;
}

.text-side .title2, .text-side p {
    text-align: left;
    z-index: 5;
    text-shadow: 0 5px 10px #222;
}

@media (max-width: 1024px) {
	.text-side .title2 {
		font-size: 2.2em;
		margin-top: 0.3em;
		margin-bottom: 0.3em;
	}

	.text-side p {
		font-size: 1em;
		line-height: 1.4;
	}

	.content .text-side {
		padding-right: 2%;
	}

	.content .logo-side {
		padding-left: 2%;
	}

	.biglogo {
		width: 100%;
	}
}

@media (max-width: 650px) {
	.content .text-side {
		padding: 0;
	}

	.content .logo-side {
		padding: 0;
		justify-content: center;
	}

	.text-side p {
		max-height: 50%;
		overflow-y: scroll;
		text-align: center;
		padding: 3px 10px 7px 7px;
		margin: 0;
	}

	.homecontainer .content {
		flex-direction: column;
	}

	.biglogo {
		width: 65%;
		position: relative;
		margin-top: 80px;
	}
}

@media (max-width: 460px) {
	.biglogo {
		width: 75%;
		margin-top: 100px;
	}
}

@media (max-width: 400px) {
	.biglogo {
		width: 85%;
		margin-top: 110px;
	}
}

@media (max-width: 300px) {
	.biglogo {
		width: 95%;
		margin-top: 140px;
	}
}

@media (max-width: 280px) {
	.text-side p {
		font-size: 0.9em;
	}
}

@media (max-width: 250px) {
	.biglogo {
		width: 100%;
		margin-top: 80px;
	}
	.text-side p {
		font-size: 0.8em;
	}
}