/* Private Umrah Modal Styles */
/* Elegant Theme: Gold, Blue, White */

.private-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.private-modal-content {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    width: 90%;
    max-width: 500px; /* Portrait flyer style */
    max-height: 85vh; /* Ensure it fits on screen */
    overflow-y: auto; /* Scrollable if too tall */
    scrollbar-width: thin; /* Firefox */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    /* overflow: hidden; Removed to allow scroll */
    animation: slideUp 0.4s ease-out;
    border: 1px solid #d4af37; /* Gold border */
}

.private-modal-content.closing {
    animation: slideDown 0.4s ease-in forwards;
}

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

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

.private-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    background: rgba(255,255,255,0.5); /* Semi-transparent bg for visibility */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.private-modal-close:hover {
    color: #b91c1c;
}

/* Flyer Design Recreation */
.pm-header {
    text-align: center;
    padding: 20px 20px 10px;
    background: url('/assets/img/pattern-bg.png'); /* Optional pattern */
}

.pm-logo {
    height: 60px;
    margin-bottom: 5px;
}

.pm-ppiu {
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.pm-title {
    color: #0d47a1; /* Dark Blue */
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    font-family: 'Georgia', serif; /* Elegant font */
}

.pm-subtitle {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 5px;
    font-family: 'Georgia', serif;
}

.pm-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 15px auto;
    width: 80%;
}

.pm-price-box {
    background: white;
    border: 2px solid #d4af37; /* Gold */
    border-radius: 10px;
    padding: 15px;
    margin: 15px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pm-price-label {
    color: #0d47a1;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pm-price-amount {
    color: #0d47a1;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 5px 0;
    line-height: 1;
}

.pm-price-amount span {
    font-size: 1.5rem;
    vertical-align: top;
    color: #d4af37;
}

.pm-duration {
    color: #0d47a1;
    font-weight: bold;
}

.pm-icons-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding: 0 10px;
}

.pm-icon-item {
    text-align: center;
    width: 70px;
}

.pm-icon-img {
    font-size: 24px;
    color: #0d47a1;
    margin-bottom: 5px;
}

.pm-icon-text {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    color: #333;
}

.pm-features-list {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff);
    padding: 15px 30px;
    text-align: left;
}

.pm-features-header {
    color: #0d47a1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.pm-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-features-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #333;
}

.pm-features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.pm-footer {
    background: #000;
    color: #d4af37; /* Gold */
    text-align: center;
    padding: 15px;
    position: relative;
}

.pm-footer-text {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pm-cta-button {
    display: block;
    background: #25d366; /* WhatsApp Green */
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 30px 20px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.pm-cta-button:hover {
    transform: translateY(-2px);
    background: #20bd5a;
}

/* Floating Trigger Button */
.pm-floating-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #d4af37;
    animation: pulse 2s infinite;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: hidden;
    white-space: nowrap;
    max-width: 300px;
}

.pm-floating-trigger.minimized {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
    animation: none; /* Stop pulsing when minimized to be less intrusive */
    bottom: 20px;
    left: 20px;
}

.pm-floating-trigger.minimized span:last-child {
    display: none;
}

.pm-floating-trigger.minimized:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); /* Gold glow */
}

.pm-close-btn-bottom {
    display: block;
    width: 100%;
    padding: 15px;
    background: #f5f5f5;
    border: none;
    border-top: 1px solid #ddd;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

.pm-close-btn-bottom:hover {
    background: #e0e0e0;
    color: #333;
}

/* Animation for Pulse */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .pm-floating-trigger {
        bottom: 25px !important;
        left: 20px !important;
        padding: 10px 15px;
        font-size: 0.9rem;
        max-width: 160px; /* Limit width on mobile */
        z-index: 99999 !important;
        display: flex !important;
    }
    
    .pm-floating-trigger span:first-child {
        font-size: 1rem; /* Smaller icon */
    }
    
    .private-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}
