body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #222;
    font-size: .91rem;
}
header, footer, .section-gray {
    background: #f8f8f8;
}

.rmkfixed{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 5;
}
.fakeheader{
  display: inline-block;
  position: relative;
  width: 100;
}

@media (min-width: 769px) { .fakeheader { height: 120px; } }
@media (max-width: 768px) { .fakeheader { height: 100px; } }

.kemiteks-logo {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.35rem;
    color: #006666;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}
.header-top {
    border-bottom: 2px solid #00666610;
    min-height: 56px;
}
.header-logo {
    margin-left: 16px;
    margin-right: 16px;
}
.header-search-container {
    min-width: 200px;
    max-width: 340px;
    width: 100%;
}
.header-search-box {
    width: 100%;
    border-radius: 0;
    border: 1px solid #000;
    background: #fff;
    padding: 0;
    overflow: hidden;
    width: 100%;
}
.header-search-input {
    border: none;
    background: transparent;
    color: #222;
    font-size: .88rem;
    font-weight: 400;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    padding: 5px 10px;
}
.header-search-btn {
    background: #fff;
    color: #000;
    border-radius: 0;
    border: none;
    font-size: .98rem;
    padding: 0 9px;
    transition: background 0.2s, color 0.2s;
    border-left: 2px solid #000;
}
.header-search-btn:hover {
    background: #eee;
    color: #006666;
}
.header-social {
    gap: 12px;
}
.header-social .social-icon {
    color: #006666;
    font-size: 1.08rem;
    transition: color 0.2s;
}
.header-social .social-icon:hover {
    color: #004c4c;
}
.header-menu {
    background: #f8f8f8;
    position: relative;
}
.header-menu .nav-link {
    color: #006666 !important;
    font-size: .88rem;
    width: 92px;
    text-align: center;
    padding: 3px 0;
    font-weight: 400;
    display: inline-block;
    transition: font-weight 0.2s;
    border-radius: 5px;
    box-sizing: border-box;
    background: none !important;
    border: none !important;
    letter-spacing: 0.01em;
}
.header-menu .nav-link:hover,
.header-menu .nav-link.active {
    font-weight: 700;
    background: none !important;
    border: none !important;
    color: #006666 !important;
}
.header-menu .nav-link {
    font-weight: 400;
}

footer {
    color: #222;
    font-size: .87rem;
    border-top: 1px solid #eee;
  padding: 50px auto;
}
.footer-main h6 {
    color: #006666;
    font-weight: 600;
    margin-bottom: 7px;
    font-size: .97rem;
}
@media (max-width: 991px) {
    .header-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

.video-section {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: calc(75vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    border-radius: 0;
    box-sizing: border-box;
    background: white;
    padding: 0; /* Kenarlık ile video arasında boşluk */
    overflow: visible; /* Burada overflow:hidden değil! */
}

.video-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Burada overflow:hidden */
}

.video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.23);
    z-index: 2;
    pointer-events: none;
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
    max-width: 600px;
    text-align: center;
    pointer-events: none;
}

.video-title {
    color: #009966;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    background: none;
}

.video-desc {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    background: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .video-title {
        font-size: 1.08rem;
    }
    .video-desc {
        font-size: 0.93rem;
    }
    .video-text {
        max-width: 97vw;
    }
}
.brands-slider-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 10px 0 18px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.brands-slider {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: brandsScroll linear infinite;
    /* animation-duration JS ile ayarlanacak */
    will-change: transform;
}

.brand-link {
    display: block;
    transition: filter 0.3s;
}

.brand-img {
    height: 35px;
    width: auto;
    filter: grayscale(1);
    transition: filter 0.4s;
    display: block;
    object-fit: contain;
}

.brand-link:hover .brand-img {
    filter: grayscale(0);
}

/* Animasyon keyframes */
@keyframes brandsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.main-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 10px;
    justify-items: center;
    align-items: center;
    margin: 60px auto 0 auto;
    max-width: 1100px;
}
.main-category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.main-category-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    background: none;
    display: block;
}
.main-category-title {
    font-size: 1.04rem;
    font-weight: 500;
    color: #111;
    letter-spacing: 0.01em;
}
@media (max-width: 900px) {
    .main-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 8px;
        max-width: 600px;
    }
    .main-category-icon {
        height: 50px;
        width: auto;
    }
}
@media (max-width: 600px) {
    .main-categories-grid {
        grid-template-columns: 1fr;
        gap: 32px 0;
        max-width: 320px;
    }
    .main-category-icon {
        height: 50px;
        width: auto;
    }
}
.sectiontitle{
  color: #006666;
  margin: 40px auto 30px auto ;
  font-size: 20px;
}
.stats-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin: 36px 0 40px 0;
    flex-wrap: wrap;
}
.stats-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}
.stats-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    transition: filter 0.5s ease;
    /*filter: grayscale(100%);*/
}
.stats-icon:hover {
    filter: scale(1.1);
}
.stats-value {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #222;
}
.stats-label {
    font-size: 1.05rem;
    color: #222;
    font-weight: 400;
    letter-spacing: 0.01em;
}
@media (max-width: 900px) {
    .stats-row {
        gap: 32px;
    }
    .stats-icon {
        height: 44px;
    }
    .stats-box {
        min-width: 90px;
    }
    .stats-value { font-size: 1.1rem; }
    .stats-label { font-size: .96rem; }
}
@media (max-width: 600px) {
    .stats-row {
        gap: 22px;
    }
    .stats-icon {
        height: 34px;
        margin-bottom: 8px;
    }
    .stats-box {
        min-width: 60px;
    }
    .stats-value { font-size: .97rem; }
    .stats-label { font-size: .86rem; }
}
space{
  display: block;
  position: relative;
  width: 100%;
  height: 20px;
  margin: 0 auto;
  padding: 0 0;
  border: none;
  outline: none;
  background: none;
}
/*
.category-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 46px 16px 32px 16px;
}
.category-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #183148;
}
.category-subtitle {
    font-size: 1.22rem;
    font-weight: 400;
    margin-bottom: 38px;
    color: #466483;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 30px;
    margin-bottom: 26px;
}
.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 24px 0 rgba(84,105,143,0.12);
    min-height: 170px;
    transition: box-shadow 0.18s, transform 0.25s;
    background: #fff;
    filter: saturate(1.16) brightness(1.07) contrast(1.14);
    transform: scale(1.02);
}
.category-card:hover {
    box-shadow: 0 10px 30px 0 rgba(84,105,143,0.16);
    filter: saturate(0.88) brightness(0.9) contrast(0.93) grayscale(0.13) blur(0.3px);
    transform: scale(1.0);
}
.category-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s;
}
.category-card-title {
    position: absolute;
    left: 0; right: 0; bottom: 36px;
    padding: 0 18px 0 18px;
    font-size: 1.28rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0,0,0,0.24);
    letter-spacing: 0.01em;
}
.category-card-desc {
    position: absolute;
    left: 0; right: 0; bottom: 12px;
    padding: 0 18px;
    font-size: 1.01rem;
    color: #fff;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
    text-align: left;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.category-card:hover .category-card-desc {
    opacity: 1;
}
.category-card-overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: linear-gradient(to top,rgba(24,49,72,0.45) 25%, rgba(24,49,72,0.10) 100%);
    z-index: 1;
    transition: background 0.18s;
}
.category-card:hover .category-card-overlay {
    background: linear-gradient(to top,rgba(24,49,72,0) 92%, rgba(24,49,72,0.18) 100%);
}
@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .category-image {
        height: 120px;
    }
}
@media (max-width: 600px) {
    .category-page {
        padding: 22px 4vw 24px 4vw;
    }
    .category-title {
        font-size: 1.26rem;
    }
    .category-subtitle {
        font-size: .98rem;
    }
    .category-grid {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }
    .category-image {
        height: 78px;
    }
    .category-card-title {
        padding: 0 12px 0 12px;
        font-size: 1rem;
    }
    .category-card-desc {
        padding: 0 12px;
        font-size: .92rem;
    }
}
*/
#backToTop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: none;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s;
    align-items: center;
    justify-content: center;
}
#backToTop:hover {
    background: #e1e1e1;
    color: #000;
}
@media (max-width: 600px) {
    #backToTop {
        right: 8px;
        bottom: 8px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
}
.logotext{
  margin: 0 auto;
  padding: 0 0;
  line-height: 1rem;
}
.logosubtext{
  color: black;
  font-size: 12px;
  font-weight: normal;
  margin: 0 auto;
  padding: 0 0;
  line-height: 1rem;
}
.whatsapp-float{
  position: fixed;
  left: 20px;           /* soldan uzaklık */
  bottom: 20px;         /* alttan uzaklık */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;  /* WhatsApp yeşili */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.25);
  z-index: 10000;
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float{
  position:fixed;
  left:20px;
  bottom:20px;
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  z-index:10000;
  text-decoration:none;
}
.whatsapp-float svg { display:block; }
/* Hover / odak efekti */
.whatsapp-float:hover,
.whatsapp-float:focus{
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.28);
  outline: none;
}

/* Küçük bir "nabız" animasyonu (isteğe bağlı) */
.whatsapp-float::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(37,211,102,0.15);
  animation: pulse 2.6s infinite;
  z-index: -1;
}

@keyframes pulse{
  0% { transform: translate(-50%,-50%) scale(1); opacity: 0.9; }
  70% { transform: translate(-50%,-50%) scale(1.9); opacity: 0.0; }
  100% { transform: translate(-50%,-50%) scale(2.1); opacity: 0; }
}

/* Mobilde biraz daha küçük göstermek isterseniz */
@media (max-width: 480px){
  .whatsapp-float{
    width: 50px;
    height: 50px;
    left: 14px;
    bottom: 14px;
  }
  .whatsapp-float::after{
    width: 50px;
    height: 50px;
  }
}
/* Overlay that blocks page */
#policyOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99999;
  display: none; /* shown by JS when needed */
  align-items: center;
  justify-content: center;
  padding: 18px;
}

/* The centered modal */
#policyModal {
  background: #fff;
  color: #222;
  width: 100%;
  max-width: 820px;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  overflow: auto;
  max-height: 90vh;
  padding: 18px;
  box-sizing: border-box;
  outline: none;
}

/* Header */
#policyModal h3 {
  margin: 0 0 8px 0;
  color: #006666;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Content area */
#policyModal .pm-body {
  color: #333;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* Links list */
#policyModal .policy-links {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
#policyModal .policy-links a {
  background: #f3f7f6;
  color: #006666;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #e2eaea;
  font-weight: 600;
}
#policyModal .policy-links a:hover { background:#e9f3f2; }

/* Buttons */
#policyModal .pm-actions {
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top: 8px;
}
#policyModal button.pm-accept {
  background: #006666;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor:pointer;
  font-weight:700;
}
#policyModal button.pm-manage {
  background: transparent;
  color: #006666;
  border: 1px solid #006666;
  padding: 8px 12px;
  border-radius: 6px;
  cursor:pointer;
}

/* Floating small button shown after acceptance */
#policyFloatBtn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  display: none;
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 8px 12px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  cursor: pointer;
  color: #006666;
  font-weight:700;
  display: flex;
  gap:8px;
  align-items:center;
}
#policyFloatBtn:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

/* Small badge style when minimized */
#policyFloatBtn .dot {
  width:18px;
  height:18px;
  background:#006666;
  color:white;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
}

/* Responsive tweaks */
@media (max-width:640px) {
  #policyModal { padding:12px; max-width: 96vw; }
  #policyModal h3 { font-size:1.05rem; }
  #policyModal .policy-links { flex-direction:column; }
  #policyModal .pm-actions { flex-direction:column-reverse; gap:8px; align-items:stretch; }
  #policyFloatBtn { left: 12px; bottom: 12px; padding:8px; border-radius:24px; }
}

/* ========== MOBİL MENÜ ========== */

/* Mobil Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99998;
    display: none;
    opacity: 0;
    transition: opacity 250ms ease;
}

.mobile-overlay.show {
    display: block;
    opacity: 1;
}

/* Mobil Menü Paneli - sağdan kayar */
.mobile-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    height: 100vh;
    width: 85vw;
    max-width: 360px;
    background: #f8f8f8 !important;
    z-index: 99999 !important;
    box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    padding: 60px 0 20px 0 !important;
    margin: 0 !important;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.2,0.8,0.2,1);
    display: block !important;
    visibility: hidden;
    list-style: none !important;
}

/* Menü açıkken */
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible !important;
}

/* Menü elemanları genel stiller */
.mobile-menu .nav-item {
    width: 100%;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.mobile-menu .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid #e5e5e5;
    color: #006666 !important;
    background: transparent !important;
    font-weight: 400 !important;
    text-align: left !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin: 0;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:focus,
.mobile-menu .nav-link.active {
    font-weight: 700 !important;
    background: rgba(0,102,102,0.08) !important;
    padding-left: 28px !important;
}

/* Sosyal ikonlar */
.mobile-menu .header-social {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    margin-top: 12px;
    border-top: 2px solid #e5e5e5;
}

.mobile-menu .header-social .social-icon {
    font-size: 1.3rem;
    display: inline-block !important;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        padding: 10px 16px;
    }
    .header-logo {
        order: 1;
        margin: 0 !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-toggler {
        order: 2;
        display: block !important;
        background: transparent;
        border: none;
        padding: 8px;
        margin: 0;
        position: absolute;
        right: 16px;
        top: 10px;
        z-index: 100000;
    }
    .header-search-container {
        order: 3;
        width: 100%;
        max-width: 90%;
        min-width: 0;
        margin: 8px 0 0 0;
    }
    .header-social.d-md-flex {
        display: none !important;
    }
    .header-menu .nav {
        display: none !important;
    }
    .footer-main .row > div {
        margin-bottom: 14px;
    }
}

/* Tablet ve üstü için mobil menüyü gizle */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }
    .navbar-toggler {
        display: none !important;
    }
}

/* Daha küçük ekranlar için */
@media (max-width: 480px) {
    .mobile-menu {
        width: 90vw;
    }
}
@media (max-width: 768px) {
    .header-search-container {
        display: none !important;
    }
}
