/* 
 * LOCLSTAR DIGITAL MARKETING - RESPONSIVE RULES 
 */

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 5rem 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* Ultra-Premium Mobile Navigation Drawer */
    .navbar-collapse-premium {
        position: fixed;
        top: 0.75rem;
        right: -100%;
        left: auto;
        width: calc(100% - 1.5rem);
        height: calc(100vh - 1.5rem);
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(197, 168, 92, 0.15);
        border-radius: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
        overflow-y: auto;
        padding: 3rem 2rem;
        box-shadow: -1rem 1rem 3rem rgba(0, 0, 0, 0.8);
    }

    .navbar-collapse-premium.show {
        right: 0.75rem;
    }

    .navbar-nav {
        text-align: center;
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link-premium {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        padding: 0.5rem 0 !important;
        margin: 0;
        letter-spacing: 0.05em;
        display: block;
        color: rgba(255, 255, 255, 0.6) !important;
        border-bottom: none !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
    }

    .nav-link-premium:hover,
    .nav-link-premium.active {
        color: var(--color-gold) !important;
        transform: scale(1.05);
        padding-left: 0 !important;
    }

    .nav-link-premium.active::after {
        content: '';
        display: block;
        width: 0.375rem;
        height: 0.375rem;
        background: var(--color-gold);
        border-radius: 50%;
        margin: 0.5rem auto 0;
        box-shadow: 0 0 0.5rem rgba(197, 168, 92, 0.5);
    }

    .mobile-nav-toggle.open span {
        background-color: var(--color-gold) !important;
    }

    /* CTA Button inside mobile nav */
    .navbar-nav .nav-item:last-child {
        margin-top: 2.5rem !important;
        width: 100%;
        max-width: 18rem;
    }

    .navbar-nav .btn-premium {
        width: 100%;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 3rem;
        letter-spacing: 0.1em;
    }

    /* Stats Bar Mobile adjustment */
    .stats-bar {
        margin-top: -1.875rem;
        padding: 1.875rem 0.9375rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 0.0625rem solid rgba(141, 105, 69, 0.1);
        padding: 1.25rem 0;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-item:first-child {
        padding-top: 0;
    }

    /* Tab Premium Nav styling for tablet */
    .tabs-premium-nav {
        gap: 0.625rem;
    }

    .tab-premium-btn {
        padding: 0.625rem 1.125rem !important;
        font-size: 0.8rem;
    }

    .tab-content-panel {
        padding: 2.5rem 1.875rem;
    }
}

/* Small Devices (Landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 3.75rem 0;
    }

    .hero-section {
        min-height: 80vh;
        padding-top: 5rem;
    }

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

    .service-highlight-card {
        padding: 2.1875rem 1.5625rem;
    }

    .tab-content-panel {
        padding: 1.875rem 1.25rem;
    }

    .service-title-panel {
        font-size: 1.8rem;
        margin-top: 1.5625rem;
    }

    .form-card {
        padding: 1.875rem 1.25rem;
    }

    .contact-info-widget {
        padding: 1.875rem 1.25rem;
    }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.95rem;
    }

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

    .btn-premium {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .btn-premium:last-child {
        margin-bottom: 0;
    }

    .navbar-brand img {
        height: 2.375rem;
    }

    .main-header.scrolled .navbar-brand img {
        height: 2.125rem;
    }
}