/* responsive.css - Responsive Stiller */

/* Tablets and Small Laptops */
@media screen and (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .about-content {
        gap: 30px;
    }

    .timeline-item {
        padding: 10px 30px;
    }

    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    /* Timeline */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 21px !important;
    }

    /* Skills */
    .skills-container {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
    /* General */
    body {
        font-size: 14px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Navigation */
    .logo {
        font-size: 1.2rem;
    }

    .language-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }

    /* About Section */
    .about-image img {
        width: 200px;
        height: 200px;
    }

    /* Timeline */
    .timeline-item {
        padding-left: 50px;
        padding-right: 20px;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    /* Skills */
    .skill-category {
        padding: 20px;
    }

    .skill-category h3 {
        font-size: 1.1rem;
    }

    /* Education */
    .education-item {
        padding: 20px;
    }

    .education-item h3 {
        font-size: 1.1rem;
    }

    .education-item h4 {
        font-size: 1rem;
    }

    /* Contact */
    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Footer */
    .social-links a {
        margin: 0 10px;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-dot {
        width: 15px;
        height: 15px;
        left: 19px !important;
    }

    .timeline::after {
        left: 26px;
    }
}

/* Landscape Orientation */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* High Resolution Screens */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .timeline-content:hover,
    .skill-category:hover,
    .education-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    /* Already defined in main.css but can be extended here if needed */
    .about-content {
        flex-direction: column;
    }

    .timeline::after {
        display: none;
    }

    .timeline-item {
        width: 100%;
        padding: 10px 0;
        left: 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        display: none;
    }
}
