/* Responsive Styles */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .hero {
        padding: 0 2rem;
    }

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

    .hero-content h2 {
        font-size: 4rem;
    }

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

/* Mobile devices */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 0 1.5rem;
        height: 100vh;
        justify-content: flex-start;
        padding-top: 25vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .pre-hero-content {
        font-size: 1.125rem;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-button {
        margin-top: 2rem;
    }

    /* Projects Section */
    .projects {
        padding: 3rem 0;
    }

    .projects h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        margin-bottom: 1rem;
    }

    /* Contact Section */
    .contact {
        padding: 3rem 0;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 0 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .pre-hero-content {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 0.875rem;
    }

    .cta-button a {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Height-based media queries for better hero section display */
@media (max-height: 700px) {
    .hero {
        padding-top: 15vh;
    }

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

    .hero-content p {
        margin-bottom: 1rem;
    }
}

/* Landscape mode handling */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: 10vh;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
} 