/* ALEXANDRIA PAGE CUSTOM STYLES */
/* Mediterranean-inspired design with blue and white theme */

:root {
    --alexandria-primary: #1e40af;
    --alexandria-secondary: #0ea5e9;
    --alexandria-accent: #f59e0b;
    --alexandria-light: #f0f9ff;
    --alexandria-dark: #1e293b;
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}

/* Hero Section with Mediterranean Theme */
.hero-bg {
    background: url('https://thumbs.dreamstime.com/b/alexandria-egypt-december-seaside-promenade-corniche-best-place-romantic-walk-view-sunset-sky-reflecting-122841279.jpg') center/cover;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    animation: none;
}

@keyframes shimmer {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Hotel Cards Enhancement */
.hotel-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.hotel-card img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.05) saturate(1.1);
}

.hotel-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Mediterranean Color Scheme */
.bg-blue-600 {
    background-color: var(--alexandria-primary) !important;
}

.text-blue-600 {
    color: var(--alexandria-primary) !important;
}

.bg-blue-700 {
    background-color: #1d4ed8 !important;
}

.text-blue-800 {
    color: var(--alexandria-dark) !important;
}

.hover\:text-blue-600:hover {
    color: var(--alexandria-primary) !important;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important;
}

.focus\:ring-blue-500:focus {
    --tw-ring-color: var(--alexandria-secondary) !important;
}

/* Custom Mediterranean Elements */
.mediterranean-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

/* Enhanced Buttons */
.btn-alexandria-primary {
    background: linear-gradient(135deg, var(--alexandria-primary) 0%, var(--alexandria-secondary) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-alexandria-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* Pricing Cards */
.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.9) 100%);
    border: 2px solid rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
}

/* Modal Enhancements */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Form Elements */
select, input[type="text"], input[type="tel"], textarea {
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

select:focus, input[type="text"]:focus, input[type="tel"]:focus, textarea:focus {
    border-color: var(--alexandria-secondary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background: rgba(255, 255, 255, 1);
}

/* Currency and Language Selectors */
#currency-selector, #lang-toggle {
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

#currency-selector:hover, #lang-toggle:hover {
    border-color: var(--alexandria-secondary);
    transform: translateY(-1px);
}

/* Navigation Enhancement */
nav a {
    position: relative;
    transition: all 0.3s ease;
}

nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--alexandria-primary), var(--alexandria-secondary));
    border-radius: 1px;
}

/* Star Rating Enhancement */
.stars {
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 1px 1px rgba(251, 191, 36, 0.3));
}

/* Loading Animation */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mediterranean Wave Effect */
.wave-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--alexandria-primary) 0%, 
        var(--alexandria-secondary) 25%, 
        var(--alexandria-primary) 50%, 
        var(--alexandria-secondary) 75%, 
        var(--alexandria-primary) 100%);
    background-size: 200% 100%;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Features Section Enhancement */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Price Display Enhancement */
.price-display {
    background: linear-gradient(135deg, var(--alexandria-light) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--alexandria-primary), var(--alexandria-secondary));
}

/* Footer Enhancement */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--alexandria-secondary) 50%, transparent 100%);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-bg {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hotel-card {
        margin-bottom: 20px;
    }
    
    .hotel-card:hover {
        transform: translateY(-4px);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .hero-bg::before,
    .wave-border::before,
    .loading-shimmer {
        animation: none;
    }
    
    .hotel-card,
    .feature-icon {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hotel-card {
        border: 2px solid var(--alexandria-dark);
    }
    
    .hero-bg {
        background: var(--alexandria-dark);
    }
}

/* Print Styles */
@media print {
    .hero-bg {
        background: white;
        color: black;
    }
    
    .hotel-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--alexandria-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--alexandria-primary), var(--alexandria-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

/* Text Selection */
::selection {
    background: var(--alexandria-secondary);
    color: white;
}

::-moz-selection {
    background: var(--alexandria-secondary);
    color: white;
}