/*
Theme Name: Web by Haris
Theme URI: https://webbyharis.com
Author: Muhammad Haris
Author URI: https://webbyharis.com
Description: Custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: web-by-haris
*/

.main-container{
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}
.first-hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}
/* Overlay on Hero Section */
.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(12 83 100 / 47%); /* Semi-transparent overlay */
    z-index: 1; /* Ensure overlay is behind the content */
}
.left-content {
    flex: 1; /* Takes up 50% of the container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}
.right-images {
    flex: 1; /* Takes up 50% of the container */
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 2;
}
.image-column {
    width: 48%; /* Each column takes up 50% width, with a small margin between them */
    position: relative;
    overflow: hidden;
}
.image-track {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: auto;

}
.image-track .image {
    width: 100%;
    min-height: 200px;
    border-radius: 10px;
    margin: 10px 0;
    background-size: cover;
    background-position: center;
}
.scroll-up {
    animation: scrollUp 20s linear infinite;
}
.scroll-down {
    animation: scrollDown 20s linear infinite;
}
.first-hero-container span.subheading {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}
.first-hero-container h1 {
    font-size: 50px;
    color: #ffffff;
    line-height: 1.2;
    font-weight: 800;
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Adjust so it loops correctly */
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.image-wrapper {
    overflow: hidden;
}
.image-wrapper img{
    max-width: 100%;
    object-fit: cover;
    padding-bottom: 70px;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .first-hero-container {
        flex-direction: column; /* Stack left and right content vertically */
    }
    .left-content,
    .right-images {
        flex: 1 1 100%; /* Each section takes up full width */
    }
    .right-images {
        margin-top: 20px; /* Adds space between left and right sections on mobile */
    }
    .scroll-up,
    .scroll-down {
        animation-duration: 20s; /* Faster scrolling on mobile */
    }
    .first-hero-container h1 {
        font-size: 40px; /* Smaller text size on mobile */
    }
}

/* Portfolio  */

.captura {
	background-image: url('assets/images/bg-mac.png');
  background-position: top;
  background-repeat: no-repeat;
	background-size: 100% auto;
	padding: 25px;
	width: 650px;
	overflow: hidden;
	display: inline-block;
}
.captura .capa {
	position: relative;
	width: 100%;
	height: 285px;
	overflow: hidden;
	background-position: 0 0;
	background-size: 100% auto;
	-webkit-transition: all 3s ease-in-out;
	-moz-transition: all 3s ease-in-out;
	-ms-transition: all 3s ease-in-out;
	-o-transition: all 3s ease-in-out;
	transition: all 3s ease-in-out| 
}
.captura:hover .capa {
	background-position: 0 100%;
}
.captura .demo {
	background-image: url('https://d4ni.es/img/captura-cineduca.jpg');
}
.captura .capa .demo-link {
	position: absolute;
	width: 100%;
	height: 100%;
	line-height: 100%;
	background: rgba(0,0,0,.1);
	color: #fff;
	text-transform: uppercase;
	top: 0;
	left: 0;
	text-align: center;
	-webkit-transition: all .9s ease-in-out;
	-moz-transition: all .9s ease-in-out;
	-ms-transition: all .9s ease-in-out;
	-o-transition: all .9s ease-in-out;
	transition: all .9s ease-in-out;
}
.captura .capa .demo-link .link {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);	
}
.slick-slider-container {
    overflow: hidden;
    max-width: 100%;
}

.slick-slider-container .row {
    margin: 0;
    width: 100%;
}
/* ============== RESPONSIVE DISPLAY ============== */

@media only screen and (max-width: 4640px){
	.captura .capa {
		height: 370px;
	}
	.captura {
		padding-bottom: 170px;
	}
}

@media only screen and (max-width: 1920px) {
	.captura .capa {
		height: 370px;
	}
	.captura {
		padding-bottom: 170px;
	}
}
@media only screen and (max-width: 1280px) {
		.captura .capa {
		height: 370px;
	}
	.captura {
		padding-bottom: 170px;
	}
}
@media only screen and (max-width: 1024px) {
		.captura .capa {
		height: 248px;
	}
	.captura {
        width: 450px;
		padding-bottom: 170px;
	}
}

@media only screen and (max-width: 768px) {
    .captura .capa {
      height: 188px;
	}
	.captura {
        width: 350px;
		padding-bottom: 170px;
	}
}
@media only screen and (max-width: 640px) {
	.captura .capa {
		height: 250px;
	}
	.captura {
        width: 450px;
		padding-bottom: 140px;
	}
}
@media only screen and (max-width: 568px) {
	.captura .capa {
		height: 250px;
	}
	.captura {
    width: 450px;
		padding-bottom: 140px;
	}
}
@media only screen and (max-width: 480px) {
	.captura .capa {
		height: 205px;
	}
	.captura {
    width: 380px;
		padding-bottom: 120px;
	}
}
@media only screen and (max-width: 414px) {
	.captura .capa {
		height: 205px;
	}
	.captura {
    width: 380px;
		padding-bottom: 120px;
	}
}
@media only screen and (max-width: 384px) {
	.captura .capa {
		height: 190px;
	}
	.captura {
    width: 320px;
		padding-bottom: 100px;
	}
}
@media only screen and (max-width: 375px) {
	.captura .capa {
		height: 190px;
	}
	.captura {
    width: 320px;
		padding-bottom: 100px;
	}
}

.slick-slider .slick-dots li {
    width: 16px;
    height: 16px;
    border: 2px solid #0c5364; /* Outer circle color */
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    position: relative;
}

.slick-slider .slick-dots li button:before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
    opacity: 1;
}

.slick-slider .slick-dots li.slick-active button:before {
    background-color: black;
}

.slick-slider .slick-dots li:hover button:before {
    background-color: #0c5364;
}
