/* USA Supply Custom Styles */

:root {
    --usa-red: #e21818;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #999999;
    --site-max-width: 1200px;
}

/* Site-wide Centering Layout */
body {
    background-color: var(--white);
}

.container {
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-usa-red {
    color: var(--usa-red);
}

.bg-usa-red {
    background-color: var(--usa-red);
}

.hero-section {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.65), rgba(245, 245, 245, 0.4)), url('../assets/images/Banner.png');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Product Icons Styling */
.icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Improve button spacing on mobile */
    .flex.flex-wrap.gap-4 {
        justify-content: center;
    }
    
    /* Improve spacing between sections */
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Make sure the mobile menu appears properly */
    #mobile-menu {
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    #mobile-menu.hidden {
        max-height: 0;
    }
    
    #mobile-menu:not(.hidden) {
        max-height: 300px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .w-48, .h-48 {
        width: 8rem;
        height: 8rem;
    }
    
    /* Stack buttons vertically on very small screens */
    .flex.flex-wrap.gap-4 {
        flex-direction: column;
        align-items: center;
    }
    
    .flex.flex-wrap.gap-4 > a {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn-hover-effect:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
