/* =====================================================
   Custom styles — skrotamc.se
   Project-specific, hand-written
   ===================================================== */
:root {
    --iyp-section-py: 5rem;
    --iyp-hero-min-h: 100vh;
    --iyp-hero-min-h-sub: 55vh;
    --iyp-transition: 0.25s ease;
    --iyp-text-muted: #a38c7e;
    --iyp-text-secondary: #dcc1b1;
}

section {
    padding-top: var(--iyp-section-py);
    padding-bottom: var(--iyp-section-py);
}

/* Near-black section band (alt. to bg-body-tertiary for stronger contrast) */
.blackalmost {
    background-image: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(5, 5, 5) 100%);
}

.text-muted-mc {
    color: #f7f2f0 !important;
}

/* Fixed nav with blur, matches dark hero seamlessly */
.navbar-mc {
    background-color: rgba(19, 19, 19, 0.92) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 20px rgba(229, 127, 41, 0.15);
}

.navbar-mc .navbar-brand img {
    height: 56px;
}

.navbar-mc .navbar-toggler {
    border-color: rgba(229, 127, 41, 0.4);
}

.navbar-mc .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23e57f29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Accent line — used under H1/H2 as a brand marker */
.accent-line {
    display: block;
    width: 16rem;
    height: 2px;
    background-color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

/* Hero (full-height, startsida) */
.hero-mc {
    min-height: var(--iyp-hero-min-h);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    padding-top: 80px;
}

.hero-mc .hero-bg-img,
.sub-hero .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: grayscale(1);
}

.hero-mc .hero-overlay,
.sub-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a0a0a 45%, rgba(10, 10, 10, 0.6) 70%, transparent);
}

/* Sub-page hero (om oss, kontakt) — shorter */
.sub-hero {
    min-height: var(--iyp-hero-min-h-sub);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    padding-top: 80px;
}

.sub-hero .hero-bg-img {
    opacity: 0.3;
}

/* Step circles (Så här funkar det) */
.step-circle {
    width: 64px;
    height: 64px;
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bs-heading-font-family);
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* About photo — corner brackets + grayscale-to-color hover */
.about-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-img-wrap::before,
.about-img-wrap::after {
    content: '';
    position: absolute;
    width: 96px;
    height: 96px;
    border-color: var(--bs-primary);
    z-index: 1;
}

.about-img-wrap::before {
    top: -16px;
    left: -16px;
    border-top: 4px solid var(--bs-primary);
    border-left: 4px solid var(--bs-primary);
}

.about-img-wrap::after {
    bottom: -16px;
    right: -16px;
    border-bottom: 4px solid var(--bs-primary);
    border-right: 4px solid var(--bs-primary);
}

.about-img-wrap img {
    filter: brightness(0.75) grayscale(1);
    transition: filter 0.7s;
}

.about-img-wrap:hover img {
    filter: brightness(1) grayscale(0);
}

/* CTA banner (bred, accentbakgrund) */
.cta-banner {
    background-color: var(--bs-primary);
    padding: 5rem 0;
}

.cta-banner h2 {
    color: #3a1a00;
}

.cta-banner .cta-phone {
    font-family: var(--bs-heading-font-family);
    font-weight: 800;
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

/* Footer */
.site-footer {
    background-color: #0e0e0e;
    border-top: 3px solid var(--bs-primary);
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}

.site-footer a:hover {
    color: var(--bs-secondary);
}

/* Contact icons (kontaktsida) */
.contact-icon {
    color: var(--bs-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Booking iframe wrapper — matches the embedded form's dark background for a seamless edge */
.booking-frame-wrap {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    background: #000000;
}

/* =====================================================
   Nivå 1 — hover/micro (CSS transition, ingen JS)
   ===================================================== */
.hover-lift {
    transition: transform var(--iyp-transition), box-shadow var(--iyp-transition);
}

.hover-lift:hover {
    transform: translateY(-6px);
    border-color: var(--bs-primary) !important;
}

.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.4s ease;
}

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