:root {
    --color-primary: #FF5500;
    --color-primary-light: #FF7733;
    --color-primary-dark: #DD4400;
    --color-white: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-600: #6C757D;
    --color-gray-800: #343A40;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition-default: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Open Sans', sans-serif;
    color: var(--color-gray-800);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.btn-primary-custom {
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: var(--transition-default);
}

.btn-primary-custom:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    transition: var(--transition-default);
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom.border-white {
    border-color: var(--color-white);
}

#top-bar {
    transition: margin-top 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-top: 0;
}

#top-bar.hide {
    margin-top: -50px;
}

header {
    transition: background-color 0.3s ease;
    background-color: #000000;
    box-shadow: var(--shadow-sm);
}

.nav-link-custom {
    position: relative;
    color: var(--color-white);
}

.nav-link-custom:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link-custom.active {
    color: var(--color-white);
    font-weight: 600;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 50;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.section-heading {
    position: relative;
    display: block;
    padding-bottom: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.section-heading-left {
    text-align: left;
}

.section-heading-left::after {
    left: 0;
    transform: none;
}

.feature-card {
    transition: var(--transition-default);
    border-radius: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-heading {
        padding-bottom: 10px;
    }

    .section-heading::after {
        width: 60px;
        height: 2px;
    }

    .feature-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    }
}

@media (max-width: 640px) {
    .hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    }
}

.hero-tjanster {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/IMG_0009.webp');
    background-size: cover;
    background-position: center;
}

.hero-projekt {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/IMG_0002.webp');
    background-size: cover;
    background-position: center;
}

.hero-kontakt {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/IMG_0009.webp');
    background-size: cover;
    background-position: center;
}

.hero-omoss {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/IMG_0002.webp');
    background-size: cover;
    background-position: center;
}
