/* styles.css - MachineOn Architectural Tech-Minimalism */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f0f9ff;
    --accent: #10b981;
    --dark: #0f172a;
    --light: #ffffff;
    --gray-100: #f1f5f9;
    --gray-800: #1e293b;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, section {
    flex: 1;
}

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

/* Custom Hero Layout: Split-Asymmetric */
.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 90vh;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-split { 
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-split .relative {
        min-height: 300px;
    }
}

/* Signature Card System: Offset Border */
.mo-card {
    position: relative;
    background: var(--light);
    border: 1px solid var(--gray-100);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.mo-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--primary);
    z-index: -1;
    transition: var(--transition);
    opacity: 0.1;
}

.mo-card:hover::before {
    transform: translate(5px, 5px);
    opacity: 0.3;
}

/* Distinctive Button System */
.btn-arch {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--dark);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    transition: var(--transition);
    display: inline-block;
    min-height: 44px;
    text-align: center;
}

.btn-arch:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Section Rhythm */
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) {
    .section-padding { padding: 8rem 0; }
}

.glass-nav {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.text-balance { text-wrap: balance; }

/* Mobile Menu Styling */
#mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

#mobile-menu.active {
    display: flex;
}

#mobile-menu a {
    padding: 1rem 0;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

/* Cookie Consent */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    #cookie-banner {
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}
