@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
input,
select,
textarea,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
}
a img,
:link img,
:visited img {
    border: 0;
}

:focus {
    outline: 0;
}
.clear {
    clear: both;
}

header {
    background: linear-gradient(90deg, #1c1601, #1c1601);
    padding: 50px 0;
}

.header-bar {
    background-color: #fff;
    padding: 10px;
}
.logo img {
    width: 200px;
}
.header-bar .phone {
    font-size: 18px;
    color: #232222;
    font-weight: 700;
    font-style: italic;
    background-color: #ffca08;
    padding: 15px 35px;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    border-radius: 99px;
}
.header-bar .phone:hover {
    color: #ffca08 !important;
    background-color: transparent !important;
    border-style: solid !important;
    border-color: #ffca08 !important;
}

.navbar {
    display: block;
}

.hov-img {
    object-fit: cover;
    outline: 3px solid transparent;
    transition: outline 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.hov-img:hover {
    outline: 10px solid gold;
}

.service-box {
    margin-top: -50px;
}
.service-box span {
    background-color: #fff;
    display: inline-block;
    width: 40%;
}
footer {
    background-color: #1c1601;
    color: #fff;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ffc107;
    color: #000;
    font-size: 20px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    text-decoration: none;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top i {
    vertical-align: middle;
}

.back-to-top i {
    transition: transform 0.4s ease;
    display: inline-block;
}

.back-to-top:hover {
    background-color: #1c1601;
    border-color: #ffc107;
    color: #ffc107;
    border: 1px solid #ffca08;
}

.back-to-top:hover i {
    animation: bounceBack 0.6s ease-in-out forwards;
}

/* Ok önce yukarı çıkıyor (kayboluyor), sonra alttan tekrar geliyor */
@keyframes bounceBack {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(-100%);
        opacity: 0;
    }
    41% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.cz_sep2 svg {
    height: 200px;
}

.social-icons {
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    color: #1c1c1c;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffc107; /* hover sarı efekt */
    color: #000;
}

.up {
    color: #3a9d37;
    display: none;
}
.down {
    color: #ff3838;
    display: none;
}

.carousel-item img {
    object-fit: cover;
}

:root {
    --gold-primary: #d4af37; /* Ana altÄ±n rengi */
    --gold-light: #f0e68c; /* AÃ§Ä±k altÄ±n */
    --gold-dark: #b8860b; /* Koyu altÄ±n */
    --bg-color: #ffffff; /* Arka plan rengi - beyaz */
    --table-bg: #ffffff; /* Tablo arka plan */
    --table-header-bg: #fcfcfc; /* Tablo baÅŸlÄ±k arka planÄ± */
    --text-dark: #333333; /* Koyu metin */
    --text-gold: #d4af37; /* AltÄ±n metin */
    --text-muted: #777777; /* Soluk metin */
    --border-color: #f0f0f0; /* KenarlÄ±k rengi - Ã§ok aÃ§Ä±k gri */
    --table-hover-bg: #f9f9f9; /* Tablo hover arka planÄ± */
    --increase-color: #4caf50; /* ArtÄ±ÅŸ rengi - yeÅŸil */
    --decrease-color: #f44336; /* AzalÄ±ÅŸ rengi - kÄ±rmÄ±zÄ± */
    --shadow-color: rgba(0, 0, 0, 0.06); /* GÃ¶lge rengi */
    --gold-gradient: linear-gradient(
        135deg,
        #d4af37 0%,
        #f0e68c 100%
    ); /* AltÄ±n gradyanÄ± */
}

/* Genel Tablo Stilleri */
table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-dark);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    border: none;
    background-color: var(--table-bg);
    line-height: 1.25;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid rgba(167, 167, 167, 0.2) !important;
}

.tablex td,
.tablex th {
    vertical-align: middle;
    border-top: none;
    padding: 8px;
    border-right: 1px solid rgba(167, 167, 167, 0.2);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.tablex thead th {
    vertical-align: bottom;
    border-bottom: none;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    background-color: var(--table-header-bg);
    position: relative;
    padding-bottom: 1rem;
}

.tablex thead th::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0.7);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tablex thead th:hover::after {
    transform: scaleX(0.9);
    opacity: 1;
}

.tablex tbody tr {
    transition: background-color 0.2s ease-in-out;
    line-height: 1.25;
}

.tablex tbody tr:hover {
    background-color: var(--table-hover-bg);
}

.tablex tbody tr:last-child td {
    border-bottom: none;
}

/* Fiyat Tablo BaÅŸlÄ±ÄŸÄ± */
.priceHead_div {
    padding: 0;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    background-color: var(--table-header-bg);
    border: none;
    border-bottom: none;
}

.priceHead {
    width: 100%;
    background-color: transparent;
    border: 1px solid #e1dbdb !important;
    border-spacing: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.priceHead th {
    padding: 1rem 0.75rem;
    vertical-align: bottom;
    border-bottom: none;
    border-top: none;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease;
}

.priceHead th::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0.7);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.priceHead th:hover {
    color: var(--gold-dark);
}

.priceHead th:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Tablo BaÅŸlÄ±k Container */
.home-container-th {
    width: 23%;
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
    font-weight: 600;
    color: #000;
}

.home-container-th small {
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    margin-top: 0.25rem;
}

/* Liste DiÄŸer SÃ¼tunlar */
.list-other-cols {
    text-align: right;
    font-size: 1rem;
    line-height: 2rem;
    color: var(--text-dark);
}

/* Zaman Bilgisi Stillendirilmesi */
.time-info {
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
}

/* Animasyonlar */
@keyframes goldGlow {
    0% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    }
    100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
}

.tablex thead th:hover {
    animation: goldGlow 1.5s infinite;
}

thead {
    background-color: rgba(167, 167, 167, 0.1);
}

.table tbody tr:hover {
    background-color: #f9f9f9 !important;
}

.header-title {
    min-height: 250px;
    background: url("/frontend/img/header-bg.webp");
    background-size: cover;
    box-shadow: 0 4px 8px 0px #0000006e;
}
.header-title h1 {
    width: 100%;
    color: #7d4d1f;
    font-weight: 600;
    font-family: "Playfair Display", serif;
}

.nav-item {
    position: relative;
    margin-right: 5px;
}

.nav-item a {
    position: relative;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    font-weight: 500;
    z-index: 1;
}

.nav-item a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0%;
    width: 100%;
    background-color: #ffc107;
    z-index: -1;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-item a:hover::before {
    height: 100%;
    bottom: 0;
    top: auto;
}

.nav-item.active a::before {
    height: 100%;
    bottom: 0;
    top: auto;
    border-radius: 8px;
}

.image-hover {
    overflow: hidden;
    border-radius: 12px; /* isteğe bağlı köşe yumuşatma */
}

.img-box {
    transition: transform 0.3s ease;
}

.image-hover:hover .img-box {
    transform: scale(1.05);
}
.card-img-top {
    object-fit: cover;
    height: 450px;
}
footer a {
    color: #fff;
}

@media (min-width: 576px) {
    .card-img-top {
        object-fit: cover;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .container,
    .container-sm {
        max-width: 100%;
    }

    .card-img-top {
        object-fit: cover;
        height: 400px;
        padding: 0 10%;
    }
    .header-phone {
        display: none;
    }
}
@media ((min-width: 576px) and (max-width: 992px)) {
    .img-box {
        height: 150px !important;
    }
    .card-img-top {
        object-fit: cover;
        height: 200px;
    }
    .header-phone {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .logo-mobile img {
        height: 40px;
    }

    .navbar-toggler {
        outline: none;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .img-box {
        height: 200px !important;
    }
    .card-img-top {
        object-fit: cover;
        height: 300px;
    }
}
