/* Prevent body scroll when modal is open */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

body.gm-modal-open {
    overflow: hidden;
    height: 100vh;
}

/* Floating Offer Button - LEFT SIDE */
.gm-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    animation: gm-float-pulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.gm-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.gm-floating-btn i {
    font-size: 28px;
    color: #fff;
}

/* Floating text label - Only shows on hover */
.gm-floating-label {
    position: fixed;
    bottom: 35px;
    left: 105px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    z-index: 9998;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.gm-floating-btn:hover + .gm-floating-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes gm-float-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
    }
}

/* Notification badge */
.gm-floating-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #fff;
    animation: gm-badge-ping 1.5s ease-in-out infinite;
}

@keyframes gm-badge-ping {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .gm-floating-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        left: 20px;
    }
    
    .gm-floating-btn i {
        font-size: 24px;
    }
    
    .gm-floating-label {
        bottom: 28px;
        left: 90px;
        padding: 10px 16px;
        font-size: 12px;
    }
}

.gm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 15px;
    overflow-y: auto; /* Add this */
    overscroll-behavior: contain; /* Add this */
}

.gm-modal-overlay.gm-active {
    opacity: 1;
    visibility: visible;
}
.gm-modal-container {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(-30px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    display: flex;
    flex-direction: row;
    margin: auto; /* Add this */
}

.gm-modal-overlay.gm-active .gm-modal-container {
    transform: scale(1) translateY(0);
}

/* Close Button */
.gm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gm-modal-close:hover {
    background: #ff4757;
    transform: rotate(90deg);
}

.gm-modal-close i {
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.gm-modal-close:hover i {
    color: #fff;
}

/* Left Side - Image */
.gm-modal-left {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.gm-modal-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.gm-modal-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 0px 15px;
    color: white;
}

.gm-modal-image-text {
    color: rgb(255, 218, 170);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0px;
}

.gm-modal-image-subtext {
    color: white;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

/* Right Side - Content */
.gm-modal-right {
    flex: 1;
    padding: 30px 25px;
    overflow-y: auto;
    background: #fff;
}

.gm-modal-right::-webkit-scrollbar {
    width: 6px;
}

.gm-modal-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gm-modal-right::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

/* Header */
.gm-modal-header {
    margin-bottom: 20px;
}

.gm-modal-brand {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gm-modal-title {
    font-size: 24px;
    font-weight: 700;
   
  background: linear-gradient(350deg, #2c3e50, #015993);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
    margin-bottom: 10px;
    line-height: 1.3;
   font-family: "DM Serif Text", serif;
}

.gm-modal-price {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    animation: gm-pulse2 2s ease-in-out infinite;
}

.gm-modal-subtitle {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    margin: 15px 0;
}

/* Features List */
.gm-features-list {
    margin: 15px 0;
}

.gm-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #495057;
    line-height: 1.5;
}

.gm-feature-icon {
    flex-shrink: 0;
    width: 18px;
    font-size: 14px;
}

/* Package Info */
.gm-package-info {
    width: 20vw;
    background:linear-gradient(135deg,#4568DC 0%, #B06AB3 100%);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.gm-package-info-item h4 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
    color: white;
}

.gm-package-info-item p {
    font-size: 18px;
    font-weight: 700;
    color: wheat;
}

/* Contact Section */
.gm-contact-section {
    margin-top: 15px;
}

.gm-contact-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.gm-contact-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gm-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.gm-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.gm-contact-btn i {
    font-size: 14px;
}

.gm-limited-seats {
    background: linear-gradient(280deg, #e96183, #de364f);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    font-size: 13px;
    animation: gm-pulse 2s ease-in-out infinite;
}

@keyframes gm-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes gm-pulse2 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gm-modal-overlay {
        padding: 10px;
    }

    .gm-modal-container {
        flex-direction: column;
        max-height: 85vh;
        border-radius: 12px;
    }

    .gm-modal-left {
        flex: 0 0 180px;
        min-height: 180px;
    }

    .gm-modal-image-text {
        font-size: 16px;
    }

    .gm-modal-image-subtext {
        font-size: 12px;
    }

    .gm-modal-right {
        padding: 20px 15px;
    }

    .gm-modal-title {
        font-size: 18px;
    }

    .gm-modal-price {
        font-size: 18px;
        padding: 6px 14px;
    }

    .gm-modal-brand {
        font-size: 12px;
    }

    .gm-feature-item {
        font-size: 12px;
        padding: 6px 0;
    }

    .gm-contact-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gm-contact-btn {
        padding: 12px;
        font-size: 13px;
    }

    .gm-package-info {
        /* flex-direction: column; */
        gap: 10px;
        padding: 12px;
        width: 85vw;
    }

    .gm-package-info-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gm-modal-left {
        flex: 0 0 150px;
        min-height: 220px;
    }

    .gm-modal-right {
        padding: 15px 12px;
    }

    .gm-modal-title {
        font-size: 16px;
    }

    .gm-modal-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }
}