/*
Theme Name: Nexus Collective
Theme URI: https://example.com/nexus-theme
Author: Nexus Design Team
Description: A clean, modular WordPress theme for architectural minimalist agencies.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexus-theme
*/

/* 
================================================================
1. BASE STYLES & RESET
================================================================
*/
:root {
    --color-primary: #003ec7;
    --color-bg: #f8f9fa;
    --color-text: #191c1d;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1280px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* 
================================================================
2. TYPOGRAPHY
================================================================
*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.text-primary { color: var(--color-primary); }

/* 
================================================================
3. LAYOUT COMPONENTS
================================================================
*/
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
}

/* 
================================================================
4. HEADER & NAVIGATION
================================================================
*/
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-logo {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
}

.main-navigation ul {
    display: flex;
    gap: 3rem;
}

.main-navigation a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.main-navigation a:hover {
    color: var(--color-text);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* 
================================================================
5. HERO SECTION
================================================================
*/
.hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.hero-content {
    grid-column: span 8;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 3rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* 
================================================================
6. BENTO GRID / FEATURES
================================================================
*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
}

.feature-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-card.medium {
    grid-column: span 2;
}

/* 
================================================================
7. FOOTER
================================================================
*/
.site-footer {
    background: var(--color-white);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* 
================================================================
8. MOBILE RESPONSIVENESS
================================================================
*/
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { grid-column: span 12; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.large, .feature-card.medium { grid-column: span 1; grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-navigation { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
