:root {
    --bg-soft: #f4efe6;
    --bg-strong: #d8c3a5;
    --text-main: #1f2933;
    --text-muted: #52606d;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-soft: rgba(31, 41, 51, 0.08);
    --metal-brown: #bc6a17;
    --metal-brown-dark: #8c4b0d;
    --metal-accent: #e0b15f;
    --nav-black: #0f0c09;
    --nav-black-soft: #18120d;
    --gold-soft: #f0c777;
    --slider-header-offset: 132px;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(216, 195, 165, 0.55), transparent 30%),
        linear-gradient(180deg, #fcfaf7 0%, #f7f1e8 100%);
}

.top-bar {
    background:
        linear-gradient(135deg, #9e560f 0%, var(--metal-brown) 48%, #d98225 100%);
    color: #f5ede5;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #f5ede5;
    text-decoration: none;
    font-size: 0.96rem;
}

.top-link:hover,
.top-link:focus {
    color: #fff8e8;
}

.social-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.45rem;
    background-color: rgba(255, 248, 232, 0.16);
    color: #fff7f0;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.social-links a::before,
.courier-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    transform: translateX(-140%);
    transition: transform 0.45s ease;
    pointer-events: none;
}

.social-links a:hover,
.social-links a:focus {
    background-color: rgba(255, 248, 232, 0.26);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0.75rem 1.25rem rgba(70, 35, 0, 0.22);
}

.social-links a:hover::before,
.social-links a:focus::before,
.courier-button:hover::before,
.courier-button:focus::before {
    transform: translateX(140%);
}

.main-header {
    padding-top: 1rem;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    position: relative;
    height: 690px;
    min-height: 690px;
    overflow: hidden;
}

.slider-base-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1);
}

.slider-action {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.slider-action .container {
    height: 100%;
}

.slider-action-inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    padding: 0 0 2.25rem;
}

.slider-link-button {
    position: relative;
    pointer-events: auto;
    padding: 0.9rem 1.45rem;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, var(--metal-brown-dark) 0%, var(--metal-brown) 55%, #d27b1f 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.slider-link-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    transform: translateX(-140%);
    transition: transform 0.45s ease;
    pointer-events: none;
}

.slider-link-button:hover,
.slider-link-button:focus {
    background: linear-gradient(135deg, #9e560f 0%, #bc6a17 55%, #de8321 100%);
    color: #ffffff;
    box-shadow: 0 1rem 1.8rem rgba(0, 0, 0, 0.28);
}

.slider-link-button:hover::before,
.slider-link-button:focus::before {
    transform: translateX(140%);
}

.hero-slider .carousel-indicators {
    right: auto;
    bottom: 1.8rem;
    left: 50%;
    z-index: 3;
    margin: 0;
    transform: translateX(-50%);
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 0.9rem;
    height: 0.9rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-slider .carousel-indicators .active {
    background-color: #ffffff;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 7%;
    z-index: 3;
}

.hero-slider .carousel-item.active .slider-base-image {
    animation: sliderSoftReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.courier-strip {
    position: relative;
    height: 105px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 12, 9, 0.08) 0%, rgba(15, 12, 9, 0) 18%),
        url("../images/kurye-bg.png") center / cover no-repeat;
    border-top: 1px solid rgba(224, 177, 95, 0.1);
    border-bottom: 1px solid rgba(224, 177, 95, 0.1);
}

.courier-strip-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.courier-strip-rider {
    position: absolute;
    bottom: 6px;
    left: -320px;
    width: min(220px, 21vw);
    max-width: none;
    height: auto;
    animation: courierRideAcross 16s linear infinite;
    will-change: transform;
}

.why-us-section {
    background:
        radial-gradient(circle at top center, rgba(240, 199, 119, 0.18), transparent 28%),
        linear-gradient(180deg, #fffdf9 0%, #f8f2e8 100%);
}

.section-heading {
    max-width: 42rem;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #9e560f 0%, #bc6a17 55%, #d98225 100%);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 1rem;
    color: #15120f;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
}

.section-heading p {
    margin-bottom: 0;
    color: #5f554b;
    font-size: 1.05rem;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(188, 106, 23, 0.08);
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.5rem rgba(64, 42, 18, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover,
.why-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(188, 106, 23, 0.18);
    box-shadow: 0 1.25rem 2.8rem rgba(64, 42, 18, 0.12);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: rgba(188, 106, 23, 0.08);
    color: var(--metal-brown);
    font-size: 1.7rem;
}

.why-card h3 {
    margin-bottom: 0.65rem;
    color: #15120f;
    font-size: 1.45rem;
    font-weight: 700;
}

.why-card p {
    margin-bottom: 0;
    color: #5f554b;
    line-height: 1.65;
}

.services-section {
    background: linear-gradient(180deg, #fffaf2 0%, #f8f0e3 100%);
}

.service-card {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 248, 240, 0.92) 100%);
    border: 1px solid rgba(188, 106, 23, 0.09);
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.4rem rgba(78, 47, 15, 0.08);
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--metal-brown) 50%, transparent 100%);
}

.service-number {
    display: inline-block;
    margin-bottom: 1rem;
    color: rgba(188, 106, 23, 0.42);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    color: #17120d;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 0;
    color: #5f554b;
    line-height: 1.7;
}

.process-section {
    background: linear-gradient(180deg, #14100c 0%, #0d0a08 100%);
    color: #fff8ee;
}

.process-title {
    margin: 1rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
}

.process-text {
    color: rgba(255, 244, 230, 0.76);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.process-button {
    min-width: 220px;
}

.process-steps {
    display: grid;
    gap: 1rem;
}

.process-step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.4rem 1.4rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(224, 177, 95, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #9e560f 0%, #bc6a17 55%, #d98225 100%);
    color: #fff8ef;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.process-step p {
    margin-bottom: 0;
    color: rgba(255, 244, 230, 0.72);
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(180deg, #fffaf2 0%, #f5ebdc 100%);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(20, 16, 12, 0.96) 0%, rgba(39, 28, 19, 0.94) 100%);
    color: #fff8ee;
    box-shadow: 0 1.25rem 3rem rgba(42, 26, 8, 0.18);
}

.cta-panel h2 {
    margin: 1rem 0 0.8rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
}

.cta-panel p {
    margin-bottom: 0;
    color: rgba(255, 244, 230, 0.76);
    line-height: 1.8;
    max-width: 40rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.site-footer {
    background: #12100e;
    color: #fff8ee;
}

.footer-top {
    padding: 2rem 0;
    background: linear-gradient(135deg, #9e560f 0%, #bc6a17 50%, #d98225 100%);
}

.footer-top h2 {
    margin-bottom: 0.4rem;
    font-size: 2rem;
    font-weight: 800;
}

.footer-top p {
    margin-bottom: 0;
    color: rgba(255, 248, 238, 0.88);
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.14);
    color: #fff8ef;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
}

.footer-main {
    background: linear-gradient(180deg, #171411 0%, #12100e 100%);
}

.footer-main h3 {
    margin-bottom: 1.2rem;
    color: #fff8ef;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-main p {
    color: rgba(255, 244, 230, 0.72);
    line-height: 1.85;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 0.85rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 244, 230, 0.76);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact a:hover,
.footer-contact a:focus {
    color: var(--gold-soft);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--metal-brown);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    color: rgba(255, 244, 230, 0.62);
}

.nav-band {
    background: linear-gradient(180deg, var(--nav-black) 0%, #080604 100%);
    border-top: 1px solid rgba(224, 177, 95, 0.08);
    border-bottom: 1px solid rgba(224, 177, 95, 0.12);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.nav-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
}

.brand-logo {
    display: block;
    height: 56px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.75rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--gold-soft);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-dropdown-toggle::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    display: none;
    min-width: 12rem;
    padding: 0.6rem 0;
    border: 1px solid rgba(224, 177, 95, 0.14);
    border-radius: 0.7rem;
    background: linear-gradient(180deg, rgba(24, 18, 13, 0.98) 0%, rgba(12, 9, 7, 0.98) 100%);
    box-shadow: 0 1.1rem 2rem rgba(0, 0, 0, 0.34);
    z-index: 20;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.45rem;
    height: 0.45rem;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    color: rgba(255, 248, 232, 0.92);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    background: rgba(224, 177, 95, 0.1);
    color: var(--gold-soft);
}

.courier-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, var(--metal-brown-dark) 0%, var(--metal-brown) 55%, #d27b1f 100%);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(255, 248, 232, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.courier-button:hover,
.courier-button:focus {
    background: linear-gradient(135deg, #9e560f 0%, #bc6a17 55%, #de8321 100%);
    color: #ffffff;
    box-shadow: 0 1rem 1.8rem rgba(120, 63, 8, 0.28);
}

.courier-button:active,
.social-links a:active {
    transform: translateY(0) scale(0.98);
}

.nav-action {
    display: flex;
    justify-content: flex-start;
}

.hero-section {
    min-height: 42vh;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--metal-brown);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.info-card,
.feature-box,
.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.info-card {
    box-shadow: 0 1rem 3rem rgba(31, 41, 51, 0.08);
}

.highlight-card {
    box-shadow: 0 1rem 3rem rgba(75, 53, 40, 0.12);
}

.info-card .list-group-item {
    background: transparent;
    border-color: var(--border-soft);
    color: var(--text-muted);
}

.feature-box h3 {
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    :root {
        --slider-header-offset: 188px;
    }

    .top-bar {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .top-bar .d-flex.flex-column.flex-md-row {
        align-items: center;
        text-align: center;
    }

    .top-bar .d-flex.flex-column.flex-sm-row {
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-link {
        justify-content: center;
        font-size: 0.92rem;
    }

    .social-links {
        justify-content: center;
        width: 100%;
    }

    .brand-logo {
        height: 48px;
    }

    .courier-button {
        width: 100%;
        padding: 0.9rem 1.2rem;
    }

    .hero-slider .carousel-item {
        height: calc(100svh - var(--slider-header-offset));
        min-height: 300px;
    }

    .courier-strip {
        height: 76px;
        background-position: center;
    }

    .courier-strip-rider {
        bottom: 4px;
        left: -150px;
        width: min(128px, 36vw);
        animation-duration: 12s;
    }

    .why-card {
        padding: 1.35rem;
    }

    .why-card h3 {
        font-size: 1.25rem;
    }

    .why-icon {
        flex-basis: 3.4rem;
        width: 3.4rem;
        height: 3.4rem;
        font-size: 1.4rem;
    }

    .service-card {
        padding: 1.4rem 1.25rem;
    }

    .process-button,
    .cta-actions .courier-button,
    .cta-actions .slider-link-button {
        width: 100%;
    }

    .cta-panel {
        padding: 1.5rem;
    }

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

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

    .slider-action-inner {
        justify-content: center;
        padding: 0 0 1.5rem;
    }

    .slider-link-button {
        width: min(100%, 18rem);
    }

    .hero-section {
        min-height: auto;
    }
}

@media (max-width: 991.98px) {
    .nav-panel {
        display: none;
        padding-top: 0.25rem;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .main-nav {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem 1.25rem;
    }

    .main-nav a {
        width: 100%;
        padding-bottom: 0.15rem;
    }

    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .nav-dropdown-toggle::after {
        margin-left: auto;
    }

    .nav-dropdown-menu {
        display: flex;
        width: 100%;
        flex-direction: column;
        padding: 0.35rem 0 0 0.85rem;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-dropdown-menu a {
        padding: 0.35rem 0;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus {
        background: transparent;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-shell {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .nav-top-row {
        flex: 0 0 auto;
    }

    .nav-panel {
        flex: 1 1 auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .main-nav {
        justify-content: center;
        flex: 1 1 auto;
    }

    .nav-action {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-dropdown:hover .nav-dropdown-toggle::after,
    .nav-dropdown:focus-within .nav-dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@keyframes sliderSoftReveal {
    from {
        opacity: 0.25;
        transform: scale(1.08);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

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

    to {
        transform: translateX(calc(100vw + 520px));
    }
}
