:root {
    --bg-color: #0f1115;
    --surface-color: #1c1f26;
    --accent-color: #00e5ff;
    --text-main: #f0f4f8;
    --text-muted: #a0aec0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background: linear-gradient(rgba(15, 17, 21, 0.85), rgba(15, 17, 21, 0.95)), url('hero-image-placeholder.jpg') center/cover;
    padding: clamp(50px, 12vw, 100px) 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

header h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
}

header h2 {
    color: var(--accent-color);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-style: italic;
    font-weight: 300;
    margin-top: 10px;
}

header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 20px auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(30px, 8vw, 50px) 20px;
}

h2.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2.section-title span {
    color: var(--accent-color);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px auto;
}

.row-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

/* PRODUKT GRID & KORT */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 4vw, 20px);
}

.product-card {
    flex: 1 1 240px;
    max-width: 400px;
    background-color: var(--surface-color);
    border: 2px solid #2a2f3a;
    border-radius: 8px;
    padding: clamp(18px, 5vw, 25px) 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

.product-card.selectable {
    cursor: pointer;
}

.product-card.selectable:hover {
    border-color: #4a5568;
    transform: translateY(-3px);
}

/* Svartvit/Svart-grå ikoner som standard */
.product-card .icon-container svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-muted);
    transition: all 0.3s ease;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 8px 0;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* MARKERAT LÄGE (CYAN-BLÅ, RAM & GLOW) */
.product-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
    background-color: #161a22;
}

.product-card.selected .icon-container svg {
    stroke: var(--accent-color);
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
}

/* Badges och indikatorer */
.product-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    background-color: rgba(0, 229, 255, 0.15);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid var(--accent-color);
}

.product-card.selectable .checkbox-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.product-card.selectable.selected .checkbox-indicator {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

/* REFERENSGALLERI */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 4vw, 20px);
}

.gallery-item {
    flex: 1 1 260px;
    max-width: 400px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #2a2f3a;
    background-color: var(--surface-color);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-main);
    background: linear-gradient(to top, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0));
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(7, 8, 10, 0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox figure {
    margin: 0;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.35);
}

.lightbox figcaption {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    font-size: 1.8rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

/* KONTAKT / OFFERT SEKTION */
.contact-section {
    background-color: var(--surface-color);
    text-align: center;
    padding: clamp(30px, 8vw, 50px) 20px;
    border-radius: 8px;
    margin-top: 50px;
    border-top: 3px solid var(--accent-color);
}

.contact-section a {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.1rem;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.contact-section a:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.email-copy {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.email-copy button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-color);
    border: 1px solid #2a2f3a;
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-copy button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.email-copy button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #07080a;
    color: var(--text-muted);
    font-size: 0.9rem;
}