/* Packages Page Styles */
/* White background */
body {
    background: var(--white) !important;
    background-attachment: fixed !important;
}

.main-header {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: var(--secondary-light) !important;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}



.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: var(--secondary-light);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--secondary-light);
    font-size: 1.3rem;
    opacity: 0.9;
}
/* Packages Section */
.packages-section {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

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

/* Package Cards */
.package-card {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.package-card.premium {
    border: 2px solid var(--primary-light);
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.premium-badge {
    background: linear-gradient(135deg, var(--primary-light), rgba(255, 255, 255, 0.2));
    color: var(--secondary-light);
    border-color: var(--primary-light);
}

/* Package Header */
.package-simple-content {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    position: relative;
}



.package-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-light);
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Coming Soon Styles */
.package-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.package-card.coming-soon:hover {
    transform: none;
    cursor: default;
}

.coming-soon-badge {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.6;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Package pricing styles removed - no pricing display */

/* Package Content */
.package-content {
    padding: 2rem;
}

.package-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-features {
    list-style: none !important;
    padding: 0;
    margin: 0 0 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-features li {
    padding: 1rem 1.5rem 1rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    color: var(--secondary-light);
    opacity: 0.95;
    font-size: 1.1rem;
    line-height: 1.5;
    list-style-type: none !important;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '•';
    position: absolute;
    left: 1.2rem;
    color: var(--primary-light);
    font-size: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    line-height: 1;
}

/* Customization Section */
.customization-section {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.customization-section h4 {
    font-size: 1.3rem;
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.customize-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.customize-option:hover {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.customize-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
    color: var(--secondary-light);
    font-weight: 500;
}

.customize-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-light);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-light);
    transform: scale(1.05);
}

.qty-input {
    width: 55px;
    height: 32px;
    padding: 0;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

/* .addon-price styles removed - no pricing display */

/* Platform Selection */
.platform-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.platform-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-option:hover {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.platform-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-light);
}

/* Select Package Button */
.view-details-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-package-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
}

.select-package-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
}

.select-package-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Package Modal */
.package-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.package-modal.visible {
    display: flex;
}

.modal-content {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
}

.modal-header {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: none !important;
    position: relative;
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-light);
    margin: 0;
    line-height: 1.3;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-light);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 400;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-light);
    transform: scale(1.05);
}

.modal-body {
    padding: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--secondary-light);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--secondary-light);
    opacity: 0.95;
}

.modal-footer {
    padding: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.modal-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Modal footer pricing styles removed - no pricing display */

/* Booking Panel */
.booking-panel-container {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.booking-panel p {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}

.booking-panel p:last-child {
    color: var(--secondary-light);
    font-weight: 400;
    margin: 15px 0 0 0;
    font-size: 14px;
}

.booking-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--shadow-hover);
    transition: all 0.3s ease;
    position: relative;
}

.booking-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-green);
}

.booking-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.booking-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #C8AB83;
    color: var(--secondary-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.booking-panel {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 380px;
    max-height: 600px;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-hover);
    display: none;
    flex-direction: column;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.booking-panel.open {
    display: flex;
}

.booking-panel h3 {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-light);
    margin: 0;
    border-radius: 14px 14px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
}

.booking-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    max-height: 300px;
    min-height: 100px;
}

.booking-items::-webkit-scrollbar {
    width: 8px;
}

.booking-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.booking-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.booking-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.booking-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-item-name {
    font-weight: 600;
    color: var(--secondary-light);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.booking-item-price {
    font-weight: 700;
    color: #C8AB83;
    font-size: 1.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.booking-item-period {
    font-size: 1rem;
    color: var(--secondary-light);
    opacity: 0.8;
}

.booking-item-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 26px;
    height: 26px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.booking-item-remove:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-light);
    transform: scale(1.05);
}

.booking-summary {
    padding: 1.25rem 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border-radius: 0 0 14px 14px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.booking-total span:first-child {
    font-size: 1.1rem;
    color: var(--secondary-light);
    opacity: 0.9;
}

.booking-total span:last-child {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-light);
    letter-spacing: 0.02em;
}

.checkout-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.checkout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Booking Animations */
.booking-panel.popup-animation {
    animation: bookingPopup 0.5s ease;
}

@keyframes bookingPopup {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-item.item-added {
    animation: itemAdded 0.6s ease;
}

@keyframes itemAdded {
    0% {
        transform: translateX(20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* RTL Support */
html[dir="rtl"] .package-features li,
[dir="rtl"] .package-features li {
    padding-left: 1.5rem;
    padding-right: 3rem;
}

html[dir="rtl"] .package-features li::before,
[dir="rtl"] .package-features li::before {
    left: auto;
    right: 1.2rem;
    font-size: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
}

html[dir="rtl"] .package-badge,
[dir="rtl"] .package-badge {
    right: auto;
    left: 20px;
}

/* RTL Modal Styles */
[dir="rtl"] .modal-close {
    right: auto;
    left: 2rem;
}

[dir="rtl"] .modal-header h2 {
    text-align: right;
}

[dir="rtl"] .modal-body {
    text-align: right;
}

[dir="rtl"] .customize-option {
    flex-direction: row-reverse;
}

[dir="rtl"] .customize-option label {
    flex-direction: row-reverse;
}

[dir="rtl"] .platform-option {
    flex-direction: row-reverse;
}

[dir="rtl"] .current-price {
    flex-direction: row-reverse;
}

[dir="rtl"] .price-comparison {
    flex-direction: row-reverse;
}

[dir="rtl"] .addon-price {
    text-align: left;
}

[dir="rtl"] .booking-summary {
    right: auto;
    left: 20px;
}

/* RTL List Styles */
[dir="rtl"] .rtl-list {
    padding-right: 0;
}

[dir="rtl"] .rtl-list li {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-summary {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    
    .platform-selection {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.package-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.package-card:nth-child(1) {
    animation-delay: 0.1s;
}

.package-card:nth-child(2) {
    animation-delay: 0.2s;
}

.package-card:nth-child(3) {
    animation-delay: 0.3s;
}

.package-card:nth-child(4) {
    animation-delay: 0.4s;
}

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