/* =========================================
   LIANA THEME — main.css (FINAL STABLE)
========================================= */

/* Font */
@font-face {
  font-family: 'MorabbaPro';
  src: url('../fonts/MorabbaPro.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'MorabbaPro';
  src: url('../fonts/MorabbaPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* Variables */
:root {
  --primary: #ffffff;
  --text: #ffffff;
  --text-muted: #cfcfcf;
  --accent: #00c4ff;
  --bg: #000000;

  --header-bg: rgba(0,0,0,.6);
  --footer-bg: #111;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.2);
  --transition: all .3s ease;
  --font-main: 'MorabbaPro', sans-serif;

  /* رنگ‌های منو (از Customizer) */
  --menu-item-color: #ffffff;
  --menu-item-hover: #f6c045;
  --menu-item-active: #00c4ff;
  --menu-label-color: #ffffff;
}

/* Base */
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: .3s; }
a:hover { opacity: .9; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --------------------------------------------
   HEADER – FINAL TRANSPARENT FIXED VERSION
-------------------------------------------- */

.vw-header {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.admin-bar .vw-header { top: 32px; }

.vw-header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 90px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img { height: 58px; width: auto; }

/* Menu Toggle */
.menu-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--menu-label-color);
  font-size: 18px;
  font-family: 'MorabbaPro', sans-serif !important;
}

.menu-toggle .menu-label {
  color: var(--menu-label-color) !important;
  transition: color .3s ease;
}

.menu-toggle .hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--menu-label-color);
  margin: 4px 0;
  transition: 0.3s;
}

/* Divider line */
.header-divider {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.8);
}

/* Hamburger active */
.menu-toggle.active .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 2000;
}
.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Menu Links */
.fullscreen-menu .menu a {
  font-family: 'MorabbaPro', sans-serif !important;
  font-size: 32px;
  color: var(--menu-item-color, #ffffff);
  transition: color .25s ease;
  text-decoration: none;
}
.fullscreen-menu .menu a:hover {
  color: var(--menu-item-hover, #f6c045) !important;
}
.fullscreen-menu .menu .current-menu-item > a,
.fullscreen-menu .menu .current_page_item > a,
.fullscreen-menu .menu .current_page_parent > a,
.fullscreen-menu .menu .current-menu-ancestor > a {
  color: var(--menu-item-active, #00c4ff) !important;
  font-weight: 700;
}

/* Close Button */
.menu-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  background: none;
  border: 0;
  color: #fff !important;
  cursor: pointer;
}

/* Mobile */
@media(max-width:768px){
  .header-logo img { height: 48px; }
  .menu-toggle { font-size: 16px; right: 12px; }
}

/* ================================
   HOME — BIG PROMO BOX
================================ */
.bigpromo-section {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    margin: 60px auto;
    max-width: 1400px;
}

.bigpromo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
    transition: transform 6s ease;
}

.bigpromo-section:hover .bigpromo-bg {
    transform: scale(1.06);
}

.bigpromo-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.bigpromo-content {
    position: relative;
    z-index: 3;
    padding: 50px;
    max-width: 600px;
}

.bigpromo-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px 0;
}

.bigpromo-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.bigpromo-btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity .25s ease, transform .25s ease;
}

.bigpromo-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .bigpromo-section {
        height: 350px;
        margin: 40px 18px;
    }
    .bigpromo-content {
        padding: 30px 20px;
    }
    .bigpromo-title { font-size: 26px; }
    .bigpromo-text  { font-size: 15px; }
}

/* END OF HEADER STYLES */
