/* Responsive Styles */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .video-block {
        width: calc(50% - 30px);
    }
    
    .container {
        margin: 15px;
    }
    
    .left-section, .right-section {
        padding: 30px;
    }
}

/* Medium-sized tablets */
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-button {
        font-size: 16px;
        padding: 8px 12px;
        margin: 0 5px;
    }
    
    .control-button {
        margin-left: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 24px;
    }
}

/* Large Mobile Devices */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    }
    
    .nav-logo {
        order: 1;
        width: 50%;
    }
    
    .nav-controls {
        order: 2;
        width: 50%;
        justify-content: flex-end;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .name {
        font-size: 28px;
        text-align: center;
    }
    
    .video-block {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .container {
        flex-direction: column;
    }
    
    .left-section, .right-section {
        width: 100%;
        border-right: none;
    }
    
    .left-section {
        border-bottom: 1px solid var(--border-color);
    }
    
    .image-container {
        flex-direction: column;
        align-items: center;
    }
    
    .image-container img {
        width: 80%;
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .skill-tags {
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .navbar {
        padding: 10px;
    }
    
    .nav-logo {
        font-size: 18px;
    }
    
    .nav-button {
        font-size: 14px;
        padding: 6px 10px;
        margin: 0 3px;
    }
    
    .control-button {
        margin-left: 5px;
        padding: 6px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .video-title {
        font-size: 18px;
    }
    
    .video {
        height: 180px;
    }
    
    .left-section, .right-section {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .highlighted-text {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .image-container img {
        width: 100%;
    }
    
    ul, ol {
        margin-left: 20px;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .nav-logo {
        font-size: 16px;
    }
    
    .nav-button {
        font-size: 13px;
        padding: 5px 8px;
        margin: 0 2px;
    }
    
    .theme-icon {
        font-size: 14px;
    }
    
    #language-selector {
        font-size: 13px;
        padding: 3px 6px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .video-title {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    
    .navbar, .video-container, footer, .control-button, .play-button, .git-button {
        display: none !important;
    }
    
    .container, .left-section, .right-section {
        display: block;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: white !important;
    }
    
    h1, h2, h3 {
        color: black !important;
        page-break-after: avoid;
    }
    
    p, li {
        page-break-inside: avoid;
    }
    
    .highlighted-text {
        border: 1px solid #ccc;
        background-color: white !important;
        color: black !important;
    }
    
    a {
        text-decoration: none;
        color: black !important;
    }
}