@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	box-sizing: border-box;
	font-family: lato;
	color: #F8F8F8;
	line-height: 1.2;
}
html {
  scroll-behavior: smooth;
}
@media (min-width: 1440px) {
  ::-webkit-scrollbar {
    width: 0.5vw;
  }
  ::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #EEEEEE;
  }
  ::-webkit-scrollbar-thumb {
    background: #941E1B;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #b42325;
  }
  html {
    scrollbar-width: thin; /* Firefox support */
    scrollbar-color: #941E1B #EEEEEE;
  }
}

/* Slideshow */
.hero-section {
	padding: 75px 232px 0 233px;
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.hero-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	background: rgba(248, 248, 248, 0.5);
	width: 100%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-text h1 {
	color: #20120D;
	font-family: Oswald, sans-serif;
	font-size: 64px;
	font-weight: 500;
	margin: 0;
	text-align: center;
}

/* Main Content */
.fade-in-section {
	opacity: 0;
  	transform: translateY(-20px);
  	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in-section.is-visible {
  	opacity: 1;
  	transform: translateY(0);
}

.padding{
	padding: 75px 132px 75px 133px;
}
.column-intro{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: none;
}
.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden; /* ensure the gradient doesn't spill out */
  max-width: 100%; /* if responsive */
}
.intro_image{
	display: block;
	width: 575px;
	height: 340px;
	object-fit: cover;
	object-position: center;
}
.gradient-overlay{
	position: absolute;
  	top: 0;
  	left: 0;
  	width: 575px;
  	height: 100%;
	background: linear-gradient(0deg, rgba(32, 18, 13, 0.20) 0%, rgba(32, 18, 13, 0.00) 76%);
  	pointer-events: none;
}
h2{
	font-size: 40px;
	color: #941B1E;
	font-weight: 500;
}
.column-intro-header{
	text-align: right;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* Unified text section */
.portfolio-text-section {
    background: #EEEEEE;
    border-top: 1px solid #20120D;
    border-bottom: 1px solid #20120D;
    padding: 75px 132px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.portfolio-text-item {
    box-sizing: border-box;
}
.portfolio-text-item h3 {
    margin: 0;
    padding: 0;
    font-size: 28px;
    color: #20120D;
}
.portfolio-text-item p {
    margin-top: 75px;
    padding: 0;
    font-size: 20px;
    color: #20120D;
	text-align: left;
	word-break: break-word;
}
/* Portfolio Images Section */
.portfolio-images-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 75px 132px 0 133px;
}
.portfolio-image-group {
    display: flex;
    flex-direction: column;
    gap: 38px;
}
.portfolio-image-group .image-wrapper {
    width: 100%;
    height: 150px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
	object-position: center;
}
.text-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #F8F8F8;
    z-index: 2;
    opacity: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    padding: 0 38px;
	cursor: pointer;
}
.text-overlay h3 {
    font-size: 28px;
    margin: 0;
    color: #F8F8F8;
}
/* Combined Hover Effects */
.portfolio-image-group .image-wrapper:hover .portfolio-thumbnail {
    filter: brightness(65%);
    transform: scale(1.05); /* Unified scale */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.portfolio-image-group .image-wrapper:hover .gradient-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}
.portfolio-image-group .image-wrapper:hover .text-overlay {
    opacity: 1;
}
/* Lightbox modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32,18,13,0.9);
}
.modal-content {
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close {
    position: absolute;
    top: 38px;
    right: 38px;
    color: #FEFEFE;
    font-size: 40px;
    cursor: pointer;
	box-shadow: 0px 4px 4px rgba(32, 18, 13, 0.50);
	transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.close:hover{
	color: #941B1E;
	box-shadow: none;
	transform: translateY(-2px);
}

.padding-2{
	background-color: #eeeeee;
	border-top: 1px #20120D solid;
	border-bottom: 1px #20120D solid;
	padding: 75px 0;
	margin-bottom: 75px;
}
.padding-3{
	padding: 0 133px;
}
/* Clientele Slider */
.clientele-slider{
  	overflow: hidden;
  	width: 100%;
  	box-sizing: border-box;
}
.slider2 .slider-track{
	margin-top: 38px;
}
.slider-track{
  	display: flex;
  	white-space: nowrap;
	width: fit-content;
  	animation: scroll-left 40s linear infinite;
}
.slide-group{
	display: flex;
}
.clientele{
	white-space: nowrap;
  	margin-right: 75px;
  	font-size: 28px;
  	color: #20120D;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px 25px;
	align-items: start;
}
.testimonial-card {
	min-height: 300px;
    background: #EEEEEE;
    border: 1px solid #20120D;
    border-radius: 8px;
    padding: 38px;
    position: relative;
    cursor: pointer;
}
.testimonial-content {
    position: relative;
}
.testimonial-card h3 {
    font-size: 28px;
    color: #20120D;
    margin: 0 0 25px 0;
    text-align: left;
}
.testimonial-card p {
    font-size: 20px;
    color: #20120D;
    margin: 0;
    text-align: left;
}
.full-text {
    display: none;
}
.testimonial-card.expanded {
    height: auto;
    min-height: 300px;
}
.short-text {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Show max 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.short-text::after{
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, rgba(238,238,238,0) 0%, rgba(238,238,238,1) 100%);
}
.testimonial-card.expanded .short-text {
    display: none;
}
.testimonial-card.expanded .short-text::after {
	display: none; /* Hide fade effect when expanded */
}
.testimonial-card.expanded .full-text {
    display: block;
}
.expand-btn {
    position: absolute;
	right: 38px;
	bottom: 38px;
	color: #20120D;
	border: none;
    display: flex;
    cursor: pointer;
    transition: all 0.3s ease;
}
.expand-btn i {
    font-size: 20px;
    color: #20120D;
    transition: all 0.3s ease;
}
.expand-btn i:hover{
	color: #941B1E;
}
.testimonial-card.expanded .expand-btn i {
    transform: rotate(45deg);
	color: #941B1E;
}

@media (max-width: 768px){
	.hero-text h1, .close{
		font-size: 3rem;
	}
	h2{
		font-size: 1.7rem;
	}
	h3, .text-overlay h3, .portfolio-text-item h3, .clientele, .testimonial-card h3{
		font-size: 1.2rem;
	}
	.portfolio-text-item p, .testimonial-card p, .expand-btn i{
		font-size: 0.9rem;
	}
	.hero-section, .padding, .text-overlay, .portfolio-text-section, .portfolio-images-section, .testimonial-card{
		padding: 4vw;
	}
	.intro_image{
		width: 100%;
	}
	.portfolio-text-item p{
		margin-top: 4vw;
	}
	.portfolio-image-group, .testimonial-grid{
		gap: 4vw;
	}
	.image-wrapper .gradient-overlay{
		height: 100%;
	}
	.gradient-overlay, .portfolio-thumbnail{
		height: 150px;
		width: 100%;
	}
	.padding-2{
		padding: 4vw 0;
		margin-bottom: 4vw;
	}
	.clientele{
		margin-right: 4vw;
	}
	.padding-3{
		padding: 0 4vw;
	}
	.testimonial-card{
		min-height: 280px;
	}
	.expand-btn{
		right: 4vw;
		bottom: 4vw;
	}
}
@media (max-width: 426px){
	.hero-text h1, .close{
		font-size: 2rem;
	}
	h2{
		font-size: 1.3rem;
	}
	h3, .text-overlay h3, .portfolio-text-item h3, .clientele, .testimonial-card h3{
		font-size: 1rem;
	}
	.portfolio-text-item p, .testimonial-card p, .expand-btn i{
		font-size: 0.8rem;
	}
	.hero-section, .padding, .portfolio-text-section, .portfolio-images-section{
		padding: 10vw 4vw;
	}
	.text-overlay{
		padding: 1vw;
	}
	.column-intro{
		display: inline-block;
	}
	.column-intro .image-wrapper{
		height: 50%;
		width: 80%;
		margin-left: 10%;
		margin-bottom: 4vw;
	}
	.intro_image{
		width: 100%;
		height: auto;
	}
	.slider2 .slider-track{
		margin-top: 4vw;
	}
	.padding-2{
		margin-bottom: 10vw;
	}
	.image-wrapper .gradient-overlay{
		width: 100%;
		height: 100%;
	}
	.portfolio-text-section{
		grid-template-columns: 1fr;
		gap: 4vw;
	}
	.portfolio-images-section{
		gap: 4vw;
	}
	.modal-content{
		max-height: 60%;
		max-width: 60%;
	}
	.testimonial-card{
		padding: 4vw;
		min-height: 200px;
	}
	.testimonial-content h3{
		margin-bottom: 4vw;
	}
}
@media (max-width: 376px){
	.hero-text h1, .close{
		font-size: 1.8rem;
	}
	h2{
		font-size: 1.2rem;
	}
	h3, .portfolio-text-item h3, .clientele, .testimonial-card h3{
		font-size: 0.9rem;
	}
	.portfolio-text-item p, .testimonial-card p, .expand-btn i, .text-overlay h3{
		font-size: 0.7rem;
	}
	
}
@media (max-width: 320px){
	.hero-text h1, .close{
		font-size: 1.6rem;
	}
	h2{
		font-size: 1rem;
	}
	h3, .portfolio-text-item h3, .clientele, .testimonial-card h3{
		font-size: 0.8rem;
	}
	.testimonial-card{
		min-height: 150px;
	}
}