/* 响应式样式 */

/* 大屏幕设备 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 中等屏幕设备 (992px-1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .slogan {
        font-size: 1.3rem;
    }
    
    .featured-gallery {
        grid-template-rows: repeat(2, 200px);
    }
}

/* 平板设备 (768px-991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .slogan {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu li {
        margin-left: 1rem;
    }
    
    .brand-intro .container,
    .style-content,
    .story-content,
    .equipment-content,
    .about-content {
        flex-direction: column;
    }
    
    .intro-image,
    .style-image,
    .story-image,
    .equipment-image,
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .city-details {
        grid-template-columns: 1fr;
    }
    
    .city-locations {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
}

/* 手机设备 (576px-767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .slogan {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .featured-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-large {
        grid-column: auto;
    }
    
    .featured-item {
        height: 250px;
    }
    
    .cities-grid,
    .packages-grid,
    .philosophy-grid,
    .feedback-grid,
    .info-grid,
    .collaboration-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-date {
        width: 60px;
        padding-right: 10px;
    }
    
    .timeline-content {
        padding-left: 20px;
    }
    
    .timeline-content:before {
        left: 30px;
    }
}

/* 小手机设备 (575px以下) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .slogan {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .slide img {
        height: 300px;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .city-plan-header {
        flex-direction: column;
        text-align: center;
    }
    
    .city-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .city-plan-header h3 {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 10px;
    }
    
    .quote blockquote {
        font-size: 1rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-buttons,
    .quick-contact,
    .booking-cta,
    .contact-cta,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 20pt;
    }
    
    h3 {
        font-size: 16pt;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    a:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}
