/* ==========================================================================
   BJ Lack AB - Premium CSS stylesheet
   Färgtema: Svart, Vitt och Sportbilsrött med "blank" finish
   ========================================================================== */

/* Design Tokens & Variabler */
:root {
    --bg-primary: #0a0a0a;       /* Djupaste kolfärgade svarta */
    --bg-secondary: #121212;     /* Något ljusare för kort/sektioner */
    --bg-tertiary: #1a1a1a;      /* För inputfält och aktiva element */
    
    --accent-red: #e31b23;       /* Sportbilsröd accent */
    --accent-red-hover: #b81218; /* Mörkare röd för hover */
    
    --text-primary: #ffffff;     /* Krispig vit */
    --text-secondary: #a0a0a0;   /* Mjukt ljusgrå för brödtext */
    --text-muted: #666666;       /* Mörkgrå för detaljer/sekundär info */
    
    --glass-bg: rgba(18, 18, 18, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-glow: rgba(227, 27, 35, 0.3);
    
    --header-bg: rgba(10, 10, 10, 0.75);
    --header-bg-scrolled: rgba(8, 8, 8, 0.9);
    --hero-overlay: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 40%, rgba(227, 27, 35, 0.14) 100%);
    --footer-bg: #050505;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --highlight-box-bg: rgba(255, 255, 255, 0.02);
    --mobile-nav-bg: rgba(11, 11, 11, 0.9);
    --btn-outline-border: rgba(255, 255, 255, 0.2);
    --input-focus-bg: rgba(255, 255, 255, 0.02);
    
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.2s ease;
}

/* Dynamiskt Tema (Ljust läge baserat på systeminställningar) */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #f8f9fa;       /* Off-white / ljus bakgrund */
        --bg-secondary: #ffffff;     /* Ren vit för kort/sektioner */
        --bg-tertiary: #e9ecef;      /* Ljusgrå för inputfält */
        
        --text-primary: #1a1a1a;     /* Mörkt kolgrå för hög läsbarhet */
        --text-secondary: #495057;   /* Mellangrå för brödtext */
        --text-muted: #868e96;       /* Ljusare grå för sekundär info */
        
        --glass-bg: rgba(255, 255, 255, 0.75);
        --glass-border: rgba(0, 0, 0, 0.08);
        --glass-border-glow: rgba(227, 27, 35, 0.25);
        
        --border-color: rgba(0, 0, 0, 0.08);
        --highlight-box-bg: rgba(0, 0, 0, 0.03);
        --btn-outline-border: rgba(0, 0, 0, 0.2);
        --input-focus-bg: rgba(0, 0, 0, 0.01);
    }
}

/* CSS Reset & Grundinställningar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Layoutkomponenter */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 90px;
}

/* Typografi */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.highlight {
    color: var(--accent-red);
}

.highlight-text {
    position: relative;
    color: var(--accent-red);
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-red);
    opacity: 0.3;
    border-radius: 2px;
}

/* Knappar & Interaktivitet */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--btn-outline-border);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
}

/* Glanseffekt (Shimmer Animation) */
.btn-shimmer, .service-card, .glossy-card-form {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after, .card-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 35%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
    opacity: 0;
}

.btn-shimmer:hover::after, .service-card:hover .card-shimmer::after, .glossy-card-form:hover .card-shimmer::after {
    animation: shimmerEffect 1.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 1;
}

@keyframes shimmerEffect {
    0% {
        left: -70%;
    }
    100% {
        left: 130%;
    }
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 12px 0;
    background: var(--header-bg-scrolled);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: rgba(227, 27, 35, 0.1);
    color: #ffffff;
    border: 1px solid rgba(227, 27, 35, 0.3);
    padding: 8px 20px !important;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-1px);
}

.nav-btn::after {
    display: none;
}

/* Mobilmeny-knapp */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background: var(--hero-overlay), 
                url('assets/hero-bg.png') no-repeat center center / cover;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.15) 0%, rgba(227, 27, 35, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-badges-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-red);
    margin-bottom: 0;
}

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.hero-rating-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-1px);
}

.hero-rating-badge .star-icon {
    color: #f1c40f;
    font-size: 1.15rem;
    line-height: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Tvinga vit färg på outline-knappar i hero-sektionen oavsett tema */
.hero-section .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-section .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Sektionsrubriker */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-center: center;
    text-align: center;
}

.subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 0 auto;
}

.title-divider.align-left {
    margin: 0 0 24px 0;
}

/* Services Grid & Cards */
.services-section {
    background-color: var(--bg-secondary);
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-glow);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(227, 27, 35, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(227, 27, 35, 0.08);
    border: 1px solid rgba(227, 27, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent-red);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(227, 27, 35, 0.3);
}

.service-card .service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-highlight-box {
    margin-top: 30px;
    padding: 24px;
    background: var(--highlight-box-bg);
    border-left: 3px solid var(--accent-red);
    border-radius: 0 8px 8px 0;
}

.about-highlight-box h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.about-highlight-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-image-area {
    display: flex;
    justify-content: center;
}

.glossy-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.glossy-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

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

/* Team Section */
.team-section {
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-glow);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-svg-placeholder {
    width: 40%;
    height: 40%;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.team-card:hover .team-svg-placeholder {
    color: var(--accent-red);
    transform: scale(1.1);
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Job Ansökan (Karriär) Section */
.apply-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.apply-benefits {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(227, 27, 35, 0.15);
    color: var(--accent-red);
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.85rem;
}

.benefit-item span {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.glossy-card-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.glossy-card-form h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input, select, textarea {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: var(--input-focus-bg);
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.15);
}

/* Status meddelanden för formulär */
.form-status {
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.form-status.success {
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

.form-status.error {
    background-color: rgba(227, 27, 35, 0.15);
    border: 1px solid rgba(227, 27, 35, 0.3);
    color: #ff4a5a;
}

.form-status h4 {
    margin-bottom: 6px;
}

.form-status p {
    margin-bottom: 0;
    color: inherit;
    font-size: 0.95rem;
}

/* Kontakt & Karta Section */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.contact-info-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.contact-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(227, 27, 35, 0.08);
    border: 1px solid rgba(227, 27, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text .label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-text p {
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-primary);
}

.contact-text a:hover {
    color: var(--accent-red);
}

.btn-maps-link {
    border-color: rgba(227, 27, 35, 0.4);
    background: rgba(227, 27, 35, 0.04);
}

.btn-maps-link:hover {
    background: rgba(227, 27, 35, 0.15);
    border-color: var(--accent-red);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

/* Scroll Animation Trigger Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design / Media Queries */

/* Tablet-vy */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .about-grid, .apply-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-area {
        order: -1;
    }
    
    .glossy-image-container {
        max-width: 500px;
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobil-vy */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Mobil-navigering */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--mobile-nav-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-section {
        padding-top: 120px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .glossy-card-form {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Trust Banner & Badge Box Styles
   ========================================================================== */

/* Trust Banner */
.trust-banner {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 260px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(227, 27, 35, 0.08);
    border: 1px solid rgba(227, 27, 35, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-icon.badge-green {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.trust-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.trust-text p a {
    color: var(--accent-red);
    font-weight: 500;
}

.trust-text p a:hover {
    color: var(--accent-red-hover);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Badge Box inside About section */
.about-highlight-box.badge-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
    border-left-color: #2ecc71; /* Green border for the quality checkmark badge */
}

.badge-icon-shield {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ecc71;
    flex-shrink: 0;
}

.badge-icon-shield svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 992px) {
    .trust-container {
        justify-content: center;
        gap: 30px;
    }
    .trust-divider {
        display: none;
    }
    .trust-item {
        justify-content: flex-start;
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .trust-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Exceptional Hours / Avvikande öppettider */
.exceptional-hours {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.exceptional-hours .exceptional-label {
    color: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.exceptional-hours p {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Sustainability / Miljöprofil Styles */
.about-highlight-box.badge-box.green-badge-box {
    border-left-color: #2ecc71;
    background: rgba(46, 204, 113, 0.02);
}

.badge-icon-shield.eco-shield {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.sustainability-list {
    list-style-type: none;
    margin-top: 15px;
    padding-left: 0;
}

.sustainability-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    font-weight: 300;
}

.sustainability-list li strong {
    font-weight: 500;
    color: var(--text-primary);
}

.sustainability-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Before/After Showcase Section */
.showcase-section {
    background-color: var(--bg-primary);
}

.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 450px;
    user-select: none;
    overflow: hidden;
}

.before-after-container .img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-container .img-container img {
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
    pointer-events: none;
}

.before-after-container .after-image {
    width: 100%;
    z-index: 1;
}

.before-after-container .before-image {
    width: 50%;
    z-index: 2;
    overflow: hidden;
    border-right: 2px solid #ffffff;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #ffffff;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--accent-red);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.handle-button svg {
    width: 18px;
    height: 18px;
}

.slider-handle:hover .handle-button {
    background-color: var(--accent-red-hover);
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-handle:focus-visible {
    outline: none;
}

.slider-handle:focus-visible .handle-button {
    background-color: var(--accent-red-hover);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.4), 0 4px 15px rgba(0, 0, 0, 0.5);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 4;
    pointer-events: none;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

@media (max-width: 768px) {
    .before-after-container {
        height: 320px;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-primary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--glass-border-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
}

.faq-question:hover .faq-icon {
    color: var(--accent-red);
}

/* FAQ Answer (Accordion transition height) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.answer-content {
    padding: 0 30px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.answer-content p {
    margin-bottom: 0;
}

/* Active FAQ Item styling (for open state) */
.faq-item.active {
    border-color: var(--glass-border-glow);
    box-shadow: 0 8px 30px rgba(227, 27, 35, 0.08);
}

.faq-item.active .faq-question {
    color: var(--accent-red);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-red);
}

/* Service Areas block in Contact info card */
.service-areas-block {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-areas-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.area-tag:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-1px);
}

.pin-icon {
    width: 12px;
    height: 12px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.text-link {
    color: var(--accent-red);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition-fast);
}

.text-link:hover {
    color: var(--accent-red-hover);
}

/* Rental Car Info Box in Contact Card */
.rental-car-box {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(227, 27, 35, 0.04);
    border: 1px solid rgba(227, 27, 35, 0.2);
    border-radius: 10px;
}

.rental-car-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.rental-car-header .car-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.rental-car-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.rental-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.rental-link:hover {
    color: var(--accent-red-hover);
    transform: translateX(3px);
}

/* Floating Mobile Quick Action Bar (Sticky CTA) */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 74px; /* Give room so sticky bar doesn't cover content */
    }

    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 16px;
        background: rgba(15, 15, 15, 0.88);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        z-index: 999;
        gap: 10px;
    }

    /* Support light theme for sticky bar */
    [data-theme="light"] .mobile-sticky-cta {
        background: rgba(255, 255, 255, 0.92);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-sticky-cta .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 14px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
    }

    .mobile-sticky-cta .btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .mobile-sticky-cta .btn-call {
        background: rgba(46, 204, 113, 0.15);
        border: 1px solid rgba(46, 204, 113, 0.4);
        color: #2ecc71;
    }

    .mobile-sticky-cta .btn-call:hover,
    .mobile-sticky-cta .btn-call:active {
        background: #2ecc71;
        color: #ffffff;
    }

    .mobile-sticky-cta .btn-quote {
        background: var(--accent-red);
        border: 1px solid var(--accent-red);
        color: #ffffff;
    }

    .mobile-sticky-cta .btn-quote:hover,
    .mobile-sticky-cta .btn-quote:active {
        background: var(--accent-red-hover);
    }
}

