/* ==========================================================================
   YAHIA AZAB PORTFOLIO - RESPONSIVE STYLING
   ========================================================================== */

/* Extra Large Viewports (> 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Medium & Small Viewports (< 992px) */
@media (max-width: 991px) {
    /* Section Padding Adjustments */
    section {
        padding: 70px 0;
    }
    
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .typing-container {
        font-size: 1.3rem;
    }
    
    /* Navigation Menu Adjustments */
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 20px;
        margin-top: 15px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    [data-bs-theme="light"] .navbar-collapse {
        background: rgba(250, 250, 250, 0.98);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }
    
    .navbar-nav .nav-link::after {
        left: 0;
        bottom: 5px;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 40px;
    }
    
    .theme-toggle-btn {
        margin: 10px 0;
    }
    
    /* Hero layout re-ordering */
    .hero-img-wrapper {
        max-width: 280px;
        margin-bottom: 30px;
    }
    
    .widget-code {
        top: 10%;
        left: -15%;
    }
    
    .widget-database {
        bottom: 15%;
        right: -15%;
    }
    
    .widget-python {
        bottom: -5%;
        left: -10%;
    }
    
    /* Terminal window height reduction */
    .terminal-body {
        min-height: 200px;
        font-size: 0.8rem;
    }
}

/* Tablet & Mobile Viewports (< 768px) */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-lead {
        font-size: 1rem;
    }
    
    /* Stats padding adjustments */
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Timeline details */
    .timeline-v::before {
        left: 15px;
    }
    
    .timeline-v-icon {
        left: 15px;
    }
    
    .timeline-v-content {
        margin-left: 45px;
        padding: 20px !important;
    }
    
    /* Project card sizes */
    .project-img-container {
        height: 180px;
    }
    
    /* Services font sizing */
    .service-card {
        padding: 25px 20px !important;
    }
    
    .service-title {
        font-size: 1.15rem;
    }
    
    /* Contact details */
    .contact-form-wrapper {
        padding: 25px 20px !important;
    }
}

/* Tiny Mobile Viewports (< 480px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-buttons .btn {
        width: 100%;
    }
    
    .portfolio-filters {
        border-radius: 16px !important;
        padding: 8px !important;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .portfolio-filters .filter-btn {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
}
