/* =========================================================================
   Kelaket (kelaket.me) — static HTML/CSS clone of the landing page
   Fonts, icons, posters and the banner image are self-hosted locally under
   ./statics/ (relative paths). Only the APK download link and a few
   WordPress page/social links still point back to the live site.
   ========================================================================= */

@font-face {
	font-family: 'iran-sans';
	font-weight: 400;
	src: url('statics/fonts/ir-sans-web.woff2') format('woff2'),
		url('statics/fonts/ir-sans-web.woff') format('woff'),
		url('statics/fonts/ir-sans-web.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'iran-sans';
	font-weight: 300;
	src: url('statics/fonts/ir-sans-web-light.woff2') format('woff2'),
		url('statics/fonts/ir-sans-web-light.woff') format('woff'),
		url('statics/fonts/ir-sans-web-light.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'iran-sans';
	font-weight: 500;
	src: url('statics/fonts/ir-sans-web-medium.woff2') format('woff2'),
		url('statics/fonts/ir-sans-web-medium.woff') format('woff'),
		url('statics/fonts/ir-sans-web-medium.ttf') format('truetype');
	font-display: swap;
}

:root {
	--color-bg: #1e1e1e;
	--color-bg-alt: #181818;
	--color-panel: #242424;
	--color-header: #1a1816;
	--color-red: #de0007;
	--color-text: #ffffff;
	--container-max: 1280px;
	--font-base: 'iran-sans', Tahoma, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	direction: rtl;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none !important;
}

h1, h2, h3 {
	margin: 0;
	font-family: var(--font-base);
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
}

.divider {
	height: 7px;
	background-color: var(--color-panel);
	width: 100%;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-block;
	border: 0;
	cursor: pointer;
	transition: background-color .4s, color .4s;
}

.btn-red {
	background-color: var(--color-red);
	color: #fff;
	border-radius: 100px;
	padding: 7px 28px;
	font-size: 18px;
	box-shadow: none !important;
}
.btn-red:hover,
.btn-red:focus {
	background-color: #fff;
	color: var(--color-red);
}

.btn-lg {
	padding: 14px 60px;
	font-weight: 500;
}

/* Header ------------------------------------------------------------------ */

.site-header {
	position: fixed;
	top: -100px;
	left: 0;
	right: 0;
	z-index: 999;
	width: 100%;
	overflow: hidden;
	padding: 10px 0;
	opacity: 0;
	background: transparent;
	transition: all .3s;
}

.site-header.is-sticky {
	top: 0;
	opacity: 1;
	background-color: var(--color-header);
}

.site-header::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -100%;
	width: 220%;
	height: 1100%;
	transform: rotate(-20deg);
	z-index: -1;
	background: transparent url('statics/images/header-pattern.png') 0 0 repeat;
}

.header-inner {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
}

.logo-img {
	width: 45px;
	height: auto;
}

/* Hero --------------------------------------------------------------------- */

.hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: url('statics/images/main-banner.jpg');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto;
	padding: 56px 28px;
}

.hero-inner {
	max-width: 720px;
	width: 100%;
}

.hero-logo {
	width: 155px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 1.6em;
	font-weight: 500;
	line-height: 1.6em;
	padding: 56px 0 48px;
}

.hero h2 {
	font-size: 1.15em;
	font-weight: 400;
	line-height: 1.2em;
	padding: 0 0 56px;
}

.hero h3 {
	font-size: 1.1em;
	font-weight: 300;
	padding: 56px 0 0;
}

/* Features (red circle icons) --------------------------------------------- */

.features {
	padding: 112px 0;
}

.features-grid {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 20px;
	text-align: center;
}

.feature {
	flex: 1 1 0;
	padding: 0 14px;
}

.feature-icon {
	width: 130px;
	height: 130px;
	margin: 0 auto 20px;
	background-color: var(--color-red);
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
}

.feature-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.feature h3 {
	font-size: .9em;
	font-weight: 300;
	line-height: 1.8;
}

/* Poster carousel ----------------------------------------------------------- */

.carousel-section {
	padding: 80px 0;
	overflow: hidden;
}

.carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.carousel-viewport {
	overflow: hidden;
	width: 100%;
}

.carousel-track {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 20px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
	display: none;
}

.slide {
	flex: 0 0 auto;
	width: 211px;
	scroll-snap-align: center;
	text-align: center;
	opacity: .35;
	transform: scale(.88);
	transition: opacity .4s, transform .4s;
}

.slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.slide-image {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 211 / 513;
}

.slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide h3 {
	margin-top: 14px;
	font-size: .85em;
	font-weight: 300;
}

.carousel-arrow {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: transparent;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .3s, border-color .3s;
}
.carousel-arrow:hover {
	background-color: var(--color-red);
	border-color: var(--color-red);
}

/* Everywhere movie section --------------------------------------------------- */

.everywhere {
	padding: 112px 0 0;
}

.everywhere-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding-bottom: 56px;
	text-align: right;
}

.everywhere-icon {
	flex: 0 0 auto;
	width: 100px;
	margin: 0;
}

.everywhere-head h2 {
	font-size: 1.15em;
	font-weight: 400;
	line-height: 2;
	margin: 0;
}

.everywhere-image {
	width: 100%;
}

.everywhere-image img {
	width: 100%;
	height: auto;
}

/* FAQ / accordion --------------------------------------------------------- */

.faq {
	background-color: #000;
	padding: 56px;
}

.faq-container {
	max-width: 900px;
	padding: 0;
}

.accordion-item + .accordion-item {
	margin-top: 7px;
}

.accordion-title {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: var(--color-panel);
	color: #fff;
	border: 0;
	padding: 14px;
	font-family: var(--font-base);
	font-size: .8em;
	font-weight: 300;
	line-height: 1.8;
	text-align: right;
	cursor: pointer;
}

.accordion-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: transform .2s;
}

.accordion-item.is-open .accordion-icon {
	transform: rotate(45deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	background-color: var(--color-bg-alt);
	transition: max-height .3s ease-in-out;
}

.accordion-content p {
	margin: 0;
	padding: 28px;
	font-size: .8em;
	font-weight: 300;
	line-height: 1.8;
	text-align: right;
}

/* Footer -------------------------------------------------------------------- */

.site-footer {
	max-width: var(--container-max);
	margin: 56px auto 0;
	padding: 0 56px 56px;
	font-size: .9em;
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.footer-nav li {
	line-height: 2;
}

.footer-nav a:hover {
	color: var(--color-red);
}

.footer-nav li.social {
	line-height: 2.6em;
}

.footer-nav li.social a {
	display: inline-flex;
}

.copyright {
	text-align: center;
	margin: 32px 0 0;
}

/* Inner pages (legal / advertising / contact) ------------------------------ */

.site-header.is-inner {
	position: fixed;
	top: 0;
	opacity: 1;
	background-color: var(--color-header);
}

.page-content {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 140px 56px 80px;
}

.page-title {
	text-align: center;
	max-width: 1240px;
	margin: 0 auto 56px;
	padding-bottom: 56px;
	border-bottom: 2px solid #414141;
}

.page-title h1 {
	font-size: 1.6em;
	font-weight: 500;
	line-height: 1.6em;
}

/* Privacy / terms page */

.legal-content p {
	margin: 0 0 28px;
	font-size: .9em;
	line-height: 1.9;
	text-align: left;
}

.legal-content h2 {
	font-size: 1.05em;
	font-weight: 500;
	line-height: 1.5;
	margin: 0 0 14px;
}

/* Advertising page */

.advertising-intro {
	text-align: center;
	margin-bottom: 56px;
}

.advertising-intro h2 {
	font-size: 1.15em;
	font-weight: 400;
	margin-bottom: 40px;
}

.advertising-columns {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 80px;
}

.advertising-columns .col-text {
	flex: 1 1 50%;
}

.advertising-columns .col-text p {
	font-size: .9em;
	line-height: 1.9;
	text-align: right;
}

.advertising-columns .col-image {
	flex: 1 1 50%;
	text-align: center;
}

.advertising-columns .col-image img {
	max-width: 402px;
	width: 100%;
	margin: 0 auto;
}

.stats-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	text-align: center;
}

.stat {
	flex: 1 1 200px;
	max-width: 220px;
}

.stat img {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	object-fit: contain;
}

.stat h3 {
	font-size: 1.05em;
	font-weight: 500;
	margin-bottom: 6px;
}

.stat p {
	font-size: .85em;
	font-weight: 300;
	margin: 0;
	color: #ccc;
}

/* Contact page */

.contact-content {
	text-align: center;
	font-size: 1em;
	line-height: 2.4;
}

.contact-content a {
	color: var(--color-red);
}

/* Responsive ---------------------------------------------------------------- */

@media only screen and (max-width: 1300px) {
	.header-inner,
	.container,
	.site-footer {
		padding-left: 56px;
		padding-right: 56px;
	}
}

@media only screen and (max-width: 1200px) {
	.feature-icon {
		width: 100px;
		height: 100px;
		padding: 14px;
	}
	.header-inner,
	.container,
	.site-footer {
		padding-left: 28px;
		padding-right: 28px;
	}
}

@media only screen and (max-width: 960px) {
	.everywhere-head {
		text-align: center;
		flex-direction: column;
	}
}

@media only screen and (max-width: 780px) {
	.features-grid {
		flex-wrap: wrap;
	}
	.feature {
		flex: 1 1 33%;
		padding-bottom: 56px;
	}
	.advertising-columns {
		flex-direction: column;
	}
	.page-content {
		padding: 120px 28px 56px;
	}
}

@media only screen and (max-width: 600px) {
	.hero h1 {
		font-size: 1.4em !important;
	}
	.hero h2 {
		font-size: 1.05em !important;
	}
	.features {
		padding: 56px 0 !important;
	}
	.carousel-section {
		padding: 56px 0 0 !important;
	}
	.faq {
		padding: 56px 28px;
	}
	.site-footer {
		margin: 56px 0;
		padding: 0 28px 28px;
	}
	.hero-logo {
		width: 120px;
	}
	.hero {
		padding: 56px 28px 112px;
	}
}

@media only screen and (max-width: 480px) {
	.btn-red {
		font-size: .9em;
	}
	.hero h1 {
		font-size: 1.2em !important;
	}
	.hero h2 {
		font-size: .9em !important;
	}
	.hero h3 {
		font-size: .8em !important;
	}
	.feature {
		flex: 1 1 50%;
		padding: 0 14px 56px;
	}
	.feature-icon {
		width: 90px;
		height: 90px;
	}
	.slide {
		width: 160px;
	}
}
