/* Global Storage Distributor - Simplified CSS */

/* Reset & Base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Color Variables */
:root {
    --primary-blue: #003366;
    --secondary-gold: #FFD700;
}

.bg-primary { background-color: var(--primary-blue); }
.text-primary { color: var(--primary-blue); }
.bg-secondary { background-color: var(--secondary-gold); }
.text-secondary { color: var(--secondary-gold); }

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../image/Background Image/Background Image.jpg');
    background-size: cover;
    background-position: center;
}

/* Interactive Elements */
.cta-button {
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature-card {
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.15);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-gold);
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--secondary-gold);
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    transition: all 0.2s;
    border-radius: 0.5rem;
}
.nav-link-mobile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(0.25rem);
}

/* Mobile Menu */
#mobile-menu {
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
#mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}
#mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#mobile-menu.active::before {
    opacity: 1;
}

/* Dropdown */
.dropdown-menu {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 50;
}
.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}
.dropdown-item:hover {
    background-color: #f3f4f6;
}

/* Form */
.form-input:focus {
    outline: none;
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    header { padding: 0.75rem 0; }
    header .text-2xl { font-size: 1.5rem; }
    #mobile-menu-button {
        padding: 0.5rem;
        border-radius: 0.375rem;
        transition: background-color 0.2s;
    }
    #mobile-menu-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    #hero-heading { font-size: 2.5rem; }
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .product-card img {
        height: 12rem !important;
        object-fit: cover;
        object-position: center;
    }
    .about-image {
        height: auto;
        max-height: 250px;
        width: 100%;
    }
    .feature-card { margin-bottom: 1rem; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .product-card img { height: 14rem !important; }
}

@media (min-width: 1025px) {
    .product-card img { height: 15rem !important; }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}