/* style.css - Split Screen Dark Mode */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-surface: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #22d3ee;
    --border: #27272a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }

/* The Split Layout */
.split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left Sidebar (Fixed) */
.fixed-sidebar {
    width: 35%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    background: var(--bg-dark);
    border-right: 1px solid var(--border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

.brand-logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.brand-slogan {
    font-size: 1rem;
    color: var(--accent);
    margin-top: 8px;
    margin-bottom: 40px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: auto;
}

.nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    transform: translateX(10px);
}

.cart-widget {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-widget a { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cart-count { background: var(--accent); color: #000; padding: 2px 8px; border-radius: 20px; font-size: 0.85rem; }

.sidebar-footer { font-size: 0.85rem; color: var(--text-secondary); }
.sidebar-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.sidebar-footer a:hover { color: var(--accent); }

.cod-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

/* Right Content (Scrollable) */
.scrollable-content {
    width: 65%;
    background: var(--bg-dark);
}

/* Editorial Product Row */
.editorial-row {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    border-bottom: 1px solid var(--border);
}

.editorial-img-container {
    width: 100%;
    height: 50vh;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.editorial-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.editorial-row:hover .editorial-img-container img {
    transform: scale(1.05);
}

.editorial-meta { display: flex; justify-content: space-between; align-items: flex-start; }
.editorial-title { font-size: 3rem; font-weight: 600; line-height: 1.1; margin-bottom: 16px; max-width: 70%; }
.editorial-price { font-size: 2rem; font-weight: 400; color: var(--accent); }
.editorial-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 60%; margin-bottom: 32px; }

.btn-large {
    background: var(--text-primary);
    color: var(--bg-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-large:hover { background: var(--accent); }

/* Pages */
.page-container { padding: 80px; }
.page-title { font-size: 4rem; font-weight: 700; margin-bottom: 40px; line-height: 1.1; letter-spacing: -1px; }

.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.9rem; margin-bottom: 8px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.form-control { width: 100%; padding: 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-family: inherit; font-size: 1rem; }
.form-control:focus { outline: none; border-color: var(--accent); }

.legal-content { font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary); max-width: 800px; }
.legal-content h3 { color: var(--text-primary); margin-top: 40px; margin-bottom: 16px; font-size: 1.5rem; }

@media (max-width: 992px) {
    .split-layout { flex-direction: column; }
    .fixed-sidebar { width: 100%; height: auto; position: relative; padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
    .scrollable-content { width: 100%; }
    .editorial-row { min-height: auto; padding: 40px 24px; }
    .editorial-img-container { height: 40vh; }
    .editorial-meta { flex-direction: column; }
    .editorial-title { font-size: 2rem; max-width: 100%; }
    .editorial-desc { max-width: 100%; }
    .page-container { padding: 40px 24px; }
    .page-title { font-size: 2.5rem; }
}
