/* 響應式設計 */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .services-grid,
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .modal-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        z-index: 999;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 20px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .contact-content {
        flex-direction: column;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
        margin: 10% auto;
    }

    .modal-image {
        height: 250px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.5rem;
    }

    .logo-badges {
        flex-direction: row;
        gap: 8px;
    }

    .logo-badge {
        font-size: 0.5rem;
        padding: 1px 4px;

    }

    .logo-container {
        max-width: 180px;
    }

}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .services-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 200px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.45rem;
    }

    .logo-badge {
        font-size: 0.45rem;
    }

    .divider {
        width: 80px;
    }
}
