/*
Opera Travel Pro - Style Sheet
Better than Booking.com & Almatar.com
Agency: OPERA TRAVEL (Amman, Jordan)
*/

/* 1. Global Reset & Typography */
:root {
    --opera-primary: #0056b3; /* Deep Blue for Trust */
    --opera-accent: #ffc107;  /* Gold for Luxury/Travel */
    --opera-bg: #f8f9fa;
    --opera-text: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--opera-bg);
    color: var(--opera-text);
    direction: ltr; /* Default */
}

/* 2. Header & Logo (OPERA TRAVEL) */
.opera-header {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.opera-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--opera-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 3. Search Bar (Booking.com Style) */
.opera-search-bar {
    flex-grow: 1;
    margin: 0 40px;
    max-width: 800px;
}

.opera-search-bar input, .opera-search-bar select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

/* 4. Hero Section (Better than the World) */
.opera-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1520678664967-69b08d6969d6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.opera-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 5. Product Cards (Hotels/Flights/Tours) */
.opera-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.opera-product-card:hover {
    transform: translateY(-5px);
}

.opera-product-image {
    height: 200px;
    overflow: hidden;
}

.opera-product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.opera-product-info {
    padding: 20px;
}

.opera-price {
    color: var(--opera-accent);
    font-size: 24px;
    font-weight: bold;
}

/* 6. RTL Support (Almatar Style) */
@media (prefers-color-scheme: dark) {
    body { background-color: #121212; color: #e0e0e0; }
}

/* Arabic RTL Overrides */
[dir="rtl"] .opera-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .opera-search-bar {
    margin: 0 40px 0 0;
}

/* 7. Mobile Responsive */
@media (max-width: 768px) {
    .opera-header { flex-direction: column; }
    .opera-search-bar { margin: 20px 0; width: 100%; }
    .opera-hero h1 { font-size: 32px; }
}
*/
