/*
Theme Name: Hotel Pasargad Jahrom
Theme URI: https://github.com/hadibehnampour0-sketch/hotel-pasargad-jahrom
Author: Pasargad Team
Author URI: https://hotelpasargad.ir
Description: قالب اختصاصی، سبک، سریع و ریسپانسیو هتل و هتل‌آپارتمان پاسارگاد جهرم. طراحی شده با بالاترین استانداردهای بصری هتلداری، پشتیبانی کامل RTL و فونت فارسی وزیرمتن.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotel-pasargad
Domain Path: /languages
*/

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --primary: #c2923f;
  --primary-hover: #a8792b;
  --primary-light: #fbf5eb;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & Navigation */
.site-topbar {
  background-color: var(--secondary);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  max-width: 1400px;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 15px;
}
.site-branding {
  flex-shrink: 0;
}
.site-branding a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-branding .site-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(194, 146, 63, 0.45));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.site-branding:hover .site-logo-img {
  transform: scale(1.1) rotate(2deg);
}
.site-branding .logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  white-space: nowrap;
}
.site-branding .logo-title span {
  color: var(--primary);
}
.site-branding .logo-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 3px;
}
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(10px, 1.4vw, 22px);
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-menu li {
  white-space: nowrap;
}
.nav-menu a {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
  padding: 6px 2px;
  position: relative;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-menu a:hover {
  color: var(--primary);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-menu a:hover::after {
  width: 100%;
}
.header-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #d4a34b, #b37f2d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(194, 146, 63, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #b37f2d, #92641e);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-whatsapp {
  background-color: #25D366;
  color: white;
}
.btn-whatsapp:hover {
  background-color: #1eb856;
  color: white;
}
.btn-eitaa {
  background-color: #ff6600;
  color: white;
}
.btn-eitaa:hover {
  background-color: #e65c00;
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(30, 41, 59, 0.88) 100%), url('images/hotel-exterior-day.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 0 130px;
  text-align: center;
  border-bottom: 1px solid rgba(194, 146, 63, 0.2);
}
.hero-badge {
  display: inline-block;
  background: rgba(194, 146, 63, 0.25);
  border: 1px solid rgba(194, 146, 63, 0.6);
  color: #f1cf8c;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}
.hero-title span {
  color: #e5b869;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 35px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Quick Booking Bar */
.booking-bar-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.booking-bar {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
  gap: 18px;
  align-items: flex-end;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background-color: #fff;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 146, 63, 0.15);
}

/* Sections Common */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.room-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.room-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-card:hover .room-image img {
  transform: scale(1.06);
}
.room-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.room-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.room-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}
.room-meta {
  display: flex;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feature-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}
.room-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}
.room-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.room-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.feature-box {
  background: var(--white);
  padding: 30px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary);
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Restaurant Highlight */
.restaurant-section {
  background: var(--secondary);
  color: #fff;
  padding: 80px 0;
}
.restaurant-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.restaurant-content .section-tag {
  color: #e5b869;
}
.restaurant-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.4;
}
.restaurant-content p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 25px;
}
.restaurant-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Jahrom Sightseeing Section */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.place-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.place-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.place-info {
  padding: 20px;
}
.place-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}
.place-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: var(--primary);
  padding-right: 4px;
}
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* ======================================================== */
/* MOBILE NAVIGATION & RESPONSIVE SYSTEM                    */
/* ======================================================== */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: var(--bg-light);
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85vw;
  max-width: 330px;
  background: #0f172a;
  color: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.4);
  overflow-y: auto;
}
body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
}
body.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}
body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(194, 146, 63, 0.5));
}
.mobile-nav-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.mobile-nav-close:hover {
  background: rgba(255,255,255,0.25);
}

.mobile-nav-links {
  list-style: none;
  padding: 15px 0;
  margin: 0;
  flex: 1;
}
.mobile-nav-links li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-links a {
  display: block;
  padding: 14px 22px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: rgba(194, 146, 63, 0.15);
  color: #f1cf8c;
}

.mobile-nav-cta {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.3);
}

/* Mobile Bottom Floating Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(194, 146, 63, 0.35);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 4px 6px;
}
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  flex: 1;
  height: 100%;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.bottom-bar-item .bar-icon {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.bottom-bar-item.call-action:hover, .bottom-bar-item.call-action:active {
  color: #f1cf8c;
}
.bottom-bar-item.eitaa-action {
  color: #ff9933;
}
.bottom-bar-item.whatsapp-action {
  color: #25d366;
}
.bottom-bar-item.book-action {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  margin: 4px 2px;
  height: 50px;
}

/* Responsive Grids & Layout Classes */
.map-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  align-items: start;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 60px;
}
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}
.room-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title { font-size: 2.1rem; }
  .booking-form { grid-template-columns: 1fr; }
  .restaurant-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  
  .map-layout-grid,
  .about-intro-grid,
  .contact-layout-grid,
  .room-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for Mobile Bottom Bar */
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .site-topbar .topbar-wrapper {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .topbar-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .topbar-info span {
    border: none !important;
    padding: 0 !important;
  }
  .header-booking-btn {
    display: none; /* Accessible in the bottom floating bar */
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .rooms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-branding .logo-title { font-size: 1.05rem; }
  .site-branding .logo-subtitle { font-size: 0.68rem; }
  .site-branding .site-logo-img { width: 40px; height: 40px; }
  .section { padding: 45px 0; }
  .container { padding-left: 14px; padding-right: 14px; }
}
