/* assets/css/style.css */
:root {
    --bg-color: #f4f4f0;
    --text-color: #111111;
    --highlight: #d3ff33;
    --border-color: #111111;
    --border-width: 4px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Behind everything */
    pointer-events: none;
}

/* Header & Nav */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-color);
    border-bottom: var(--border-width) solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.logo .highlight {
    color: var(--highlight);
    background-color: var(--text-color);
    padding: 0 5px;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger .bar {
    width: 35px;
    height: 5px;
    background-color: var(--text-color);
    transition: 0.3s;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 5px 10px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-menu ul li a:hover {
    background-color: var(--highlight);
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0px var(--border-color);
}

/* Sections */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 50px;
    border-bottom: var(--border-width) solid var(--border-color);
    display: inline-block;
    padding-bottom: 10px;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background-color: var(--highlight);
    border: var(--border-width) solid var(--border-color);
    padding: 0 10px;
    box-shadow: 6px 6px 0px var(--text-color);
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--text-color);
    color: var(--bg-color);
    display: inline-block;
    padding: 5px 15px;
}

.value-prop {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.cta-button {
    text-decoration: none;
    background-color: var(--highlight);
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 40px;
    border: var(--border-width) solid var(--border-color);
    box-shadow: 8px 8px 0px var(--text-color);
    transition: all 0.2s ease;
    display: inline-block;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0px var(--text-color);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border: var(--border-width) solid var(--border-color);
    padding: 30px;
    box-shadow: 8px 8px 0px var(--text-color);
    transition: all 0.2s ease;
    cursor: default;
}

.service-card:hover {
    background-color: var(--highlight);
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--text-color);
}

.service-card h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* Form */
.brutal-form {
    background: #fff;
    border: var(--border-width) solid var(--border-color);
    padding: 40px;
    box-shadow: 10px 10px 0px var(--highlight);
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group input, 
.form-group select {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    padding: 15px;
    border: 3px solid var(--border-color);
    background-color: var(--bg-color);
    transition: outline 0.1s;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--highlight);
    background-color: #fff;
    box-shadow: 4px 4px 0px var(--border-color);
}

.submit-button {
    font-family: inherit;
    background-color: #111;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px;
    width: 100%;
    border: var(--border-width) solid var(--border-color);
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--highlight);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px var(--highlight);
}

.form-message {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-message.success {
    color: green;
}

.form-message.error {
    color: red;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 20px;
    border: 4px solid var(--highlight);
    box-shadow: 8px 8px 0px #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin: 0;
    font-size: 1rem;
}

.cookie-link {
    color: var(--highlight);
    text-decoration: underline;
    font-weight: bold;
}

.cookie-btn {
    background: var(--highlight);
    color: #111;
    border: 2px solid #111;
    padding: 10px 20px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
}

.cookie-btn:hover {
    background: #fff;
}

/* Footer */
.main-footer {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 40px;
    text-align: center;
    border-top: var(--border-width) solid var(--border-color);
}

.main-footer a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.main-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* Below header */
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: var(--border-width) solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 40px 0;
        gap: 30px;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 20px;
    }
}
