/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium screens (992px and below) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .peaks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .peak-card-image {
        height: 150px;
    }

    .peak-card-content {
        padding: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-nav {
        display: block;
    }

    .floating-buttons {
        bottom: 80px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Small screens (576px and below) */
@media (max-width: 576px) {
    .navbar {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo img {
        height: 32px;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .peaks-grid {
        grid-template-columns: 1fr;
    }

    .peak-card-image {
        height: 180px;
    }

    .tip-card {
        flex-direction: column;
        text-align: center;
    }

    .tip-arrow {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero {
        padding: 100px 15px 40px;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }

    .article-header {
        padding: 100px 15px 30px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .toc-header {
        padding: 15px;
    }

    .toc-content {
        padding: 15px;
    }

    .article-content {
        padding: 0 15px;
    }

    .article-content h2 {
        font-size: 1.35rem;
    }

    .article-content h3 {
        font-size: 1.15rem;
    }

    .article-content p {
        font-size: 0.95rem;
    }

    .conclusion {
        padding: 25px;
    }

    .author-profile {
        padding: 20px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .bottom-nav-item {
        font-size: 0.65rem;
    }

    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra small screens (400px and below) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .btn-icon {
        width: 100%;
        border-radius: 25px;
    }

    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-filters {
        border-left: none;
        padding-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
        width: 100%;
        justify-content: center;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .bottom-nav {
        display: none;
    }
}

/* Print styles */
@media print {

    .header,
    .footer,
    .bottom-nav,
    .floating-buttons,
    .share-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .article-content {
        max-width: 100%;
    }
}