/* ===================================
   Responsive Styles
   =================================== */

/* Tablet Styles (768px - 1023px) */
@media (max-width: 1023px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .search-fields {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-fields .btn {
        grid-column: 1 / -1;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Header Mobile */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info,
    .top-bar-right {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-info a,
    .top-bar-right a {
        margin-right: 0;
    }
    
    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 10px;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Hero Mobile */
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-search {
        padding: 20px;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    /* Filter Sidebar */
    .filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-price {
        font-size: 1.25rem;
    }
    
    .guide-avatar {
        width: 100px;
        height: 100px;
    }
}

/* Large Desktop (min-width: 1441px) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Print Styles */
@media print {
    .site-header,
    .search-overlay,
    .site-footer,
    .back-to-top,
    .btn,
    .nav-actions {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .card {
        break-inside: avoid;
    }
}

