/**
 * Responsive CSS
 * CORCADO.COM - Mobile Navigation & Responsive Design
 */

/* Mobile Bottom Tab Bar */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .header {
        display: none !important;
    }
    
    /* Mobile Bottom Tab Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 10px;
        padding: 8px 12px;
        transition: all 0.3s;
        flex: 1;
        max-width: 80px;
    }
    
    .mobile-bottom-nav a.active {
        color: var(--accent-gold);
    }
    
    .mobile-bottom-nav a .icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .mobile-bottom-nav a .label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Add padding to body to prevent content from being hidden behind tab bar */
    body {
        padding-bottom: 70px;
    }
    
    /* Container adjustments */
    .container {
        padding: 20px 12px;
    }
    
    /* Card adjustments */
    .card {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    /* Dashboard grid becomes single column */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide desktop navigation dropdowns on mobile */
    .nav-dropdown {
        display: none;
    }
    
    /* Quick access grid adjustments */
    .quick-access-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
    
    /* Energy display adjustments */
    .energy-display {
        padding: 24px;
    }
    
    .energy-score {
        font-size: 3rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 24px;
        font-size: 14px;
        width: 100%;
    }
    
    /* Form adjustments */
    .form-input {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Hide social proof on mobile */
    .social-proof {
        display: none;
    }
    
    /* Particles adjustments */
    .particles {
        opacity: 0.3;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 32px 20px;
    }
}

/* Desktop - hide mobile nav */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

