/* Ruyapanel integrated frontend theme
   Source visuals merged from yeni.zip into the Paket Satis Scripti structure.
   No standalone ruyapanel-* application folders are used. */

:root {
  --ruya-primary:#667eea;
  --ruya-secondary:#764ba2;
  --ruya-surface:#ffffff;
  --ruya-bg:#f5f7fa;
  --ruya-text:#24263a;
  --ruya-muted:#6b7280;
  --ruya-shadow:0 18px 50px rgba(54,55,96,.14);
}

/* Existing PHP header, visually aligned with the yeni.zip frontend. */
.navbar { background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)) !important; box-shadow:0 8px 28px rgba(72,54,150,.24); border-bottom:0 !important; }
.navbar.scrolled { background:linear-gradient(135deg,#5f73df,#6f4199) !important; }
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active { background:rgba(255,255,255,.18) !important; }
.navbar-brand img { max-width:190px; object-fit:contain; }

.ruya-home, .ruya-content-page { background:var(--ruya-bg); color:var(--ruya-text); }
.ruya-home { margin-top:-1px; }
.ruya-home .container, .ruya-content-page .container { max-width:1400px; }

.ruya-main-slider { position:relative; width:100%; height:430px; overflow:hidden; background:#151525; }
.ruya-slide { position:absolute; inset:0; opacity:0; transition:opacity .8s ease; }
.ruya-slide.active { opacity:1; }
.ruya-slide img { width:100%; height:100%; object-fit:cover; }
.ruya-slider-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,20,45,.50),rgba(20,20,45,.08)); pointer-events:none; }
.ruya-slider-copy { position:absolute; z-index:3; left:max(24px,calc((100% - 1360px)/2)); top:50%; transform:translateY(-50%); max-width:540px; color:white; text-shadow:0 4px 22px rgba(0,0,0,.35); }
.ruya-slider-copy .eyebrow { display:inline-flex; padding:7px 13px; border-radius:999px; background:rgba(255,255,255,.16); backdrop-filter:blur(10px); font-weight:700; font-size:13px; margin-bottom:14px; }
.ruya-slider-copy h1 { font-size:clamp(31px,4.5vw,58px); line-height:1.05; font-weight:900; margin:0 0 14px; }
.ruya-slider-copy p { font-size:17px; max-width:500px; margin:0 0 22px; opacity:.96; }
.ruya-actions { display:flex; flex-wrap:wrap; gap:12px; }
.ruya-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:0 21px; border-radius:24px; font-weight:800; border:0; cursor:pointer; text-decoration:none; transition:.25s ease; }
.ruya-btn-primary { background:white; color:#5d55b8; box-shadow:0 12px 28px rgba(0,0,0,.18); }
.ruya-btn-primary:hover { transform:translateY(-2px); color:#4e46a2; }
.ruya-btn-ghost { background:rgba(255,255,255,.13); color:white; border:1px solid rgba(255,255,255,.34); }
.ruya-btn-ghost:hover { background:rgba(255,255,255,.22); color:white; }
.ruya-slider-arrows { position:absolute; z-index:5; left:0; right:0; top:50%; transform:translateY(-50%); display:flex; justify-content:space-between; padding:0 20px; pointer-events:none; }
.ruya-arrow { pointer-events:auto; width:48px; height:48px; border:0; border-radius:50%; background:rgba(255,255,255,.24); color:white; font-size:27px; backdrop-filter:blur(8px); transition:.2s; }
.ruya-arrow:hover { background:rgba(255,255,255,.42); transform:scale(1.05); }
.ruya-slider-dots { position:absolute; z-index:5; bottom:18px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.ruya-dot { width:11px; height:11px; border-radius:50%; border:0; background:rgba(255,255,255,.55); transition:.2s; }
.ruya-dot.active { width:29px; border-radius:7px; background:#fff; }

.ruya-section { padding:68px 20px; }
.ruya-section-title { text-align:center; font-size:clamp(28px,3.5vw,42px); font-weight:900; margin:0 0 12px; color:#26273c; }
.ruya-section-lead { text-align:center; color:var(--ruya-muted); max-width:760px; margin:0 auto 38px; }
.ruya-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.ruya-service-card { display:block; background:white; border-radius:20px; padding:34px 28px; text-align:center; border-top:4px solid var(--ruya-primary); box-shadow:0 10px 32px rgba(34,35,68,.09); color:var(--ruya-text); transition:.3s ease; }
.ruya-service-card:hover { color:var(--ruya-text); transform:translateY(-8px); box-shadow:0 20px 45px rgba(102,126,234,.22); }
.ruya-service-icon { width:72px; height:72px; border-radius:20px; margin:0 auto 18px; display:grid; place-items:center; font-size:31px; color:white; background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); box-shadow:0 12px 28px rgba(102,126,234,.28); }
.ruya-service-card h3 { font-size:20px; font-weight:850; margin-bottom:10px; }
.ruya-service-card p { margin:0; color:var(--ruya-muted); line-height:1.68; }

.ruya-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:46px; }
.ruya-stat { background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); color:white; text-align:center; padding:28px 14px; border-radius:18px; box-shadow:0 14px 34px rgba(102,126,234,.24); }
.ruya-stat strong { display:block; font-size:31px; font-weight:900; }
.ruya-stat span { opacity:.9; font-weight:600; }

.ruya-demo-section { background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); padding:66px 20px; color:#fff; }
.ruya-demo-section .ruya-section-title,.ruya-demo-section .ruya-section-lead { color:#fff; }
.ruya-demo-section .ruya-section-lead { opacity:.85; }
.ruya-demo-viewport { max-width:1400px; margin:auto; overflow:hidden; }
.ruya-demo-track { display:flex; gap:22px; transition:transform .45s ease; }
.ruya-demo-card { min-width:310px; background:white; color:#222438; border-radius:18px; overflow:hidden; box-shadow:0 16px 40px rgba(26,17,74,.25); }
.ruya-demo-card img { width:100%; height:188px; object-fit:cover; display:block; background:#eceefa; }
.ruya-demo-info { padding:18px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ruya-demo-info h4 { margin:0; font-size:16px; font-weight:850; }
.ruya-demo-link { border-radius:18px; padding:8px 13px; background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); color:white; font-size:12px; font-weight:800; white-space:nowrap; }
.ruya-demo-link:hover { color:white; transform:translateY(-1px); }
.ruya-demo-nav { display:flex; justify-content:center; gap:12px; margin-top:26px; }
.ruya-demo-nav button { width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.15); color:#fff; font-size:22px; }
.ruya-demo-nav button:hover { background:rgba(255,255,255,.26); }

.ruya-package-bridge { padding:64px 20px 0; background:linear-gradient(180deg,var(--ruya-bg) 0%,#eef0f8 100%); text-align:center; }
.ruya-package-bridge .pill { display:inline-flex; gap:8px; align-items:center; padding:8px 14px; border-radius:999px; background:#ede9fe; color:#6744b4; font-weight:800; font-size:13px; }
.ruya-package-bridge h2 { margin:14px 0 8px; font-weight:900; color:#25263c; font-size:clamp(28px,4vw,44px); }
.ruya-package-bridge p { color:#6b7280; margin-bottom:0; }

.ruya-cta { padding:64px 20px; background:var(--ruya-bg); }
.ruya-cta-box { max-width:1180px; margin:auto; background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); color:white; border-radius:26px; padding:48px 28px; text-align:center; box-shadow:0 20px 50px rgba(102,126,234,.25); }
.ruya-cta-box h2 { font-weight:900; margin-bottom:10px; }
.ruya-cta-box p { opacity:.9; margin-bottom:22px; }

/* Shared integrated content pages */
.ruya-content-page { padding:56px 20px 70px; min-height:65vh; }
.ruya-page-hero { max-width:1180px; margin:0 auto 30px; border-radius:24px; padding:42px 30px; color:white; background:linear-gradient(135deg,var(--ruya-primary),var(--ruya-secondary)); box-shadow:var(--ruya-shadow); }
.ruya-page-hero h1 { font-size:clamp(30px,4vw,48px); font-weight:900; margin-bottom:10px; }
.ruya-page-hero p { max-width:820px; margin:0; opacity:.9; }
.ruya-page-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.ruya-info-card { background:#fff; border-radius:18px; padding:26px; box-shadow:0 10px 30px rgba(34,35,68,.08); }
.ruya-info-card h3 { color:#292a40; font-weight:850; font-size:19px; margin-bottom:10px; }
.ruya-info-card p,.ruya-info-card li { color:#697083; line-height:1.7; }
.ruya-info-card ul { padding-left:20px; margin:0; }
.ruya-info-card .big-icon { font-size:30px; margin-bottom:12px; color:var(--ruya-primary); }
.ruya-full-card { max-width:1180px; margin:22px auto 0; background:#fff; border-radius:18px; padding:30px; box-shadow:0 10px 30px rgba(34,35,68,.08); }
.ruya-full-card h2 { color:#292a40; font-weight:900; margin-bottom:16px; }
.ruya-full-card h3 { color:#3e4160; font-weight:850; margin:22px 0 8px; }
.ruya-full-card p,.ruya-full-card li { color:#697083; line-height:1.75; }
.ruya-bank-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.ruya-bank { background:#fff; border-radius:18px; padding:26px; box-shadow:0 10px 30px rgba(34,35,68,.08); border-left:5px solid var(--ruya-primary); }
.ruya-bank h3 { font-weight:900; margin-bottom:14px; color:#292a40; }
.ruya-bank-row { display:grid; grid-template-columns:140px 1fr; gap:10px; padding:7px 0; border-bottom:1px solid #eef0f5; color:#5f6577; }
.ruya-bank-row:last-child { border-bottom:0; }
.ruya-bank-row strong { color:#32354c; }

/* Make the existing dynamic package area visually continue from the integrated frontend. */
.ruya-home-page .packages-section { margin-top:0; padding-top:56px; }
.ruya-home-page .footer { margin-top:0; }

@media (max-width:991px){
  .ruya-services,.ruya-page-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ruya-stats { grid-template-columns:repeat(2,1fr); }
  .ruya-main-slider { height:390px; }
}
@media (max-width:767px){
  .ruya-main-slider { height:430px; }
  .ruya-slider-copy { left:24px; right:24px; top:47%; }
  .ruya-slider-copy p { font-size:15px; }
  .ruya-slider-arrows { top:auto; bottom:18px; padding:0 18px; }
  .ruya-slider-dots { bottom:34px; }
  .ruya-services,.ruya-page-grid,.ruya-bank-grid { grid-template-columns:1fr; }
  .ruya-section { padding:50px 16px; }
  .ruya-demo-card { min-width:270px; }
  .ruya-bank-row { grid-template-columns:1fr; gap:2px; }
}
@media (max-width:520px){
  .ruya-stats { grid-template-columns:1fr 1fr; gap:12px; }
  .ruya-stat { padding:21px 8px; }
  .ruya-stat strong { font-size:25px; }
  .ruya-actions { gap:8px; }
  .ruya-btn { width:100%; }
}
