/* ========================================
   ADVANCED ENHANCEMENTS - FINAL VERSION
   Only Active Styles
   ======================================== */

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-title {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.newsletter-section h4 {
    font-family: 'Kanit', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-section p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    border: none;
    border-radius: 8px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.newsletter-section small {
    color: #999;
    font-size: 0.85rem;
}

.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4CAF50;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px;
}

.success-message i {
    font-size: 1.5rem;
}

/* ===== CHAT BUTTON PULSE =====  */
.chat-btn.pulse-once {
    animation: pulseButton 1s ease;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 30px 20px;
    }

    .newsletter-section h4 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .payment-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 25px 15px;
    }

    .newsletter-section h4 {
        font-size: 1.25rem;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        font-size: 0.9rem;
        padding: 12px 18px;
    }

    .payment-icons i {
        font-size: 1.75rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.newsletter-form input:focus-visible,
.newsletter-form button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {

    .newsletter-section,
    .payment-methods {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-section {
    animation: fadeInUp 0.6s ease;
}
