:root {
    --dark: #111111;
    --gray: #666666;
    --light: #f6f4f0;
    --line: #e6e6e6;
    --red: #e2382a;
    --red-dark: #b9261b;
}

* {
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: var(--dark);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* Navbar */
.site-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-nav.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    align-items: center;
    color: var(--dark);
    display: flex;
    font-weight: 800;
    gap: 10px;
}

.brand-mark {
    align-items: center;
    background: var(--red);
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.navbar .nav-link {
    color: var(--dark);
    font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--red);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Buttons */
.btn-shop,
.btn-order,
.btn-feedback,
.btn-primary {
    background: var(--red);
    border: 1px solid var(--red);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 20px;
    text-decoration: none;
}

.btn-shop:hover,
.btn-order:hover,
.btn-feedback:hover,
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #ffffff;
}

.btn-outline-shop {
    border: 1px solid var(--dark);
    color: var(--dark);
    font-weight: 800;
    padding: 12px 20px;
    text-decoration: none;
}

.btn-outline-shop:hover {
    background: var(--dark);
    color: #ffffff;
}

.logout-btn {
    background: var(--dark);
    border: 1px solid var(--dark);
    color: #ffffff;
    font-weight: 800;
    padding: 10px 18px;
}

.logout-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

/* Text and sections */
.hero,
.section-block,
.page-hero,
.order-section,
.feedback-section {
    padding: 70px 0;
}

.page-hero,
.split-panel,
.order-section,
.feedback-section {
    background: var(--light);
}

.hero {
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1;
}

.section-heading,
.order-header h2,
.feedback-header h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
}

.hero-copy,
.page-hero p,
.section-lead,
.order-header p,
.feedback-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.scroll-cue {
    color: var(--gray);
    display: inline-block;
    font-weight: 800;
    margin-top: 30px;
    text-decoration: none;
}

/* Images and moving showcase */
.hero-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.hero-gallery img,
.feature-image,
.showcase-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero-gallery img:first-child {
    grid-column: span 2;
    height: 360px;
}

.hero-gallery img:not(:first-child) {
    height: 190px;
}

.float-card {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.showreel {
    background: var(--red);
    color: #ffffff;
    overflow: hidden;
    padding: 18px 0;
}

.marquee-row {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    align-items: center;
    animation: marqueeSlide 30s linear infinite;
    display: flex;
    gap: 24px;
    width: max-content;
}

.marquee-track span {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
}

.marquee-track img {
    height: 100px;
    object-fit: cover;
    width: 160px;
}

/* Cards */
.service-card,
.info-card,
.contact-card,
.admin-section,
.form-shell,
.login-shell {
    background: #ffffff;
    border: 1px solid var(--line);
    height: 100%;
    padding: 28px;
}

.service-card:hover,
.info-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.service-card h3,
.service-card h5,
.info-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
}

.service-card p,
.info-card p,
.contact-card p {
    color: var(--gray);
}

.number-label,
.dynamic-card a {
    color: var(--red);
    font-weight: 900;
}

.dynamic-card a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

.service-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--line);
    font-weight: 900;
    padding: 10px 16px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}

.service-item.is-hidden {
    display: none;
}

/* Carousel and accordion */
.showcase-carousel {
    background: #ffffff;
    border: 1px solid var(--line);
}

.showcase-image {
    height: 500px;
}

.showcase-copy {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 40px;
}

.showcase-copy h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
}

.carousel-control-next,
.carousel-control-prev {
    background: rgba(0, 0, 0, 0.55);
    height: 52px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
}

.process-accordion .accordion-button {
    font-weight: 900;
}

.process-accordion .accordion-button:not(.collapsed) {
    background: var(--dark);
    color: #ffffff;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid #d0d0d0;
    border-radius: 0;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.15rem rgba(226, 56, 42, 0.15);
}

.form-label,
label {
    font-weight: 800;
}

.account-tabs {
    background: var(--light);
    border: 1px solid var(--line);
    padding: 6px;
}

.account-tabs .nav-link {
    border-radius: 0;
    color: var(--dark);
    font-weight: 900;
}

.account-tabs .nav-link.active {
    background: var(--red);
    color: #ffffff;
}

.admin-login-link {
    color: var(--gray);
    display: inline-block;
    font-weight: 800;
    margin-top: 20px;
    text-decoration: none;
}

.admin-login-link:hover {
    color: var(--red);
}

/* Order, feedback, admin */
.order-card,
.feedback-card {
    background: transparent;
    border: 0;
    margin: auto;
    max-width: 820px;
}

.card-body {
    padding: 0;
}

#previewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.preview-image {
    border: 1px solid var(--line);
    height: 130px;
    object-fit: cover;
    padding: 4px;
    width: 130px;
}

.form-message {
    font-weight: 800;
    margin: 12px 0;
    min-height: 28px;
}

.message-success {
    color: #16744a;
}

.message-error {
    color: #c72a22;
}

.table {
    background: #ffffff;
}

.table th {
    background: var(--dark);
    color: #ffffff;
}

/* Footer and animations */
.footer {
    background: var(--dark);
    color: #ffffff;
    padding: 34px 0;
}

.footer p {
    color: #cccccc;
    margin: 0;
}

[data-animate] {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.6s ease;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top {
    background: var(--red);
    border: 0;
    bottom: 20px;
    color: #ffffff;
    font-weight: 900;
    height: 48px;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 20px;
    width: 48px;
    z-index: 1200;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@keyframes marqueeSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Mobile */
@media (max-width: 991px) {
    .hero-gallery {
        margin-top: 30px;
    }

    .showcase-image {
        height: 340px;
    }
}

@media (max-width: 575px) {
    .hero,
    .section-block,
    .page-hero,
    .order-section,
    .feedback-section {
        padding: 50px 0;
    }

    .hero-gallery img:first-child,
    .hero-gallery img:not(:first-child) {
        grid-column: span 2;
        height: 240px;
    }

    .service-card,
    .info-card,
    .contact-card,
    .admin-section,
    .form-shell,
    .login-shell,
    .showcase-copy {
        padding: 22px;
    }
}
