/* ----------------------------------------------------------------------------------------
* August White - site specific additions on top of Tilux custom.css
* ---------------------------------------------------------------------------------------- */

/* Brand accent: warm stone gray instead of the theme's burgundy (#6D1731) */
:root{
	--accent-color: #57534E;
}

/* Clash Grotesk has no Cyrillic glyphs */
html[lang="ru"]{
	--accent-font: "Inter", sans-serif;
}

/* Arabic uses Cairo for both body and headings */
html[lang="ar"]{
	--default-font: "Cairo", sans-serif;
	--accent-font: "Cairo", sans-serif;
}

.main-menu ul li.active > a{
	color: var(--accent-secondary-color) !important;
}

.language-switcher > a i{
	margin-right: 4px;
}

.home-about-btn{
	margin-top: 30px;
}

.cta-box-btn-gold{
	margin-top: 40px;
	position: relative;
	z-index: 1;
}

.section-more-btn{
	text-align: center;
	margin-top: 20px;
}

/* Home marble slider */
.marble-slider .photo-gallery a{
	display: block;
	cursor: none;
}

.marble-slider .photo-gallery figure{
	display: block;
	border-radius: 4px;
}

.marble-slider .photo-gallery img{
	width: 100%;
	aspect-ratio: 1 / 0.829;
	object-fit: cover;
	border-radius: 4px;
}

.marble-slider-nav{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
}

.marble-slider-pagination.swiper-pagination-bullets{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: auto;
}

.marble-slider-pagination .swiper-pagination-bullet{
	width: 10px;
	height: 10px;
	margin: 0 !important;
	background: var(--primary-color);
	opacity: 0.2;
}

.marble-slider-pagination .swiper-pagination-bullet-active{
	background: var(--accent-color);
	opacity: 1;
}

.marble-button-prev,
.marble-button-next{
	position: relative;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border: 1px solid var(--divider-color);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.marble-button-prev:hover,
.marble-button-next:hover{
	background: var(--accent-color);
}

.marble-button-prev::before,
.marble-button-next::before{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	background: url('../images/arrow-primary.svg') no-repeat center center;
	background-size: cover;
	transform: translate(-50%, -50%) rotate(225deg);
	transition: all 0.3s ease-in-out;
}

.marble-button-next::before{
	transform: translate(-50%, -50%) rotate(45deg);
}

html[dir="rtl"] .marble-button-prev::before{
	transform: translate(-50%, -50%) rotate(45deg);
}

html[dir="rtl"] .marble-button-next::before{
	transform: translate(-50%, -50%) rotate(225deg);
}

.marble-button-prev:hover::before,
.marble-button-next:hover::before{
	filter: brightness(0) invert(1);
}

.marble-button-prev.swiper-button-disabled,
.marble-button-next.swiper-button-disabled{
	opacity: 0.4;
	cursor: default;
}

/* Selected references (home) */
.home-references{
	padding: 120px 0 90px;
	background: var(--bg-color);
}

.home-gallery{
	background: var(--secondary-color);
}

/* References page */
.page-references{
	padding: 120px 0 90px;
}

.references-stats{
	display: flex;
	gap: 30px;
	justify-content: flex-end;
}

.references-stats > div{
	background: var(--primary-color);
	border-radius: 4px;
	padding: 30px 40px;
	min-width: 180px;
}

.references-stats h2{
	font-size: 46px;
	color: var(--accent-secondary-color);
	margin-bottom: 10px;
}

.references-stats p{
	color: var(--white-color);
	margin: 0;
}

.project-card{
	background: var(--secondary-color);
	border-radius: 4px;
	overflow: hidden;
	height: calc(100% - 30px);
	margin-bottom: 30px;
}

.project-card-image{
	position: relative;
}

.project-card-image figure{
	display: block;
}

.project-card-image img{
	width: 100%;
	aspect-ratio: 1 / 0.7;
	object-fit: cover;
}

.project-card-badge{
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 2;
	background: var(--primary-color);
	color: var(--accent-secondary-color);
	font-size: 14px;
	line-height: 1.4em;
	border-radius: 100px;
	padding: 8px 16px;
}

.project-card-badge i{
	margin-right: 6px;
}

.project-card-body{
	padding: 30px;
}

.project-card-body h3{
	font-size: 20px;
	margin-bottom: 20px;
}

.project-card-body ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.project-card-body ul li{
	display: flex;
	justify-content: space-between;
	gap: 15px;
	line-height: 1.5em;
	padding: 10px 0;
	border-top: 1px solid var(--divider-color);
}

.project-card-body ul li span{
	color: var(--primary-color);
	font-weight: 600;
}

/* Gallery filter */
.gallery-filter{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 50px;
}

.gallery-filter button{
	background: transparent;
	border: 1px solid var(--divider-color);
	border-radius: 100px;
	color: var(--primary-color);
	font-weight: 600;
	padding: 12px 24px;
	transition: all 0.3s ease-in-out;
}

.gallery-filter button.active,
.gallery-filter button:hover{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

.gallery-col.is-hidden{
	display: none;
}

/* Contact */
.contact-info-box-list ul li i.fa-whatsapp{
	color: var(--accent-secondary-color);
	font-size: 22px;
	margin-right: 10px;
}

/* WhatsApp floating button */
.whatsapp-float{
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 99;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #FFFFFF;
	font-size: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover{
	color: #FFFFFF;
	transform: scale(1.05);
}

@media only screen and (max-width: 991px){
	.home-references,
	.page-references{
		padding: 60px 0 30px;
	}

	.references-stats{
		justify-content: flex-start;
		margin-top: 30px;
	}

	.references-stats > div{
		padding: 20px 25px;
		min-width: 0;
		flex: 1;
	}

	.references-stats h2{
		font-size: 34px;
	}
}

/* Developer credit in footer */
.footer-credit{
	display: inline-block;
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid var(--dark-divider-color);
}

.footer-credit a{
	color: var(--accent-secondary-color);
}

html[dir="rtl"] .footer-credit{
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px solid var(--dark-divider-color);
}

.footer-credit i{
	color: var(--accent-secondary-color);
	margin-right: 4px;
}

html[dir="rtl"] .footer-credit i{
	margin-right: 0;
	margin-left: 4px;
}

/* Hero support box: keep the text on one line instead of the theme's 240px box */
.hero-content-footer-gold .hero-contact-box-gold{
	max-width: none;
}

.hero-contact-box-gold .hero-contact-box-content-gold{
	width: auto;
}

@media only screen and (min-width: 768px){
	.hero-contact-box-content-gold h2{
		white-space: nowrap;
	}
}

/* Hero title: larger on tablets; on phones as large as fits two lines */
@media only screen and (max-width: 991px){
	.hero-content-gold .section-title h1{
		font-size: 60px;
	}
}

@media only screen and (max-width: 767px){
	.hero-content-gold .section-title h1{
		font-size: min(calc((100vw - 40px) / 12), 42px);
	}
}

/* Hero: plain dark background, uploaded image sits on the bottom right edge (like Tilux hero-3) */
.hero-gold.hero-aw{
	background-image: none;
	background-color: var(--primary-color);
	padding-bottom: 0;
}

.hero-gold.hero-aw::before{
	display: none;
}

.hero-aw-content-col{
	padding-bottom: 170px;
}

.hero-aw-image-col{
	display: flex;
	align-items: flex-end;
}

.hero-aw-image{
	width: 100%;
}

.hero-aw-image figure{
	position: relative;
	display: block;
	margin: 0;
}

.hero-aw-image figure::before{
	content: '';
	position: absolute;
	top: -70px;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../images/hero-image-bg-silver.png') no-repeat center center / cover;
	pointer-events: none;
}

.hero-aw-image figure img{
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

@media only screen and (min-width: 1200px){
	.hero-aw-has-image .hero-content-gold .section-title h1{
		font-size: 54px;
	}
}

@media only screen and (min-width: 1400px){
	.hero-aw-has-image .hero-content-gold .section-title h1{
		font-size: 60px;
	}
}

@media only screen and (max-width: 1199px){
	.hero-aw-content-col{
		padding-bottom: 40px;
	}

	.hero-aw-image{
		max-width: 600px;
		margin: 0 auto;
	}
}

/* Work process (about): step icons in the logo gold instead of photos */
.work-process-item-image.work-process-item-icon{
	width: 250px;
	max-width: 100%;
}

.work-process-item-icon span{
	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1 / 1;
	background: rgba(206, 169, 104, 0.08);
	border: 1px solid rgba(206, 169, 104, 0.5);
	border-radius: 50%;
}

.work-process-item-icon img{
	width: 104px;
	height: 104px;
}

@media only screen and (max-width: 767px){
	.work-process-item-image.work-process-item-icon{
		width: 200px;
	}

	.work-process-item-icon img{
		width: 84px;
		height: 84px;
	}
}
