/* Tour Inquiry Modal Styles */

.tour-inquiry-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.tour-inquiry-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-inquiry-content {
    background-color: var(--pure-white);
    margin: 20px;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.tour-inquiry-header {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.tour-inquiry-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.tour-inquiry-header p {
    margin: 8px 0 0 0;
    opacity: 0.95;
    font-size: 0.95rem;
}

.tour-inquiry-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.tour-inquiry-close:hover,
.tour-inquiry-close:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.tour-inquiry-body {
    padding: 30px;
}

.tour-inquiry-form .form-group {
    margin-bottom: 20px;
}

.tour-inquiry-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.tour-inquiry-form label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.tour-inquiry-form input,
.tour-inquiry-form select,
.tour-inquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--pure-white);
}

.tour-inquiry-form input:focus,
.tour-inquiry-form select:focus,
.tour-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.tour-inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.tour-inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tour-inquiry-form .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.tour-inquiry-form .form-group.error input,
.tour-inquiry-form .form-group.error select,
.tour-inquiry-form .form-group.error textarea {
    border-color: #e74c3c;
}

.tour-inquiry-form .form-group.error .error-message {
    display: block;
}

.tour-inquiry-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.tour-inquiry-actions button {
    flex: 1;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-inquiry-submit {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c1a);
    color: white;
}

.tour-inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 153, 51, 0.4);
}

.tour-inquiry-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tour-inquiry-cancel {
    background: #f5f5f5;
    color: var(--text-dark);
}

.tour-inquiry-cancel:hover {
    background: #e0e0e0;
}

/* Floating Inquiry Button */
.inquiry-float {
    position: fixed;
    bottom: 270px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c1a);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulseInquiry 2s infinite;
    border: none;
    cursor: pointer;
}

.inquiry-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 153, 51, 0.6);
}

@keyframes pulseInquiry {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 153, 51, 0.7);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tour-inquiry-content {
        width: 95%;
        margin: 10px;
    }

    .tour-inquiry-header {
        padding: 20px;
    }

    .tour-inquiry-header h2 {
        font-size: 1.5rem;
    }

    .tour-inquiry-body {
        padding: 20px;
    }

    .tour-inquiry-form .form-row {
        grid-template-columns: 1fr;
    }

    .tour-inquiry-actions {
        flex-direction: column;
    }

    .inquiry-float {
        bottom: 250px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .tour-inquiry-header h2 {
        font-size: 1.3rem;
    }

    .tour-inquiry-header p {
        font-size: 0.85rem;
    }

    .inquiry-float {
        bottom: 230px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}


