/* ============================================================
   Webstudio Albania — [wsa_banner]
   Seksion promocional full-width me animacione:
   yjet, titulli me vija anësore, kutia e bardhë me tekst
   "të gërryer" (knockout) dhe butoni i kuq.
   ============================================================ */

/* ===== RESET I IZOLUAR PËR SEKSIONIN ===== */
.wsa-banner, .wsa-banner * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.wsa-banner {
	position: relative;
	width: 100%;
	min-height: 600px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Golos Text', 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.8;
	color: #fff;
	text-align: center;
	isolation: isolate;
}

/* ===== SFONDI ===== */
.wsa-banner-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	margin: 0;
}
.wsa-banner-bg img,
.wsa-banner-bg .wsa-banner-bg-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center center;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.wsa-banner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	z-index: 1;
}

/* ===== PËRMBAJTJA ===== */
.wsa-banner-content {
	position: relative;
	z-index: 2;
	padding: 40px 20px;
	max-width: 800px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Yjet — 5 yje CSS */
.wsa-banner-stars {
	width: 92px;
	height: 25px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	opacity: 0;
	animation: wsa-banner-fadeDown 0.6s ease 0.4s forwards;
}
.wsa-banner-star {
	width: 15px;
	height: 15px;
	display: block;
	background-color: #fff;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Rreshti i titullit me vija anësore */
.wsa-banner-titlerow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-bottom: 6px;
	opacity: 0;
	animation: wsa-banner-scaleIn 0.6s ease 0.45s forwards;
}
.wsa-banner-line {
	display: block;
	width: 92px;
	height: 1px;
	background-color: #fff;
	flex: 0 0 auto;
}
.wsa-banner-line--left { transform-origin: left center; animation: wsa-banner-lineLeft 0.6s ease 0.7s both; }
.wsa-banner-line--right { transform-origin: right center; animation: wsa-banner-lineRight 0.6s ease 0.85s both; }

.wsa-banner-sale {
	font-size: 24px;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 60px;
	color: #fff;
	white-space: nowrap;
}

/* Kutia e bardhë me kornizë të dyfishtë; teksti "gërryhet" dhe tregon imazhin pas (knockout) */
.wsa-banner-hero {
	position: relative;
	display: inline-block;
	margin: 8px 0 12px;
	padding: 24px 50px;
	background-color: #fff;
	border: 3px solid #fff;
	outline: 3px solid rgba(0, 0, 0, 0.15);
	outline-offset: -9px;
	mix-blend-mode: screen;
	opacity: 0;
	animation: wsa-banner-scaleIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}
.wsa-banner-hero h3 {
	font-family: 'Golos Text', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 56px;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0;
	color: #232323;
}

/* Nëntitulli */
.wsa-banner-subtitle {
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 60px;
	color: #fff;
	white-space: nowrap;
	opacity: 0;
	animation: wsa-banner-slideLeft 0.6s ease 1.3s forwards;
}

/* Butoni — i kuq me border të bardhë */
.wsa-banner-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 35px;
	background-color: var(--wsa-acc, #B01E28);
	color: #fff;
	font-family: 'Golos Text', 'Roboto', 'Lato', sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 17px;
	text-decoration: none;
	border: 2px solid #fff;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	opacity: 0;
	animation: wsa-banner-slideRight 0.6s ease 1.2s forwards;
}
/* Shigjeta pas tekstit (CSS-only) */
.wsa-banner-btn .wsa-banner-arrow {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}
.wsa-banner-btn:hover,
.wsa-banner-btn:focus {
	background-color: #fff;
	color: var(--wsa-acc, #B01E28);
	border-color: #fff;
	text-decoration: none;
}
.wsa-banner-btn:hover .wsa-banner-arrow,
.wsa-banner-btn:focus .wsa-banner-arrow {
	transform: rotate(45deg) translate(2px, -2px);
}
.wsa-banner-btn:focus-visible {
	outline: 3px solid #ffbf00;
	outline-offset: 3px;
}

/* ===== KEYFRAMES ===== */
@keyframes wsa-banner-fadeDown {
	0% { opacity: 0; transform: translateY(-50px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes wsa-banner-scaleIn {
	0% { opacity: 0; transform: scale(0.9); }
	100% { opacity: 1; transform: scale(1); }
}
@keyframes wsa-banner-slideLeft {
	0% { opacity: 0; transform: translateX(-50px); }
	100% { opacity: 1; transform: translateX(0); }
}
@keyframes wsa-banner-slideRight {
	0% { opacity: 0; transform: translateX(50px); }
	100% { opacity: 1; transform: translateX(0); }
}
@keyframes wsa-banner-lineLeft {
	0% { opacity: 0; transform: scaleX(0); }
	100% { opacity: 1; transform: scaleX(1); }
}
@keyframes wsa-banner-lineRight {
	0% { opacity: 0; transform: scaleX(0); }
	100% { opacity: 1; transform: scaleX(1); }
}

/* ===== IMAZHET SIPAS EKRANIT =====
   Ndrrimi desktop/mobile bëhet me <picture>/<source media> — shfletuesi
   zgjedh vetë src-në e duhur; s'ka nevojë per display:none që temat/lazy-load
   mund ta prishnin. Rregullat e vjetra mbahen për pajtueshmëri prapa. */
.wsa-banner-bg-mobile { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
	/* Gutenberg wrapper — pa hapësirë majtas/djathtas */
	#site-content .wsa-gutenberg-wrapper {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	#site-content .wsa-banner,
	.wsa-banner {
		min-height: 550px;
	}
	.wsa-banner-content { padding-left: 0; padding-right: 0; }
	/* Aktivizo imazhin mobile dhe fshih atë desktop */
	.wsa-banner-bg-desktop { display: none; }
	.wsa-banner-bg-mobile { display: block; }
}
@media (max-width: 768px) {
	.wsa-banner-sale { font-size: 20px; line-height: 40px; }
	.wsa-banner-hero { padding: 18px 32px; }
	.wsa-banner-hero h3 { font-size: 44px; letter-spacing: 2px; }
	.wsa-banner-subtitle { font-size: 15px; line-height: 40px; white-space: normal; }
	.wsa-banner-line { width: 50px; }
	.wsa-banner-titlerow { gap: 14px; }
}
@media (max-width: 480px) {
	.wsa-banner-sale { font-size: 17px; letter-spacing: 1px; }
	.wsa-banner-hero { padding: 14px 22px; }
	.wsa-banner-hero h3 { font-size: 30px; letter-spacing: 1px; }
	.wsa-banner-line { width: 32px; }
	.wsa-banner-btn { font-size: 15px; padding: 10px 26px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	.wsa-banner-stars,
	.wsa-banner-titlerow,
	.wsa-banner-hero,
	.wsa-banner-subtitle,
	.wsa-banner-btn,
	.wsa-banner-line--left,
	.wsa-banner-line--right {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.wsa-banner-btn { transition: none !important; }
	.wsa-banner-btn .wsa-banner-arrow { transition: none !important; }
}
