/* css/style.css - YABSS Dark Cyber/Neon Theme */
:root {
    --bg-dark: #0b0f19;
    --card-bg: #131b2e;
    --accent-blue: #00b4d8;
    --accent-orange: #ff6b35;
    --text-white: #f8f9fa;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 180, 216, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding-bottom: 70px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    background: #090d15;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 1.3rem;
}

.logo .icon-box {
    background: #ff6b35;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
}

.logo span.brand {
    color: #00b4d8;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 30px 15px;
}

.hero h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero h1 span {
    color: var(--accent-blue);
}

.hero .subtitle {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.hero p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Grid Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.category-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.category-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.category-card:nth-child(1) i { color: #ff6b6b; }
.category-card:nth-child(2) i { color: #fca311; }
.category-card:nth-child(3) i { color: #ff6b35; }
.category-card:nth-child(4) i { color: #2ec4b6; }

.category-card h3 {
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Products Grid */
.section-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-price {
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.btn-add {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-add.orange {
    background: var(--accent-orange);
}

.btn-add:hover {
    opacity: 0.9;
}

/* Modal Featured Product */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border: 2px solid var(--accent-orange);
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    padding: 25px;
    position: relative;
    text-align: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #090d15;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-item.active, .nav-item:hover {
    color: var(--accent-blue);
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

/* Forms */
.form-container {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 10px;
    background: #090d15;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}
