/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E89F3C;
    --primary-dark: #D08A2A;
    --secondary-color: #2D4C8D;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

body[lang="ar"] {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

body[lang="ar"] .brand-title {
    font-size: 1.3rem;
}

body[lang="ar"] .brand-tagline {
    font-size: 0.8rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    gap: 10px;
    background: var(--bg-light);
    padding: 5px;
    border-radius: 25px;
}

.lang-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: rgba(232, 159, 60, 0.2);
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 25px;
}

.currency-selector i {
    color: var(--primary-color);
    font-size: 18px;
}

#currency {
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 76, 141, 0.25) 0%, rgba(232, 159, 60, 0.15) 100%);
    z-index: 1;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--white);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.4);
    background: var(--primary-color);
    color: var(--white);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    padding: 60px 0 30px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 12px;
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Pricing Note Section */
.pricing-note {
    padding: 20px 0;
    background: var(--white);
}

.note-box {
    background: linear-gradient(135deg, rgba(232, 159, 60, 0.1), rgba(45, 76, 141, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body[lang="ar"] .note-box {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.note-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.note-box p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

/* Hotels Section */
.hotels-section {
    padding: 40px 0 80px;
    background: var(--white);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.hotel-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.hotel-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 25px;
    color: var(--white);
    position: relative;
}

.hotel-stars {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 3px;
}

body[lang="ar"] .hotel-stars {
    right: auto;
    left: 15px;
}

.hotel-stars i {
    color: #FFD700;
    font-size: 14px;
}

.hotel-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hotel-area {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.hotel-area i {
    font-size: 14px;
}

.hotel-body {
    padding: 25px;
}

.price-section {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px dashed var(--bg-light);
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.2rem;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
    line-height: 1.4;
}

.hotel-includes {
    margin-bottom: 20px;
}

.includes-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.includes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.include-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.transportation-section {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(232, 159, 60, 0.1), rgba(45, 76, 141, 0.1));
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

body[lang="ar"] .transportation-section {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

.transportation-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.transportation-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.transportation-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transport-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.transport-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.hotel-actions {
    display: flex;
    gap: 10px;
}

.btn-book {
    flex: 1;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-book:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-website {
    flex: 1;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-website:hover {
    background: #1e3461;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
}

.phone-number {
    direction: ltr !important;
    unicode-bidi: embed;
    display: inline-block;
}

body[lang="ar"] .phone-number {
    direction: ltr !important;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) rotate(5deg);
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 95vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    padding: 15px 25px;
    background: var(--white);
    z-index: 10;
    border-radius: 0 20px 0 0;
}

body[lang="ar"] .modal-close {
    right: auto;
    left: 0;
    float: left;
    border-radius: 20px 0 0 0;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    padding: 30px 30px 20px;
    margin: 0;
    font-size: 2rem;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    clear: both;
}

.booking-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--bg-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title-small {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.package-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.package-detail i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.package-detail strong {
    color: var(--secondary-color);
    margin-right: 8px;
}

body[lang="ar"] .package-detail strong {
    margin-right: 0;
    margin-left: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
    width: 20px;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 159, 60, 0.1);
}

.form-group input[type="number"] {
    appearance: textfield;
}

.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

.nights-display {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(232, 159, 60, 0.1), rgba(45, 76, 141, 0.1));
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
    color: var(--secondary-color);
}

body[lang="ar"] .nights-display {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

.nights-display i {
    margin-right: 8px;
    color: var(--primary-color);
}

body[lang="ar"] .nights-display i {
    margin-right: 0;
    margin-left: 8px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.btn-submit i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-title {
        font-size: 1.5rem;
        padding: 20px;
    }

    .booking-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .package-info {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .hotel-name {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
    }

    .logo img {
        height: 60px;
    }
}
