/*
 * Kataloglar, kapak slider'ı ve logo rozetleri.
 * Sitenin mevcut değişkenlerini kullanır: --primary (#FFB200), Gilroy yazı aileleri, --border-radius.
 */

/* ---------- Logo rozeti (Atilla Dural görsellerinde RYS, Alimak görsellerinde Alimak + RYS) ---------- */
.rys-badge { display: inline-flex !important; align-items: center; gap: 12px; width: auto !important; height: auto !important; padding: 10px 14px; border-radius: var(--border-radius, 10px); background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); line-height: 0; pointer-events: none; }
/* Sitenin genel "img { width:100%; height:100% }" kurallarından etkilenmesin */
.rys-badge img { display: block !important; width: auto !important; max-width: none !important; height: 30px !important; object-fit: contain !important; opacity: 1 !important; transform: none !important; margin: 0 !important; }
.rys-badge .rys-badge-alimak { height: 26px !important; }
.rys-badge-sep { display: block; width: 1px; height: 26px !important; background: rgba(0, 0, 0, 0.18); }
.rys-badge--dark { background: rgba(0, 0, 0, 0.35); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rys-badge--dark .rys-badge-sep { background: rgba(255, 255, 255, 0.35); }
.rys-has-badge { position: relative; }
.rys-has-badge > .rys-badge { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.rys-has-badge > .rys-badge img { height: 24px !important; }
.rys-has-badge > .rys-badge .rys-badge-alimak { height: 21px !important; }
.rys-has-badge > .rys-badge .rys-badge-sep { height: 21px !important; }
.dining-card .rys-badge { position: absolute; left: 16px; top: 16px; right: auto; bottom: auto; z-index: 2; padding: 7px 10px; gap: 8px; }
.dining-card .rys-badge img { height: 18px !important; }
.dining-card .rys-badge .rys-badge-alimak { height: 16px !important; }
.dining-card .rys-badge .rys-badge-sep { height: 16px !important; }

/* ---------- Kapak slider'ı (ana sayfanın en üstü) ---------- */
.rys-cover .rys-cover-track { height: 100%; }
.rys-cover .slick-list, .rys-cover .slick-track { height: 100%; }
.rys-cover .card { position: relative; overflow: hidden; }
.rys-cover .card .image { position: absolute; inset: 0; opacity: 0.62; }
.rys-cover .card .image picture { display: block; width: 100%; height: 100%; }
.rys-cover .card .image img { transform: scale(1.06); transform-origin: 60% 50%; }
.rys-cover .slick-current .image img { animation: rysKenBurns 7.5s ease-out forwards; }
@keyframes rysKenBurns { from { transform: scale(1.06); } to { transform: scale(1.16) translate3d(-1%, -1%, 0); } }
.rys-cover .card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0) 100%); }
.rys-cover .card .content { z-index: 2; }
.rys-cover .card .content > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.7s ease, transform 0.7s ease; }
.rys-cover .slick-current .content > * { opacity: 1; transform: none; }
.rys-cover .slick-current .content > :nth-child(1) { transition-delay: 0.35s; }
.rys-cover .slick-current .content > :nth-child(2) { transition-delay: 0.5s; }
.rys-cover .slick-current .content > :nth-child(3) { transition-delay: 0.65s; }
.rys-cover .slick-current .content > :nth-child(4) { transition-delay: 0.8s; }
.rys-cover-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.rys-cover-brand-name { font-family: var(--font-semibold); font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); padding-left: 14px; border-left: 3px solid var(--primary); line-height: 1.2; }
.rys-cover .card .content .rys-cover-title { font-size: 56px; font-weight: 600; line-height: 1.15; font-family: var(--font-semibold); color: white; margin: 0 0 20px; max-width: 900px; }
.rys-cover .card .content p { max-width: 680px; }
.rys-cover-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rys-cover .card .content .rys-btn-outline { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.85); border-width: 2px; padding: 18px 33px; box-shadow: none; }
.rys-cover .card .content .rys-btn-outline:hover { background: white; color: black; border-color: white; }
.rys-cover-arrow { position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px !important; margin-top: -27px; display: flex !important; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; background: rgba(0, 0, 0, 0.2); color: white; cursor: pointer; transition: all 0.2s ease; }
.rys-cover-arrow:hover { background: var(--primary); border-color: var(--primary); color: black; }
.rys-cover-arrow.prev { left: 40px; }
.rys-cover-arrow.next { right: 40px; }
.rys-cover-dots { position: absolute; left: 140px; bottom: 48px; z-index: 5; }
.rys-cover-dots .slick-dots { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rys-cover-dots .slick-dots li { margin: 0; }
.rys-cover-dots .slick-dots button { display: block; width: 46px; height: 4px !important; padding: 0; border: 0; border-radius: 2px; font-size: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: background 0.3s ease, width 0.3s ease; }
.rys-cover-dots .slick-dots .slick-active button { width: 72px; background: var(--primary); }
/* JS yüklenmeden önce yalnızca ilk slaytı göster */
.rys-cover .rys-cover-track:not(.slick-initialized) > .card:not(:first-child) { display: none; }
.rys-cover .rys-cover-track:not(.slick-initialized) > .card:first-child .content > * { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .rys-cover .card .content .rys-cover-title { font-size: 42px; }
  .rys-cover-arrow { display: none !important; }
  .rys-cover-dots { left: 50%; transform: translateX(-50%); bottom: 32px; }
  .rys-cover-brand, .rys-cover-actions { justify-content: center; }
  .rys-cover .card .content .rys-cover-title { text-align: center; }
  .rys-cover .card::after { background: rgba(0, 0, 0, 0.3); }
}
@media (max-width: 600px) {
  .rys-cover .card .content .rys-cover-title { font-size: 31px; }
  .rys-cover-brand { gap: 12px; margin-bottom: 16px; }
  .rys-cover-brand-name { font-size: 13px; letter-spacing: 2px; }
  .rys-cover .rys-badge { padding: 7px 10px; gap: 8px; }
  .rys-cover .rys-badge img { height: 20px !important; }
  .rys-cover .rys-badge .rys-badge-alimak, .rys-cover .rys-badge .rys-badge-sep { height: 17px !important; }
  .rys-cover .card .content .btn { height: 52px !important; padding: 14px 22px; font-size: 15px; border-width: 6px; }
  .rys-cover .card .content .rys-btn-outline { padding: 14px 22px; border-width: 2px; }
  .rys-cover-dots .slick-dots button { width: 30px; }
  .rys-cover-dots .slick-dots .slick-active button { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .rys-cover .slick-current .image img { animation: none; }
  .rys-cover .card .content > * { transition: none; }
}

/* ---------- Katalog bölümü ---------- */
.rys-catalogs { width: 100%; max-width: 1280px; margin: 100px auto; padding: 0 20px; }
.rys-catalogs--compact { margin-top: 60px; margin-bottom: 60px; }
.rys-catalogs-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.rys-eyebrow { display: inline-block; font-family: var(--font-semibold); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.rys-catalogs-heading { font-family: var(--font-semibold); font-size: 40px; line-height: 1.2; color: var(--color-9); margin: 0 0 16px; }
.rys-catalogs-intro { font-family: var(--font-light); font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--color-7); margin: 0; }
.rys-catalogs-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.rys-catalog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: white; color: inherit; text-decoration: none; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.rys-catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rys-catalog-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #32313d; }
.rys-catalog-media picture, .rys-catalog-media img { display: block; width: 100%; height: 100%; }
.rys-catalog-media img { object-fit: cover; object-position: center; transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1); }
.rys-catalog-card:hover .rys-catalog-media img { transform: scale(1.05); }
.rys-catalog-media .rys-badge { position: absolute; left: 20px; bottom: 20px; }
.rys-catalog-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.rys-catalog-brand { font-family: var(--font-semibold); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.rys-catalog-title { font-family: var(--font-semibold); font-size: 24px; line-height: 1.25; color: var(--color-9); margin: 0 0 12px; }
.rys-catalog-text { font-family: var(--font-regular); font-size: 16px; line-height: 1.6; color: var(--color-7); margin: 0 0 24px; }
.rys-catalog-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--color-2); }
.rys-catalog-meta { font-family: var(--font-medium); font-size: 14px; color: var(--color-6); }
.rys-catalog-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--border-radius, 10px); background: var(--primary); color: black; font-family: var(--font-semibold); font-size: 15px; white-space: nowrap; }

.rys-catalogs-secondary { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-3); }
.rys-catalogs-secondary-title { font-family: var(--font-semibold); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-6); margin: 0 0 16px; }
.rys-catalogs-secondary-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rys-catalog-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--color-3); border-radius: var(--border-radius, 10px); color: var(--color-8); text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.rys-catalog-link:hover { border-color: var(--primary); background: #fffaf0; }
.rys-catalog-link-icon { display: flex; flex: none; color: var(--color-6); }
.rys-catalog-link-text { display: flex; flex-direction: column; flex: 1; font-family: var(--font-regular); font-size: 15px; line-height: 1.4; }
.rys-catalog-link-text strong { font-family: var(--font-semibold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-6); font-weight: normal; }
.rys-catalog-link-meta { flex: none; font-family: var(--font-medium); font-size: 13px; color: var(--color-6); }

@media (max-width: 900px) {
  .rys-catalogs { margin: 60px auto; }
  .rys-catalogs-heading { font-size: 30px; }
  .rys-catalogs-intro { font-size: 16px; }
  .rys-catalogs-featured, .rys-catalogs-secondary-list { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .rys-catalogs { padding: 0 16px; }
  .rys-catalogs-heading { font-size: 26px; }
  .rys-catalog-body { padding: 22px 20px 24px; }
  .rys-catalog-title { font-size: 21px; }
  .rys-catalog-media .rys-badge { left: 14px; bottom: 14px; padding: 7px 10px; gap: 8px; }
  .rys-catalog-media .rys-badge img { height: 20px !important; }
  .rys-catalog-media .rys-badge .rys-badge-alimak, .rys-catalog-media .rys-badge .rys-badge-sep { height: 17px !important; }
  .rys-catalog-foot { flex-wrap: wrap; }
  .rys-catalog-link { flex-wrap: wrap; }
}

/* ---------- Platform sayfalarındaki katalog butonları (mevcut e-broşür butonunun yerinde) ---------- */
.rys-ebrochure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.rys-ebrochure .rys-ebrochure-main { background-color: var(--primary); color: black; }
.rys-ebrochure .rys-ebrochure-main:hover { background-color: var(--primary); color: black; }
.rys-ebrochure-secondary { flex-basis: 100%; text-align: center; font-family: var(--font-regular); font-size: 14px; color: var(--color-6); text-decoration: underline; text-underline-offset: 3px; }
.rys-ebrochure-secondary:hover { color: var(--color-9); }

/* ---------- Galeri: referans görselleri ---------- */
.gallery-item { margin: 0; }
.gallery-item picture { display: block; width: 100%; height: 100%; }

/* ---------- Ana sayfa tanıtım videosu: sayfanın ortasında, tam ekrandan kısa bir bant ---------- */
.slider.rys-video-section { --height: 560px; }
.slider.rys-video-section .card .content { height: 100%; top: 0; bottom: auto; }
@media (max-width: 1024px) { .slider.rys-video-section { --height: 520px; } }
@media (max-width: 600px) { .slider.rys-video-section { --height: 560px; } }
