/* ══════════════════════════════════════════════
   ROOT VARIABLES
══════════════════════════════════════════════ */
:root {
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --text-dark: #111;
  --text-gray: #666;
  --text-light: #888;
  --border-light: #e5e5e5;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --accent: #333;
  --accent-hover: #555;
}

[data-theme="dark"] {
  --bg-light: #1a1a1a;
  --bg-white: #242424;
  --text-dark: #e8e8e8;
  --text-gray: #b0b0b0;
  --text-light: #888;
  --border-light: #333;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --accent: #ff3333;
  --accent-hover: #ff0000;
}

/* ══════════════════════════════════════════════
   CONTACT HEADER
══════════════════════════════════════════════ */
.contact-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 18px 32px;
}

.contact-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 ;
}

.contact-header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.top-header {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
 a {
  text-decoration: none;
  color: white;
}
a:hover{
  color: red;
}
.bc-sep {
  color: white;
  font-size: 1rem;
}

.bc-current {
  color: white;
}

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

[data-theme="dark"] .theme-toggle {
   border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .theme-toggle:hover {
 background: rgba(255,255,255,0.25);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.theme-toggle__icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  position: absolute;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #fff;
}

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  fill: none;
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--text-dark);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.contact-hero {
  position: relative;
  height: 420px;
  min-height: 340px;
  background-image: url("../img/banner/banner-shir3.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
}

[data-theme="dark"] .contact-hero::before {
  background: linear-gradient(160deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  transition: 0.6s ease;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 13px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.contact-hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
  font-family: pinar, sans-serif;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.contact-hero-content p {
  font-size: clamp(14px, 1.8vw, 18px);
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 4px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════ */
.contact-section {
  background: var(--bg-light);
  padding: 60px 24px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-header h2 {
  color: var(--text-dark);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   CONTACT CARDS
══════════════════════════════════════════════ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  margin-top: 36px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--text-dark), var(--text-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  transition: 0.35s ease;
  color: var(--text-dark);
}

.contact-card:hover .contact-icon-wrap {
  background: var(--text-dark);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.contact-card-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-card-text {
  color: var(--text-gray);
  font-size: 13.5px;
  line-height: 2;
}

/* ══════════════════════════════════════════════
   WRAPPER (فرم + نقشه)
══════════════════════════════════════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ══════════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════════ */
.contact-form {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.35s ease;
}

.contact-form:hover {
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 4px;
}

.form-header h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 13.5px;
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  right: 14px;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
  color: var(--text-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 44px 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
  text-align: right;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(51,51,51,0.08);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(255,201,51,0.15);
}

.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap .input-icon {
  top: 13px;
}

.form-group textarea {
  height: 140px;
  resize: vertical;
  padding-top: 12px;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 36px;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.35s ease;
  align-self: flex-start;
}

.contact-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.contact-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

[data-theme="dark"] .contact-submit:hover {
  box-shadow: 0 8px 20px rgba(255,201,51,0.4);
}

.contact-submit:hover svg {
  transform: translateX(-4px);
}

/* ══════════════════════════════════════════════
   MAP BOX
══════════════════════════════════════════════ */
.map-box {
  background: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.map-placeholder {
  height: 300px;
  background: var(--bg-light);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

[data-theme="dark"] .map-placeholder iframe {
  filter: invert(0.9) hue-rotate(180deg);
}

.map-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
}

.map-btn {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 8px;
  transition: 0.3s ease;
  font-weight: 600;
}

.map-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ══════════════════════════════════════════════
   REVEAL
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 50px 24px 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a::before {
  content: '◀';
  font-size: 10px;
  transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
  padding-right: 10px;
}

.footer-section ul li a:hover::before {
  transform: translateX(-5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.social-links a svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-dark);
  transition: stroke 0.3s ease;
}

.social-links a:hover svg {
  stroke: #fff;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.payment-methods {
  display: flex;
  gap: 15px;
  align-items: center;
}

.payment-methods img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.payment-methods img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  
  .contact-section {
    padding: 50px 20px;
  }
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
  }

  .map-placeholder {
    height: 280px;
  }
  
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: 15px 20px;
  }
  
  .contact-header__logo img {
    height: 40px;
  }
  
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
  
  .contact-section {
    padding: 40px 16px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .contact-hero {
    background-attachment: scroll;
    height: 360px;
  }
  
  .footer-content {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-card {
    padding: 24px 16px 20px;
  }
  
  .map-placeholder {
    height: 240px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .payment-methods {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-header {
    padding: 12px 16px;
  }
  
  .contact-hero {
    height: 320px;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .contact-form {
    padding: 24px 16px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }
}
/* =============================================
   R92: مودال موفقیت ثبت تیکت
============================================= */
.ty-ticket-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ty-ticket-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ty-ticket-modal {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 28px 26px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.ty-ticket-modal-overlay.open .ty-ticket-modal {
    transform: none;
}

.ty-ticket-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ty-ticket-modal-close:hover {
    background: #fee2e2;
    color: #d62828;
}

.ty-ticket-modal-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d62828, #a31d1d);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(214, 40, 40, 0.3);
}

.ty-ticket-modal-icon svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.ty-ticket-modal h3 {
    font-size: 21px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px;
}

.ty-ticket-number {
    display: inline-block;
    background: #fef2f2;
    color: #d62828;
    border: 1px dashed rgba(214, 40, 40, 0.4);
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 15px;
    margin-bottom: 12px;
}

.ty-ticket-modal p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.9;
    margin: 0 0 6px;
}

.ty-ticket-modal .ty-ticket-note {
    font-size: 13.5px;
    margin-bottom: 4px;
}

.ty-ticket-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    margin-top: 12px;
    font-family: inherit;
}

.ty-ticket-btn-primary {
    background: linear-gradient(135deg, #d62828, #a31d1d);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(214, 40, 40, 0.3);
}

.ty-ticket-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(214, 40, 40, 0.4);
}

.ty-ticket-btn-ghost {
    background: #f1f5f9;
    color: #475569;
}

.ty-ticket-btn-ghost:hover {
    background: #e2e8f0;
}

/* حالت تاریک */
[data-theme="dark"] .ty-ticket-modal,
body.dark .ty-ticket-modal {
    background: #242424;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .ty-ticket-modal h3,
body.dark .ty-ticket-modal h3 {
    color: #e8e8e8;
}

[data-theme="dark"] .ty-ticket-modal p,
body.dark .ty-ticket-modal p {
    color: #b0b0b0;
}

[data-theme="dark"] .ty-ticket-number,
body.dark .ty-ticket-number {
    background: rgba(255, 51, 51, 0.12);
    color: #ff6b6b;
    border-color: rgba(255, 51, 51, 0.4);
}

[data-theme="dark"] .ty-ticket-modal-icon,
body.dark .ty-ticket-modal-icon {
    background: linear-gradient(135deg, #ff3333, #cc2929);
    box-shadow: 0 10px 25px rgba(255, 51, 51, 0.3);
}

[data-theme="dark"] .ty-ticket-modal-close,
body.dark .ty-ticket-modal-close {
    background: #333333;
    color: #b0b0b0;
}

[data-theme="dark"] .ty-ticket-modal-close:hover,
body.dark .ty-ticket-modal-close:hover {
    background: rgba(255, 51, 51, 0.2);
    color: #ff6b6b;
}

[data-theme="dark"] .ty-ticket-btn-primary,
body.dark .ty-ticket-btn-primary {
    background: linear-gradient(135deg, #ff3333, #cc2929);
    box-shadow: 0 6px 18px rgba(255, 51, 51, 0.3);
}

[data-theme="dark"] .ty-ticket-btn-ghost,
body.dark .ty-ticket-btn-ghost {
    background: #2a2a2a;
    color: #b0b0b0;
}

[data-theme="dark"] .ty-ticket-btn-ghost:hover,
body.dark .ty-ticket-btn-ghost:hover {
    background: #333333;
}

/* R94: آیکن‌های SVG داخل مودال تیکت */
.ty-ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ty-ticket-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ty-ticket-note .ty-note-ic {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: -2px;
    margin-left: 5px;
    color: #d62828;
    flex-shrink: 0;
}

[data-theme="dark"] .ty-ticket-note .ty-note-ic,
body.dark .ty-ticket-note .ty-note-ic {
    color: #ff6b6b;
}
