/********** Template CSS **********/
:root {
    --primary: #E2BA60;
    --secondary: #FAF3EB;
    --light: #FFFFFF;
    --dark: #2B2825;
}

.font-secondary {
    font-family: 'Pacifico', cursive;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.border-inner {
    position: relative;
}

.border-inner * {
    position: relative;
    z-index: 1;
}

.border-inner::before {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: none;
    border: 1px solid #E2BA60;
    z-index: 0;
}

.btn-square {
    width: 40px;
    height: 40px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 50px;
    height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    padding: 30px 15px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

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

@media (max-width: 991px) {
    .navbar {
      position: fixed !important;
      top: 0 !important;
      width: 100% !important;
      z-index: 1030 !important;
      background: #2B2825 !important;
      transition: none !important;
    }
    
    body {
      padding-top: 80px !important;
    }
    
    .navbar-collapse {
      background: #2B2825 !important;
      margin-top: 0 !important;
      border: none !important;
    }
    
    .navbar-nav {
      background: #2B2825 !important;
    }
} 

@media (min-width: 992px) {
    .navbar {
        width: 100%;
      position: fixed !important;
    }
    
    body {
      padding-top: 0 !important;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    margin-left: -90px;
    background: var(--primary);
}

.service::after,
.contact::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/service.jpg) center center no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact::after {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.bg-offer {
    background: linear-gradient(rgba(43, 40, 37, .9), rgba(43, 40, 37, .9)), url(../img/offer.jpg) center center no-repeat;
    background-size: cover;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
    filter: blur(5px)
}

.team-item .team-overlay {
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 2px;
    width: 10px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    opacity: 1;
}

.bg-img {
    background: linear-gradient(rgba(43, 40, 37, .5), rgba(43, 40, 37, .5)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

/* Ürünler carousel'inde sabit boyutlu görseller için */
.product-carousel .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Modern ürün kartı tasarımı */
.product-card {
    border-radius: 1rem;
    box-shadow: 0 2px 16px 0 rgba(34,34,34,0.08);
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 370px;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(34,34,34,0.16);
    z-index: 2;
}
.product-card .card-body {
    padding: 1.5rem 1rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.product-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.product-card .card-text {
    font-size: 0.98rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Carousel butonları için modern ve sade stil */
.product-carousel-nav {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}
.product-carousel-prev, .product-carousel-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2ba60;
    color: #e2ba60;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 2px 12px 0 rgba(34,34,34,0.10);
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    opacity: 0.97;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.product-carousel-prev {
    left: -32px;
}
.product-carousel-next {
    right: -32px;
}
.product-carousel-prev:hover, .product-carousel-next:hover {
    background: #e2ba60;
    color: #fff;
    border-color: #e2ba60;
    box-shadow: 0 4px 18px 0 rgba(34,34,34,0.18);
    opacity: 1;
}
@media (max-width: 1200px) {
    .product-carousel-prev {
        left: -12px;
    }
    .product-carousel-next {
        right: -12px;
    }
}
@media (max-width: 768px) {
    .product-carousel-prev, .product-carousel-next {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .product-carousel-prev {
        left: -6px;
    }
    .product-carousel-next {
        right: -6px;
    }
}

/* Sabit boyutlu ürün kartı */
.product-carousel .owl-item .product-card {
    width: 100%;
    max-width: 270px;
    min-width: 220px;
    min-height: 370px;
    max-height: 410px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

/* Carousel butonlarını kartlara göre ortala */
.product-carousel-prev, .product-carousel-next {
    top: 60% !important;
    transform: translateY(-50%);
    position: absolute !important;
}

@media (max-width: 768px) {
    .product-carousel-prev, .product-carousel-next {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    .product-carousel .owl-item .product-card {
        max-width: 95vw;
        min-width: 180px;
    }
}

/* Hakkımızda bölümü için scroll offset */
#hakkimizda {
    scroll-margin-top: 30px;
}

@media (max-width: 576px) {
  .product-carousel-prev, .product-carousel-next {
    position: static !important;
    display: inline-flex;
    margin: 0 8px 12px 8px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  .product-carousel-nav-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
  }
}

/* Masaüstü için carousel butonlarını modern ve dengeli göster */
@media (min-width: 577px) {
  .product-carousel-prev.d-sm-inline, .product-carousel-next.d-sm-inline {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 10;
    left: unset;
    right: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    border: 2.5px solid #e2ba60;
    color: #e2ba60;
    box-shadow: 0 6px 32px 0 rgba(34,34,34,0.18);
    opacity: 0.96;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  }
  .product-carousel-prev.d-sm-inline { left: 16px; }
  .product-carousel-next.d-sm-inline { right: 16px; }
  .product-carousel-prev.d-sm-inline:hover, .product-carousel-next.d-sm-inline:hover {
    background: #e2ba60;
    color: #fff;
    border-color: #e2ba60;
    box-shadow: 0 10px 36px 0 rgba(34,34,34,0.22);
    opacity: 1;
  }
  .product-carousel-prev.d-sm-inline i, .product-carousel-next.d-sm-inline i {
    margin: 0;
    padding: 0;
    font-size: 2.1rem;
    line-height: 1;
    vertical-align: middle;
    display: block;
  }
}

/* Neden Tazella Bölümü */
.neden-tazella-bg {
    background: #FAF3EB;
}
.neden-tazella-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #2B2825;
}
.neden-tazella-highlight {
    color: #E2BA60;
    font-family: 'Pacifico', cursive;
}
.neden-tazella-box {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 12px 0 rgba(44,40,37,0.06);
    border: 1.5px solid #E2BA60;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
    min-height: 320px;
}
.neden-tazella-box:hover {
    box-shadow: 0 8px 32px 0 rgba(34,34,34,0.16);
    border: 2px solid #7ab730;
    transform: translateY(-6px) scale(1.03);
}
.neden-tazella-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 8px 0 rgba(44,40,37,0.10);
}
.bg-tazella-green {
    background: #7ab730;
}
.bg-tazella-yellow {
    background: #E2BA60;
}
.neden-tazella-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 0.5rem;
}
.neden-tazella-box-desc {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 0;
}
@media (max-width: 991.98px) {
    .neden-tazella-box { min-height: 260px; padding: 1.5rem 0.7rem 1.2rem 0.7rem; }
    .neden-tazella-title { font-size: 2rem; }
}