/**
 * Responsive styles for Sanam Almjd theme
 */

/* Desktop (1024px and above) */
@media screen and (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    /* Header */
    .site-header {
        padding: 20px 0;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Navigation */
    .main-navigation {
        display: flex;
        align-items: center;
    }
    
    .nav-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu li {
        margin: 0 15px;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 120px 0;
    }
    
    .hero-inner {
        max-width: 60%;
    }
    
    /* Features Grid */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* Footer */
    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

/* Tablet (700px to 1023px) */
@media screen and (min-width: 700px) and (max-width: 1023px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Header */
    .site-header {
        padding: 15px 0;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 100px 0;
    }
    
    .hero-inner {
        max-width: 80%;
    }
    
    /* Features Grid */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Large (450px to 699px) */
@media screen and (min-width: 450px) and (max-width: 699px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Header */
    .site-header {
        padding: 10px 0;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 80px 0;
    }
    
    .hero-inner {
        max-width: 100%;
    }
    
    /* Features Grid */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile (up to 449px) */
@media screen and (max-width: 449px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Header */
    .site-header {
        padding: 10px 0;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-inner {
        max-width: 100%;
    }
    
    /* Features Grid */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Typography */
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
}

/* Add this to your existing responsive.css file */

/* Floating Bottom Navigation */
.floating-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(18, 18, 18, 0.9);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 12px;
}

.floating-bottom-nav .nav-item .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}



/* Large screens (1200px and up) */
@media screen and (min-width: 1200px) {
    .lets-connect-title {
        font-size: 48px;
    }
    
    .hover-button {
        padding: 18px 36px;
        font-size: 20px;
    }
    
    .footer-container {
        padding: 60px 0 30px;
    }
}

/* Medium screens (768px to 1199px) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .lets-connect-title {
        font-size: 36px;
    }
    
    .footer-navigation-container {
        justify-content: space-around;
    }
}

/* Small screens (767px and down) */
@media screen and (max-width: 767px) {
    .lets-connect-title {
        font-size: 28px;
        padding: 0 16px;
    }
    
    .hover-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .footer-logo-container {
        max-width: 280px;
    }
    
    .footer-navigation-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-nav-column {
        margin-right: 0;
        margin-bottom: 32px;
    }
    
    .social-icons-container {
        flex-wrap: wrap;
    }
}

/* Extra small screens (480px and down) */
@media screen and (max-width: 480px) {
    .lets-connect-title {
        font-size: 24px;
    }
    
    .hover-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .back-to-top-button {
        width: 50px;
        height: 50px;
    }
    
    .footer-social-text,
    .footer-made-text {
        font-size: 14px;
    }
    
    .copyright-text {
        font-size: 12px;
        text-align: center;
    }
}

/* RTL specific adjustments */
html[dir="rtl"] {
    .footer-copyright {
        text-align: right;
    }
    
    .footer-nav-column {
        margin-right: 0;
        margin-left: 48px;
    }
    
    @media screen and (max-width: 767px) {
        .footer-nav-column {
            margin-left: 0;
        }
    }
}
@media screen and (max-width: 767px) {
    .site-header {
        padding: 10px 0;
    }
    
    .floating-bottom-nav {
        width: 90%;
        justify-content: space-around;
    }
    
    .floating-bottom-nav .nav-item {
        margin: 0 5px;
    }
}