/* ========================================
   1. BRAND FONTS & TYPOGRAPHY (@font-face)
   ======================================== */

/* --- Peyda (Official Brand Primary Persian Typeface) --- */
@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-Thin.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-Thin.woff") format("woff"),
    url("../fonts/Peyda/Peyda-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/peydaWeb-extralight.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/peydaWeb-extralight.woff") format("woff"),
    url("../fonts/Peyda/peyda-extralight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/peydaWeb-light.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/peydaWeb-light.woff") format("woff"),
    url("../fonts/Peyda/peyda-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-Regular.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-Regular.woff") format("woff"),
    url("../fonts/Peyda/Peyda-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-Medium.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-Medium.woff") format("woff"),
    url("../fonts/Peyda/Peyda-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-SemiBold.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-SemiBold.woff") format("woff"),
    url("../fonts/Peyda/Peyda-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-Bold.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-Bold.woff") format("woff"),
    url("../fonts/Peyda/Peyda-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-ExtraBold.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-ExtraBold.woff") format("woff"),
    url("../fonts/Peyda/Peyda-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src:
    url("../fonts/Peyda/PeydaWeb/woff2/PeydaWeb-Black.woff2") format("woff2"),
    url("../fonts/Peyda/PeydaWeb/woff/PeydaWeb-Black.woff") format("woff"),
    url("../fonts/Peyda/Peyda-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- Maneli (Official Brand Persian Calligraphy / Display Typeface) --- */
@font-face {
  font-family: "Maneli";
  src:
    url("../fonts/Maneli/Maneli.otf") format("opentype"),
    url("../fonts/Maneli/Maneli.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Compatibility alias for Maleni */
@font-face {
  font-family: "Maleni";
  src:
    url("../fonts/Maneli/Maneli.otf") format("opentype"),
    url("../fonts/Maneli/Maneli.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Playwrite (Official Brand English Script Typeface) --- */
@font-face {
  font-family: "Playwrite";
  src:
    url("../fonts/Playwrite/PlaywriteAUTAS-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #8b1538;
  --primary-hover: #71102d;
  --primary-light: rgba(139, 21, 56, 0.08);
  --dark-color: #2c0b13;
  --text-color: #2b2b2b;
  --text-muted: #666666;
  --light-gray-bg: #f8f8f8;
  --white-color: #fff;
  --font-persian: "Peyda", "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Maneli", "Maleni", "Peyda", sans-serif;
  --font-script: "Playwrite", "Great Vibes", "Niconne", cursive;
  --font-body: var(--font-persian);
  --font-melani: var(--font-display);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button,
input,
textarea,
select {
  font-family: var(--font-persian);
}

body {
  font-family: var(--font-persian);
  color: var(--text-color);
  background-color: var(--white-color);
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
           2. GENERAL STYLES
        ======================================== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 50px 0;
}

.section-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .section-logo img {
    width: 200px;
    height: 200px;
  }
}

.section-logo img:hover {
  transform: scale(1.05);
}

.section-title {
  font-family: var(--font-persian);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--dark-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.section-display-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--primary-color);
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: normal;
}

.section-subtitle {
  color: #555;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.9;
  max-width: 900px;
  margin: -10px auto 25px;
}

.script-font {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: normal;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.5;
}

.script-font-en {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: normal;
  color: var(--primary-color);
  direction: ltr;
}

.rtl-section {
  direction: rtl;
  font-family: var(--font-persian);
}

/* ========================================
           3. NAVIGATION
        ======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: transparent;
  padding: 20px 0;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
  height: 86px;
  display: block;
  direction: ltr; /* Keeps logo on left and brand text on right in nav-inner */
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
}

.brand {
  display: inline-block;
  position: relative;
  margin-left: 8px;
}

.brand img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.brand::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: 72px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 3px;
  box-shadow: 0 2px 0 rgba(139, 21, 56, 0.06);
}

.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  direction: rtl;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: clamp(16px, 2.2vw, 36px);
  align-items: center;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.nav-menu a {
  color: #222;
  font-family: var(--font-persian);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 6px;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Animated underline for all nav links */
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition:
    left 0.3s ease,
    right 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

/* Hover: underline slides in faintly */
.nav-menu a:hover {
  color: var(--primary-color);
}
.nav-menu a:hover::after {
  left: 0;
  right: 0;
  opacity: 0.45;
}

/* Active: full underline, bold, colored */
.nav-menu a.active {
  color: var(--primary-color);
  font-weight: 700;
}
.nav-menu a.active::after {
  left: 0;
  right: 0;
  opacity: 1;
  height: 2.5px;
  box-shadow: 0 1px 6px rgba(139, 21, 56, 0.35);
  animation: navUnderlineIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navUnderlineIn {
  from {
    left: 50%;
    right: 50%;
    opacity: 0;
  }
  to {
    left: 0;
    right: 0;
    opacity: 1;
  }
}

.dropdown-arrow {
  font-size: 11px;
  color: #888;
  margin-right: 4px;
  margin-left: 0;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-menu .dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-right {
  color: #111;
  font-family: var(--font-persian);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  min-width: 170px;
  text-align: right;
  direction: rtl;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 1300;
  position: relative;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.hamburger-menu:hover {
  background-color: rgba(139, 21, 56, 0.08);
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-color);
  margin: 2.5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s ease;
  direction: rtl;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  padding: 30px 20px 60px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  direction: rtl;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin: 16px 0;
}

.mobile-menu a {
  color: #222;
  font-family: var(--font-persian);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--primary-color);
  background-color: rgba(139, 21, 56, 0.05);
}

.mobile-menu a.active {
  color: var(--primary-color);
  font-weight: 800;
  background-color: rgba(139, 21, 56, 0.08);
  position: relative;
  padding: 6px 18px;
}

.mobile-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background: var(--primary-color);
  border-radius: 2px;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(16, 16, 16, 0.06);
}

.nav-menu .dropdown {
  position: relative;
}

/* Hover bridge so menu stays open across gap */
.nav-menu .dropdown::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: auto;
  background: white;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  min-width: 200px;
  z-index: 1000;
  direction: rtl;
  text-align: right;
  border: 1px solid rgba(0, 0, 0, 0.06);
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu .dropdown-menu li {
  margin: 0;
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  font-family: var(--font-persian);
  transition: background-color 0.2s ease, color 0.2s ease, padding-right 0.2s ease;
  white-space: nowrap;
}

.nav-menu .dropdown-menu a::after {
  display: none !important;
}

.nav-menu .dropdown-menu a:hover {
  background: var(--primary-color);
  color: #fff;
  padding-right: 22px;
}

.nav-menu .dropdown:hover .dropdown-menu {
  display: block;
}

/* اطمینان از مخفی بودن هر چیزی که hidden دارد */
[hidden] {
  display: none !important;
}

/* منوی موبایل: آیتم والد و دکمه‌ی باز/بسته */
.mobile-menu li.has-children {
  margin: 12px 0;
}

.mobile-menu .mobile-dropdown-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-persian);
  color: #222;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  direction: rtl;
}

/* زیرمنو در موبایل */
.mobile-menu .mobile-submenu {
  list-style: none;
  padding: 6px 0;
  margin: 8px auto 0;
  background: rgba(139, 21, 56, 0.03);
  border-radius: 12px;
  max-width: 280px;
}

.mobile-menu .mobile-submenu li {
  margin: 4px 0;
}

.mobile-menu .mobile-submenu li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
}

.mobile-menu .mobile-submenu li a:hover {
  color: var(--primary-color);
  background-color: transparent;
}

/* چرخش فلش هنگام باز بودن */
.mobile-menu .chev {
  transition: transform 0.2s ease;
  display: inline-block;
}

.mobile-menu li.has-children.open .chev {
  transform: rotate(180deg);
}

@media (min-width: 993px) {
  .nav-menu .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ========================================
           4. HERO SLIDER
        ======================================== */
.hero-slider {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  margin-top: 86px;
  position: relative;
}

.hero-slider .swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Semi-transparent dark gradient overlay for photo/food slides */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(20, 5, 9, 0.8) 0%, rgba(44, 11, 19, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

/* Hero Content Container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 45px;
  text-align: right;
  direction: rtl;
}

/* --- Brand Slide (Official Graphic Banner with Built-in Typography) --- */
.swiper-slide.slide-brand {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --- Persian Slides (Catering, Airline, Corporate Services) --- */
.swiper-slide.slide-persian {
  justify-content: flex-start;
  padding-right: 6%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-persian);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  direction: rtl;
}

.hero-subtitle {
  font-family: var(--font-persian);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  direction: rtl;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(139, 21, 56, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.hero-btn:hover {
  background: #6f0e2b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 21, 56, 0.5);
}

/* Fallback for general slide headings */
.hero-content h1:not(.hero-title-script):not(.hero-title) {
  font-family: var(--font-persian);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.hero-content p:not(.hero-subtitle-brand):not(.hero-subtitle) {
  font-family: var(--font-persian);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Slider Controls */
.slider-controls-row {
  margin-top: 25px;
  padding: 0 15px;
}

.swiper-button-next,
.swiper-button-prev {
  position: static;
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border: 2px solid #e2e2e2;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-top: 0;
  flex-shrink: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 21, 56, 0.25);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #ffffff;
}

.swiper-button-next::after {
  content: "→";
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 900;
}

.swiper-button-prev::after {
  content: "←";
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 900;
}

.swiper-navigation-container {
  gap: 12px;
}

.custom-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-persian);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex-wrap: nowrap;
}

.slide-number {
  color: #888888;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
}

.slide-number:hover {
  color: var(--primary-color);
  background-color: rgba(139, 21, 56, 0.08);
}

.slide-number.active {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.25rem;
  background-color: rgba(139, 21, 56, 0.08);
}

.slide-separator {
  color: #bbb;
  margin: 0 2px;
}

/* ========================================
           5. FEATURES SECTION
        ======================================== */
.features-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  padding: 0 20px;
}

.feature-item {
  flex: 1;
  min-width: 180px;
  max-width: 200px;
  text-align: center;
  color: #6b1829;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-image {
  width: 8rem;
  height: 8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, rgba(139, 21, 56, 0.05) 0%, rgba(139, 21, 56, 0.1) 100%); */
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-image {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 21, 56, 0.15);
  /* background: linear-gradient(135deg, rgba(139, 21, 56, 0.1) 0%, rgba(139, 21, 56, 0.15) 100%); */
}

.feature-item:hover .feature-image img {
  transform: scale(1.1);
}

.feature-item p {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.6;
  color: #333;
}

/* ========================================
           6. SERVICES SECTION
        ======================================== */
.services-section {
  direction: rtl;
  font-family: var(--font-persian);
  padding: 40px 0 40px;
  margin-top: 30px;
}

.services-card-wrap {
  background: #f1f1f1;
  border-radius: 18px;
  padding: 40px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #222;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px 28px 30px;
}

.service-card {
  background: transparent;
  text-align: center;
  padding-top: 8px;
}

.service-thumb {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(16, 16, 16, 0.06);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}

.service-caption {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
  margin-top: 6px;
}

.services-cta {
  background: var(--primary-color);
  border-radius: 18px;
  margin-top: 34px;
  padding: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.services-cta .cta-btn {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--primary-color);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.services-cta .cta-text {
  font-weight: 600;
  line-height: 1.7;
  flex: 1 1 60%;
  min-width: 220px;
  text-align: right;
  max-width: 850px;
}

/* ========================================
           7. GALLERY SECTION
        ======================================== */
#gallery {
  background-color: var(--light-gray-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-item-1 {
  grid-column: span 2;
}
.gallery-item-2 {
  grid-row: span 2;
}
.gallery-item-4 {
  grid-row: span 2;
}
.gallery-item-6 {
  grid-row: span 2;
}
.gallery-item-7 {
  grid-column: span 2;
}

/* ========================================
           8. PARTNERS SECTION
        ======================================== */
#partners {
  padding: 60px 0;
  background: white;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-header .script-font {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.partners-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
}

.partner-logo {
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(10%);
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========================================
           9. FOOTER
        ======================================== */
.modern-footer {
  position: relative;
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-persian);
  direction: rtl;
  margin-top: 80px;
}

.footer-top-wave {
  position: absolute;
  top: -99px;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.footer-top-wave svg {
  width: 100%;
  height: 100%;
}

.footer-main {
  padding: 50px 0 30px;
  background: #2c2c2c;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.footer-brand {
  font-family: var(--font-persian);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.footer-links i {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.services-list a i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-item strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.newsletter-section {
  background: rgba(139, 21, 56, 0.15);
  border: 1px solid rgba(139, 21, 56, 0.3);
  border-radius: 15px;
  padding: 35px;
  margin-top: 30px;
}

.newsletter-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-title i {
  color: var(--primary-color);
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.newsletter-form {
  width: 100%;
}

.newsletter-form .input-group {
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  background: transparent;
  text-align: right;
  direction: rtl;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  outline: none;
}

.newsletter-form .btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s;
}

.newsletter-form .btn-primary:hover {
  background: #a01845;
  transform: scale(1.05);
}

.footer-bottom {
  background: #1f1f1f;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* ========================================
           10. RESPONSIVE STYLES
        ======================================== */
@media (max-width: 992px) {
  .nav-inner {
    padding: 0 16px;
  }

  .nav-right {
    display: none;
  }

  .nav-center {
    display: none;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    height: 36px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
  }

  .site-nav {
    height: 64px;
    padding: 12px 0;
  }

  .hamburger-menu {
    display: flex !important;
  }

  .mobile-menu-overlay {
    top: 64px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }

  .gallery-grid > img {
    grid-column: auto;
    grid-row: auto;
  }

  .partners-logos {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .service-thumb {
    width: 130px;
    height: 130px;
  }

  .services-cta {
    padding: 22px;
    border-radius: 14px;
  }

  .features-grid {
    gap: 25px;
    padding: 0 15px;
  }

  .feature-item {
    min-width: 150px;
    max-width: 180px;
  }

  .feature-image {
    width: 70px;
    height: 70px;
    padding: 12px;
  }

  .footer-main {
    padding: 60px 0 40px;
  }

  .newsletter-section {
    padding: 25px;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {

  .script-font {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .feature-item {
    min-width: 250px;
    max-width: 300px;
    margin-bottom: 0;
  }

  .feature-image {
    width: 90px;
    height: 90px;
    padding: 18px;
    margin-bottom: 15px;
  }

  .feature-item p {
    font-size: 1rem;
  }

  .partners-logos {
    gap: 30px;
  }

  .partner-logo {
    width: 120px;
    height: 120px;
  }

  .footer-top-wave {
    top: -49px;
    height: 50px;
  }

  .footer-widget {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-logo-wrapper {
    justify-content: center;
  }

  .widget-title::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-links a {
    justify-content: center;
  }

  .contact-info {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .newsletter-title {
    justify-content: center;
    text-align: center;
  }

  .newsletter-desc {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-bottom {
    text-align: center;
  }

  .copyright {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 330px;
    border-radius: 16px;
    margin-top: 64px;
  }

  .slider-controls-row {
    margin-top: 15px;
    padding: 0 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-content {
    padding: 0 16px;
  }

  .swiper-slide.slide-brand {
    padding-left: 5%;
  }

  .swiper-slide.slide-persian {
    padding-right: 5%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 38px;
    height: 38px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1rem;
  }

  .swiper-navigation-container {
    gap: 8px;
  }

  .hero-title-script {
    font-size: 2.1rem;
  }

  .hero-subtitle-brand {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .hero-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .custom-pagination {
    font-size: 0.95rem;
    gap: 2px;
  }

  .slide-number.active {
    font-size: 1.05rem;
  }

  .slide-separator {
    margin: 0 2px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .service-thumb {
    width: 260px;
    height: 220px;
  }

  .service-card {
    padding-top: 12px;
  }

  .service-caption {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .services-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px;
  }

  .services-cta .cta-text {
    order: 2;
  }

  .services-inner {
    padding: 0 12px;
  }

  .services-cta .cta-btn {
    position: static;
    transform: none;
    margin: 0 auto 12px;
    left: auto;
    top: auto;
    display: block;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .partner-logo {
    width: 120px;
    height: 120px;
  }

  .features-grid {
    padding: 0 10px;
  }

  .feature-item {
    min-width: 200px;
    max-width: 250px;
  }

  .feature-image {
    width: 150px;
    height: 120px;
    padding: 15px;
  }

  .newsletter-form .btn-primary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .newsletter-form .form-control {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .footer-main {
    padding: 50px 0 30px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-logo {
    font-size: 40px;
  }

  .footer-form button {
    width: 100%;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .hero-slider {
    height: 380px;
    border-radius: 18px;
    margin-top: 64px;
  }

  .slider-controls-row {
    margin-top: 20px;
    padding: 0 10px;
  }

  .hero-content {
    padding: 0 25px;
  }

  .swiper-slide.slide-brand {
    padding-left: 6%;
  }

  .swiper-slide.slide-persian {
    padding-right: 6%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 42px;
    height: 42px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.15rem;
  }

  .hero-title-script {
    font-size: 2.8rem;
  }

  .hero-subtitle-brand {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .custom-pagination {
    font-size: 1.05rem;
    gap: 4px;
  }

  .slide-number.active {
    font-size: 1.15rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .hero-slider {
    height: 420px;
  }
}

/* Dark Footer Specifics from catering.html */
.dark-contact-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0;
  position: relative;
  text-align: right;
}

.contact-form-label {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: block;
}

.dark-input {
  background-color: #2c2c2c;
  border: 1px solid #3d3d3d;
  color: #fff;
  padding: 12px 15px;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 15px;
  font-family: var(--font-persian);
}

.dark-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #333;
}

.submit-btn {
  background-color: #fff;
  color: var(--primary-color);
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

/* ========================================
           14. COMPLEX GALLERY LAYOUT (Reused from Catering)
        ======================================== */
.catering-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.gallery-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.gallery-col-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: translateY(-5px);
}

/* Specific heights for the design look */
.gallery-top-row .gallery-image {
  height: 320px;
}

.gallery-col-stack .gallery-image {
  height: 240px;
}

.gallery-center-tall {
  display: flex;
  height: 100%;
}

.gallery-center-tall .gallery-image {
  height: 100%;
  min-height: 480px; /* 230 + 230 + 20 gap */
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-top-row .gallery-image {
    height: 270px;
  }
  .gallery-col-stack .gallery-image {
    height: 185px;
  }
  .gallery-center-tall .gallery-image {
    min-height: 390px; /* 185 + 185 + 20 gap */
  }
}

@media (max-width: 768px) {
  .gallery-top-row,
  .gallery-bottom-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gallery-top-row .gallery-image {
    height: 230px;
  }
  .gallery-col-stack {
    gap: 15px;
  }
  .gallery-col-stack .gallery-image {
    height: 210px;
  }
  .gallery-center-tall {
    height: auto;
  }
  .gallery-center-tall .gallery-image {
    min-height: unset;
    height: 270px;
  }
}

/* Hero content for catering pages */
.hero-content h1[style*="Vazirmatn"] {
  font-family: "Vazirmatn", sans-serif !important;
  font-size: 3rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-content h1[style*="Vazirmatn"] {
    font-size: 2rem;
  }

  .swiper-slide.slide-brand {
    background-position: left center;
  }
}

/* ========================================
           NEW FOOTER STYLES
        ======================================== */
.new-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.footer-logo-section {
  padding-bottom: 20px;
  position: relative;
}

.footer-brand {
  font-family: var(--font-script), "Great Vibes", cursive; /* Using script font for 'Tarla' */
  font-size: 5rem;
  color: #b91d47; /* Slightly brighter red/pinkish from image */
  line-height: 1;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}
.footer-brand sup {
  font-size: 1rem;
  top: -2.5em;
  color: #b91d47;
  font-family: var(--font-persian), sans-serif;
}

.footer-phone-icon {
  position: absolute;
  left: 0;
  top: 50px;
  opacity: 0.1;
  transform: rotate(-15deg);
  pointer-events: none;
}
.footer-phone-icon svg path {
  stroke: #b91d47;
  stroke-width: 1;
  fill: none;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
  border-right: 3px solid #b91d47;
  padding-right: 15px;
}

.footer-contact-info {
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-form-section {
  padding-bottom: 40px;
}

.footer-form-title {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-form .form-group {
  margin-bottom: 15px;
}

.footer-form input,
.footer-form textarea {
  background-color: #333;
  border: none;
  border-radius: 0;
  color: #fff;
  padding: 12px;
  width: 100%;
  font-family: var(--font-persian);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #bbb;
}

.footer-form .row {
  margin-left: -5px;
  margin-right: -5px;
}
.footer-form .col-6 {
  padding-left: 5px;
  padding-right: 5px;
}

.btn-footer-submit {
  background-color: #e0e0e0;
  color: #8b1538;
  border: none;
  padding: 10px 40px;
  font-weight: bold;
  font-family: var(--font-persian);
  cursor: pointer;
  transition: background 0.3s;
}

.btn-footer-submit:hover {
  background-color: #fff;
}

.footer-bottom-bar {
  background-color: #8b1538;
  color: #fff;
  padding: 15px 0;
  font-size: 0.9rem;
  text-align: left; /* Image shows text on left (ltr context) but persian is rtl... let's follow image: 'Copy Right. All Reserved' is english */
  direction: ltr;
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
}

/* ========================================
           8. CONTACT US PAGE (NEW)
        ======================================== */

/* --- Hero Section --- */
.cu-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 86px;
  overflow: hidden;
}

.cu-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 11, 19, 0.8), rgba(139, 21, 56, 0.75));
}

.cu-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.cu-hero-script {
  font-family: var(--font-script);
  font-size: 3.5rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1;
}

.cu-hero-title {
  font-family: var(--font-persian);
  font-size: 3.5rem;
  font-weight: 900;
  margin: 10px 0 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cu-hero-divider {
  width: 80px;
  height: 4px;
  background: #fff;
  margin: 0 auto 20px;
  border-radius: 2px;
}

.cu-hero-sub {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cu-hero { height: 380px; }
  .cu-hero-script { font-size: 2.8rem; }
  .cu-hero-title { font-size: 2.5rem; }
}

/* --- Section Layout --- */
.cu-section {
  padding: 80px 0;
  background: #fdfdfd;
}

.cu-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.cu-label {
  display: inline-block;
  background: rgba(139, 21, 56, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cu-section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.cu-section-desc {
  color: #666;
  font-size: 1.1rem;
}

.cu-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .cu-grid { grid-template-columns: 1fr; }
}

/* --- Info Cards --- */
.cu-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cu-info-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; 
  transform: translateY(20px); /* for JS animation */
}
.cu-visible {
  opacity: 1;
  transform: translateY(0);
}

.cu-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 21, 56, 0.15);
}

.cu-info-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(139, 21, 56, 0.08); /* light primary bg */
  color: var(--primary-color);
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.cu-info-card:hover .cu-info-icon-wrap {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) rotate(-10deg);
}

.cu-info-body h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.cu-info-body p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* --- Social Links --- */
.cu-social {
  margin-top: 20px;
  text-align: center;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cu-social-label {
  display: block;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.cu-social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cu-social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.cu-social-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Contact Form --- */
.cu-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
/* decorative blobe behind form logic could be added here */

.cu-form-header {
  margin-bottom: 30px;
}
.cu-form-header h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; }
.cu-form-header p { color: #666; }

.cu-alert-success {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cu-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.cu-form-row--single { grid-template-columns: 1fr; }

@media (max-width: 576px) {
  .cu-form-row { grid-template-columns: 1fr; }
}

.cu-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #444;
}
.cu-required { color: #d9534f; }

.cu-input-wrap {
  position: relative;
}

.cu-input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.3s;
}

.cu-textarea-icon {
  top: 20px;
  transform: none;
}

.cu-input-wrap input,
.cu-input-wrap textarea {
  width: 100%;
  padding: 14px 45px 14px 15px; /* right padding for icon */
  border: 2px solid #eee;
  border-radius: 12px;
  font-family: var(--font-persian);
  font-size: 1rem;
  background: #fbfbfb;
  transition: all 0.3s ease;
}

.cu-input-wrap input:focus,
.cu-input-wrap textarea:focus {
  border-color: var(--primary-color);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 21, 56, 0.1);
}

.cu-input-wrap input:focus + .cu-input-icon, /* actually icon is before in HTML but let's fix via selector or just handle input focus style */
.cu-input-wrap:focus-within .cu-input-icon {
  color: var(--primary-color);
}

.cu-field-error {
  font-size: 0.85rem;
  margin-top: 5px;
  color: #dc3545;
  display: block;
}

.cu-submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-persian);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 10px 20px rgba(139, 21, 56, 0.3);
}

.cu-submit-btn:hover {
  background: #a31841;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(139, 21, 56, 0.4);
}

/* --- Map Section --- */
.cu-map-section {
  padding: 60px 0 0;
}

/* Map section header */
.cu-map-header {
  text-align: center;
  margin-bottom: 30px;
}

/* Leaflet map container */
#contact-map {
  width: 100%;
  height: 480px;
  border-radius: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

/* Caption bar below map */
.cu-map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  background: #fff;
  border-top: 3px solid var(--primary-color);
  font-size: 0.95rem;
  color: #444;
  flex-wrap: wrap;
}

.cu-map-caption i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.cu-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cu-map-link:hover { opacity: 0.75; }

/* Animation utilities */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
