/* Mobile Responsive Styles */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .standpunten-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablet Portrait and Below (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1500;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }

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

    /* Hero sectie */
    .hero {
        min-height: auto;
        padding: 6rem 1rem 4rem;
    }

    .hero-content {
        padding: 1rem;
    }

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

    .hero-text .tagline {
        font-size: 1.1rem;
        min-height: 40px;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .hero-image img {
        max-height: 300px;
    }

    /* sectiees */
    section {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* grdis */
    .standpunten-grid,
    .kandidaten-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .standpunt-card,
    .reason-card,
    .achievement-card {
        padding: 2rem;
    }

    .standpunt-header {
        flex-direction: column;
        gap: 1rem;
    }

    .standpunt-icon-box {
        width: 50px;
        height: 50px;
    }

    .standpunt-icon-box svg {
        width: 25px;
        height: 25px;
    }

    .standpunt-card h3 {
        font-size: 1.3rem;
    }

    .kandidaat-photo {
        height: 280px;
    }

    .kandidaat-initials {
        font-size: 4rem;
    }

    /* Modal */
    .modal {
        padding: 1rem;
        align-items: flex-start;
    }

    .modal-content {
        max-height: 90vh;
        margin: 2rem auto;
    }

    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }

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

    .modal-icon-box {
        width: 60px;
        height: 60px;
    }

    .modal-icon-box svg {
        width: 30px;
        height: 30px;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-body h4 {
        font-size: 1.3rem;
    }

    /* Footer */
    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-about h3 {
        font-size: 1.5rem;
    }
}

/* Mobile klein (480px) */
@media (max-width: 480px) {
    .ff-logo {
        height: 50px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-text .tagline {
        font-size: 1rem;
    }

    .typed-text {
        border-right-width: 2px;
    }

    .standpunt-card,
    .reason-card,
    .achievement-card {
        padding: 1.5rem;
    }

    .reason-number {
        font-size: 2.5rem;
    }

    .kandidaat-photo {
        height: 250px;
    }

    .kandidaat-initials {
        font-size: 3.5rem;
    }

    .kandidaat-info {
        padding: 1.5rem;
    }

    .kandidaat-info h3 {
        font-size: 1.4rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
}

/* Landscape Mobile telefoon */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 3rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-image img {
        max-height: 250px;
    }

    .modal-content {
        max-height: 95vh;
    }
}

/* voorkim horizontal scroll op mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    img {
        height: auto;
    }
}

/* Touch-friendly clickable gedeeltes */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }

    .standpunt-card,
    .kandidaat-card,
    .reason-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .modal-close {
        min-width: 48px;
        min-height: 48px;
    }
}
