/* Responsive Design for FoxMaster Website */

/* Large Screens (Desktops) */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Screens (Tablets) */
@media screen and (max-width: 992px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
        z-index: 100;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .testimonials-slider {
        width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}

/* Small Screens (Mobile Phones) */
@media screen and (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Payment Page Responsive */
    .payment-details-container {
        flex-direction: column;
    }
    
    .payment-qr-container {
        flex-direction: column;
    }
    
    .payment-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-button {
        width: 100%;
    }
    
    .binance-id-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .binance-id {
        width: 100%;
        text-align: center;
    }
    
    .copy-button {
        width: 100%;
    }
}

/* Extra Small Screens */
@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .navbar-brand img {
        max-width: 120px;
    }
    
    .language-switcher {
        margin-left: 10px;
    }
    
    .payment-steps-container h2 {
        font-size: 1.5rem;
    }
    
    .payment-steps li {
        font-size: 0.9rem;
    }
    
    /* WhatsApp Button Responsive */
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 25px;
    }
}

/* RTL Specific Adjustments for Arabic */
html[data-lang="ar"] .navbar-nav {
    right: 0;
    left: auto;
}

html[data-lang="ar"] .nav-item {
    margin-right: 0;
    margin-left: 20px;
}

html[data-lang="en"] .navbar-nav {
    right: auto;
    left: 0;
}

html[data-lang="en"] .nav-item {
    margin-right: 20px;
    margin-left: 0;
}

/* Fix for WhatsApp Button Position on Different Screen Sizes */
@media screen and (max-width: 768px) {
    .whatsapp-chat {
        bottom: 15px;
    }
    
    html[data-lang="ar"] .whatsapp-chat {
        right: 15px;
    }
    
    html[data-lang="en"] .whatsapp-chat {
        left: 15px;
    }
}

/* Fix for Binance ID Section on Mobile */
@media screen and (max-width: 576px) {
    .binance-id-section {
        padding: 15px 10px;
    }
    
    .binance-id {
        font-size: 20px !important;
        padding: 8px 15px !important;
    }
}
