/* ==========================================
   MAZAN v2 — style.css
   Theme: Black + White Honeycomb
   ========================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --black:        #0a0a0a;
  --black-soft:   #111111;
  --black-card:   #161616;
  --black-border: #222222;
  --white:        #ffffff;
  --white-soft:   #e8e8e8;
  --white-dim:    rgba(255,255,255,0.08);
  --white-mid:    rgba(255,255,255,0.15);
  --white-glass:  rgba(255,255,255,0.04);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Vazirmatn', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition:      0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);

  --nav-height:   72px;
  --section-gap: 120px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  direction: rtl;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* ===== CANVAS BG ===== */
#hexCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.section-desc {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-101%);
  transition: transform var(--transition);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--white);
  color: var(--black);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { background: var(--white-soft); box-shadow: 0 0 40px rgba(255,255,255,0.15); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }

.btn.full-width { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.logo-hex { width: 36px; height: 42px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 16px; left: 16px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.nav-cta {
  background: var(--white);
  color: var(--black);
  border-radius: 3px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  padding: 10px 20px;
  font-weight: 700;
}
.nav-link.nav-cta:hover { background: rgba(255,255,255,0.88); }
.nav-link.nav-cta::after { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform var(--transition), opacity var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 80px 24px 80px calc((100vw - 1200px)/2 + 24px);
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  background: var(--white-dim);
  backdrop-filter: blur(8px);
}
.hex-dot {
  width: 8px; height: 9px;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.7;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.title-line { display: block; opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s forwards; }
.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line.accent { -webkit-text-stroke: 2px rgba(255,255,255,0.5); color: transparent; }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s forwards;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0; animation: fadeUp 0.7s 0.9s forwards;
}

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  opacity: 0; animation: fadeUp 0.7s 1.1s forwards;
}
.stat { text-align: center; }
.stat-num   { display: block; font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 0.04em; line-height: 1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

.hero-visual { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hex-cluster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
  opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-hint span { font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); text-transform: uppercase; writing-mode: vertical-rl; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--black-card);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.service-card:hover { background: #1a1a1a; }
.service-card:hover::before { transform: scaleX(1); }

.service-hex-icon svg { width: 64px; height: 72px; }
.service-num { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); }

.service-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-content p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.service-tags span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

.service-arrow {
  position: absolute;
  bottom: 32px; left: 32px;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.2);
  transition: color var(--transition), transform var(--transition);
}
.service-card:hover .service-arrow { color: rgba(255,255,255,0.7); transform: translateX(-6px); }

/* ===== PORTFOLIO SLIDER ===== */
.portfolio { background: var(--black-soft); overflow: hidden; }

.portfolio-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 0 4px;
}

.portfolio-track {
  display: flex;
  gap: 20px;
  padding: 0 calc((100vw - 1200px)/2 + 24px);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* gradient fade edges */
.track-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.track-fade-right { right: 0; background: linear-gradient(to left,  var(--black-soft) 20%, transparent); }
.track-fade-left  { left:  0; background: linear-gradient(to right, var(--black-soft) 20%, transparent); }

/* Individual portfolio card */
.port-card {
  flex-shrink: 0;
  width: calc((1200px - 40px) / 3);   /* 3-up default */
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.port-card:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-4px); }

.port-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--black);
}
.port-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.port-card:hover .port-img-wrap img { transform: scale(1.05); }

/* placeholder card */
.port-placeholder-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
  position: relative;
  overflow: hidden;
}
.port-placeholder-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}
.port-placeholder-inner span {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
}

.port-caption {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--black-border);
}
.port-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.port-cap-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

/* Controls */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.port-nav-btn {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.port-nav-btn:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.06); }

.port-dots { display: flex; gap: 8px; }
/* reuse .tnav-dot from testimonials — same class */
.tnav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.tnav-dot.active { background: #fff; transform: scale(1.3); }

.portfolio-cta { text-align: center; margin-top: 40px; }

/* ===== PROCESS ===== */
.process { background: var(--black); }

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  right: 29px; top: 35px; bottom: 35px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15) 10%, rgba(255,255,255,0.15) 90%, transparent);
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0;
}

.step-hex svg   { width: 60px; height: 70px; }
.step-content   { padding-top: 10px; }
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ===== CONTACT ===== */
.contact { background: var(--black-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info p { color: rgba(255,255,255,0.5); font-size: 0.95rem; line-height: 1.8; margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item  { display: flex; align-items: center; gap: 16px; }
.contact-icon  {
  width: 44px; height: 44px;
  background: var(--white-dim);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); }
.contact-item strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.contact-item span   { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

.socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-btn:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: var(--white-dim); }

/* Form */
.contact-form-wrapper {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-size: 0.92rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: none;
  direction: rtl;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}
select option { background: #1a1a1a; color: #fff; }

.form-success {
  text-align: center; padding: 16px;
  background: rgba(100,220,130,0.07);
  border: 1px solid rgba(100,220,130,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: #80e89a;
}
.form-error {
  text-align: center; padding: 16px;
  background: rgba(255,100,100,0.07);
  border: 1px solid rgba(255,100,100,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: #ff9090;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: 60px 0 32px;
  border-top: 1px solid var(--black-border);
  overflow: hidden;
}
.footer-hex-bg {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V17L28 0l28 17v33z' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

.footer-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.15em; }
.footer-brand p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 2px; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-nav a:hover { color: rgba(255,255,255,0.8); }
.footer-copy p { font-size: 0.78rem; color: rgba(255,255,255,0.2); text-align: center; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}
@keyframes shimmer {
  0%   { background-position: -200% -200%; }
  100% { background-position:  200%  200%; }
}
@keyframes hexFloat {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1deg); }
  66%       { transform: translateY(6px)   rotate(-1deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-visual  { height: 50vh; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }

  .port-card { width: calc((90vw - 20px) / 2); }
  .portfolio-track { padding: 0 24px; }
}

@media (max-width: 768px) {

  .hero-shop-img {
    opacity: 0.18;
    transform: scale(0.7);
    object-position: center center;
  }


  :root { --section-gap: 80px; }

  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column; justify-content: center; align-items: center; gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.3rem; }
  .nav-link.nav-cta { padding: 14px 32px; font-size: 1.1rem; }

  .services-grid { grid-template-columns: 1fr; }

  .port-card { width: 80vw; }

  .hero-stats { gap: 20px; }
  .stat-num   { font-size: 1.8rem; }

  .contact-form-wrapper { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .timeline-line { display: none; }
  .process-step  { grid-template-columns: 50px 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-title    { font-size: 3rem; }
  .section-title { font-size: 2rem; }
  .hero-actions  { flex-direction: column; }
  .btn           { width: 100%; justify-content: center; }
  .portfolio-track { padding: 0 16px; }
  .port-card     { width: 88vw; }
}


.hero-shop-img {
  position: absolute;
  /* موبایل: نصف پایین، دسکتاپ: نصف راست */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* فید از همه طرف */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%,   rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.6) 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%,   rgba(0,0,0,0.7) 18%, rgba(0,0,0,0.7) 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%,   rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.6) 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%,   rgba(0,0,0,0.7) 18%, rgba(0,0,0,0.7) 82%, transparent 100%);
  mask-composite: intersect;
  opacity: 0.70;
  mix-blend-mode: luminosity;
  z-index: 2;
  /* موبایل: کوچک‌تر */
  transform: scale(0.82);
  transform-origin: center center;
}

.logo-img {
  width: 55px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}



.location-section{
  display:flex;
  justify-content:center;
  padding:80px 20px;
}

.location-card{
  width:100%;
  max-width:1100px;
  background:rgba(20,20,20,.85);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 0 35px rgba(0,0,0,.45);
  backdrop-filter:blur(12px);
}

.location-card h2{
  color:#fff;
  text-align:center;
  padding:25px;
  font-size:28px;
  font-weight:600;
  letter-spacing:1px;
}

.location-card iframe{
  width:100%;
  height:450px;
  border:none;
}

.map-btn{
  display:block;
  width:260px;
  margin:25px auto 30px;
  text-align:center;
  padding:15px;
  color:#fff;
  text-decoration:none;
  border-radius:12px;
  background:#ffffff15;
  border:1px solid #ffffff35;
  transition:.3s;
}

.map-btn:hover{
  background:#fff;
  color:#111;
  transform:translateY(-3px);
}
