body {
    background:
        radial-gradient(circle at top left, rgba(36, 160, 255, 0.25), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 184, 0, 0.14), transparent 22%),
        linear-gradient(180deg, #041a33 0%, #072a52 28%, #f8f9fa 28%, #f8f9fa 100%);
    color: #0f1720;
}

.hero-header {
    overflow: hidden;
    padding: 2.5rem 0 2rem;
    position: relative;
}

.hero-header::before,
.hero-header::after {
    content: "";
    pointer-events: none;
    position: absolute;
}

.hero-header::before {
    background:
        radial-gradient(circle, rgba(255, 211, 77, 0.9) 0%, rgba(255, 211, 77, 0.15) 24%, transparent 55%);
    filter: blur(6px);
    height: 220px;
    left: -40px;
    top: 40px;
    width: 220px;
}

.hero-header::after {
    background:
        radial-gradient(circle at center, rgba(65, 182, 255, 0.65), transparent 60%);
    height: 320px;
    right: -60px;
    top: 10px;
    width: 320px;
}

.hero-overlay {
    background:
        linear-gradient(125deg, transparent 0%, rgba(97, 201, 255, 0.18) 18%, transparent 26%),
        linear-gradient(160deg, transparent 0%, rgba(97, 201, 255, 0.16) 16%, transparent 24%);
    inset: 0;
    position: absolute;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.brand-layout {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(220px, 300px) 1fr;
}

.brand-badge {
    background:
        linear-gradient(180deg, rgba(6, 31, 59, 0.92), rgba(5, 22, 42, 0.95));
    border: 2px solid #d7a11e;
    border-radius: 1.75rem;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 220, 120, 0.35);
    color: #ffffff;
    margin: 0 auto;
    max-width: 760px;
    padding: 1.75rem 1.5rem 1.5rem;
    position: relative;
}

.brand-badge::before {
    background: linear-gradient(90deg, transparent, rgba(255, 208, 80, 0.9), transparent);
    content: "";
    height: 3px;
    left: 10%;
    position: absolute;
    top: 78px;
    width: 80%;
}

.brand-logo-wrap {
    display: flex;
    justify-content: flex-start;
}

.brand-logo {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
    max-width: 100%;
    width: 280px;
}

.brand-copy {
    position: relative;
    z-index: 1;
}

.brand-kicker {
    color: #f7c84a;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.18rem;
    margin: 0;
    text-transform: uppercase;
}

.site-title {
    color: #f4f7fb;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    letter-spacing: 0.12rem;
    line-height: 0.95;
    margin: 0.5rem 0 0;
    text-shadow:
        0 2px 0 #000000,
        0 6px 18px rgba(0, 0, 0, 0.45);
}

.brand-number {
    color: #f7c84a;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.24rem;
    line-height: 1;
    margin-top: 0.2rem;
    text-shadow: 0 2px 0 #000000;
}

.brand-callout {
    color: #f7c84a;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.16rem;
    margin: 1.3rem 0 1rem;
    text-align: center;
    text-shadow: 0 2px 0 #000000;
    text-transform: uppercase;
}

.brand-contact {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.brand-contact a {
    color: #f7c84a;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav {
    background: rgba(3, 18, 36, 0.88);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 209, 92, 0.35);
    border-bottom: 1px solid rgba(255, 209, 92, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    margin-bottom: 2rem;
}

.main-nav .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.92);
}

.main-nav .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='rgba%288, 33, 62, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hover-bold {
    transition: font-weight 0.2s ease-in-out;
}

.hover-bold:hover {
    font-weight: 700;
}

.nav-buttons {
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
}

.nav-buttons .nav-link {
    background: linear-gradient(180deg, #f7c84a, #d59100);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    color: #08213e;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    text-align: center;
}

.nav-buttons .nav-link:hover,
.nav-buttons .nav-link:focus {
    background: linear-gradient(180deg, #ffd667, #e5a50a);
    color: #041a33;
}

.content-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-intro {
    margin-bottom: 1.5rem;
}

.feature-card {
    border: 1px solid rgba(8, 33, 62, 0.08);
    padding: 1.5rem;
}

.feature-eyebrow {
    color: #0a79da;
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.feature-title {
    color: #08213e;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0.85rem;
}

.service-pill {
    border: 1px solid rgba(8, 33, 62, 0.08);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 1.2rem;
    text-align: center;
}

.electrician-hero-section {
    display: flex;
    justify-content: center;
}

.electrician-image-frame {
    background:
        linear-gradient(180deg, rgba(6, 31, 59, 0.92), rgba(5, 22, 42, 0.95));
    border: 2px solid #d7a11e;
    border-radius: 1.5rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    margin: 0 auto;
    max-width: 960px;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
}

.electrician-image {
    border-radius: 1rem;
    display: block;
    width: min(100%, 720px);
    margin: 0 auto;
    max-width: 100%;
    max-height: min(78vh, 760px);
    height: auto;
    object-fit: contain;
}

.image-slider-frame {
    padding: 1rem;
}

.image-slider {
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    margin: 0 auto;
    max-width: 504px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-slider-item {
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    transition: opacity 0.7s ease;
    width: 100%;
}

.image-slider-item.is-active {
    opacity: 1;
}

.electrician-image-copy {
    color: #ffffff;
    margin: 1.25rem auto 0;
    max-width: 760px;
    padding: 0 0.5rem;
    text-align: center;
}

.electrician-image-copy .feature-title,
.electrician-image-copy .feature-eyebrow {
    color: #ffffff;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-120px);
    transition: transform 0.9s ease, opacity 0.9s ease;
    will-change: transform, opacity;
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

#home {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.slideshow-section {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    width: 90%;
}

.slideshow-section-content {
    padding: 2rem 1rem 2rem;
    min-height: 900px;
    position: relative;
    z-index: 1;
}

.section-title {
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.video-section {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.video-frame {
    background: linear-gradient(180deg, rgba(6, 31, 59, 0.92), rgba(5, 22, 42, 0.95));
    border: 2px solid #d7a11e;
    border-radius: 1.25rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    display: block;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0.75rem;
    width: 100%;
}

.video-preview-card {
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 0.8rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.video-preview-card::before {
    background:
        linear-gradient(180deg, rgba(4, 26, 51, 0.16) 0%, rgba(4, 26, 51, 0.6) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.video-preview-copy {
    bottom: 1.5rem;
    color: #ffffff;
    left: 1.5rem;
    max-width: 480px;
    position: absolute;
    z-index: 3;
}

.video-preview-copy .feature-title,
.video-preview-copy .feature-eyebrow {
    color: #ffffff;
}

.video-preview-overlay {
    align-items: center;
    background: linear-gradient(180deg, rgba(4, 26, 51, 0.16), rgba(4, 26, 51, 0.56));
    border: 0;
    cursor: pointer;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 0;
    position: absolute;
    transition: opacity 0.3s ease;
    width: 100%;
    z-index: 2;
}

.video-play-badge {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    color: #08213e;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.18rem;
    padding: 0.9rem 1.4rem;
}

.showcase-video {
    border-radius: 0.8rem;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease, opacity 0.35s ease;
    width: 100%;
}

.video-preview-card:not(.is-playing) .showcase-video {
    transform: scale(1.02);
}

.video-preview-card.is-previewing .video-preview-overlay,
.video-preview-card.is-playing .video-preview-overlay {
    opacity: 0;
    pointer-events: none;
}

.contact-block {
    align-items: center;
    display: flex;
    gap: 1.5rem;
}

.contact-logo-wrap {
    flex: 0 0 auto;
}

.contact-logo {
    display: block;
    max-width: 220px;
    width: 100%;
}

.contact-details {
    flex: 1 1 auto;
}

.contact-details a {
    color: #0a79da;
    font-weight: 700;
    text-decoration: none;
}

.furniture-slideshow {
    background-image: linear-gradient(rgba(4, 26, 51, 0.35), rgba(4, 26, 51, 0.45)), url("../../images/namestaj1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: 0;
    position: absolute;
    transition: background-image 0.8s ease-in-out;
}

.furniture-slideshow::after {
    background:
        linear-gradient(180deg, rgba(4, 26, 51, 0.2) 0%, rgba(4, 26, 51, 0.55) 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.site-footer {
    background: rgba(4, 26, 51, 0.88);
    border-top: 1px solid rgba(255, 209, 92, 0.25);
    color: #f4f7fb;
    margin-top: 2.5rem;
    padding: 2rem 0 1.1rem;
}

.footer-main {
    align-items: center;
    column-gap: 2rem;
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr minmax(220px, 300px);
    row-gap: 1.5rem;
}

.footer-brand {
    display: flex;
    justify-content: flex-start;
}

.footer-logo {
    display: block;
    max-width: 200px;
    width: 100%;
}

.footer-links {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: center;
    text-align: center;
}

.footer-links a {
    color: #f7c84a;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact a:hover,
.footer-contact a:focus {
    color: #ffffff;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #f7c84a;
    font-weight: 700;
    text-decoration: none;
}

.footer-layout {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 209, 92, 0.18);
}

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

.gallery-copy {
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
    padding: 1.5rem;
}

.nav-link.active {
    background: linear-gradient(180deg, #54bfff, #0a79da);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .brand-layout {
        grid-template-columns: 1fr;
    }

    .brand-logo-wrap {
        justify-content: center;
    }

    .nav-buttons {
        gap: 0.5rem;
        padding-top: 1rem;
    }

    .main-nav .navbar-collapse {
        padding-bottom: 1rem;
    }

    .nav-buttons .nav-link {
        width: 100%;
    }

    .brand-badge::before {
        top: 72px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .footer-brand {
        justify-content: center;
    }

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

@media (max-width: 767.98px) {
    .hero-header {
        padding-top: 1.75rem;
    }

    .brand-badge {
        border-radius: 1.2rem;
        padding: 1.4rem 1rem 1.2rem;
    }

    .brand-contact a {
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .contact-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-layout {
        justify-content: center;
    }

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

    .slideshow-section-content {
        min-height: 520px;
        padding: 1.25rem 0.4rem 1.5rem;
    }

    .electrician-image-frame {
        border-radius: 1.1rem;
        padding: 0.75rem;
    }

    .electrician-image {
        width: min(100%, 480px);
        max-height: 62vh;
    }

    .image-slider {
        max-width: 336px;
    }

    .video-frame {
        padding: 0.5rem;
    }

    .video-preview-card {
        aspect-ratio: 4 / 5;
    }

    .video-preview-copy {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}
