
/* ===========================================
   Component Styles
   =========================================== */

/* Header Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: #000000;
    font-weight: normal;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.header-nav a:hover {
    color: #FF2D2D;
}

.header-cta {
    padding: 0.625rem 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000000;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Hide footer logo image, keep text only */
.footer-logo img {
    display: none;
}


.footer-logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #FFFFFF;
}

.footer-description {
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 350px;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h3 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #CCCCCC;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FF2D2D;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #CCCCCC;
    font-size: 0.9rem;
    margin: 0;
}

/* Product Card */
.product-card {
    background-color: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.product-card-flag {
    width: 48px;
    height: 32px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.product-card-header {
    padding: 1.5rem;
    flex: 1;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #000000;
}

.product-card-subtitle {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
}

.product-card-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #333333;
}

.spec-icon {
    color: #FF2D2D;
    font-size: 1rem;
}

.product-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #F0F0F0;
    color: #333333;
}

.badge-primary {
    background-color: #FF2D2D;
    color: #FFFFFF;
}

.badge-success {
    background-color: #28A745;
    color: #FFFFFF;
}

.product-card-footer {
    padding: 1rem 1.5rem;
    background-color: #F8F8F8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #EEEEEE;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF2D2D;
}

.product-price-currency {
    font-size: 1rem;
    color: #666666;
    margin-left: 0.25rem;
}

.product-card-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #F0F0F0;
    border-top: 3px solid #FF2D2D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .header-nav.active {
        display: flex;
    }
    
    .header-nav a {
        padding: 0.75rem;
        border-bottom: 1px solid #EEEEEE;
    }
    
    .header-cta {
        margin-top: 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .product-card-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .product-card-btn {
        width: 100%;
    }
}
