/* responsive.css - Media Queries */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 3rem;
    }
    
    .header {
        padding: 4rem;
    }
    
    .content {
        padding: 4rem;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .arabic-name {
        font-size: 2.2rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }
    
    .book-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        padding: 2rem 1.5rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .arabic-name {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .nav-btn {
        width: 200px;
        padding: 1rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .book-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item::before {
        left: 0.2rem;
        width: 1.2rem;
        height: 1.2rem;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .content {
        padding: 1.5rem 1rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .arabic-name {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        width: 180px;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-box {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .quote-box::before {
        font-size: 3rem;
        left: 10px;
        top: -5px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .header {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .content {
        padding: 1.5rem 1rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .arabic-name {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .nav {
        gap: 0.5rem;
    }
    
    .nav-btn {
        width: 160px;
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .book-card {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
    
    .timeline::before {
        left: 0.8rem;
        width: 2px;
    }
    
    .timeline-item::before {
        left: 0.1rem;
        width: 1rem;
        height: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 320px) {
    .name {
        font-size: 1.3rem;
    }
    
    .arabic-name {
        font-size: 1rem;
    }
    
    .nav-btn {
        width: 140px;
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .quote-box {
        padding: 1rem;
        font-size: 0.9rem;
    }
}