/* ===============================================
   MARKETING & ENGAGEMENT STYLES
   =============================================== */

/* Chatbot Styles */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1010;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.chat-container.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #ffffff;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#chat-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    height: 300px;
    background: #f8f9fa;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

#user-input {
    flex-grow: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.75rem;
    font-size: 1rem;
}

#send-message {
    background: #2e7d32;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#send-message:hover {
    background: #1b5e20;
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #2e7d32;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
    z-index: 1005;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background: #1b5e20;
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.2);
    z-index: 1020;
    width: 90%;
    max-width: 500px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup.open {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666666;
}

.popup h4 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.popup p {
    color: #424242;
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.popup-btn.primary {
    background: #2e7d32;
    color: #ffffff;
}

.popup-btn.primary:hover {
    background: #1b5e20;
}

.popup-btn.secondary {
    background: #f8f9fa;
    color: #1a1a1a;
}

.popup-btn.secondary:hover {
    background: #e0e0e0;
}
