/*
Theme Name: Neo-Geometric Auto
Author: AI Designer
Description: A bold, high-contrast minimalist theme with architectural grid layouts and sharp typography.
Version: 6.0
*/

:root {
  /* Colors - Avant-Garde Minimalist */
  --c-bg: #FFFFFF;
  --c-text: #000000;
  --c-text-muted: #666666;
  --c-accent: #7B2CBF; /* Electric Purple */
  --c-accent-light: #F2E9FB;
  --c-border: #000000;
  --c-grey: #F5F5F5;
  
  /* Typography */
  --f-display: 'Montserrat', sans-serif;
  --f-body: 'Lora', serif;
  
  /* Layout */
  --s-container: 1500px;
  --b-width: 2px;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

.container {
  max-width: var(--s-container);
  margin: 0 auto;
  padding: 0 40px;
}

/* BUTTONS - Sharp & Bold */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--c-text);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  border: var(--b-width) solid var(--c-text);
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0px var(--c-text);
}

.btn-white {
    background: #fff;
    color: #000;
}

/* HEADER - Split Screen Style */
.site-header {
  border-bottom: var(--b-width) solid var(--c-border);
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -2px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--c-accent);
}

/* HERO - Offset Composition */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  border-bottom: var(--b-width) solid var(--c-border);
}

.hero-text {
  padding: 80px;
  border-right: var(--b-width) solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  margin-bottom: 30px;
}

.hero-visual {
  background: var(--c-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-img-box {
  width: 100%;
  height: 100%;
  border: var(--b-width) solid var(--c-border);
  background: #fff;
  padding: 20px;
  transform: rotate(-2deg);
}

/* CATEGORIES - Non-standard Grid */
.grid-section {
    padding: 100px 0;
}

.original-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.grid-item {
    padding: 40px;
    border: var(--b-width) solid var(--c-border);
    transition: 0.3s;
}

.grid-item:hover {
    background: var(--c-accent-light);
}

.gi-1 { grid-column: span 4; }
.gi-2 { grid-column: span 8; background: var(--c-text); color: #fff; }
.gi-3 { grid-column: span 7; }
.gi-4 { grid-column: span 5; }

.grid-item h3 { font-size: 2rem; margin-bottom: 15px; }
.grid-item p { font-family: var(--f-body); font-style: italic; opacity: 0.8; }

/* RECENT POSTS - Masonry Look */
.posts-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.card-neo {
    border: var(--b-width) solid var(--c-border);
    padding: 0;
    transition: 0.3s;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.card-neo:hover {
    box-shadow: 10px 10px 0px var(--c-accent);
}

.card-img {
    height: 300px;
    border-bottom: var(--b-width) solid var(--c-border);
    overflow: hidden;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    background: var(--c-accent);
    color: #fff;
    padding: 4px 12px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 15px;
    align-self: flex-start;
}

/* LIFEHACKS BLOCK - New */
.hacks-section {
    background: var(--c-accent);
    color: #fff;
    padding: 80px 0;
}

.hacks-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.hacks-title h2 { font-size: 4rem; color: #fff; }

.hacks-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.hack-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hack-item h4 { margin-bottom: 10px; font-size: 1.2rem; }

/* FOOTER */
.site-footer {
    border-top: var(--b-width) solid var(--c-border);
    padding: 80px 0 40px;
    background: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo { font-size: 3rem; font-weight: 900; margin-bottom: 20px; display: block; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* ENTRY CONTENT */
.entry-content { font-size: 1.2rem; line-height: 1.8; }
.entry-content h2 { font-size: 3rem; margin: 3rem 0 1.5rem; }
.entry-content p { margin-bottom: 2rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-section { grid-template-columns: 1fr; }
    .hero-text { border-right: none; border-bottom: var(--b-width) solid var(--c-border); padding: 40px; }
    .original-grid .grid-item { grid-column: span 6 !important; }
    .posts-masonry { grid-template-columns: 1fr 1fr; }
    .hacks-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .original-grid .grid-item { grid-column: span 12 !important; }
    .posts-masonry { grid-template-columns: 1fr; }
    .hacks-list { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}
