:root {
    --primary-color: #970424;
    --secondary-color: #333333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --bs-primary-rgb: rgba(146, 8, 11, 0.879);
}

body {
    font-family: 'Roboto Condensed', system-ui, -apple-system, sans-serif;
    padding-top: 76px;
}

.bg1 {
    background-image: url('../assets/img/1spinnerluft.svg');
    background-size: 25%;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

/* Mobile-friendly background */
@media (max-width: 768px) {
    .bg1 {
        background-image: url('../assets/img/1spinnerluft.svg');
    }
}

/* Navigation */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
}

.btn {
    text-transform: uppercase;
}

.text-primary {
    color: #b60606 !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: Oswald, sans serif;
}

.btn-primary:hover {
    background-color: #7e070d;
    border-color: #600721;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: var(--bs-heading-color);
    text-transform: uppercase;
    font-family: Oswald, sans serif;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact a {
    text-decoration: none;
}

.contact a:hover {
    color: var(--primary-color) !important;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

.bgvarb {
    background-image: url('../assets/img/badawide.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 350px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.bgvarbad {
    background-image: url('../assets/img/varbergwide.webp');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 350px;
    background-position: center center;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.startspin {
    background-image: url('../assets/img/1spinnerluft.svg');
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center bottom;
}

.custom-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 640px;
    padding: 0 5%;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide {
    flex: 0 0 50%;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-height: 640px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    font-size: 2rem;
    padding: 0.2em 0.5em;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.slider-nav:hover {
    background: rgba(255,255,255,0.9);
}

.slider-nav.left {
    left: 10px;
}

.slider-nav.right {
    right: 10px;
}

/* Optional: smaller arrows on mobile */
@media (max-width: 600px) {
    .slider-nav {
        font-size: 1.5rem;
        padding: 0.2em;
    }
}