/**
 * Minimal tema stilleri — layout ve bileşenler Tailwind ile.
 *
 * @package lets_wp
 */

/* Erişilebilirlik (Underscores / WP core uyumu) */
body {
	background: #FBF7E5;
}

/* Anasayfa — kategori çizgili arka plan */
.lets-home-yellow {
	background-color: #FBF7E5;
}

/* Anasayfa — kategori kartı degrade */
.lets-category-gradient__layer {
	position: absolute;
	inset: 0;
	transition: opacity 0.5s ease-in-out;
}

.lets-category-gradient__layer--cream {
	background: linear-gradient(
		to top,
		#FFFDF2 0%,
		#FFFDF2 25%,
		rgba(255, 253, 242, 0.6) 55%,
		rgba(255, 253, 242, 0) 75%
	);
	opacity: 1;
}

.lets-category-gradient__layer--red {
	background: linear-gradient(
		to top,
		#B83039 0%,
		#B83039 25%,
		rgba(184, 48, 57, 0.6) 55%,
		rgba(184, 48, 57, 0) 75%
	);
	opacity: 0;
}

.group:hover .lets-category-gradient__layer--cream {
	opacity: 0;
}

.group:hover .lets-category-gradient__layer--red {
	opacity: 1;
}

.lets-category-title {
	transition: color 0.5s ease-in-out;
}

.group:hover .lets-category-title {
	color: #fff;
}

/* Anasayfa — Bizden Haberler (düz krem) */
.lets-home-news {
	background-color: #FBF7E5;
}

/* Bize Ulaşın — giriş bölümü */
.lets-contact-intro {
	background-color: #FDF9E9;
}

/* Bize Ulaşın — harita */
.lets-contact-map__embed {
	height: 300px;
}

@media (min-width: 1024px) {
	.lets-contact-map__embed {
		height: 518px;
	}
}

.lets-contact-map__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Anasayfa — iletişim formu */
.lets-home-contact {
	background-color: #1f2937;
}

.lets-contact-form input:not([type="checkbox"]),
.lets-contact-form textarea {
	transition: border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

.lets-home-contact__logo img {
	width: 100%;
	max-width: 420px;
	height: auto;
	object-fit: contain;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #1e4d3a;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	outline: 2px solid #b5432a;
	outline-offset: 2px;
}

/* Mobil menü */
.main-navigation.toggled,
#mobile-menu-panel.is-open {
	display: block;
}

#site-navigation .sub-menu .sub-menu {
	position: static;
	display: flex;
	box-shadow: none;
	border: 0;
	padding-left: 1rem;
}

@media (min-width: 1024px) {
	#site-navigation .menu-item-has-children:hover > .sub-menu,
	#site-navigation .menu-item-has-children:focus-within > .sub-menu {
		display: flex;
	}
}

/* Mobil menü — drill-down */
.lets-mobile-menu__viewport {
	background: #fff;
}

.lets-mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lets-mobile-menu__panel {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow: hidden;
}

.lets-mobile-menu__panel.is-active {
	transform: translateX(0);
	z-index: 20;
}

.lets-mobile-menu__panel .lets-mobile-menu__list {
	flex: 1;
	overflow-y: auto;
}

.lets-mobile-menu__trigger,
.lets-mobile-menu__link {
	-webkit-tap-highlight-color: transparent;
}

.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/* Lenis yumuşak kaydırma */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

/* Scroll reveal */
[data-scroll-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

[data-scroll-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	[data-scroll-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Sayfa genelinde tekrar eden container */
.container-main {
	width: 100%;
	max-width: calc(1312px + 2rem);
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
}


@media (min-width: 640px) {
	.container-main {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Sayfa banner */
.lets-page-banner--has-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Feature section — splash + ürün görseli */
.lets-feature-visual {
	max-width: 100%;
}

.lets-feature-splash {
	display: block;
}

.lets-feature-float {
	animation: lets-float 4s ease-in-out infinite;
}

@keyframes lets-float {
	0%   { transform: translateY(0); }
	50%  { transform: translateY(-18px); }
	100% { transform: translateY(0); }
}

/* Tanıtım filmi — video modal */
.lets-video-modal__player {
	display: block;
}

/* Video play pulse animasyonu */
.lets-video-pulse::before,
.lets-video-pulse::after {
	content: '';
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	border: 2px solid rgba(184, 48, 57, 0.6);
	animation: lets-pulse-ring 2s ease-out infinite;
}

.lets-video-pulse::after {
	inset: -24px;
	border-color: rgba(184, 48, 57, 0.3);
	animation-delay: 0.5s;
}

@keyframes lets-pulse-ring {
	0%   { transform: scale(0.9); opacity: 1; }
	100% { transform: scale(1.2); opacity: 0; }
}

/* Anasayfa hero */
.lets-hero {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.lets-hero-slider__track {
	position: relative;
	min-height: 480px;
}

.lets-hero-slider__track > .lets-hero-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	z-index: 0;
	pointer-events: none;
}

.lets-hero-slider__track > .lets-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	pointer-events: auto;
}

.lets-hero__scroll-line {
	overflow: hidden;
	width: 1px;
	height: 120px;
	pointer-events: none;
}

.lets-hero__scroll-line-track {
	display: block;
	width: 1px;
	height: calc(100% + 40px);
	background: repeating-linear-gradient(
		to bottom,
		#fff 0,
		#fff 20px,
		transparent 20px,
		transparent 40px
	);
	background-size: 1px 40px;
	animation: lets-scroll-line-flow 2s linear infinite;
}

@keyframes lets-scroll-line-flow {
	from { transform: translateY(-40px); }
	to { transform: translateY(0); }
}

@media (min-width: 1024px) {
	.lets-hero__scroll-line {
		height: 240px;
	}
}

/* Ürün slider — Slick */
.product-slider__track .slick-slide {
	padding: 0 4px;
}

.product-slider__track .slick-list {
	margin: 0 -4px;
}

@media (min-width: 1024px) {
	.product-slider__track .slick-slide {
		padding: 0 16px;
	}

	.product-slider__track .slick-list {
		margin: 0 -16px;
	}
}

@media (max-width: 1023px) {
	.product-slider__prev,
	.product-slider__next {
		display: none !important;
	}
}

.product-slider__prev.slick-disabled,
.product-slider__next.slick-disabled {
	background: #A5A5A5;
	cursor: default;
}

.product-slider__pagination .slick-dots {
	display: flex !important;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-slider__pagination .slick-dots li {
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
}

.product-slider__pagination .slick-dots li button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d1d5db;
	font-size: 0;
	line-height: 0;
	transition: background 0.2s, transform 0.2s;
}

.product-slider__pagination .slick-dots li button::before {
	content: none;
}

.product-slider__pagination .slick-dots li.slick-active button {
	background: #B83039;
	transform: scale(1.35);
}

/* Mağaza sayfalama — eski WC list yapısı kalırsa */
.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination ul.page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-pagination ul.page-numbers a {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
}

.woocommerce-pagination ul.page-numbers a:hover {
	border-color: #B83039;
	color: #B83039;
}

.woocommerce-pagination ul.page-numbers span.current {
	background: #B83039;
	color: #fff;
}

/* Ürün kartı görsel alanı — showcase-carousel ile aynı mantık */
.lets-product-card__image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: #fff;
}

.lets-product-card__image img,
.lets-product-card__img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.lets-product-card__link {
	transition: box-shadow 0.3s ease;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.lets-product-card__link:hover {
	box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.2);
}

.product-slider__slide {
	box-sizing: border-box;
}

/* Tek ürün galerisi — ana görsel (ürün kartı ile aynı mantık) */
.lets-product-gallery__main {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 1;
	background: #fff;
	border-radius: 6px;
	cursor: zoom-in;
	border: 0;
	padding: 0;
}

.lets-product-gallery__main img,
.lets-product-gallery__img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: block;
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
}

.lets-product-gallery__thumbs {
	scrollbar-width: thin;
}

.lets-gallery-thumb {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: #fff;
	transition: border-color 0.2s ease;
}

.lets-gallery-thumb img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.lets-gallery-thumb:focus-visible {
	outline: 2px solid #38bdf8;
	outline-offset: 2px;
}

.lets-detail-list li::marker {
	color: #1e4d3a;
}

/* Blog içerik metni */
.lets-prose {
	color: #374151;
	line-height: 1.75;
}

.lets-prose > * + * {
	margin-top: 1.25em;
}

.lets-prose h2,
.lets-prose h3,
.lets-prose h4 {
	color: #111827;
	font-weight: 700;
	line-height: 1.3;
}

.lets-prose h2 { font-size: 1.5rem; margin-top: 2em; }
.lets-prose h3 { font-size: 1.25rem; margin-top: 1.75em; }
.lets-prose h4 { font-size: 1.125rem; margin-top: 1.5em; }

.lets-prose a {
	color: #B83039;
	text-decoration: underline;
}

.lets-prose a:hover {
	color: #8f252d;
}

.lets-prose ul,
.lets-prose ol {
	padding-left: 1.5rem;
}

.lets-prose li + li {
	margin-top: 0.5em;
}

.lets-prose img {
	border-radius: 0.75rem;
	max-width: 100%;
	height: auto;
}

.lets-prose blockquote {
	border-left: 4px solid #B83039;
	padding-left: 1rem;
	color: #4b5563;
	font-style: italic;
}