/**
 * ZeroDetail Marketplace - Main Stylesheet
 * Central import file for all CSS components
 *
 * @package ZeroDetail
 * @version 2.0 (Refactored CSS Architecture)
 */

/* ==================== CORE STYLES ==================== */
/* Import order matters: Variables → Reset → Utilities */

@import url('core/variables.css');      /* CSS Variables & Theme Configuration */
@import url('core/reset.css');          /* Browser Reset & Base Styles */
@import url('core/utilities.css');      /* Utility Classes */

/* ==================== COMPONENTS ==================== */
/* Reusable UI components */

@import url('components/header.css');      /* Header Component */
@import url('components/footer.css');      /* Footer Component */
@import url('components/ui-components.css'); /* Cards, Badges, Buttons, Modals, etc. */

/* ==================== LEGACY STYLES ==================== */
/* Keeping for backward compatibility during transition */
/* These can be removed after full migration */

/* Legacy Container (will be replaced by new container classes) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legacy Header & Navigation (for pages not yet updated) */
.header-main {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: #4CAF50;
}

/* Legacy Footer (for pages not yet updated) */
.footer-main {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #4CAF50;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3a5068;
    color: #aaa;
    font-size: 0.9rem;
}

/* Legacy button sizing */
.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* Legacy alerts */
.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* ==================== RESPONSIVE (Legacy) ==================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
