/*
Theme Name: Aman Safar
Theme URI: https://amansafar.com
Description: قالب أمان سفر - نقل بري دولي فاخر
Author: Ali Smarah
Author URI: https://cs755.com
Template: twentytwenty
Version: 2.0.0
Text Domain: amansafar
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    --gold:      #C9A84C;
    --gold-dark: #a07830;
    --gold-dim:  rgba(201,168,76,0.15);
    --gold-brd:  rgba(201,168,76,0.25);
    --text:      #1a1a1a;
    --text-mid:  #555;
    --text-soft: #999;
    --bg:        #ffffff;
    --bg-alt:    #f8f9fa;
    --border:    rgba(0,0,0,0.08);
    --radius:    18px;
    --radius-sm: 10px;
    --ease:      0.3s cubic-bezier(0.4,0,0.2,1);
    --font:      'Tajawal','Segoe UI',sans-serif;
    --nav-h:     68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    background: var(--bg) !important;
    color: var(--text) !important;
    font-family: var(--font) !important;
    direction: rtl !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; }

/* ====== HEADER ====== */
.as-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    height: var(--nav-h);
}
.as-header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 1.5rem;
    display: flex; align-items: center;
    justify-content: space-between;
    height: 100%;
}
.as-logo {
    display: block;
    width: 145px; height: 42px;
    background: url('https://amansafar.com/wp-content/uploads/2026/05/aman-safar-private-transport-logo-removebg-preview.webp')
    no-repeat right center / contain;
    flex-shrink: 0;
}

/* ====== DESKTOP NAV ====== */
.as-nav { display: flex; align-items: center; }
.as-menu {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 0.2rem;
}
.as-menu li { position: relative; }
.as-menu a {
    display: flex; align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-mid); font-family: var(--font);
    border-radius: 8px; transition: all var(--ease);
    white-space: nowrap;
}
.as-menu a:hover,
.as-menu .current-menu-item a {
    color: var(--gold);
    background: var(--gold-dim);
}

/* ====== HAMBURGER ====== */
.as-hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none;
    cursor: pointer; padding: 0;
    z-index: 100001;
}
.as-hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--gold);
    border-radius: 3px;
    transition: 0.3s;
    transform-origin: center;
}
.as-hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.as-hamburger.active span:nth-child(2) { opacity: 0; }
.as-hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ====== NAV OVERLAY ====== */
.as-nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ====== MOBILE NAV ====== */
.as-mobile-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: -320px;
    width: 300px; height: 100vh;
    background: #fff;
    z-index: 100000;
    padding: 1.5rem;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    transition: right 0.3s;
}
.as-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.as-mobile-nav-header .as-logo { width: 130px; height: 38px; }
.as-close-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; font-size: 1.1rem;
    cursor: pointer; color: var(--text-soft);
    border: 1px solid var(--border); border-radius: 50%;
    background: none; font-family: var(--font);
}
.as-mobile-nav .as-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}
.as-mobile-nav .as-menu a {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
}
.as-mobile-nav .as-menu a:hover { background: var(--gold-dim); color: var(--gold); }
.as-mobile-nav .as-menu .current-menu-item a { background: var(--gold-dim); color: var(--gold); font-weight: 800; }

@media (max-width: 900px) {
    .as-nav { display: none !important; }
}
.as-close-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.as-mobile-nav .as-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}
.as-mobile-nav .as-menu a {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
}
.as-mobile-nav .as-menu a:hover {
    background: var(--gold-dim);
    color: var(--gold);
}
.as-mobile-nav .as-menu .current-menu-item a {
    background: var(--gold-dim);
    color: var(--gold);
    font-weight: 800;
}

/* ====== HAMBURGER ANIMATION ====== */
#asMenuToggle:checked ~ .as-header .as-hamburger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg) !important;
}
#asMenuToggle:checked ~ .as-header .as-hamburger span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
#asMenuToggle:checked ~ .as-header .as-hamburger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg) !important;
}

/* ====== HIDE DESKTOP NAV ON MOBILE ====== */
@media (max-width: 900px) {
    .as-nav { display: none !important; }
}

/* ====== HAMBURGER ANIMATION (mobile fix) ====== */
#asMenuToggle:checked ~ .as-header .as-hamburger span { background: var(--gold) !important; }

/* ====== HIDE ALL TWENTY TWENTY ====== */
#site-header, .site-header,
#site-navigation, .primary-menu-wrapper,
.menu-modal, .search-modal, .search-toggle,
.nav-toggle-bar, .toggle-inner,
.toggle-inner .toggle-text,
.entry-header, h1.entry-title, h2.entry-title,
.singular .intro-text,
#site-footer .footer-nav,
#site-footer .powered-by,
#site-footer .footer-credits,
#site-footer .to-the-top,
#site-footer .section-inner,
.cover-modal, .mobile-menu-wrapper,
.header-footer-group { display: none !important; }

/* ====== MAIN ====== */
#site-content, .site-main, main,
.entry-content, .page-content {
    background: var(--bg) !important;
    color: var(--text) !important;
    padding-top: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
}
.post-inner { padding-top: 0 !important; }
.entry-content > *:first-child { margin-top: 0 !important; }

/* ====== HOMEPAGE SECTIONS ====== */
.as-section {
    padding: 5rem 0;
}
.as-section-alt { background: var(--bg-alt); }
.as-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.as-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.as-section-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700;
    color: var(--gold); letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--gold-brd);
    border-radius: 100px; padding: 0.35rem 1.4rem;
    margin-bottom: 1rem;
    background: var(--gold-dim);
}
.as-section-title {
    font-size: clamp(1.8rem,4vw,2.6rem) !important;
    font-weight: 900 !important;
    color: var(--text) !important;
    font-family: var(--font) !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.3 !important;
}
.as-section-desc {
    font-size: 1rem; color: var(--text-soft);
    max-width: 560px; margin: 0 auto;
    line-height: 1.8;
}
.as-section-divider {
    border: none; height: 1px;
    background: linear-gradient(to left, transparent, var(--gold-brd), var(--gold-brd), transparent);
    margin: 0;
}

/* ====== HERO ====== */
.as-hero {
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.as-hero::before {
    content: '';
    position: absolute;
    top: -300px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--gold-dim) 0%, transparent 65%);
    pointer-events: none;
}
.as-hero-inner {
    max-width: 820px; margin: 0 auto;
    text-align: center; position: relative; z-index: 1;
}
.as-hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--gold-dim);
    border: 1px solid var(--gold-brd);
    border-radius: 100px; padding: 0.45rem 1.4rem;
    font-size: 0.78rem; font-weight: 700;
    color: var(--gold); letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 2rem;
}
.as-hero-dot {
    width: 7px; height: 7px;
    background: var(--gold); border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: asDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes asDotPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(1.4); }
}
.as-hero-title {
    font-size: clamp(2.2rem,6vw,4.2rem) !important;
    font-weight: 900 !important;
    color: var(--text) !important;
    font-family: var(--font) !important;
    line-height: 1.15 !important;
    margin-bottom: 1.2rem !important;
}
.as-hero-title .as-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #f0d060 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.as-hero-desc {
    font-size: clamp(0.95rem,2vw,1.15rem);
    color: var(--text-soft); line-height: 1.85;
    max-width: 580px; margin: 0 auto 2.5rem;
}
.as-hero-actions {
    display: flex; align-items: center;
    justify-content: center; gap: 1rem;
    flex-wrap: wrap; margin-bottom: 0;
}
.as-btn-gold {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff !important; font-family: var(--font);
    font-weight: 800; font-size: 1rem;
    padding: 0.95rem 2rem; border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
    transition: all var(--ease);
}
.as-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
.as-btn-outline {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: transparent; color: var(--text-mid) !important;
    font-family: var(--font); font-weight: 600; font-size: 1rem;
    padding: 0.95rem 2rem; border-radius: 12px;
    border: 1.5px solid var(--border); text-decoration: none !important;
    transition: all var(--ease);
}
.as-btn-outline:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ====== DESTINATIONS GRID ====== */
.as-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.as-dest-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none !important;
    transition: all var(--ease);
    display: block;
}
.as-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: var(--gold-brd);
}
.as-dest-img-wrap {
    height: 200px; overflow: hidden;
    position: relative;
}
.as-dest-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.as-dest-body { padding: 1.2rem 1.2rem 1.5rem; }
.as-dest-flags {
    font-size: 0.75rem; font-weight: 700;
    color: var(--gold); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.4rem;
}
.as-dest-route {
    font-size: 1.1rem; font-weight: 800;
    color: var(--text); margin-bottom: 0.5rem;
}
.as-dest-text {
    font-size: 0.85rem; color: var(--text-soft);
    line-height: 1.7; margin-bottom: 0.8rem;
}
.as-dest-link {
    font-size: 0.85rem; font-weight: 700;
    color: var(--gold);
}

/* ====== FEATURES ====== */
.as-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.as-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--ease);
}
.as-feature-card:hover {
    border-color: var(--gold-brd);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.as-feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.as-feature-title {
    font-size: 1.1rem; font-weight: 800;
    color: var(--text); font-family: var(--font);
    margin-bottom: 0.6rem;
}
.as-feature-desc {
    font-size: 0.88rem; color: var(--text-soft);
    line-height: 1.7;
}

/* ====== BOOKING FORM ====== */
.as-booking-wrapper {
    max-width: 700px; margin: 0 auto;
}
.as-booking-card {
    background: #fff;
    border: 1px solid var(--gold-brd);
    border-radius: var(--radius);
    padding: 2.5rem 2.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    position: relative; overflow: hidden;
}
.as-booking-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.as-form-header { text-align: center; margin-bottom: 1.8rem; }
.as-header-icon { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.6rem; display: block; }
.as-form-title {
    font-size: clamp(1.3rem,3vw,1.7rem) !important;
    font-weight: 800 !important; color: var(--text) !important;
    font-family: var(--font) !important; margin-bottom: 0.4rem !important;
}
.as-form-subtitle { font-size: 0.85rem !important; color: var(--text-soft) !important; }
.as-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, var(--gold-brd), var(--gold), var(--gold-brd), transparent);
    margin-bottom: 2rem;
}
.as-input-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.2rem; margin-bottom: 1.8rem;
}
.as-full-width { grid-column: 1/-1; }
.as-input-group { display: flex; flex-direction: column; gap: 0.4rem; }
.as-label {
    font-size: 0.78rem; font-weight: 700;
    color: var(--text-mid); letter-spacing: 0.07em;
    display: flex; align-items: center; gap: 0.35rem; font-family: var(--font);
}
.as-field {
    width: 100%;
    background: var(--bg-alt) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.8rem 1rem !important;
    color: var(--text) !important;
    font-family: var(--font) !important;
    font-size: 0.93rem !important;
    outline: none !important;
    -webkit-appearance: none;
    direction: rtl;
    transition: border-color var(--ease), box-shadow var(--ease) !important;
}
.as-field::placeholder { color: #bbb !important; }
.as-field:focus {
    border-color: var(--gold) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px var(--gold-dim) !important;
}
.as-field option { background: #fff !important; color: var(--text) !important; }
.as-select-wrapper { position: relative; }
.as-select-wrapper .as-field { padding-left: 2.2rem !important; cursor: pointer; }
.as-select-arrow {
    position: absolute; left: 0.9rem; top: 50%;
    transform: translateY(-50%);
    color: var(--gold); font-size: 0.75rem; pointer-events: none;
}
.as-submit-btn {
    position: relative; display: flex; align-items: center;
    justify-content: center; gap: 0.6rem; width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold));
    background-size: 200% 100%;
    border: none; border-radius: var(--radius-sm);
    color: #fff; font-family: var(--font);
    font-size: 1rem; font-weight: 700; cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
    transition: all var(--ease);
}
.as-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
.as-btn-shimmer {
    position: absolute; top: 0; left: -100%;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-18deg);
}
.as-submit-btn:hover .as-btn-shimmer { left: 140%; transition: left 0.55s ease; }
.as-btn-text { position: relative; z-index: 1; }

/* ====== FOOTER ====== */
.as-footer {
    background: #0a0a0a;
    padding: 4rem 1.5rem 0;
    font-family: var(--font);
    direction: rtl;
    position: relative;
    margin-top: 3rem;
}
.as-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.as-footer-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.as-footer-col { display: flex; flex-direction: column; gap: 1rem; }
.as-footer-logo {
    display: block;
    width: 160px; /* تم تكبير العرض قليلاً ليتناسب مع أبعاد اللوغو الجديد */
    height: 48px;
    background: url('https://amansafar.com/wp-content/uploads/2026/05/aman-safar-dark-luxury-logo.webp') no-repeat right center / contain;
    transition: transform var(--ease);
}

.as-footer-logo:hover {
    transform: scale(1.05);
}
.as-footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin: 0;
}
.as-footer-social { display: flex; gap: 0.6rem; }
.as-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    text-decoration: none !important;
    transition: all var(--ease);
}
.as-social-link:hover { color: var(--gold); border-color: var(--gold); }
.as-footer-heading {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    margin: 0 0 0.5rem !important;
    font-family: var(--font) !important;
}
.as-footer-links {
    list-style: none !important;
    padding: 0 !important; margin: 0 !important;
    display: flex; flex-direction: column; gap: 0.65rem;
}
.as-footer-links li { margin: 0; }
.as-footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none !important;
    transition: all var(--ease);
    display: inline-flex; align-items: center; gap: 0.3rem;
}
.as-footer-links a:hover { color: #fff; padding-right: 5px; }
.as-footer-bottom {
    max-width: 1140px; margin: 0 auto;
    padding: 1.2rem 0 1rem;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.as-footer-bottom span,
.as-footer-bottom a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
}
.as-footer-bottom a:hover { color: var(--gold); }
.as-footer-dev {
    max-width: 1140px; margin: 0 auto;
    padding: 0.5rem 0 1.5rem;
    display: flex; align-items: center;
    justify-content: center; gap: 0.5rem; flex-wrap: wrap;
}
.as-footer-dev span { font-size: 0.74rem; color: rgba(255,255,255,0.2); }
.as-footer-dev a {
    font-size: 0.74rem; font-weight: 600;
    color: var(--gold); text-decoration: none;
}
.as-footer-dev a:hover { color: #f0d060; }
.as-dev-dot {
    width: 3px; height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%; display: inline-block;
}

/* ====== BOTTOM NAV (MOBILE) ====== */
.as-bottom-nav { display: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .as-nav { display: none; }
    .as-hamburger { display: flex; }
    .as-nav-overlay { display: block; }
    .as-mobile-nav { display: flex; flex-direction: column; }
}

@media (max-width: 768px) {
    body { padding-bottom: 68px !important; }
    .as-header-inner { padding: 0 1rem; }
    .as-hero { padding: 4rem 1rem 3rem; }
    .as-section { padding: 3rem 0; }
    .as-container { padding: 0 1rem; }
    .as-dest-grid { grid-template-columns: 1fr; gap: 1rem; }
    .as-features-grid { grid-template-columns: 1fr; }
    .as-input-grid { grid-template-columns: 1fr; }
    .as-full-width { grid-column: 1; }
    .as-booking-card { padding: 1.8rem 1.2rem; }
    .as-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .as-footer { padding: 3rem 1rem 0; }
    .as-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .as-footer-dev { padding-bottom: calc(68px + 1rem); }

    .as-bottom-nav {
        display: flex !important;
        align-items: center; justify-content: space-around;
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 99999; height: 64px;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        border-top: 2px solid var(--gold-brd);
        padding-bottom: env(safe-area-inset-bottom,0);
        box-shadow: 0 -4px 28px rgba(0,0,0,0.1);
        direction: rtl;
    }
    .as-nav-item {
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 3px; flex: 1; height: 100%;
        color: #888; text-decoration: none; position: relative;
        -webkit-tap-highlight-color: transparent;
        transition: color var(--ease), transform var(--ease);
    }
    .as-nav-item:active { transform: scale(0.88); }
    .as-nav-item:hover, .as-nav-item.as-active { color: var(--gold); }
    .as-nav-item.as-active::after {
        content: ''; position: absolute; bottom: 5px;
        width: 4px; height: 4px;
        background: var(--gold); border-radius: 50%;
    }
    .as-nav-icon { display: flex; align-items: center; justify-content: center; }
    .as-nav-label { font-size: 0.6rem; font-weight: 600; font-family: var(--font); }
    .as-nav-whatsapp { color: #25D366; position: relative; top: -8px; }
    .as-whatsapp-bubble {
        background: linear-gradient(135deg,#25D366,#128C7E);
        border-radius: 50%; width: 50px; height: 50px;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 4px 18px rgba(37,211,102,0.4),
                    0 0 0 4px rgba(255,255,255,0.97);
    }
}

@media (max-width: 480px) {
    .as-footer-inner { grid-template-columns: 1fr; }
}
/* ====== CSS HAMBURGER TOGGLE (NO JS) ====== */
.as-menu-toggle { display: none !important; }

/* Checkbox checked = menu open */
.as-menu-toggle:checked ~ .as-nav-overlay {
    opacity: 1 !important;
    pointer-events: all !important;
}
.as-menu-toggle:checked ~ .as-mobile-nav {
    right: 0 !important;
}

/* Hamburger animation on checked */
.as-menu-toggle:checked + .as-hamburger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg) !important;
}
.as-menu-toggle:checked + .as-hamburger span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
.as-menu-toggle:checked + .as-hamburger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg) !important;
}

.as-overlay-close {
    display: block;
    position: fixed; inset: 0;
    cursor: default;
}
.as-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all var(--ease);
}
.as-close-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Show hamburger on ALL devices */
.as-hamburger {
    display: flex !important;
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
    .as-nav { display: none !important; }
}
/* ====== HIDE HAMBURGER ON DESKTOP ====== */
@media (min-width: 901px) {
    .as-hamburger { display: none !important; }
    .as-nav { display: flex !important; }
}
@media (max-width: 900px) {
    .as-nav { display: none !important; }
    .as-hamburger { display: flex !important; }
}
/* --- Floating WhatsApp --- */
.as-whatsapp-float {
    position: fixed; bottom: 40px; left: 40px;
    display: flex; align-items: center;
    flex-direction: row-reverse; gap: 15px;
    z-index: 99999;
    text-decoration: none !important;
}
.as-whatsapp-icon-wrap {
    width: 65px; height: 65px;
    background-color: #25D366; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    animation: asPulseWhatsapp 2s infinite;
}
.as-whatsapp-icon-wrap svg { width: 35px; height: 35px; }
.as-whatsapp-tooltip {
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #D4AF37; padding: 10px 18px;
    border-radius: 30px; font-size: 14px; font-weight: 700;
    border: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0; transform: translateX(-15px);
    transition: all 0.4s ease;
    white-space: nowrap; pointer-events: none;
}
.as-whatsapp-float:hover .as-whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.as-whatsapp-float:hover .as-whatsapp-icon-wrap {
    transform: scale(1.1) rotate(10deg);
    background-color: #20ba5a;
}
@keyframes asPulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) {
    .as-whatsapp-float { bottom: 90px; left: 20px; }
    .as-whatsapp-icon-wrap { width: 55px; height: 55px; }
    .as-whatsapp-tooltip { display: none; }
}

/* =========================================================
   CONTACT FORM 7 - LUXURY UNIFIED STYLE (Aman Safar)
========================================================= */

/* الغلاف الخارجي للنموذج (يطابق بطاقة الحجز المبرمجة) */
.wpcf7 {
    background: #fff !important;
    border: 1px solid var(--gold-brd) !important;
    border-radius: var(--radius) !important;
    padding: 2.5rem 2.2rem !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06) !important;
    max-width: 700px !important;
    margin: 2rem auto !important;
    position: relative !important;
    overflow: hidden !important;
    direction: rtl !important;
}

/* الخط الذهبي العلوي الجمالي */
.wpcf7::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* إخفاء أي هوامش مزعجة يضيفها CF7 افتراضياً */
.wpcf7 form p { margin-bottom: 1rem !important; }

/* العناوين (Labels) */
.wpcf7 form label {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--text-mid) !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
    font-family: var(--font) !important;
}

/* الحقول والقوائم المنسدلة */
.wpcf7-form-control-wrap input:not([type="submit"]),
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100% !important;
    background: var(--bg-alt) !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.85rem 1rem !important;
    color: var(--text) !important;
    font-family: var(--font) !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: border-color var(--ease), box-shadow var(--ease) !important;
    box-sizing: border-box !important;
}

/* تأثير التركيز (Focus) - الهوية الذهبية */
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: var(--gold) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px var(--gold-dim) !important;
}

/* زر الإرسال الموحد (نفس زر الحجز) */
.wpcf7-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold)) !important;
    background-size: 200% 100% !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-family: var(--font) !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(201,168,76,0.35) !important;
    transition: all var(--ease) !important;
    margin-top: 1rem !important;
}

.wpcf7-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(201,168,76,0.5) !important;
    background-position: 100% 0 !important;
}

/* رسائل الخطأ والنجاح */
.wpcf7-response-output {
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid var(--gold) !important;
    background: var(--gold-dim) !important;
    color: var(--text) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin-top: 1.5rem !important;
    padding: 1rem !important;
    text-align: center !important;
    font-family: var(--font) !important;
}

/* تنبيه الحقول الإجبارية فارغة */
.wpcf7-not-valid-tip {
    font-size: 0.8rem !important;
    color: #e74c3c !important;
    font-weight: 700 !important;
    margin-top: 0.3rem !important;
    display: block !important;
}
/* =========================================================
   LUXURY BLOG GRID - أمان سفر
========================================================= */

.as-blog-main { background: var(--bg-alt); min-height: 80vh; }

.as-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.as-blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--ease);
    display: flex;
    flex-direction: column;
}

.as-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--gold-brd);
}

.as-blog-img-link {
    display: block;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.as-blog-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.as-blog-card:hover .as-blog-img {
    transform: scale(1.08);
}

/* في حال لم تضع صورة للمقال، سيظهر هذا المربع الأنيق */
.as-blog-img-placeholder {
    width: 100%; height: 100%;
    background: #0a0a0a; color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; font-family: var(--font);
}

.as-blog-content {
    padding: 1.5rem;
    display: flex; flex-direction: column; flex-grow: 1;
}

.as-blog-meta {
    font-size: 0.8rem; color: var(--text-soft);
    margin-bottom: 0.8rem; font-weight: 600;
}

.as-blog-title {
    font-size: 1.2rem !important; font-weight: 800 !important;
    line-height: 1.5 !important; margin: 0 0 0.8rem !important;
    font-family: var(--font) !important;
}

.as-blog-title a { color: var(--text); text-decoration: none; transition: color var(--ease); }
.as-blog-title a:hover { color: var(--gold); }

.as-blog-excerpt {
    font-size: 0.9rem; color: var(--text-mid);
    line-height: 1.7; margin-bottom: 1.5rem; flex-grow: 1;
}

.as-blog-readmore {
    display: inline-block; font-size: 0.9rem; font-weight: 700;
    color: var(--gold); align-self: flex-start;
    transition: all var(--ease);
}

.as-blog-readmore:hover { 
    color: var(--gold-dark); 
    transform: translateX(-5px); /* يتحرك لليسار قليلاً لأن الموقع عربي */
}

/* --- تنسيق أزرار التنقل (Pagination) --- */
.as-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.as-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px;
    background: #fff; border: 1px solid var(--border);
    color: var(--text); font-weight: 700; text-decoration: none;
    transition: all var(--ease); font-family: var(--font);
}
.as-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.as-pagination .page-numbers.current { background: var(--gold); color: #fff; border-color: var(--gold); }
/* =========================================================
   UNIFIED SINGLE POST STYLE - أمان سفر
========================================================= */

.as-single-main {
    background: var(--bg-alt);
    padding-bottom: 5rem;
}

/* 1. منطقة الهيرو العلوية للمقال */
.as-single-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    margin-bottom: 3rem;
}

.as-hero-content { max-width: 900px; margin: 0 auto; }
.as-meta-date { color: var(--gold); font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; display: block; }
.as-single-title { font-size: clamp(1.8rem, 4vw, 2.8rem) !important; font-weight: 900 !important; color: #fff !important; line-height: 1.3 !important; font-family: var(--font) !important; margin: 0 !important; }

/* 2. حاوية المحتوى والصورة */
.as-post-body { max-width: 850px; margin: 0 auto; }
.as-single-thumbnail { margin: -6rem auto 3rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.15); border: 2px solid var(--gold-brd); position: relative; z-index: 2; }
.as-single-thumbnail img { width: 100%; height: auto; display: block; }

/* 3. تنسيق نصوص جوتنبرج (المحتوى الفعلي) */
.as-post-content {
    background: #fff; padding: 3rem; border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border);
    font-size: 1.1rem; line-height: 1.9; color: var(--text);
}

/* العناوين داخل المقال */
.as-post-content h2 {
    font-size: 1.7rem; font-weight: 900; margin: 2.5rem 0 1.2rem;
    position: relative; padding-bottom: 0.8rem; color: #0a0a0a;
}
.as-post-content h2::after {
    content: ""; position: absolute; right: 0; bottom: 0;
    width: 60px; height: 4px; background: var(--gold); border-radius: 2px;
}
.as-post-content h3 { font-size: 1.3rem; font-weight: 800; margin: 2rem 0 1rem; color: #1a1a1a; }

/* الفقرات والقوائم */
.as-post-content p { margin-bottom: 1.2rem; }
.as-post-content ul, .as-post-content ol { margin: 0 0 1.5rem 0; padding-right: 1.5rem; }
.as-post-content li { margin-bottom: 0.5rem; font-weight: 600; }

/* الجداول (مثل جدول مقارنة الباص والسيارة) */
.as-post-content table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin: 2rem 0;
}
.as-post-content th { background: #0a0a0a; color: var(--gold); padding: 15px; text-align: center; font-weight: 800; }
.as-post-content td { background: #fff; padding: 15px; text-align: center; border-top: 1px solid var(--border); font-weight: 600; }

/* تفاصيل الأسئلة الشائعة (Details / Summary) */
.as-post-content details { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 15px; margin-bottom: 15px; cursor: pointer; transition: all var(--ease); }
.as-post-content details[open] { border-color: var(--gold); background: #fff; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1); }
.as-post-content summary { font-weight: 800; font-size: 1.1rem; color: var(--text); outline: none; }
.as-post-content details p { margin: 10px 0 0 0; font-size: 1rem; color: var(--text-mid); }

/* تحسينات الموبايل للمقال */
@media (max-width: 768px) {
    .as-single-hero { padding: 3rem 1rem 5rem; }
    .as-post-content { padding: 1.5rem; }
    .as-single-thumbnail { margin: -3rem auto 2rem; }
}
