/* =========================================================
   KHANE TV - GLOBAL BRAND STYLE SYSTEM
   طراحی شده برای صفحات برندهای تعمیرات تلویزیون
   Author: ChatGPT
========================================================= */

/* =========================
   CSS VARIABLES
========================= */

:root {

  /* رنگ برند (در هر صفحه تغییر می‌کند) */
  --brand-primary: #3b82f6;
  --brand-secondary: #8b5cf6;
  --brand-glow: rgba(59,130,246,.35);

  /* رنگ‌های اصلی سایت */
  --bg-main: #050816;
  --bg-secondary: #0c1224;
  --card-bg: rgba(255,255,255,.05);

  /* متن */
  --text-primary: #ffffff;
  --text-secondary: #c7d0df;
  --text-muted: #9ba7bb;

  /* بوردر */
  --border-color: rgba(255,255,255,.08);

  /* سایه */
  --shadow-main: 0 12px 40px rgba(0,0,0,.35);

  /* Radius */
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;

  /* فاصله */
  --section-space: 120px;

  /* فونت */
  --font-main: 'Vazirmatn', sans-serif;
}

/* =========================
   RESET
========================= */

* {
  margin: 3px;
  padding: 3px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* =========================
   CUSTOM SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1020;
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: 100px;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
  font-weight: 900;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.brand-text {
  color: var(--brand-primary);
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title p {
  max-width: 780px;
  margin-inline: auto;
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  backdrop-filter: blur(16px);
  background: rgba(5,8,22,.74);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: white;
}

.logo span {
  color: var(--brand-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: .95rem;
  transition: .3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: .3s;
}

.nav-menu a:hover {
  color: white;
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-color);
  color: white;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  top: -220px;
  right: -140px;
  animation: pulse 8s infinite ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  bottom: -180px;
  left: -120px;
  animation: pulse 10s infinite ease-in-out;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 5;
  padding-top: 50px;
}

.hero-content p {
  margin: 24px 0 36px;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-color);
}

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 35px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-main);
  animation: floating 5s infinite ease-in-out;
}

.hero-card h3 {
  margin-bottom: 18px;
}

.hero-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--text-secondary);
}

/* =========================
   BUTTONS
========================= */

.btn {
  padding: 16px 34px;
  border-radius: 18px;
  font-weight: 700;
  transition: .35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  box-shadow: 0 12px 35px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-5px);
}

.btn-outline {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  color: white;
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  background: rgba(255,255,255,.08);
}

/* =========================
   SECTION
========================= */

section {
  padding: var(--section-space) 0;
  position: relative;
}

/* =========================
   CARDS
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: .4s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  opacity: 0;
  transition: .4s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-primary);
}

.card h3 {
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.card p {
  position: relative;
  z-index: 2;
}

/* =========================
   BRAND MODELS
========================= */

.models-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

.model-item {
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,.05);
  transition: .3s;
}

.model-item:hover {
  background: var(--brand-primary);
  transform: scale(1.06);
}

/* =========================
   INTERNAL LINKS
========================= */

.internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 26px;
}

.link-box {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  transition: .35s;
}

.link-box:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
}

.link-box h3 {
  margin-bottom: 14px;
}

.link-box p {
  margin-bottom: 16px;
}

.link-box a {
  color: var(--brand-primary);
  font-weight: 700;
}

/* =========================
   TIMELINE
========================= */

.timeline {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin-inline: auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(255,255,255,.04);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.timeline-number {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
}

.timeline-content h4 {
  margin-bottom: 10px;
}

/* =========================
   CTA SECTION
========================= */

.cta {
  text-align: center;
  padding: 80px 40px;
  border-radius: 40px;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--brand-glow), transparent 45%);
}

.cta h2,
.cta p,
.cta a {
  position: relative;
  z-index: 2;
}

.cta p {
  max-width: 760px;
  margin: 20px auto 32px;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: #04070f;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 18px;
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  transition: .3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--text-muted);
}

/* =========================
   BRAND IMAGE STYLES
========================= */

.brand-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.brand-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.brand-banner:hover img {
  transform: scale(1.08);
}

.brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}

/* =========================
   ANIMATIONS
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

  .hero-layout {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  :root {
    --section-space: 90px;
  }

  .navbar {
    min-height: 75px;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 75px);
    background: #0b1020;
    flex-direction: column;
    padding: 40px 30px;
    transition: .4s;
    border-left: 1px solid var(--border-color);
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .timeline-item {
    flex-direction: column;
  }

  .cta {
    padding: 60px 24px;
  }

}

@media (max-width: 480px) {

  body {
    line-height: 1.9;
  }

  .card,
  .hero-card,
  .link-box,
  .timeline-item {
    padding: 24px;
  }

  .models-grid {
    justify-content: flex-start;
  }

}

/* =========================================================
   BRAND COLOR EXAMPLES
========================================================= */

/* Samsung
:root {
  --brand-primary: #3b82f6;
  --brand-secondary: #2563eb;
  --brand-glow: rgba(59,130,246,.35);
}
*/

/* LG
:root {
  --brand-primary: #ff3b82;
  --brand-secondary: #e11d48;
  --brand-glow: rgba(255,59,130,.35);
}
*/

/* Daewoo
:root {
  --brand-primary: #00d084;
  --brand-secondary: #00a86b;
  --brand-glow: rgba(0,208,132,.35);
}
*/






/* =========================
   BREADCRUMB
========================= */
/* =========================
   MINIMAL BREADCRUMB
========================= */

.breadcrumb-wrap{

  padding-top:105px;
  padding-bottom:10px;

}

.breadcrumb{

  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;

  font-size:.82rem;

  color:rgba(255,255,255,.45);

}

.breadcrumb a{

  color:rgba(255,255,255,.55);

  transition:.3s ease;

}

.breadcrumb a:hover{

  color:var(--brand-primary);

}

.breadcrumb .separator{

  opacity:.35;

}

.breadcrumb .current{

  color:white;
  font-weight:600;

}


.glass-call-btn {
  position: fixed;
  bottom: 25px;
  left: 20px;
  z-index: 9999;
  text-decoration: none;
}

.glass-inner {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    0 0 20px var(--color-glow, rgba(0, 150, 255, 0.25));

  color: #fff;
  font-family: sans-serif;

  transition: all 0.3s ease;
}

.glass-inner svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.glass-call-btn:hover .glass-inner {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 25px var(--cta-glow, rgba(0, 150, 255, 0.4));
}

/* Pulse effect */
.glass-pulse {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--cta-glow, rgba(0, 150, 255, 0.3));
  animation: pulse 2s infinite;
  z-index: -1;
  filter: blur(10px);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}


.navbar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  z-index: 3;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-nav .nav-link.disabled {
  color: rgba(255, 255, 255, 0.25);
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*header section*/
.hero_area {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}


@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}


.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

