/* Premium Package Styles */

:root {
    --pkg-primary: #ad694e;
    --pkg-primary-light: #c5866b;
    --pkg-dark: #1a1a1a;
    --pkg-glass: rgba(255, 255, 255, 0.95);
    --pkg-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --pkg-border: rgba(173, 105, 78, 0.15);
}

.package-details-wrapper {
    background-color: #fdfdfd;
    min-height: 100vh;
}

/* Hero Section */
.pkg-hero {
    background: linear-gradient(135deg, #6b705c 0%, #4b4f41 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.pkg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.pkg-hero-content {
    position: relative;
    z-index: 1;
}

.pkg-breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.pkg-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.pkg-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.pkg-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.1;
}

/* Layout Grid */
.pkg-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

/* Main Content */
.pkg-content-block {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--pkg-shadow);
    border: 1px solid var(--pkg-border);
}

.pkg-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--pkg-dark);
}

.pkg-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pkg-border);
}

.pkg-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.pkg-image-box {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pkg-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Spec Grid */
.pkg-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.pkg-spec-card {
    background: #fcf8f6;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(173, 105, 78, 0.1);
    transition: transform 0.3s;
}

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

.pkg-spec-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--pkg-primary);
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(173, 105, 78, 0.1);
}

.pkg-spec-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.pkg-spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pkg-dark);
}

/* Action Sidebar */
.pkg-sidebar {
    position: sticky;
    top: 2rem;
}

.pkg-action-card {
    background: var(--pkg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid white;
}

.pkg-price-label {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.pkg-subscribe-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--pkg-primary) 0%, #8b4d36 100%);
    color: white !important;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(173, 105, 78, 0.3);
}

.pkg-subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(173, 105, 78, 0.4);
}

.pkg-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pkg-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #4a4a4a;
}

.pkg-info-item i {
    color: var(--pkg-primary);
}

/* RTL Specifics */
[dir="rtl"] .pkg-grid {
    grid-template-columns: 400px 1fr;
}

[dir="rtl"] .pkg-section-title::after {
    display: none;
}

[dir="rtl"] .pkg-section-title::before {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pkg-border);
}

/* Responsive */
@media (max-width: 1100px) {
    .pkg-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .pkg-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .pkg-title {
        font-size: 2.5rem;
    }
    
    .pkg-hero {
        padding: 6rem 0 4rem;
    }
    
    .pkg-content-block {
        padding: 2rem 1.5rem;
    }
}

/* Package List / Grid Styles */
.pkg-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.pkg-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--pkg-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pkg-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid var(--pkg-border);
}

.pkg-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pkg-card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #fcf8f6;
    color: var(--pkg-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.pkg-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--pkg-dark);
}

.pkg-card-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pkg-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f1f1;
}

.pkg-card-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

.pkg-card-stat i {
    color: var(--pkg-primary);
}

@media (max-width: 479px) {
    .pkg-title {
        font-size: 2rem;
    }
    
    .pkg-hero {
        padding: 5rem 0 3rem;
    }

    .pkg-card-image {
        height: 220px;
    }
    
    .pkg-card-body {
        padding: 1.5rem;
    }
}
