:root {
    --tekdag-ink: #17140f;
    --tekdag-charcoal: #29251f;
    --tekdag-gold: #c98922;
    --tekdag-gold-light: #f0bd57;
    --tekdag-cream: #f7f3eb;
    --tekdag-paper: #fffdf9;
    --tekdag-muted: #756f65;
    --tekdag-line: rgba(91, 68, 31, 0.14);
    --tekdag-shadow: 0 18px 50px rgba(35, 27, 16, 0.09);
}

.site-modern {
    min-height: 100vh;
    color: var(--tekdag-charcoal);
    background:
        radial-gradient(circle at 8% 12%, rgba(201, 137, 34, 0.08), transparent 24rem),
        linear-gradient(180deg, #fff 0, var(--tekdag-paper) 36rem, var(--tekdag-cream) 100%);
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.6;
}

.site-modern.home-with-video {
    background: transparent;
}

.site-modern.home-with-video.home-video-disabled {
    background:
        radial-gradient(circle at 8% 12%, rgba(201, 137, 34, 0.08), transparent 24rem),
        linear-gradient(180deg, #fff 0, var(--tekdag-paper) 36rem, var(--tekdag-cream) 100%);
}

.home-video-disabled .home-video-background {
    display: none;
}

.home-with-video > *:not(.home-video-background) {
    position: relative;
    z-index: 1;
}

.home-video-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.04);
}

.home-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(201, 137, 34, 0.1), transparent 24rem),
        rgba(255, 253, 249, 0.86);
    backdrop-filter: blur(1.5px);
}

.site-modern header {
    position: relative;
    z-index: 50;
    padding: 14px 20px;
    background: linear-gradient(120deg, #100e0b, #292217 62%, #15110c);
    box-shadow: 0 10px 32px rgba(20, 15, 9, 0.18);
}

.site-modern .header-bar {
    max-width: 1240px;
    margin: 0 auto;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.site-modern .header-bar .container {
    max-width: 1200px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-modern .logo img {
    width: 190px;
    max-height: 76px;
    object-fit: contain;
}

.site-modern .nav-item {
    margin: 0 2px;
}

.site-modern .nav-item a {
    padding: 11px 14px !important;
    border-radius: 12px;
    color: #302a23;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-modern .nav-item a::before {
    display: none;
}

.site-modern .nav-item a:hover,
.site-modern .nav-item.active a {
    color: #fff;
    background: var(--tekdag-ink);
    transform: translateY(-1px);
}

.site-modern .header-phone .btn,
.site-modern .header-bar .phone {
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: linear-gradient(135deg, var(--tekdag-gold-light), var(--tekdag-gold)) !important;
    color: #211a10 !important;
    box-shadow: 0 8px 20px rgba(201, 137, 34, 0.25);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-modern .header-phone .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(201, 137, 34, 0.34);
}

.site-modern header + .container {
    min-height: 62px;
}

.site-modern header + .container .social-icons {
    margin: 10px 0 !important;
}

.site-modern header + .container .social-icon,
.site-modern .social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 137, 34, 0.3);
    background: var(--tekdag-ink) !important;
    color: var(--tekdag-gold-light);
    font-size: 17px;
    box-shadow: 0 7px 18px rgba(29, 23, 15, 0.12);
}

.site-modern .social-icon:hover {
    color: #18130c;
    background: var(--tekdag-gold-light) !important;
    transform: translateY(-3px);
}

.site-modern .header-title {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    margin-bottom: 4rem;
    background:
        linear-gradient(105deg, rgba(16, 14, 11, 0.94), rgba(43, 33, 20, 0.78)),
        url("/frontend/img/header-bg.webp") center / cover;
    box-shadow: 0 18px 40px rgba(28, 21, 13, 0.16);
}

.site-modern .header-title::after {
    position: absolute;
    right: 8%;
    bottom: -85px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(240, 189, 87, 0.3);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 30px rgba(240, 189, 87, 0.04), 0 0 0 60px rgba(240, 189, 87, 0.03);
}

.site-modern .header-title h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.28);
}

.site-modern .header-title h1::after {
    display: block;
    width: 72px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--tekdag-gold), var(--tekdag-gold-light));
    content: "";
}

.site-modern h2,
.site-modern h3,
.site-modern h4,
.site-modern h5 {
    color: var(--tekdag-ink);
}

.site-modern h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 650;
}

.site-modern .carousel {
    overflow: hidden;
    margin: 22px 0 38px;
    border: 1px solid var(--tekdag-line);
    border-radius: 24px;
    box-shadow: var(--tekdag-shadow);
}

.site-modern .carousel-item img {
    max-height: 450px;
    object-fit: cover;
}

.site-modern .carousel-control-prev,
.site-modern .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    margin: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(20, 16, 11, 0.68);
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.site-modern .harem-altin-web {
    overflow: hidden;
    border: 1px solid var(--tekdag-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--tekdag-shadow);
}

.site-modern table,
.site-modern .priceHead {
    margin: 0;
    border: 0 !important;
    border-radius: 0;
    background: #fff;
}

.site-modern .priceHead th {
    padding: 17px 12px;
    background: var(--tekdag-ink);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.site-modern .priceHead th::after {
    height: 2px;
    background: var(--tekdag-gold-light);
}

.site-modern .tablex td,
.site-modern .tablex th {
    padding: 13px 12px;
    border-color: rgba(55, 42, 24, 0.08);
}

.site-modern .tablex tbody tr:nth-child(even) {
    background: #fcfaf6;
}

.site-modern .tablex tbody tr:hover {
    background: #f6ecda;
}

.site-modern .time-info {
    color: var(--tekdag-gold-light) !important;
}

.site-modern .container > .row > div > img.rounded-4 {
    border: 1px solid var(--tekdag-line);
    border-radius: 20px !important;
    box-shadow: 0 14px 35px rgba(36, 27, 17, 0.1);
}

.site-modern .container.mt-5 > .row > .col-md-12 h2,
.site-modern .container > h2.text-center {
    position: relative;
    margin-bottom: 1.2rem;
    letter-spacing: 0.06em;
}

.site-modern .hov-img.rounded-circle {
    aspect-ratio: 4 / 3;
    border: 0 !important;
    border-radius: 22px !important;
    object-fit: cover;
    outline: 0;
    box-shadow: 0 16px 36px rgba(31, 24, 15, 0.13);
}

.site-modern .hov-img:hover {
    outline: 0;
    transform: translateY(-5px) scale(1.01);
}

.site-modern .service-box {
    position: relative;
    margin: -34px 16px 0;
    padding: 22px 18px 25px;
    border: 1px solid var(--tekdag-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(39, 29, 16, 0.09);
}

.site-modern .service-box span {
    width: 108px;
    margin-top: -43px;
    padding: 8px 12px !important;
    border: 1px solid var(--tekdag-line);
    background: #fff;
    box-shadow: 0 7px 18px rgba(43, 31, 14, 0.1);
}

.site-modern .service-box h4 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.site-modern .service-box p {
    color: var(--tekdag-muted);
    font-size: 0.95rem;
}

.site-modern #hakkimizda {
    margin-top: 5rem !important;
}

.site-modern #hakkimizda > .row {
    align-items: center;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--tekdag-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--tekdag-shadow);
}

.site-modern #hakkimizda img {
    min-height: 330px;
    border-radius: 17px !important;
    object-fit: cover;
}

.site-modern #hakkimizda p {
    margin: 0;
    padding: clamp(22px, 4vw, 55px);
    color: #5f594f;
    font-size: 1.08rem;
}

.site-modern .card {
    overflow: hidden;
    border: 1px solid var(--tekdag-line) !important;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(37, 28, 16, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-modern .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(37, 28, 16, 0.14) !important;
}

.site-modern .card-img-top {
    height: 340px;
    border-radius: 0 !important;
    object-fit: cover;
}

.site-modern .card-body {
    padding: 20px;
}

.site-modern .card-title {
    font-weight: 750;
    letter-spacing: 0.02em;
}

.site-modern .text-muted {
    color: var(--tekdag-muted) !important;
}

.site-modern .container.p-5 > .row {
    align-items: center;
    padding: clamp(18px, 3vw, 38px);
    border: 1px solid var(--tekdag-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--tekdag-shadow);
}

.site-modern .container.p-5 h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.site-modern .container.p-5 p {
    padding: 13px 0 !important;
    border-bottom: 1px solid var(--tekdag-line);
}

.site-modern .container.p-5 p span {
    color: var(--tekdag-gold);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.site-modern iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 18px;
}

.site-modern .btn-warning,
.site-modern .btn-primary {
    border: 1px solid var(--tekdag-gold) !important;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--tekdag-gold-light), var(--tekdag-gold)) !important;
    color: #21190f !important;
    font-weight: 700;
    box-shadow: 0 7px 18px rgba(201, 137, 34, 0.18);
}

.site-modern .btn-outline-warning {
    border-color: var(--tekdag-gold);
    color: #8a5b12;
}

.site-modern .btn-outline-warning:hover {
    background: var(--tekdag-gold);
    color: #fff;
}

.site-modern .form-control,
.site-modern .form-select {
    min-height: 44px;
    border: 1px solid rgba(80, 60, 28, 0.2);
    border-radius: 11px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(34, 26, 16, 0.04);
}

.site-modern .form-control:focus,
.site-modern .form-select:focus {
    border-color: var(--tekdag-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 137, 34, 0.14);
}

.site-modern #dailyRatesForm {
    width: fit-content;
    margin: 0 auto 30px !important;
    padding: 18px 22px;
    border: 1px solid var(--tekdag-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(37, 28, 16, 0.07);
}

.site-modern #dailyRatesForm br {
    display: none;
}

.site-modern #dailyRatesForm > .btn {
    margin-top: 12px;
}

.site-modern #rateHistoryChart {
    max-height: 380px;
}

.site-modern .collection-empty {
    max-width: 680px;
    margin: 1rem auto 5rem;
    padding: 55px 25px;
    border: 1px solid var(--tekdag-line);
    border-radius: 22px;
    background: #fff;
    color: var(--tekdag-muted);
    text-align: center;
    box-shadow: var(--tekdag-shadow);
}

.site-modern .collection-empty i {
    display: block;
    margin-bottom: 18px;
    color: var(--tekdag-gold);
    font-size: 2rem;
}

.site-modern .cz_sep2 svg {
    height: 110px;
}

.site-modern footer {
    padding: 22px 0 34px;
    background:
        radial-gradient(circle at 85% 10%, rgba(201, 137, 34, 0.18), transparent 20rem),
        #15120e;
    color: rgba(255, 255, 255, 0.78);
}

.site-modern .footer-location {
    position: relative;
    margin-bottom: 12px;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid rgba(240, 189, 87, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.site-modern .footer-location-address {
    margin-bottom: 0;
}

.site-modern .footer-location-contact {
    display: grid;
    gap: 7px;
    margin-top: 26px;
    padding-top: 23px;
    border-top: 1px solid rgba(240, 189, 87, 0.16);
}

.site-modern .footer-location-contact h4 {
    margin: 0 0 3px;
    color: var(--tekdag-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.site-modern .footer-location-contact a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
}

.site-modern .footer-location-contact a:hover {
    color: var(--tekdag-gold-light);
}

.site-modern .footer-location-socials {
    position: absolute;
    top: -22px;
    right: 28px;
    z-index: 2;
    margin: 0;
    padding: 7px;
    border: 1px solid rgba(240, 189, 87, 0.16);
    border-radius: 999px;
    background: #17130e;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.site-modern .footer-location-socials .social-icon {
    width: 40px;
    height: 40px;
}

.site-modern .footer-location-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--tekdag-gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.site-modern .footer-location h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-modern .footer-location p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.site-modern .footer-map-frame {
    overflow: hidden;
    border: 1px solid rgba(240, 189, 87, 0.25);
    border-radius: 18px;
    background: #27221a;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.site-modern .footer-map-frame iframe {
    display: block;
    min-height: 300px;
}

.site-modern footer h4,
.site-modern footer h5,
.site-modern footer a {
    color: #fff;
}

.site-modern footer h4:first-child {
    color: var(--tekdag-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
}

.site-modern footer img {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.site-modern .back-to-top {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--tekdag-ink);
    color: var(--tekdag-gold-light);
    line-height: 48px;
    box-shadow: 0 10px 24px rgba(24, 18, 11, 0.22);
}

@media (min-width: 768px) {
    .site-modern .container > h2.text-center.p-5 + .row.justify-content-center > .col-md-3:first-child > .card {
        width: min(290px, 100%);
    }
}

@media (max-width: 991.98px) {
    .site-modern .nav-item a {
        padding: 9px 8px !important;
        font-size: 0.82rem;
    }

    .site-modern .header-title {
        min-height: 180px;
        margin-bottom: 2.7rem;
    }
}

@media (max-width: 767.98px) {
    .home-video-background {
        display: none;
    }

    .site-modern.home-with-video {
        background:
            radial-gradient(circle at 8% 12%, rgba(201, 137, 34, 0.08), transparent 24rem),
            linear-gradient(180deg, #fff 0, var(--tekdag-paper) 36rem, var(--tekdag-cream) 100%);
    }

    .site-modern header {
        padding: 10px;
        background: var(--tekdag-ink);
    }

    .site-modern .header-bar {
        padding: 8px 12px;
        border-radius: 15px;
    }

    .site-modern .logo-mobile img {
        height: 44px !important;
    }

    .site-modern .navbar-toggler {
        width: 44px;
        height: 42px;
        border: 1px solid rgba(201, 137, 34, 0.38);
        border-radius: 10px;
        background: #f8f1e5;
    }

    .site-modern #mobileNavbar {
        padding: 9px;
        border-top: 1px solid var(--tekdag-line);
    }

    .site-modern #mobileNavbar .nav-item {
        margin: 3px 0;
    }

    .site-modern header + .container {
        min-height: 54px;
    }

    .site-modern .header-title {
        min-height: 150px;
        margin-bottom: 2rem;
    }

    .site-modern .carousel {
        margin-top: 10px;
        border-radius: 17px;
    }

    .site-modern .carousel-item img {
        min-height: 210px;
    }

    .site-modern .currency-board,
    .site-modern .currency-board .tableContent {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .site-modern .currency-board .priceHead,
    .site-modern .currency-board .tablex {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }

    .site-modern .currency-board .home-container-th {
        min-width: 0;
        padding: 12px 4px;
        font-size: clamp(0.72rem, 3.25vw, 0.88rem);
    }

    .site-modern .currency-board .home-container-th:nth-child(1) {
        width: 28%;
    }

    .site-modern .currency-board .home-container-th:nth-child(2),
    .site-modern .currency-board .home-container-th:nth-child(3),
    .site-modern .currency-board .home-container-th:nth-child(4) {
        width: 24%;
    }

    .site-modern .currency-board .priceHead th {
        padding: 14px 3px;
        font-size: 0.72rem;
        letter-spacing: 0.03em;
    }

    .site-modern .currency-board .tablex td:first-child {
        overflow-wrap: anywhere;
        line-height: 1.25;
    }

    .site-modern .currency-board .list-other-cols {
        white-space: nowrap;
        text-align: center;
        line-height: 1.35;
    }

    .site-modern .currency-board .list-other-cols i {
        margin-right: 1px;
        font-size: 0.7rem;
    }

    .site-modern .service-box {
        margin-bottom: 28px;
    }

    .site-modern #hakkimizda > .row,
    .site-modern .container.p-5 > .row {
        padding: 12px;
        border-radius: 18px;
    }

    .site-modern #hakkimizda img {
        min-height: 230px;
    }

    .site-modern #hakkimizda p {
        padding: 24px 12px;
    }

    .site-modern .container.p-5 {
        padding: 12px !important;
    }

    .site-modern .container.p-5 .col-md-6:last-of-type {
        padding-top: 25px;
    }

    .site-modern .card-img-top {
        height: 360px;
        padding: 0;
    }

    .site-modern #dailyRatesForm {
        width: 100%;
        padding: 14px;
    }

    .site-modern footer {
        text-align: center;
    }

    .site-modern .footer-location-socials {
        position: static;
        justify-content: center;
        width: fit-content;
        margin: 22px auto 0;
    }

    .site-modern .footer-location-contact {
        justify-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-background {
        display: none;
    }

    .site-modern.home-with-video {
        background:
            radial-gradient(circle at 8% 12%, rgba(201, 137, 34, 0.08), transparent 24rem),
            linear-gradient(180deg, #fff 0, var(--tekdag-paper) 36rem, var(--tekdag-cream) 100%);
    }

    .site-modern *,
    .site-modern *::before,
    .site-modern *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
