/*
Theme Name: جاذبه‌های تبریز | Tabriz Scroll
Theme URI: https://example.com
Author: Claude
Author URI: https://example.com
Description: قالب تک‌صفحه‌ای اسکرولی (Full-page Scroll) با موضوع معرفی جاذبه‌های گردشگری شهر تبریز. هر جاذبه یک بخش تمام‌صفحه دارد و می‌توان از پنل مدیریت وردپرس جاذبه‌های جدید اضافه یا ویرایش کرد.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: tabriz-scroll
Tags: full-width-template, one-column, custom-menu, featured-images, translation-ready, rtl-language-support
*/

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: #0d0d0f;
  color: #fff;
  direction: rtl;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Scroll Snap Container ---------- */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.scroll-section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.scroll-section .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.scroll-section.in-view .bg { transform: scale(1); }

.scroll-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.1) 100%);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
  padding: 60px 8%;
  max-width: 780px;
}

.section-index {
  font-size: 15px;
  letter-spacing: 2px;
  opacity: .75;
  margin-bottom: 12px;
  display: block;
}

.section-content h2 {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
}

.section-content p {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 2;
  opacity: .92;
  max-width: 620px;
}

.section-content .read-more {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 26px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 40px;
  font-size: 14px;
  transition: .3s;
}
.section-content .read-more:hover { background: #fff; color: #000; }

/* ---------- Hero (first section) ---------- */
.hero {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero .section-content { max-width: 900px; }
.hero h1 {
  font-size: clamp(36px, 7vw, 78px);
  font-weight: 900;
  margin-bottom: 20px;
}
.hero p.subtitle {
  font-size: clamp(16px, 2vw, 22px);
  opacity: .9;
  margin-bottom: 30px;
}
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 13px;
  opacity: .8;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Top Nav ---------- */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6%;
  mix-blend-mode: difference;
}
.site-header .logo { font-weight: 800; font-size: 18px; }
.site-header nav a { margin-inline-start: 22px; font-size: 14px; }

/* ---------- Side Dot Navigation ---------- */
.dot-nav {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: .3s;
  position: relative;
}
.dot-nav a.active,
.dot-nav a:hover { background: #fff; transform: scale(1.3); }
.dot-nav a span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  transition: .25s;
  background: rgba(0,0,0,.6);
  padding: 3px 10px;
  border-radius: 6px;
}
.dot-nav a:hover span { opacity: 1; }

/* ---------- Footer section ---------- */
.site-footer {
  scroll-snap-align: start;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: #000;
  padding: 60px 20px;
}
.site-footer h3 { font-size: 26px; margin-bottom: 6px; }
.site-footer p { opacity: .7; font-size: 14px; }

/* ---------- Single Attraction Page ---------- */
.single-attraction-hero {
  height: 70vh;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.single-attraction-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.2));
}
.single-attraction-hero .title-wrap {
  position: relative;
  z-index: 2;
  padding: 50px 8%;
}
.single-attraction-hero h1 { font-size: clamp(30px,5vw,56px); font-weight: 800; }
.single-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 6%;
  font-size: 18px;
  line-height: 2.1;
  background: #0d0d0f;
}
.back-link { display:inline-block; margin-bottom: 30px; opacity:.7; font-size: 14px; }

@media (max-width: 700px) {
  .dot-nav { display: none; }
  .section-content { padding: 40px 6%; }
}
