:root {
    --brand-yellow: #FFB400;
    --brand-yellow-hover: #e5a200;
    --brand-yellow-alpha: rgba(255, 180, 0, 0.2);

    --brand-dark: #121212;
    --brand-dark-alt: #000000;
    --brand-gray: #1E1E1E;
    --brand-gray-light: #252525;
    --brand-gray-focus: #2a2a2a;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-modal: rgba(0, 0, 0, 0.85);

    --brand-border: #333333;
    --brand-border-light: #222222;

    --text-light: #F2F2F2;
    --text-muted: #A0A0A0;
    --text-description: #CCCCCC;
    --text-form-hint: #777777;
    --text-inv: #000000;

    --bg-header: rgba(18, 18, 18, 0.95);

    --focus-ring: 0 0 0 3px var(--brand-yellow-alpha);
    --focus-outline: 2px solid var(--brand-yellow);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 4.375rem;
    --container-width: 75rem;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-yellow) var(--brand-dark);
}

::-webkit-scrollbar {
    width: 0.75rem;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark); 
    border-left: 1px solid var(--brand-border-light);
}

::-webkit-scrollbar-thumb {
    background-color: var(--brand-yellow);
    border-radius: 0.625rem;
    border: 0.1875rem solid var(--brand-dark);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--brand-dark);
    color: var(--text-light);
    margin: 0;

    &.modal-open {
        overflow: hidden;
    }
}

a {
    text-decoration: none;
}

a, input, textarea, button{
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
    border-radius: 2px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-yellow) !important;
    box-shadow: var(--focus-ring);
}

.container {
    width: 95%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    padding: 0.9375rem 2.1875rem;
    border-radius: 0.25rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    &:hover, &:active{
        filter: brightness(1.1);
        transform: translateY(-2px);
    }

    &.btn-primary {
        border: 0.125rem solid var(--brand-yellow);
        background-color: var(--brand-yellow);
        color: var(--text-inv);
        &:hover {
            border: 0.125rem solid var(--brand-yellow-hover);
            background-color: var(--brand-yellow-hover);
            box-shadow: 0 0.625rem 1.25rem var(--brand-yellow-alpha);
        }
    }

    &.btn-outline {
        border: 0.125rem solid var(--text-light);
        background-color: transparent;
        color: var(--text-light);
        &:hover {
            background-color: var(--text-light);
            color: var(--text-inv);
        }
    }
}

section[id] {
    scroll-margin-top: var(--header-height);
    padding: 3.75rem 0;
    @media (min-width: 1200px) {
        padding: 6.25rem 0;
    }
}

.section-title {
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: uppercase;
    color: var(--brand-yellow);
    text-align: center;
}

.main-header {
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(0.625rem);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0.125rem solid var(--brand-yellow);
    display: flex;
    align-items: center;

    .header-grid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo a {
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 900;
        
        .logo-top {
            color: var(--text-light);
        }
        
        .logo-kop {
            color: var(--brand-yellow);
        }
    }

    .cta-phone {
        color: var(--brand-yellow);
        text-decoration: none;
        font-weight: 700;
        border: 0.125rem solid var(--brand-yellow);
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
        font-size: 0.875rem;
        transition: var(--transition);
        &:hover, &:active {
            background: var(--brand-yellow);
            color: var(--text-inv);
        }
    }
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    .hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay-dark);
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        width: 100%;
        
        h1 {
            font-size: clamp(1.8rem, 5vw, 3.5rem);
            margin-bottom: 1.25rem;
            color: var(--text-light);
        }
        
        p {
            max-width: 40rem;
            margin: 0 auto 2.5rem;
            color: var(--text-description);
            font-size: 1.125rem;
        }
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        @media (min-width: 768px) {
            flex-direction: row;
            justify-content: center;
        }
    }
}

.services {
    background: var(--brand-gray);
    
    .services-grid {
        display: grid;
        gap: 1.5rem;
        @media (min-width: 768px) {
            grid-template-columns: repeat(2, 1fr);
        }
        @media (min-width: 1200px) {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    .service-card {
        background: var(--brand-dark);
        padding: 2.5rem;
        border-radius: 0.5rem;
        border-bottom: 0.25rem solid transparent;
        transition: var(--transition);
        text-align: center;
        &:hover {
            border-bottom-color: var(--brand-yellow);
            transform: translateY(-0.3125rem);
        }
        
        .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }
        
        h3 {
            color: var(--brand-yellow);
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }
    }
}

.contact {
    .contact-grid {
        display: grid;
        gap: 3rem;
        @media (min-width: 1200px) {
            grid-template-columns: 1.5fr 1fr;
            align-items: start;
        }
    }

    .wpcf7-form {
        .form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
            @media (min-width: 768px) {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .form-group {
            margin-bottom: 1.25rem;
            
            label {
                display: block;
                margin-bottom: 0.5rem;
                color: var(--brand-yellow);
                font-size: 0.9rem;
                font-weight: bold;
            }
            
            input, textarea {
                width: 100%;
                background: var(--brand-gray-light);
                border: 1px solid var(--brand-border);
                color: var(--text-light);
                padding: 1rem;
                font-size: 1rem;
                border-radius: 0.25rem;
                font-family: inherit;
                &:focus {
                    background: var(--brand-gray-focus);
                    border-color: var(--brand-yellow);
                    outline: none;
                }
            }
        }
        
        .wpcf7-submit {
            width: 100%;
            background: var(--brand-yellow);
            color: var(--text-inv);
            padding: 1.125rem;
            font-size: 1rem;
            font-weight: 900;
            border: none;
            border-radius: 0.25rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: var(--transition);
            &:hover, &:active {
                filter: brightness(1.1);
                transform: translateY(-2px);
            }
        }
        
        p {
            font-size: 0.75rem;
            color: var(--text-form-hint);
            line-height: 1.4;
            margin-top: 1rem;

            a {
                color: var(--brand-yellow);
                transition: var(--transition);
                &:hover, &:focus-visible {
                    color: var(--text-light);
                }
                &:active {
                    opacity: 0.7;
                }
            }
        }
    }

    .contact-details {
        background: var(--brand-gray);
        border-top: 0.3125rem solid var(--brand-yellow);
        padding: 2.5rem;
        border-radius: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        @media (min-width: 1200px) {
            border-top: 0;
            border-left: 0.3125rem solid var(--brand-yellow);
        }
        
        .details-title {
            color: var(--brand-yellow);
            font-size: 1.2rem;
            margin-top: 0;
            margin-bottom: 2rem;
        }
        
        .details-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.9375rem;
            @media (min-width: 1200px) {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .detail-item{
            p, a {
                color: var(--text-light);
                font-size: 1rem;
                text-decoration: none;
                margin: 0;
            }
            a {
                &:hover {
                    color: var(--brand-yellow);
                }
                &:active {
                    opacity: 0.7;
                }
            }

            strong {
                display: block;
                color: var(--brand-yellow);
                font-size: 0.75rem;
                text-transform: uppercase;
                margin-bottom: 0.25rem;
            }
        }
    }
}

.main-footer {
    padding: 2rem 0;
    background: var(--brand-dark-alt);
    border-top: 1px solid var(--brand-border-light);
    color: var(--text-muted);
    font-size: 0.875rem;

    .footer-inline {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        @media (min-width: 768px) {
            flex-direction: row;
            justify-content: space-between;
        }
    }
    .footer-contact-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        
        a {
            color: var(--brand-yellow);
            text-decoration: none;
            transition: var(--transition);
            &:hover, &:focus-visible {
                color: var(--text-light);
            }
            &:active {
                opacity: 0.7;
            }
        }
        
        .footer-sep {
            color: var(--brand-border);
        }
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-modal);
    backdrop-filter: blur(0.3rem);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 1rem;

    &.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .modal-content {
        background: var(--brand-gray);
        width: 100%;
        max-width: 40rem;
        max-height: 85vh;
        padding: 3rem;
        border-radius: 0.5rem;
        border: 1px solid var(--brand-border);
        position: relative;
        overflow-y: auto;

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1.25rem;
            color: var(--brand-yellow);
            font-size: 1.75rem;
            text-decoration: none;
        }
        
        h2 {
            margin-top: 0;
            color: var(--brand-yellow);
        }
        
        .modal-body {
            h3 {
                color: var(--text-light);
                font-size: 1.1rem;
                margin-top: 1.5rem;
            }
            
            p, li {
                color: var(--text-description);
                font-size: 0.9375rem;
                margin-bottom: 0.75rem;
            }
            
            ul {
                padding-left: 1.25rem;
            }
        }
    }
}