/* ===== CSS للموقع الرئيسي ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3B8DF7;
    --secondary-color: #FF9830;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    
    /* Text colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    /* Border colors */
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    
    /* Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #4A9FFF;
    --secondary-color: #FFB84D;
    --dark-color: #e0e0e0;      /* <-- أضف هذا */
    --light-color: #2d2d2d;     /* <-- أضف هذا */
    --white: #ffffff;           /* <-- أضف هذا */
    
    /* Background colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #252525;
    
    /* Text colors */
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --text-color: #e0e0e0;
    
    /* Border colors */
    --border-color: #404040;
    --border-light: #353535;
    
    /* Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    direction: rtl;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-admin {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    padding: 0.4rem 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 80px;
    padding: 2rem;
    overflow: hidden; /* لضمان عدم خروج الخلفية المتحركة عن الحدود */
}

.hero-parallax-bg {
    position: absolute;
    top: -10%; /* تبدأ من أعلى قليلاً */
    left: 0;
    width: 100%;
    height: 120%; /* أطول من القسم لتغطية مساحة الحركة */
    background: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1920') center/cover;
    opacity: 0.3;
    z-index: 0;
    will-change: transform; /* لتحسين أداء المتصفح أثناء التحريك */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-search {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.search-box {
    display: flex;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.search-box button:hover {
    background: #1976d2;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 0;
    background: var(--light-color);
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* ===== Destinations Section ===== */
.destinations {
    padding: 5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

/* ===== Cities Section ===== */
.cities {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-card-content {
    padding: 1.5rem;
}

.destination-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.destination-card p {
    color: #666;
    margin-bottom: 1rem;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.destination-rating {
    color: #ffd700;
}

/* ===== Hotels Section ===== */
.hotels {
    padding: 5rem 0;
    background: var(--light-color);
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.hotel-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hotel-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hotel-card-content {
    padding: 1.5rem;
}

.hotel-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hotel-location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotel-stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.hotel-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Programs Section ===== */
.programs {
    padding: 5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-card-content {
    padding: 1.5rem;
}

.program-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    margin-bottom: 1rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-features i {
    color: var(--primary-color);
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.program-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

.program-duration {
    color: #666;
}

/* ===== About Section ===== */
.about {
    padding: 5rem 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== Contact Section ===== */
.contact {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #1976d2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1250px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .destinations-grid,
    .hotels-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Breadcrumb Section ===== */
.breadcrumb-section {
    padding: 2rem 0;
    background: var(--light-color);
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* ===== Country Header ===== */
.country-header {
    position: relative;
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.country-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.country-header .container {
    position: relative;
    z-index: 1;
}

.country-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.country-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ===== City Header ===== */
.city-header {
    position: relative;
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.city-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.city-header .container {
    position: relative;
    z-index: 1;
}

.city-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.city-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.city-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: #ffd700;
}

/* ===== Cities Section ===== */
.cities-section {
    padding: 5rem 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===== Category Tabs ===== */
.category-tabs {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 80px;
    z-index: 100;
    padding: 1rem 0;
}

.tabs-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--light-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 120px;
}

.category-tab i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.category-tab span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.category-tab:hover {
    background: #ddd;
    transform: translateY(-3px);
}

.category-tab.active {
    background: var(--primary-color);
    color: var(--white);
}

.category-tab.active i,
.category-tab.active span {
    color: var(--white);
}

/* ===== Content Sections ===== */
.category-content {
    background: var(--light-color);
}

.content-section {
    display: none;
    padding: 3rem 0;
}

.content-section.active {
    display: block;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===== Empty State ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.2rem;
}

/* ===== Restaurant Card ===== */
.restaurant-card,
.cafe-card,
.mall-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.restaurant-card:hover,
.cafe-card:hover,
.mall-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.restaurant-card img,
.cafe-card img,
.mall-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.card-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-meta i {
    color: var(--primary-color);
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.card-footer a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-footer a:hover {
    color: #1976d2;
}

/* ===== Hotel Footer Enhancement ===== */
.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
}

.hotel-rating i {
    color: #ffd700;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .country-header h1,
    .city-header h1 {
        font-size: 2rem;
    }

    .country-header p,
    .city-header p {
        font-size: 1rem;
    }

    .tabs-wrapper {
        justify-content: flex-start;
    }

    .category-tab {
        min-width: 100px;
        padding: 0.8rem 1rem;
    }

    .category-tab i {
        font-size: 1.2rem;
    }

    .category-tab span {
        font-size: 0.8rem;
    }

    .city-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
}

.gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery-btn i {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.image-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-thumbnails img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

.gallery-thumbnails img.active {
    border-color: var(--primary-color);
}

/* ===== Attraction Cards ===== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.attraction-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    overflow: hidden;
    cursor: pointer;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.attraction-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.attraction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.attraction-card:hover .attraction-img img {
    transform: scale(1.05);
}

.attraction-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.attraction-info {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.attraction-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.attraction-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.attraction-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.attraction-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
}

.attraction-map-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.attraction-map-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 600px) {
    .attractions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Details Section ===== */
.details-section {
    padding: 3rem 0;
    background: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.details-main {
    background: var(--white);
}

.details-header {
    margin-bottom: 2rem;
}

.details-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.details-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.rating-display i {
    color: #ffd700;
}

.item-category {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ===== Quick Info ===== */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: 3rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
}

.quick-info-item strong {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.quick-info-item span {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* ===== Full Description ===== */
.full-description {
    margin-bottom: 3rem;
}

.full-description h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.full-description h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.full-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.full-description ul {
    margin: 1rem 0 1rem 2rem;
    color: #666;
    line-height: 1.8;
}

/* ===== Amenities Section ===== */
.amenities-section,
.specialties-section,
.hours-section {
    margin-bottom: 3rem;
}

.amenities-section h2,
.specialties-section h2,
.hours-section h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.amenity-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.amenity-item span {
    color: var(--dark-color);
}

/* ===== Specialties List ===== */
.specialties-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.specialties-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    color: var(--dark-color);
}

.specialties-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===== Hours Section ===== */
.hours-list {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item strong {
    color: var(--dark-color);
}

.hours-item span {
    color: #666;
}

/* ===== Brand Categories ===== */
.brand-categories {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.brand-categories h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ===== Sidebar ===== */
.details-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* ===== Price Card ===== */
.price-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-display {
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.price-amount span {
    font-size: 2.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
}

/* ===== Contact Card ===== */
.contact-card,
.share-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.contact-card h3,
.share-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #666;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ===== Share Buttons ===== */
.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: #666;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Reviews Section ===== */
.reviews-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.reviews-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}
.review-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}
.review-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.review-author {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.review-author i {
    color: var(--primary-color);
    font-size: 1.2rem;
}
.review-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.review-stars {
    color: #ffd700;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
}
.review-form-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}
.star-rating-input input { display: none !important; }
.star-rating-input label {
    cursor: pointer;
    font-size: 1.8rem;
    color: #ddd;
    transition: color 0.2s;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffd700;
}

/* ===== Admin Reply on Reviews ===== */
.admin-reply {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(59, 141, 247, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--primary-color);
}
.admin-reply-header {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.admin-reply-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Related Section ===== */
.related-section {
    padding: 5rem 0;
    background: var(--light-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .gallery-main img {
        height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-thumbnails img {
        height: 80px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-sidebar {
        position: static;
    }

    .details-header h1 {
        font-size: 1.8rem;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .specialties-list {
        grid-template-columns: 1fr;
    }
}


/* City Article Styles */
.highlights-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.highlights-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* ===== Horizontal Scroll Sections ===== */
.scroll-container {
    position: relative;
    padding: 0 50px;
}

.scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
    padding-bottom: 1rem;
}

.scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1976d2;
}

/* Horizontal Grid */
.horizontal-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.horizontal-grid > * {
    flex: 0 0 320px;
    max-width: 320px;
}

/* Navigation Arrows */
.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.scroll-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav.prev {
    right: 0;
}

.scroll-nav.next {
    left: 0;
}

.scroll-nav i {
    font-size: 1.2rem;
}

.scroll-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-nav:disabled:hover {
    background: var(--white);
    color: inherit;
    transform: translateY(-50%);
}

/* Section Title with View All */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.view-all-btn:hover {
    color: #1976d2;
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-container {
        padding: 0 20px;
    }
    
    .horizontal-grid > * {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .scroll-nav {
        width: 35px;
        height: 35px;
    }
    
    .scroll-nav i {
        font-size: 1rem;
    }
}

/* ===== Lazy Loading Styles ===== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[data-src].loaded {
    opacity: 1;
}

/* Blur effect while loading */
img[data-src]:not(.loaded) {
    filter: blur(10px);
    transform: scale(1.1);
}

/* Skeleton Loading for Images */
.img-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: inherit;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Loading Skeleton Styles ===== */

/* Skeleton Base */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Card */
.skeleton-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 0 0 320px;
    max-width: 320px;
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton-content {
    padding: 1.5rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 80%;
}

.skeleton-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.skeleton-meta-item {
    height: 16px;
    width: 40%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* Skeleton Program Card */
.skeleton-program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 0 0 350px;
    max-width: 350px;
}

.skeleton-badge {
    height: 24px;
    width: 80px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 20px;
}

.skeleton-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.skeleton-feature {
    height: 16px;
    width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

.skeleton-price {
    height: 32px;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-button {
    height: 40px;
    width: 100px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 5px;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* ===== Error State ===== */
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #fff3cd;
    border-radius: 10px;
    border: 2px solid #ffc107;
}

.error-state i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.error-state p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.error-state .btn {
    margin-top: 1rem;
}

/* ===== Empty State Enhancement ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-color);
    border-radius: 10px;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.2rem;
    color: #999;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(-100%);
}

/* Toast Types */
.toast.success {
    border-right: 4px solid #10b981;
}

.toast.error {
    border-right: 4px solid #ef4444;
}

.toast.warning {
    border-right: 4px solid #f59e0b;
}

.toast.info {
    border-right: 4px solid #3b82f6;
}

/* Toast Icon */
.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}

.toast.error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast.warning .toast-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.toast.info .toast-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.toast-icon i {
    font-size: 14px;
}

/* Toast Content */
.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Toast Close Button */
.toast-close {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f3f4f6;
    color: var(--dark-color);
}

.toast-close i {
    font-size: 12px;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    transition: width linear;
}

.toast.success .toast-progress {
    color: #10b981;
}

.toast.error .toast-progress {
    color: #ef4444;
}

.toast.warning .toast-progress {
    color: #f59e0b;
}

.toast.info .toast-progress {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 90px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* RTL Support */
[dir="rtl"] .toast-container {
    left: auto;
    right: 20px;
}

[dir="rtl"] .toast {
    border-right: none;
    border-left: 4px solid;
}

[dir="rtl"] .toast.success {
    border-left-color: #10b981;
}

[dir="rtl"] .toast.error {
    border-left-color: #ef4444;
}

[dir="rtl"] .toast.warning {
    border-left-color: #f59e0b;
}

[dir="rtl"] .toast.info {
    border-left-color: #3b82f6;
}

[dir="rtl"] .toast {
    transform: translateX(100%);
}

[dir="rtl"] .toast.show {
    transform: translateX(0);
}

[dir="rtl"] .toast.hide {
    transform: translateX(100%);
}

[dir="rtl"] .toast-progress {
    right: auto;
    left: 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .toast-container {
        right: 10px;
        left: 10px;
    }
}

/* ===== Search Results ===== */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 10px;
}

.search-header {
    padding: 1rem 1.5rem;
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
}

.search-empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #999;
}

.search-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.search-empty p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.search-empty span {
    font-size: 0.9rem;
    color: #999;
}

.search-category {
    border-bottom: 1px solid #f3f4f6;
}

.search-category:last-child {
    border-bottom: none;
}

.search-category-title {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-category-title i {
    color: var(--primary-color);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-bottom: 1px solid #f3f4f6;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9fafb;
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.search-result-name mark {
    background: #fef3c7;
    color: #92400e;
    padding: 0 0.2rem;
    border-radius: 3px;
}

.search-result-meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-arrow {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.search-footer {
    padding: 1rem 1.5rem;
    text-align: center;
    background: #f9fafb;
    color: #666;
    font-size: 0.9rem;
    border-radius: 0 0 12px 12px;
}

/* Loading State */
.search-loading {
    padding: 2rem;
    text-align: center;
}

.search-loading i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-results {
        max-height: 400px;
        left: -20px;
        right: -20px;
    }
    
    .search-result-item {
        padding: 0.75rem 1rem;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
    }
}

/* ===== Dark Mode Toggle Button ===== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Hide/Show icons based on theme */
[data-theme="light"] .theme-toggle .fa-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .theme-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 1.2rem;
    }
}

/* ===== Dark Mode Card Styles ===== */
.destination-card,
.hotel-card,
.program-card,
.card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.destination-card:hover,
.hotel-card:hover,
.program-card:hover,
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-content h3,
.destination-card h3,
.hotel-card h3,
.program-card h3 {
    color: var(--text-primary);
}

.card-content p,
.destination-card p,
.hotel-card p,
.program-card p {
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #2d5f8d, #b36b1f);
}

/* Search Box */
.search-box {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
}

.search-box input {
    background: transparent;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content a {
    color: var(--text-secondary);
}

.footer-content a:hover {
    color: var(--primary-color);
}

/* Search Results */
.search-results {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:hover {
    background: var(--bg-secondary);
}

/* Toast Notifications */
.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.toast.success {
    border-right: 4px solid var(--success-color);
}

.toast.error {
    border-right: 4px solid var(--secondary-color);
}

.toast.warning {
    border-right: 4px solid var(--warning-color);
}

.toast.info {
    border-right: 4px solid var(--primary-color);
}

/* Dialog/Confirm Dark Mode */
.dialog-overlay {
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .dialog-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.dialog-box {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.dialog-title {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.dialog-message {
    color: var(--text-secondary);
}

/* Price Display */
.price,
.hotel-price,
.program-price {
    color: var(--primary-color);
}

/* Rating Stars */
.rating,
.hotel-stars,
.destination-rating {
    color: #ffd700;
}

[data-theme="dark"] .rating,
[data-theme="dark"] .hotel-stars,
[data-theme="dark"] .destination-rating {
    color: #ffed4e;
}

/* Badge Elements */
.badge,
.program-badge {
    background: var(--secondary-color);
    color: var(--white);
}

/* Back Button */
.back-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Selection Colors */
[data-theme="dark"] ::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Links */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* hr Elements */
hr {
    border-color: var(--border-color);
}

/* Code/Pre blocks (if any) */
code, pre {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* ===== COMPREHENSIVE DARK MODE FIXES ===== */

/* Features Section */
[data-theme="dark"] .features {
    background: var(--bg-secondary);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-card p {
    color: var(--text-secondary);
}

/* Section Headers */
[data-theme="dark"] .section-header h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
    color: var(--text-secondary);
}

/* Destination Cards */
[data-theme="dark"] .destination-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .destination-meta {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .destination-meta span {
    color: var(--text-secondary);
}

/* Hotels Section */
[data-theme="dark"] .hotels {
    background: var(--bg-secondary);
}

[data-theme="dark"] .hotel-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .hotel-card:hover {
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .hotel-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .hotel-location {
    color: var(--text-secondary);
}

/* Program Cards */
[data-theme="dark"] .program-card {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .program-card:hover {
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .program-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .program-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .program-features li {
    color: var(--text-secondary);
}

[data-theme="dark"] .program-footer {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .program-duration {
    color: var(--text-secondary);
}

/* About Section */
[data-theme="dark"] .about {
    background: var(--bg-secondary);
}

[data-theme="dark"] .about-text h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .about-text p {
    color: var(--text-secondary);
}

[data-theme="dark"] .about-list li {
    color: var(--text-secondary);
}

[data-theme="dark"] .about-image img {
    box-shadow: var(--shadow-md);
}

/* Contact Section */
[data-theme="dark"] .contact {
    background: var(--bg-primary);
}

[data-theme="dark"] .info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .info-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .info-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 159, 255, 0.2);
}

/* Footer */
[data-theme="dark"] .footer {
    background: #111111;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-section p {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-section ul li a {
    color: var(--text-muted);
}

[data-theme="dark"] .footer-section ul li a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .newsletter-form input {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .newsletter-form input::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border-color);
    color: var(--text-secondary);
}

/* Reviews Dark Mode */
[data-theme="dark"] .review-card {
    background: var(--bg-secondary);
}
[data-theme="dark"] .review-author {
    color: var(--text-primary);
}
[data-theme="dark"] .review-text {
    color: var(--text-secondary);
}
[data-theme="dark"] .admin-reply {
    background: rgba(74, 159, 255, 0.1);
}

/* Scroll Navigation Buttons */
[data-theme="dark"] .scroll-nav {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .scroll-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Skeleton Loading */
[data-theme="dark"] .skeleton-card,
[data-theme="dark"] .skeleton-program-card {
    background: var(--bg-card);
}

[data-theme="dark"] .skeleton-image,
[data-theme="dark"] .skeleton-title,
[data-theme="dark"] .skeleton-text,
[data-theme="dark"] .skeleton-meta-item,
[data-theme="dark"] .skeleton-badge,
[data-theme="dark"] .skeleton-feature,
[data-theme="dark"] .skeleton-price,
[data-theme="dark"] .skeleton-button {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, #3a3a3a 50%, var(--bg-secondary) 75%);
}

/* Empty State */
[data-theme="dark"] .empty-state {
    color: var(--text-muted);
}

[data-theme="dark"] .empty-state i {
    color: var(--text-muted);
}

/* Buttons */
[data-theme="dark"] .btn-secondary {
    background: transparent;
    border-color: var(--text-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}



/* ===== Language & Currency Selectors ===== */
.lang-selector, .currency-selector {
    position: relative;
}

.lang-selector-btn, .currency-selector-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: inherit;
}

.lang-selector-btn:hover, .currency-selector-btn:hover {
    background: var(--primary-color);
    color: white;
}

.lang-selector-btn i, .currency-selector-btn i {
    font-size: 1rem;
}

.lang-dropdown, .currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 160px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.show, .currency-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-option, .currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-primary, #333);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
    cursor: pointer;
}

.lang-option:hover, .currency-option:hover {
    background: rgba(59, 141, 247, 0.08);
}

.lang-option.active, .currency-option.active {
    background: rgba(59, 141, 247, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

/* LTR Support */
html[dir="ltr"] .lang-dropdown, html[dir="ltr"] .currency-dropdown {
    right: auto;
    left: 0;
}

html[dir="ltr"] .destination-meta span:last-child i {
    transform: rotate(180deg);
}

html[dir="ltr"] body {
    text-align: left;
}

/* Responsive */
@media (max-width: 1250px) {
    .lang-selector, .currency-selector {
        width: 100%;
        text-align: center;
    }
    .lang-selector-btn, .currency-selector-btn {
        width: 100%;
        justify-content: center;
    }
    .lang-dropdown, .currency-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(59, 141, 247, 0.05);
        border-radius: 8px;
        margin-top: 5px;
    }
}
/* تعريف حركة الوميض (Pulse Animation) */
@keyframes pulse-wa {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* تطبيق الحركة على زر الواتساب */
.whatsapp-float {
    /* الخصائص الأساسية للزر (تأكد من وجودها) */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    
    /* إضافة الحركة التي طلبتها */
    animation: pulse-wa 2s infinite;
    transition: all 0.3s ease;
}

/* تغيير بسيط عند تمرير الماوس لإيقاف الوميض أو تغييره */
.whatsapp-float:hover {
    background-color: #128c7e;
    animation: none; /* اختياري: إيقاف الوميض عند التفاعل */
    transform: scale(1.1);
}
/* تعريف حركة الوميض (Pulse Animation) */
@keyframes pulse-wa {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* تطبيق الحركة على زر الواتساب */
.whatsapp-float {
    /* الخصائص الأساسية للزر (تأكد من وجودها) */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    
    /* إضافة الحركة التي طلبتها */
    animation: pulse-wa 2s infinite;
    transition: all 0.3s ease;
}

/* تغيير بسيط عند تمرير الماوس لإيقاف الوميض أو تغييره */
.whatsapp-float:hover {
    background-color: #128c7e;
    animation: none; /* اختياري: إيقاف الوميض عند التفاعل */
    transform: scale(1.1);
}
/* تعريف حركة الوميض (Pulse Animation) */
@keyframes pulse-wa {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* تطبيق الحركة على زر الواتساب */
.whatsapp-float {
    /* الخصائص الأساسية للزر (تأكد من وجودها) */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    
    /* إضافة الحركة التي طلبتها */
    animation: pulse-wa 2s infinite;
    transition: all 0.3s ease;
}

/* تغيير بسيط عند تمرير الماوس لإيقاف الوميض أو تغييره */
.whatsapp-float:hover {
    background-color: #128c7e;
    animation: none; /* اختياري: إيقاف الوميض عند التفاعل */
    transform: scale(1.1);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: 60px;
    padding: 0 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.5s ease;
    text-decoration: none;
    white-space: nowrap;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: #128c7e;
    color: #FFF;
    animation: none; /* إيقاف الوميض عند التفاعل */
}

.wa-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-float:hover .wa-text,
.whatsapp-float:active .wa-text {
    max-width: 200px;
    opacity: 1;
    margin-right: 10px; /* دفع النص لليسار في وضع RTL */
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: auto;
        min-width: 50px;
        height: 50px;
        padding: 0 12px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .wa-text {
        font-size: 14px;
    }
}

/* ===== Splash Screen ===== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}


.splash-content {
    text-align: center;
    animation: splashPopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.splash-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 141, 247, 0.3);
    animation: logoPulse 2s infinite ease-in-out;
}

.splash-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes splashPopIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.1); }
}

/* ===== Booking Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 100px; /* يظهر فوق زر تبديل الثيم */
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        left: 22px;
        bottom: 85px;
    }
}

/* ===== iOS PWA Prompt ===== */
.ios-pwa-prompt {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    width: 90%;
    max-width: 380px;
    color: var(--text-primary);
    text-align: center;
}

.ios-pwa-prompt strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.ios-pwa-prompt p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.close-ios-prompt {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}
