/* ==========================================
   PACKAGE DETAIL PAGE - Professional Islamic Design
   Beautiful, Clean & Responsive
   ========================================== */

:root {
    --pd-brown-dark: #664131;
    --pd-brown-mid: #8b6f47;
    --pd-gold: #a88d5e;
    --pd-gold-light: #e59756;
    --pd-cream: #f5f1ed;
    --pd-white: #ffffff;
    --pd-shadow-sm: 0 2px 8px rgba(102, 65, 49, 0.08);
    --pd-shadow-md: 0 8px 20px rgba(102, 65, 49, 0.12);
    --pd-shadow-lg: 0 15px 40px rgba(102, 65, 49, 0.18);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.pd-hero {
    background: linear-gradient(135deg, var(--pd-brown-dark) 0%, #4a2f22 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.pd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(168, 141, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pd-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(168, 141, 94, 0.03) 40px, rgba(168, 141, 94, 0.03) 80px);
    pointer-events: none;
}

/* Breadcrumb */
.pd-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.pd-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-breadcrumb a:hover {
    color: var(--pd-gold-light);
}

.pd-breadcrumb i.fa-chevron-right {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.pd-breadcrumb span {
    color: var(--pd-gold-light);
}

/* Hero Content */
.pd-hero-content {
    position: relative;
    z-index: 2;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pd-gold);
    color: var(--pd-brown-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.pd-rating i {
    color: var(--pd-gold-light);
    font-size: 1.1rem;
}

.pd-rating span {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
    font-size: 0.95rem;
}

.pd-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Quick Info */
.pd-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pd-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pd-quick-item i {
    color: var(--pd-gold-light);
    font-size: 1.1rem;
}

.pd-price-tag {
    background: var(--pd-gold);
    color: var(--pd-brown-dark);
    font-weight: 600;
}

.pd-price-tag i {
    color: var(--pd-brown-dark);
}

/* ==========================================
   GALLERY SECTION
   ========================================== */

.pd-gallery-section {
    padding: 80px 0;
    background: var(--pd-cream);
}

.pd-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.pd-section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pd-brown-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pd-section-header h2 i {
    color: var(--pd-gold);
    font-size: 2rem;
}

.pd-section-header p {
    color: var(--pd-brown-mid);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.pd-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--pd-gold), transparent);
    margin: 0 auto;
}

/* Gallery Wrapper */
.pd-gallery-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Main Gallery Swiper */
.pd-gallery-swiper {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--pd-shadow-lg);
}

.pd-gallery-item {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--pd-brown-dark);
}

.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pd-gallery-swiper .swiper-slide-active .pd-gallery-item img {
    transform: scale(1.05);
}

/* Gallery Navigation */
.pd-gallery-next,
.pd-gallery-prev {
    width: 50px;
    height: 50px;
    background: var(--pd-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.pd-gallery-next:hover,
.pd-gallery-prev:hover {
    background: var(--pd-gold-light);
    transform: scale(1.1);
}

.pd-gallery-next::after,
.pd-gallery-prev::after {
    display: none;
}

.pd-gallery-next i,
.pd-gallery-prev i {
    font-size: 1.2rem;
}

/* Gallery Pagination */
.pd-gallery-pagination {
    bottom: 20px !important;
}

.pd-gallery-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.pd-gallery-pagination .swiper-pagination-bullet-active {
    background: var(--pd-gold-light);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Thumbnail Swiper */
.pd-gallery-thumbs {
    padding: 0 10px;
}

.pd-thumb-item {
    position: relative;
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.pd-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.pd-gallery-thumbs .swiper-slide-thumb-active .pd-thumb-item {
    border-color: var(--pd-gold);
}

.pd-thumb-item:hover img {
    transform: scale(1.1);
}

/* ==========================================
   DETAILS SECTION
   ========================================== */

.pd-details-section {
    padding: 80px 0;
    background: white;
}

/* Info Card */
.pd-info-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--pd-shadow-md);
    border: 1px solid rgba(168, 141, 94, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pd-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pd-gold), var(--pd-gold-light));
}

.pd-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pd-shadow-lg);
}

.pd-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pd-gold), var(--pd-gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pd-card-icon i {
    color: white;
    font-size: 1.6rem;
}

.pd-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pd-brown-dark);
    margin-bottom: 15px;
}

.pd-card-divider {
    width: 50px;
    height: 3px;
    background: var(--pd-gold);
    margin-bottom: 25px;
}

/* Hotel Items */
.pd-hotel-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--pd-cream);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pd-hotel-item:last-child {
    margin-bottom: 0;
}

.pd-hotel-item:hover {
    background: var(--pd-gold);
    transform: translateX(5px);
}

.pd-hotel-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pd-hotel-icon i {
    color: var(--pd-gold);
    font-size: 1.3rem;
}

.pd-hotel-item:hover .pd-hotel-icon {
    background: var(--pd-brown-dark);
}

.pd-hotel-item:hover .pd-hotel-icon i {
    color: var(--pd-gold-light);
}

.pd-hotel-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pd-brown-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.pd-hotel-info p {
    font-size: 0.95rem;
    color: var(--pd-brown-mid);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.pd-hotel-item:hover .pd-hotel-info h4,
.pd-hotel-item:hover .pd-hotel-info p {
    color: white;
}

/* Includes Grid */
.pd-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.pd-include-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--pd-cream);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pd-include-item:hover {
    background: var(--pd-gold);
    transform: translateY(-5px);
    box-shadow: var(--pd-shadow-md);
}

.pd-include-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.pd-include-icon i {
    font-size: 1.5rem;
    color: var(--pd-gold);
    transition: color 0.3s ease;
}

.pd-include-item:hover .pd-include-icon {
    background: var(--pd-brown-dark);
}

.pd-include-item:hover .pd-include-icon i {
    color: var(--pd-gold-light);
}

.pd-include-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pd-brown-dark);
    transition: color 0.3s ease;
}

.pd-include-item:hover span {
    color: white;
}

.pd-include-inactive {
    opacity: 0.3;
    cursor: default;
}

.pd-include-inactive:hover {
    background: var(--pd-cream);
    transform: none;
    box-shadow: none;
}

.pd-include-inactive:hover .pd-include-icon {
    background: white;
}

.pd-include-inactive:hover .pd-include-icon i {
    color: var(--pd-gold);
}

.pd-include-inactive:hover span {
    color: var(--pd-brown-dark);
}

/* Package Content */
.pd-content {
    color: var(--pd-brown-mid);
    font-size: 1rem;
    line-height: 1.8;
}

.pd-content h3 {
    color: var(--pd-brown-dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.pd-content ul {
    padding-left: 25px;
}

.pd-content li {
    margin-bottom: 10px;
}

/* ==========================================
   BOOKING CARD (Sidebar)
   ========================================== */

.pd-booking-card {
    background: linear-gradient(135deg, var(--pd-brown-dark) 0%, #4a2f22 100%);
    border-radius: 15px;
    padding: 35px;
    color: white;
    position: sticky;
    top: 100px;
    box-shadow: var(--pd-shadow-lg);
}

.pd-booking-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.pd-booking-header i {
    color: var(--pd-gold-light);
    font-size: 1.2rem;
}

.pd-booking-header span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pd-booking-price {
    text-align: center;
    margin-bottom: 30px;
}

.pd-price-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.pd-price-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--pd-gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.pd-price-per {
    font-size: 0.9rem;
    opacity: 0.7;
}

.pd-booking-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.pd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.pd-btn-primary {
    background: var(--pd-gold);
    color: var(--pd-brown-dark);
}

.pd-btn-primary:hover {
    background: var(--pd-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 151, 86, 0.4);
}

.pd-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--pd-gold);
}

.pd-btn-secondary:hover {
    background: var(--pd-gold);
    color: var(--pd-brown-dark);
    transform: translateY(-3px);
}

.pd-booking-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 25px 0;
}

.pd-booking-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-booking-contact h4 i {
    color: var(--pd-gold-light);
}

.pd-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pd-contact-item:hover {
    background: var(--pd-gold);
    color: var(--pd-brown-dark);
    transform: translateX(5px);
}

.pd-contact-item i {
    font-size: 1.1rem;
    color: var(--pd-gold-light);
    transition: color 0.3s ease;
}

.pd-contact-item:hover i {
    color: var(--pd-brown-dark);
}

.pd-whatsapp:hover {
    background: #25D366;
    color: white;
}

.pd-whatsapp:hover i {
    color: white;
}

/* ==========================================
   QUOTE SECTION
   ========================================== */

.pd-quote-section {
    padding: 80px 0;
    background: var(--pd-cream);
}

/* ==========================================
   RELATED PACKAGES SECTION
   ========================================== */

.pd-related-section {
    padding: 80px 0;
    background: white;
}

.pd-related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--pd-shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 141, 94, 0.2);
}

.pd-related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pd-shadow-lg);
}

.pd-related-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--pd-cream);
}

.pd-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pd-related-card:hover .pd-related-image img {
    transform: scale(1.1);
}

.pd-related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pd-brown-dark), var(--pd-brown-mid));
}

.pd-related-placeholder i {
    font-size: 4rem;
    color: var(--pd-gold);
    opacity: 0.5;
}

.pd-related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 65, 49, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-related-card:hover .pd-related-overlay {
    opacity: 1;
}

.pd-related-link {
    width: 60px;
    height: 60px;
    background: var(--pd-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.pd-related-link:hover {
    background: var(--pd-gold-light);
    transform: scale(1.2);
}

.pd-related-body {
    padding: 25px;
}

.pd-related-body h4 {
    margin-bottom: 15px;
}

.pd-related-body h4 a {
    color: var(--pd-brown-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.pd-related-body h4 a:hover {
    color: var(--pd-gold);
}

.pd-related-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--pd-brown-mid);
}

.pd-related-price strong {
    font-size: 1.5rem;
    color: var(--pd-gold);
    font-weight: 700;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 991px) {
    .pd-hero {
        padding: 100px 0 60px;
    }
    
    .pd-title {
        font-size: 2.2rem;
    }
    
    .pd-gallery-item {
        height: 500px;
    }
    
    .pd-booking-card {
        position: static;
        margin-top: 30px;
    }
    
    .pd-section-header h2 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pd-hero {
        padding: 80px 0 50px;
    }
    
    .pd-title {
        font-size: 1.8rem;
    }
    
    .pd-description {
        font-size: 1rem;
    }
    
    .pd-quick-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .pd-quick-item {
        width: 100%;
        justify-content: center;
    }
    
    .pd-gallery-section,
    .pd-details-section,
    .pd-quote-section,
    .pd-related-section {
        padding: 60px 0;
    }
    
    .pd-section-header h2 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .pd-gallery-item {
        height: 350px;
    }
    
    .pd-thumb-item {
        height: 80px;
    }
    
    .pd-info-card {
        padding: 25px;
    }
    
    .pd-card-title {
        font-size: 1.3rem;
    }
    
    .pd-includes-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .pd-include-item {
        padding: 20px 10px;
    }
    
    .pd-booking-card {
        padding: 25px;
    }
    
    .pd-price-value {
        font-size: 2.5rem;
    }
    
    .pd-related-image {
        height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .pd-hero {
        padding: 70px 0 40px;
    }
    
    .pd-title {
        font-size: 1.6rem;
    }
    
    .pd-breadcrumb {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .pd-gallery-item {
        height: 300px;
    }
    
    .pd-gallery-next,
    .pd-gallery-prev {
        width: 40px;
        height: 40px;
    }
    
    .pd-includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pd-hotel-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pd-booking-actions {
        gap: 10px;
    }
    
    .pd-btn {
        padding: 13px 20px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .pd-hero-overlay,
    .pd-hero-pattern,
    .pd-gallery-section,
    .pd-booking-card,
    .pd-related-section {
        display: none;
    }
}
