/**
 * AgenUmroh Packages CSS
 * Styled with navy #0f3d6e + amber #f59e0b palette
 */

/* Grid Layout */
.agenumroh-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* Package Card */
.agenumroh-package-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.agenumroh-package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Badge */
.package-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0f3d6e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Content */
.package-content {
    padding: 20px;
}

.package-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f3d6e;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 3em;
}

/* Meta Info */
.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Pricing */
.package-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.price-item {
    font-size: 12px;
    color: #374151;
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.package-price {
    font-size: 1.25rem;
    color: #0f3d6e;
    margin: 12px 0;
    font-weight: 600;
}

.package-price strong {
    color: #f59e0b;
}

/* CTA Button */
.btn-booking {
    display: inline-block;
    background: #25D366;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    margin-top: 12px;
}

.btn-booking:hover {
    background: #20BA5C;
}

/* Package Note */
.package-note {
    font-size: 13px;
    color: #6b7280;
    margin: 12px 0;
    padding: 10px;
    background: #fffbeb;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

/* Single Package */
.agenumroh-package-single {
    max-width: 800px;
    margin: 0 auto;
}

.package-details-section {
    margin-top: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.package-details-section h4 {
    margin: 0 0 12px 0;
    color: #0f3d6e;
}

.package-include-list,
.package-exclude-list {
    margin: 0;
    padding-left: 20px;
}

.package-include-list li,
.package-exclude-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* No Packages */
.agenumroh-no-packages {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-style: italic;
}

/* Error */
.agenumroh-error {
    text-align: center;
    padding: 20px;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 8px;
}

/* CTA Button Shortcode */
.agenumroh-cta-btn {
    display: inline-block;
    background: #25D366;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
}

.agenumroh-cta-btn:hover {
    background: #20BA5C;
}

/* List Layout */
.layout-list .agenumroh-package-card {
    display: flex;
    flex-direction: row;
}

.layout-list .package-content {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .agenumroh-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .layout-list .agenumroh-package-card {
        flex-direction: column;
    }
}
/* Seat Badge Styles */
.badge-full {
    background: #dc2626 !important;
    color: #fff !important;
}

.badge-habis {
    background: #f59e0b !important;
    color: #fff !important;
    animation: pulse 2s infinite;
}

.badge-available {
    background: #10b981 !important;
    color: #fff !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
