/* ============================================
   Global Responsive Utilities
   Mobile-first design helpers
   ============================================ */

/* Prevent iOS zoom on form inputs */
input, select, textarea, button {
    font-size: 16px;
}

/* Touch-friendly minimum targets */
@media (max-width: 768px) {
    a, button, [role="button"] {
        min-height: 44px;
    }
}

/* Container responsive padding */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Safe area support for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .fixed-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch */
    .btn:hover,
    .card:hover,
    a:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Social links mobile adjustments */
@media (max-width: 900px) {
    .social-links {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
        gap: 0.375rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    

}

@media (max-width: 640px) {
    .logo img {
        height: 48px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .social-links {
        right: 50px;
        gap: 0.25rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    

}

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

/* Print styles */
@media print {
    .no-print,
    nav,
    footer,
    .btn,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
}
