/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    direction: rtl;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Accessibility Improvements */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --focus-outline: 3px solid #3498db;
}

/* Focus styles for better accessibility */
*:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Skip to main content link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Header and Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Facilities Section */
.facilities {
    background-color: #f8f9fa;
}

.facilities h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.facilities h2.mt-5 {
    margin-top: 5rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card h3 {
    color: #2c3e50;
    padding: 1.2rem 1.2rem 0.5rem;
    font-size: 1.4rem;
    margin: 0;
}

.facility-card p {
    color: #666;
    padding: 0 1.2rem 1.2rem;
    margin: 0;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.product-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* Packages Section */
.packages {
    background-color: #f8f9fa;
    padding: 5rem 2rem;
}

.packages h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.package-card.premium {
    border: 2px solid #ffd700;
}

.package-header {
    background: #2c3e50;
    color: white;
    padding: 1.5rem;
    position: relative;
    text-align: center;
}

.package-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.package-badge {
    position: absolute;
    top: 0;
    left: 1rem;
    background: #ffd700;
    color: #2c3e50;
    padding: 0.3rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

.package-content {
    padding: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 2rem;
}

.package-features li:before {
    content: "✓";
    color: #3498db;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.book-button, .contact-button {
    width: 100%;
    padding: 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-button:hover, .contact-button:hover {
    background: #2980b9;
}

.custom-package {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.custom-package h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.custom-package p {
    color: #666;
    margin-bottom: 2rem;
}

/* Help Section Styles */
.help-section {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.help-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.help-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.help-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.info-button:hover {
    background: #2980b9;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.faq-grid {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: var(--secondary-color);
}

.faq-item summary:hover {
    background: #f0f0f0;
}

.faq-item p {
    padding: 1rem;
    margin: 0;
    border-top: 1px solid #eee;
}

/* Booking Form */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.booking-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Contact Section */
.contact-info {
    text-align: center;
    line-height: 2;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Page transition effects */
main {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Loading cursor styles */
body[style*="cursor: wait"] * {
    cursor: wait !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .facility-card img {
        height: 180px;
    }
    
    .packages {
        padding: 3rem 1rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card {
        margin-bottom: 2rem;
    }
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .help-card {
        padding: 1.5rem;
    }

    .faq-section {
        padding: 0 1rem;
    }
}

/* Print styles */
@media print {
    .nav-bar,
    .book-button,
    .info-button {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}
