/* ============================================================
   MELEK SEYHUN – İç Sayfa Stilleri
   ============================================================ */

/* ── İç sayfa hero banner ── */
.page-hero {
  padding: 9rem 0 4rem;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(201,168,76,.08) 0%, transparent 55%),
    var(--dark-2);
  border-bottom: 1px solid rgba(201,168,76,.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Resim varsa */
.page-hero.has-hero-img {
  background: none;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.52) 60%,
    rgba(13,13,13,.88) 100%
  );
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .75rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.1; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: .95rem; color: var(--text);
  max-width: 560px; margin-inline: auto;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-top: 1.5rem;
  font-size: .75rem; color: rgba(255,255,255,.35);
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-dark); }

/* ── Cihaz kartları (büyük resimli) ── */
.devices-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.device-big-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative;
  display: flex; flex-direction: column;
}
.device-big-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .4s ease;
}
.device-big-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 50px rgba(201,168,76,.07);
}
.device-big-card:hover::before { transform: scaleX(1); }

.device-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #131006, #1e1a08);
  flex-shrink: 0;
}
.device-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.device-big-card:hover .device-img-wrap img { transform: scale(1.05); }

.device-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem;
}
.device-img-placeholder i {
  font-size: 4rem;
  color: rgba(201,168,76,.3);
}
.device-img-placeholder span {
  font-size: .7rem; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(201,168,76,.3);
}

.device-num-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(201,168,76,.4);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: .85rem; font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 4px;
}

.device-big-body {
  padding: 1.5rem;
  flex: 1; display: flex; flex-direction: column;
}
.device-big-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600;
  color: var(--white); margin-bottom: .6rem;
}
.device-big-body p {
  font-size: .87rem; color: var(--text);
  line-height: 1.75; margin-bottom: 1rem; flex: 1;
}
.device-big-body .device-tags {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: 1.25rem;
}
.device-big-body .device-tags li {
  font-size: .65rem; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--gold-dark);
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 30px; padding: .2rem .7rem;
}
.device-big-body .btn { align-self: flex-start; }

/* ── Cihaz Detay Sayfası ── */
.device-detail-hero {
  height: 460px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0d04, #1e1a08);
}
.device-detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .6;
}
.device-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,.3) 0%, rgba(13,13,13,.85) 100%);
  display: flex; align-items: flex-end;
  padding: 3rem;
}
.device-detail-hero-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.device-detail-hero-placeholder i { font-size: 8rem; color: rgba(201,168,76,.2); }
.device-hero-content .section-eyebrow { text-align: left; }
.device-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); font-weight: 300; margin-bottom: 1rem;
}

.device-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.device-detail-content {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 2.5rem;
}
.device-detail-content h2 { font-family: var(--font-serif); color: var(--white); margin-bottom: 1rem; font-size: 1.6rem; }
.device-detail-content h3 { font-family: var(--font-serif); color: var(--gold); margin: 1.5rem 0 .6rem; font-size: 1.25rem; }
.device-detail-content p  { color: var(--text); line-height: 1.85; margin-bottom: 1rem; }
.device-detail-content ul { margin: .75rem 0 1rem 1.25rem; color: var(--text); }
.device-detail-content ul li { margin-bottom: .4rem; line-height: 1.7; }
.device-detail-content img { border-radius: 10px; margin: 1rem 0; max-width: 100%; }

.device-detail-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-sidebar-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.75rem;
}
.detail-sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem; color: var(--white);
  margin-bottom: 1rem;
}
.detail-tags-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.detail-tags-list li {
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--gold-dark);
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 30px; padding: .3rem .8rem;
}
.related-device-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .3s;
}
.related-device-link:last-child { border-bottom: none; }
.related-device-link:hover { color: var(--gold); }
.related-device-link i { color: var(--gold); width: 16px; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.blog-img-wrap {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, #131006, #1e1a08);
}
.blog-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-img-placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: rgba(201,168,76,.2);
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: .75rem;
  font-size: .72rem; color: var(--text);
  margin-bottom: .75rem;
}
.blog-meta .category {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--gold); border-radius: 30px;
  padding: .15rem .65rem; font-weight: 600;
}
.blog-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: var(--white); margin-bottom: .65rem;
  line-height: 1.3;
}
.blog-body h3 a { color: inherit; transition: color .3s; }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p {
  font-size: .87rem; color: var(--text);
  line-height: 1.75; flex: 1; margin-bottom: 1.25rem;
}
.blog-read-more {
  font-size: .8rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .5rem;
  transition: gap .3s;
}
.blog-read-more:hover { gap: .8rem; }

/* Blog detail */
.blog-detail-content {
  max-width: 780px; margin-inline: auto;
}
.blog-detail-content .post-header { margin-bottom: 2.5rem; }
.blog-detail-content .post-meta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 1.25rem; font-size: .8rem; color: var(--text);
}
.blog-detail-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white); font-weight: 600; line-height: 1.2;
}
.blog-detail-content .post-image {
  border-radius: 12px; overflow: hidden;
  margin-bottom: 2.5rem; max-height: 500px;
}
.blog-detail-content .post-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.blog-post-body {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 2.5rem;
  font-size: .97rem; line-height: 1.9; color: rgba(255,255,255,.8);
}
.blog-post-body h2 { font-family: var(--font-serif); color: var(--white); font-size: 1.75rem; margin: 2rem 0 .75rem; }
.blog-post-body h3 { font-family: var(--font-serif); color: var(--gold);  font-size: 1.35rem; margin: 1.5rem 0 .6rem; }
.blog-post-body p  { margin-bottom: 1.2rem; }
.blog-post-body ul, .blog-post-body ol { margin: .75rem 0 1.25rem 1.5rem; }
.blog-post-body li { margin-bottom: .4rem; }
.blog-post-body img { border-radius: 10px; margin: 1.25rem 0; max-width: 100%; }
.blog-post-body a { color: var(--gold); }
.blog-post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: rgba(201,168,76,.06);
  border-radius: 0 8px 8px 0;
  font-style: italic; color: rgba(255,255,255,.7);
}

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: .4rem;
  flex-wrap: wrap; margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  font-size: .85rem; color: var(--text);
  transition: all .3s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .active, .pagination span.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark); font-weight: 700;
}

/* ── İletişim sayfası ── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.recaptcha-wrap { margin-bottom: 1rem; }
.recaptcha-v3-note { font-size: .72rem; color: rgba(255,255,255,.3); margin-bottom: 1rem; }

/* ── Hakkımızda sayfası ── */
.about-page-content {
  max-width: 860px; margin-inline: auto;
}
.about-page-intro {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-style: italic;
  color: rgba(255,255,255,.7); line-height: 1.85;
  text-align: center; margin-bottom: 4rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.value-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .35s;
}
.value-card:hover { border-color: rgba(201,168,76,.25); }
.value-card i {
  font-size: 1.75rem; color: var(--gold);
  margin-bottom: 1rem; display: block;
}
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; color: var(--white);
  margin-bottom: .6rem;
}
.value-card p { font-size: .88rem; color: var(--text); line-height: 1.75; }

/* ── Slider (homepage) ── */
.hero-swiper { height: 100svh; position: relative; }
.hero-swiper .swiper-slide {
  position: relative;
  display: flex; align-items: center;
}

/* Resimli slayt arkaplanı */
.slide-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #100e04, #1a1608);
}
.slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
/* Sadece resim / sadece video tiplerinde medya tam opasite */
.slide-type-image_only .slide-bg img  { opacity: 1; }
.slide-type-video_only .slide-video-bg iframe,
.slide-type-video_only .slide-video-bg video { opacity: 1; }

/* Videolu slayt arkaplanı */
.slide-video-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #080600;
}
.slide-video-bg iframe,
.slide-video-bg video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: 177.78vh; height: 56.25vw;
  opacity: .55;
  pointer-events: none;
}

/* Yazı odaklı slayt arkaplanı */
.slide-text-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(180,140,30,.12) 0%, transparent 50%),
    linear-gradient(135deg, #0a0800, #130f02, #0d0a01);
  animation: textBgPulse 8s ease-in-out infinite alternate;
}
@keyframes textBgPulse {
  from { opacity: .85; }
  to   { opacity: 1; }
}

/* Koyu geçiş filtresi (resim ve video için) */
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 70%, transparent 100%);
}

/* İçerik alanı */
.slide-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: 2rem 1.5rem;
  width: 100%;
}
.slide-content.align-left   { text-align: left; margin-left: clamp(1.5rem, 8vw, 8rem); }
.slide-content.align-center { text-align: center; margin-inline: auto; }
.slide-content.align-right  { text-align: right; margin-left: auto; margin-right: clamp(1.5rem, 8vw, 8rem); }
.slide-content.align-center .hero-actions,
.slide-content.align-right  .hero-actions { justify-content: center; }
.slide-content.align-right  .hero-actions { justify-content: flex-end; }

.slide-content .hero-eyebrow { opacity: 1; animation: none; }
.slide-content .hero-title    { opacity: 1; animation: none; }
.slide-content .hero-subtitle { opacity: 1; animation: none; }
.slide-content .hero-actions  { opacity: 1; animation: none; }

/* Yazı odaklı: başlık daha büyük ve altın */
.slide-type-text .hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

/* Swiper UI */
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.4) !important; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--gold) !important; width: 24px !important; border-radius: 3px !important; }
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--gold) !important;
  background: rgba(0,0,0,.3);
  width: 46px !important; height: 46px !important;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,.3);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 1rem !important; }

/* ── Cihaz ürün fotoğrafı (detay sayfası, kart görseli) ── */
.device-product-photo {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,168,76,.15);
  background: linear-gradient(135deg, #0f0d04, #1e1a08);
  max-height: 420px;
}
.device-product-photo img {
  width: 100%; height: 420px;
  object-fit: cover; display: block;
}

/* ── Franchise sayfası ── */
.franchise-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.franchise-benefit-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color .35s, transform .35s;
}
.franchise-benefit-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-5px);
}
.fb-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  margin-bottom: 1.25rem;
}
.franchise-benefit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; color: var(--white);
  margin-bottom: .6rem;
}
.franchise-benefit-card p {
  font-size: .87rem; color: var(--text);
  line-height: 1.75;
}

.franchise-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.franchise-form-info h2 { text-align: left; }
.franchise-form-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 2.5rem;
}

.franchise-steps {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.franchise-steps li {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: .9rem; font-weight: 600;
  color: var(--gold);
}
.franchise-steps li strong {
  display: block; color: var(--white);
  font-size: .9rem; margin-bottom: .2rem;
}
.franchise-steps li p {
  font-size: .82rem; color: var(--text); line-height: 1.6;
  margin: 0;
}

/* Admin: stat chips */
.stat-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 30px;
  padding: .35rem 1rem;
  font-size: .78rem; color: var(--text);
  transition: all .3s;
}
.stat-chip:hover { border-color: rgba(201,168,76,.4); color: var(--gold); }
.stat-chip.active { background: rgba(201,168,76,.1); border-color: var(--gold); color: var(--gold); }
.stat-chip span {
  background: rgba(201,168,76,.2); color: var(--gold);
  border-radius: 30px; padding: .1rem .5rem;
  font-weight: 700; font-size: .72rem;
}

/* Status badge — rejected */
.status-rejected {
  background: rgba(220,60,60,.12);
  color: #e88;
  border: 1px solid rgba(220,60,60,.2);
  border-radius: 30px;
  padding: .2rem .65rem;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .devices-page-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid             { grid-template-columns: repeat(2, 1fr); }
  .device-detail-grid    { grid-template-columns: 1fr; }
  .device-detail-sidebar { flex-direction: row; flex-wrap: wrap; }
  .detail-sidebar-card   { flex: 1; min-width: 200px; }
  .franchise-benefits    { grid-template-columns: repeat(2, 1fr); }
  .franchise-form-wrap   { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .devices-page-grid    { grid-template-columns: 1fr; }
  .blog-grid            { grid-template-columns: 1fr; }
  .contact-page-grid    { grid-template-columns: 1fr; }
  .values-grid          { grid-template-columns: 1fr; }
  .device-detail-hero   { height: 300px; }
  .franchise-benefits   { grid-template-columns: 1fr; }
  .device-product-photo { max-height: 260px; }
  .device-product-photo img { height: 260px; }
  .slide-content.align-left,
  .slide-content.align-right { margin-inline: 1.5rem; text-align: left; }
  .slide-content.align-right .hero-actions { justify-content: flex-start; }
}
