/* Base styles */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    direction: rtl;
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px);
    padding: 2rem;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.toast-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.toast-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.toast-warning {
    background: #fff3e0;
    color: #ef6c00;
    border-left: 4px solid #ef6c00;
}

.toast-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

.toast.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.phone-number {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.phone-number:hover {
    color: var(--primary-dark);
}

.social-links {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-links h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.social-icon i {
    font-size: 1.5rem;
}

.social-links .fa-facebook {
    color: #1877F2;
}

.social-links .fa-facebook:hover {
    color: #0E5FC1;
}

.social-links .fa-instagram {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links .fa-instagram:hover {
    background: -webkit-linear-gradient(45deg, #d8852e 0%, #cc5c35 25%, #c4233c 50%, #b51f5a 75%, #a61579 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links .fa-whatsapp {
    color: #25D366;
}

.social-links .fa-whatsapp:hover {
    color: #128C7E;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Page Sections */
.page-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Home Page */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

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

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
}

/* Gallery Grid */
.gallery-section {
    padding: 4rem 2rem;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Workshop Cards */
.workshop-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.workshop-info {
    padding: 1.5rem;
}

.workshop-info h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.workshop-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.workshop-info ul {
    list-style: none;
    padding: 0;
}

.workshop-info li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Zimmer Features */
.zimmer-features {
    margin-top: 3rem;
}

.zimmer-features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.zimmer-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.zimmer-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.zimmer-features i {
    color: var(--primary-color);
}

/* About Features */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    margin-bottom: 2rem;
}

.slide {
    display: none;
    position: relative;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 1rem;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--primary-color);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal.active {
    display: flex;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

/* Responsive Design */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Zimmer Page Styles */
.facilities-section {
    padding: 2rem 0;
}

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

.facilities-section h3 {
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-size: 1.5rem;
}

.facilities-section h4 {
    color: var(--secondary-color);
    margin: 1rem 0;
    font-size: 1.2rem;
}

.suite-types {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    justify-content: center;
}

.suite {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 1rem;
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s ease;
}

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

.suite h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.suite-description {
    text-align: center;
    margin-bottom: 1.5rem;
}

.capacity {
    color: var(--secondary-color);
    font-weight: 500;
}

.suite-amenities {
    margin: 1.5rem 0;
}

.suite-amenities h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.suite-pricing {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.suite-pricing h5 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.suite-pricing h6 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.pricing-container {
    display: flex;
    gap: 1.5rem;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.price-section {
    flex: 1;
}

.price-list {
    list-style: none;
    padding: 0;
}

.price-list li {
    padding: 0.5rem 0;
    text-align: center;
    color: #555;
}

.child-supplement {
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
}

.child-supplement i {
    margin-left: 0.5rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        gap: 1rem;
    }

    .suite {
        margin: 1rem 0;
    }
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.amenities-list li {
    padding: 0.5rem 2rem;
    position: relative;
}

.amenities-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    right: 0.5rem;
}

.note {
    font-style: italic;
    color: #666;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.outdoor-area {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .suite-types {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Area Attractions Styles */
.area-attractions {
    padding: 3rem 0;
    background: #f8f9fa;
    margin-top: 3rem;
    border-radius: 8px;
}

.area-attractions h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.attractions-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nearby-attractions {
    margin-bottom: 2rem;
}

.nearby-attractions p {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.religious-services {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.religious-note {
    color: var(--secondary-color);
}

.religious-note i {
    margin-left: 0.5rem;
    color: var(--primary-color);
}

.additional-services {
    margin-top: 2rem;
}

.additional-services h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sub-list {
    list-style: none;
    padding-right: 2rem;
    margin: 0.5rem 0;
}

.sub-list li {
    padding: 0.25rem 1.5rem;
    position: relative;
}

.sub-list li:before {
    content: "◦";
    color: var(--secondary-color);
    position: absolute;
    right: 0;
}

.service-note {
    font-size: 0.9rem;
    color: #666;
    padding-right: 2rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .attractions-content {
        padding: 0 1rem;
    }
}

.max-capacity {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Serenity Suite specific styles */
.serenity-suite {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

.serenity-suite .suite-pricing {
    background: rgba(255, 255, 255, 0.8);
}

.suite-highlight {
    font-size: 1.2em;
    color: #2c3e50;
    margin: 15px 0;
    font-weight: 500;
    text-align: center;
}

.suite-slideshow {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.suite-slides {
    position: relative;
    width: 100%;
}

.suite-slide {
    display: none;
    width: 100%;
}

.suite-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.slide-prev, .slide-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    border: none;
}

.slide-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slide-prev {
    left: 0;
}

.slide-prev:hover, .slide-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.slide-dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: white;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
