/* ========================================
   PACKAGES PAGE STYLES
======================================== */

/* Hero Section */
.hero-section.legal-hero {
    min-height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
    padding: 60px 0 50px 0;
}

.legal-hero .animated-bg {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
    background: linear-gradient(135deg, #f2c38f 0%, #d4a574 100%);
}

.legal-hero .animated-bg.top-right {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
}

.legal-hero .animated-bg.bottom-left {
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
}

.legal-hero .hero-content-wrapper {
    z-index: 2;
}

.legal-hero .legal-badge {
    background: rgba(242, 195, 143, 0.2);
    color: #f2c38f;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 1px solid rgba(242, 195, 143, 0.3);
}

.legal-hero .legal-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.legal-hero .legal-subtitle {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Section */
.pkg-section {
    background: #000;
    padding: 80px 0;
}

.pkg-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pkg-main-subtitle {
    font-size: 1.15rem;
    color: #a0a0a0;
}

/* Horizontal List */
.pkg-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pkg-horizontal-list {
        padding: 0 12px;
    }
}

/* Horizontal Card */
.pkg-card-horizontal {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 28px 32px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .pkg-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 20px;
    }
}

.pkg-card-horizontal::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #d4af37, #f4d03f);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pkg-card-horizontal:hover {
    border-color: #d4af37;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.12);
    transform: translateX(6px);
}

.pkg-card-horizontal:hover::before {
    opacity: 1;
}

/* Icon */
.pkg-card-h-icon {
    flex-shrink: 0;
    margin-right: 28px;
}

@media (max-width: 768px) {
    .pkg-card-h-icon {
        margin-right: 0;
    }
}

.pkg-card-h-icon .pkg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    font-size: 1.5rem;
    color: #000;
}

/* Content */
.pkg-card-h-content {
    flex: 1;
    min-width: 0;
}

.pkg-card-h-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.pkg-card-h-desc {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.pkg-card-h-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pkg-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #d4af37;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
}

.pkg-feature-tag i {
    font-size: 0.8rem;
}

.pkg-feature-tag.pkg-more {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: #888;
}

/* Price Section */
.pkg-card-h-price-section {
    flex-shrink: 0;
    text-align: center;
    margin-left: 32px;
    min-width: 140px;
}

@media (max-width: 768px) {
    .pkg-card-h-price-section {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
    .pkg-card-h-btn {
        width: 100%;
    }
}

.pkg-card-h-price {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 12px;
}

.pkg-card-h-btn {
    padding: 12px 28px;
    border: 2px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pkg-card-h-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000;
}

.pkg-empty {
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* ========================================

   MODAL STYLES - MODERN HORIZONTAL LAYOUT
======================================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
body.modal-open {
     overflow: hidden;
}

/* Modern Modal Box - Horizontal Layout */
.modal-box-modern {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-radius: 20px;
    max-width: 950px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(212, 175, 55, 0.12);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.25);
    animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 768px) {
    .modal-box-modern {
        flex-direction: column;
        max-height: 90vh;
        width: 100%;
        margin: auto;
    }
}

/* Modal Close Button - Modern */
.modal-close-btn-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn-modern:hover {
    background: rgba(212, 175, 55, 0.22);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Left Side - Content Section */
.modal-left-side {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    overflow-y: auto;
    max-height: 85vh;
}

@media (max-width: 768px) {
    .modal-left-side {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        max-height: none;
    }
}

.modal-left-side::-webkit-scrollbar {
    width: 5px;
}

.modal-left-side::-webkit-scrollbar-track {
    background: transparent;
}

.modal-left-side::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}

/* Badge */
.modal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(244, 208, 63, 0.15));
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    width: fit-content;
    margin-bottom: 16px;
    animation: slideInLeft 0.5s ease;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    color: #f4d03f;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Title & Description - Modern */
.modal-title-modern {
    font-size: 2.3rem;
    color: #fff;
    margin: 8px 0 16px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: slideInLeft 0.5s ease 0.1s both;
}

.modal-desc-modern {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    animation: slideInLeft 0.5s ease 0.15s both;
}

/* Price Box - Modern */
.price-box-modern {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(244, 208, 63, 0.08));
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 24px;
    animation: slideInLeft 0.5s ease 0.2s both;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 20px;
    justify-content: space-between;
}

.price-label-modern {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0;
}

.price-display-modern {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.price-currency-modern {
    color: #d4af37;
    font-size: 1.6rem;
    font-weight: 800;
    padding-top: 2px;
}

.price-amount-modern {
    font-size: 3.8rem;
    color: #f4d03f;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

/* Book Button - Modern */
.modal-book-btn-modern {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0a0a;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    animation: slideInLeft 0.5s ease 0.25s both;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-book-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.modal-book-btn-modern:active {
    transform: translateY(0px);
}

.modal-book-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-book-btn-modern:active::before {
    width: 300px;
    height: 300px;
}

.modal-book-btn-modern svg {
    transition: transform 0.3s ease;
    width: 22px;
    height: 22px;
}

.modal-book-btn-modern:hover svg {
    transform: translateX(3px);
}

/* Divider */
.modal-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

@media (max-width: 768px) {
    .modal-divider {
        display: none;
    }
}

/* Right Side - Services Section */
.modal-right-side {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow-y: auto;
    max-height: 85vh;
}

@media (max-width: 768px) {
    .modal-right-side {
        padding: 24px 20px 28px;
        max-height: none;
    }
}

.modal-right-side::-webkit-scrollbar {
    width: 5px;
}

.modal-right-side::-webkit-scrollbar-track {
    background: transparent;
}

.modal-right-side::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}

.right-section {
    animation: slideInRight 0.5s ease 0.15s both;
}

.right-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

.right-icon {
    font-size: 1.4rem;
    animation: bounce 0.6s ease infinite;
}

.right-section-header:nth-of-type(1) .right-icon {
    animation-delay: 0s;
}

.right-section-header:nth-of-type(2) .right-icon {
    animation-delay: 0.1s;
}

.right-section-title {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Services List - Modern */
.modal-services-list-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(244, 208, 63, 0.02));
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-left: 3px solid #d4af37;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(244, 208, 63, 0.05));
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateX(5px);
}

.quantity-badge {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0a0a;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.service-info {
    flex: 1;
}

.service-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.service-duration {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

.service-price {
    color: #f4d03f;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

/* Discount Section - Modern */
.discount-section-modern {
    padding: 20px;
    border-radius: 14px;
    border: 2px solid rgba(74, 222, 128, 0.3);
    animation: slideInRight 0.5s ease 0.25s both;
}

.discount-header-modern {
    border-bottom-color: rgba(74, 222, 128, 0.4);
}

.

.discount-content-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-row-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.price-row-value {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.price-row-original {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.savings-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 197, 94, 0.12));
    border-radius: 10px;
    border: 1px solid rgba(74, 222, 128, 0.4);
    margin-top: 8px;
}

.savings-text {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.95rem;
}

.savings-amount {
    color: #86efac;
    font-weight: 800;
    font-size: 1.15rem;
}

/* Animations */
@keyframes modalSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Responsive Modal Styles */
@media (max-width: 900px) {
    .modal-box-modern {
        flex-direction: column;
        max-height: 95vh;
    }
    
    .modal-left-side {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        padding: 30px;
        max-height: none;
    }
    
    .modal-right-side {
        padding: 30px;
        max-height: none;
    }
    
    .modal-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .modal-box-modern {
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-left-side,
    .modal-right-side {
        padding: 20px;
        gap: 20px;
    }
    
    .modal-title-modern {
        font-size: 1.8rem;
    }
    
    .modal-desc-modern {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .price-box-modern {
        padding: 18px;
        margin-bottom: 18px;
    }
    
    .price-amount-modern {
        font-size: 2.8rem;
    }
    
    .modal-book-btn-modern {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .service-item {
        padding: 12px;
        gap: 12px;
    }
    
    .quantity-badge {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}
