/* التصميم الأول - التصميم الأساسي الحالي */
/* Global Styles */
:root {
    --primary-color: #49a46b; /* أخضر */
    --primary-hover: #3d8a5a;
    --secondary-color: #ff7200;
    --secondary-hover: #e56500;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --light-bg: #f9f9f9;
    --light-text: #333;
    --light-card: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
    --accent-color: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-dark: rgba(0,0,0,0.3);
}

body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--light-text);
    background-color: var(--light-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    color: var(--dark-text);
    background-color: var(--dark-bg);
}

/* Header & Navigation */
.navbar {
    background-color: var(--light-card) !important;
    box-shadow: 0 2px 5px var(--shadow-light);
    transition: background-color 0.3s ease;
    border-bottom: 3px solid #dc3545;
}

body.dark-mode .navbar {
    background-color: var(--dark-card) !important;
    box-shadow: 0 2px 5px var(--shadow-dark);
}

.navbar-brand .logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #dc3545;
    font-family: 'Tajawal', sans-serif;
}

.navbar-brand img {
    height: 40px;
    margin-left: 10px;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
}

.nav-link:hover {
    color: #dc3545 !important;
    background-color: rgba(73, 164, 107, 0.1);
}

body.dark-mode .nav-link {
    color: var(--dark-text) !important;
}

body.dark-mode .nav-link:hover {
    background-color: rgba(73, 164, 107, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(73, 164, 107, 0.9), rgba(73, 164, 107, 0.7));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(73, 164, 107, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 114, 0, 0.3);
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px var(--shadow-light);
    background-color: var(--light-card);
}

body.dark-mode .card {
    background-color: var(--dark-card);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-light);
}

body.dark-mode .card:hover {
    box-shadow: 0 10px 25px var(--shadow-dark);
}

/* Footer */
.bg-dark {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

/* Package Cards Theme 1 Specific */
.premium-package-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #dc3545, #fd7e14) !important border-box;
}

body.dark-mode .premium-package-card {
    background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
                linear-gradient(135deg, #dc3545, #fd7e14) !important border-box;
}

.package-price {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Section Headers */
.section-title {
    color: #dc3545;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    border-radius: 2px;
}

/* Features Section */
.feature-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(73, 164, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Theme 1 Specific Enhancements */
.theme1-gradient {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
}

.theme1-shadow {
    box-shadow: 0 8px 25px rgba(73, 164, 107, 0.2);
}

.theme1-border {
    border: 2px solid #dc3545;
}

.theme1-text {
    color: #dc3545;
}

.theme1-bg {
    background-color: rgba(73, 164, 107, 0.05);
}

body.dark-mode .theme1-bg {
    background-color: rgba(73, 164, 107, 0.1);
}

/* Theme 1 Header Specific Styles */
.theme-1 .navbar {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248, 250, 252, 0.9)) !important;
    border-bottom: 4px solid #dc3545;
    box-shadow: 0 4px 20px rgba(73, 164, 107, 0.15);
}

.theme-1 .navbar-brand .logo-text {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.theme-1 .navbar-brand .logo-text::after {
    content: '🕌';
    position: absolute;
    top: -5px;
    left: -25px;
    font-size: 1.2rem;
}

.theme-1 .nav-link {
    position: relative;
    overflow: hidden;
}

.theme-1 .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    transition: width 0.3s ease;
}

.theme-1 .nav-link:hover::before {
    width: 100%;
}

/* Theme 1 Footer Specific Styles */
.theme-1 .bg-dark {
    background: linear-gradient(135deg, #ec572f, #2d4a3e) !important;
    position: relative;
    border-top: 5px solid #dc3545;
}

.theme-1 .bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="islamic" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,5 L45,25 L25,45 L5,25 Z" fill="none" stroke="rgba(73,164,107,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23islamic)"/></svg>') repeat;
    z-index: 1;
}

.theme-1 .bg-dark .container {
    position: relative;
    z-index: 2;
}

.theme-1 .bg-dark h5 {
    color: var(--accent-color);
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.theme-1 .bg-dark a {
    transition: all 0.3s ease;
}

.theme-1 .bg-dark a:hover {
    color: var(--accent-color) !important;
    transform: translateX(-5px);
}

.theme-1 .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.theme-1 .social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(73, 164, 107, 0.4);
}

/* Theme 1 Package Cards Specific Styles */
.theme-1 .premium-package-card {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #dc3545, #fd7e14) !important border-box;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.theme-1 .premium-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    z-index: 1;
}

.theme-1 .premium-package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(73, 164, 107, 0.25);
}

.theme-1 .package-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.theme-1 .package-image-wrapper::after {
    content: '🕌';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    background: rgba(255,255,255,0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.theme-1 .package-title {
    color: #dc3545;
    font-weight: 800;
    position: relative;
}

.theme-1 .package-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    border-radius: 2px;
}

.theme-1 .package-price {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
}

.theme-1 .package-price::before {
    content: '💎';
    position: absolute;
    top: -5px;
    right: -25px;
    font-size: 1.2rem;
}

.theme-1 .package-info-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-1 .package-info-icon:hover {
    transform: scale(1.1) rotate(10deg);
}

.theme-1 .btn-book-now {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    border: none;
    color: white;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-1 .btn-book-now:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(73, 164, 107, 0.4);
}

/* Theme 1 Hotel Cards Specific Styles */
.theme-1 .hotel-card {
    border: 2px solid rgba(73, 164, 107, 0.2);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248, 250, 252, 0.9));
    box-shadow: 0 8px 25px rgba(73, 164, 107, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.theme-1 .hotel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    z-index: 2;
}

.theme-1 .hotel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(73, 164, 107, 0.25);
    border-color: #dc3545;
}

.theme-1 .hotel-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.theme-1 .hotel-image::after {
    content: '🏨';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    background: rgba(255,255,255,0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.theme-1 .hotel-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin: 10px 0;
}

.theme-1 .hotel-stars::before {
    content: '⭐';
    margin-left: 5px;
}

.theme-1 .hotel-name {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.theme-1 .hotel-location {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.theme-1 .hotel-location::before {
    content: '📍';
    margin-left: 5px;
}

.theme-1 .hotel-price {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.5rem;
}

.theme-1 .hotel-distance {
    background: rgba(73, 164, 107, 0.1);
    color: #dc3545;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.theme-1 .btn-hotel-details {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    border: none;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.theme-1 .btn-hotel-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(73, 164, 107, 0.4);
}

/* Theme 1 Feature Icons Styles */
.theme-1 .feature-card {
    border: 2px solid rgba(73, 164, 107, 0.1);
    transition: all 0.3s ease;
}

.theme-1 .feature-card:hover {
    border-color: #dc3545;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(73, 164, 107, 0.2);
}

.theme-1 .feature-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-1 .feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.theme-1 .feature-card:hover .feature-icon::before {
    left: 100%;
}

.theme-1 .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(73, 164, 107, 0.4);
}

/* Theme 1 Package Icons Styles - Classic Horizontal Layout */
.theme-1 .package-icons-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(73, 164, 107, 0.08), rgba(255, 114, 0, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(73, 164, 107, 0.15);
    position: relative;
    overflow: hidden;
}

.theme-1 .package-icons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    z-index: 1;
}

.theme-1 .package-icon-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.theme-1 .package-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(73, 164, 107, 0.3);
}

.theme-1 .package-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.theme-1 .package-icon:hover::before {
    left: 100%;
}

.theme-1 .package-icon:hover {
    transform: translateY(-5px) scale(1.1) rotate(8deg);
    box-shadow: 0 12px 25px rgba(73, 164, 107, 0.4);
}

.theme-1 .package-icon-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #dc3545;
    margin-top: 6px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.theme-1 .package-icon-item:hover .package-icon-title {
    color: var(--secondary-color);
    transform: translateY(-2px);
}
