/**
 * ERA PROJECT - Responsive Stylesheet
 * @author Octal Group LLC
 */

/* ==================== TABLET (992px and below) ==================== */
@media (max-width: 992px) {
    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    /* Navigation */
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pricing Cards */
    .pricing-card.recommended {
        transform: scale(1);
    }

    /* Chatbot */
    .chatbot-widget {
        width: 320px;
    }
}

/* ==================== MOBILE (768px and below) ==================== */
@media (max-width: 768px) {
    /* Typography */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand img {
        height: 35px;
    }

    /* Hero Section */
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .kanban-preview {
        padding: 1rem;
    }

    .kanban-board {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Use Cases */
    .use-case-card {
        margin-bottom: 1.5rem;
    }

    /* Pricing */
    .currency-selector-lg .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .currency-selector-lg .btn {
        border-radius: 8px !important;
        margin-bottom: 0.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    /* FAQ */
    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }

    /* Footer */
    .footer .col-lg-3,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    /* Chatbot */
    .chatbot-widget {
        width: calc(100vw - 30px);
        right: 15px;
        left: 15px;
        height: 450px;
    }

    .chatbot-button {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ==================== SMALL MOBILE (576px and below) ==================== */
@media (max-width: 576px) {
    /* Typography */
    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 100px 0 40px;
    }

    .kanban-card h6 {
        font-size: 0.75rem;
    }

    /* Pricing */
    .price-amount {
        font-size: 2rem !important;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
    }

    /* Partners */
    .partner-logo {
        padding: 1rem;
    }

    /* Icons */
    .icon-circle {
        width: 80px;
        height: 80px;
    }

    .icon-circle i {
        font-size: 2rem !important;
    }

    /* Guarantee Badge */
    .guarantee-badge {
        padding: 2rem 1rem !important;
    }
}

/* ==================== LANDSCAPE PHONES ==================== */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .kanban-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== LARGE SCREENS (1400px and above) ==================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4rem !important;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-down {
        animation: none;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .footer,
    .chatbot-button,
    .chatbot-widget,
    .scroll-indicator {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .section-title {
        page-break-after: avoid;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}
