/* Mobil menü alt bar (arama ve dil) stilleri v2 */
.kleanity-mm-menu-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kleanity-mm-menu-wrap .m-menu {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 70px; /* Alt bar için boşluk */
}

.mobile-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a2a2a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #444;
}

.mobile-search-form {
    flex-grow: 1;
    display: flex;
    border: 1px solid #555;
    border-radius: 20px;
    overflow: hidden;
    background-color: #3c3c3c;
}

.mobile-search-form .search-field {
    border: none;
    padding: 8px 15px;
    flex-grow: 1;
    font-size: 14px;
    background-color: transparent;
    color: #fff;
}

.mobile-search-form .search-field::placeholder {
    color: #aaa;
}

.mobile-search-form .search-field:focus {
    outline: none;
}

.mobile-search-form .search-submit {
    border: none;
    background: transparent;
    padding: 0 12px;
    cursor: pointer;
    color: #aaa;
}

.mobile-search-form .search-submit:hover {
    color: #fff;
}

.mobile-lang-switcher-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #555;
    border-radius: 50%;
    background-color: #3c3c3c;
    flex-shrink: 0;
}

.mobile-lang-switcher-bottom img {
    width: 22px;
    height: 22px;
}
.sub-message{

  width: 100%;

  padding: 10px;

  margin-bottom: 10px;

  display: none

}


/* =================================================================== */
/* KURUMSAL HEADER TASARIMI - Professional Corporate Design
/* =================================================================== */

/* Header Container - Kurumsal Arka Plan */
.kleanity-header-wrap {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-bottom: 1px solid #e9ecef !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.kleanity-header-background {
    background: transparent !important;
}

/* Header Container İç Yapı */
.kleanity-header-container-inner {
    padding: 0 30px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Logo Alanı - Kurumsal */
.kleanity-logo {
    padding: 15px 0 !important;
}

.kleanity-logo-inner {
    display: flex !important;
    align-items: center !important;
}

.kleanity-logo-inner img {
    transition: all 0.3s ease !important;
    filter: brightness(1) contrast(1.1) !important;
}

.kleanity-logo-inner:hover img {
    transform: scale(1.05) !important;
    filter: brightness(1.1) contrast(1.2) !important;
}

/* Navigation - Kurumsal Menü Tasarımı */
.kleanity-navigation {
    padding: 0 !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-left: 60px !important;
}

.kleanity-main-menu {
    position: relative;
    background: transparent !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* Ana Menü Stilleri - Kurumsal */
.sf-menu {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.sf-menu > li {
    position: relative !important;
    margin: 0 2px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.sf-menu > li > a {
    position: relative !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    padding: 15px 8px !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Menü Hover Efektleri - Kurumsal */
.sf-menu > li:hover {
    background: rgba(73, 80, 87, 0.08) !important;
    transform: translateY(-2px) !important;
}

.sf-menu > li:hover > a {
    color: #495057 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Aktif Menü Öğesi - Kurumsal */
.sf-menu > li.current-menu-item {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
    box-shadow: 0 4px 15px rgba(73, 80, 87, 0.3) !important;
    transform: translateY(-2px) !important;
}

.sf-menu > li.current-menu-item > a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Navigation Slide Bar - Kaldırıldı (Kurumsal tasarım için) */
.kleanity-navigation-slide-bar {
    display: none !important;
}

/* Menü Alt Çizgi Efekti - Kurumsal */
.sf-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #495057, #6c757d);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sf-menu > li:hover > a::before {
    width: 80%;
}

.sf-menu > li.current-menu-item > a::before {
    width: 100%;
    background: rgba(255,255,255,0.8);
}

/* Header Sağ Taraf - Arama ve Dil */
.kleanity-main-menu-right-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding-left: 2px !important;
    margin-left: 2px !important;
    border-left: 1px solid #e9ecef !important;
}

/* Arama Butonu - Kurumsal */
.kleanity-main-menu-search {
    width: 35px !important;
    height: 35px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #495057 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
}

.kleanity-main-menu-search:hover {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(73, 80, 87, 0.3) !important;
}

/* Dil Seçici - Kurumsal */
.sf-menu > li.kleanity-normal-menu:last-child {
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
    position: relative !important;
}

.sf-menu > li.kleanity-normal-menu:last-child:hover {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(73, 80, 87, 0.3) !important;
}

.sf-menu > li.kleanity-normal-menu:last-child > a {
    margin: 0 !important;
    padding: 0 !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.sf-menu > li.kleanity-normal-menu:last-child img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
}

.sf-menu > li.kleanity-normal-menu:last-child:hover img {
    transform: scale(1.1) !important;
    filter: brightness(1.2) !important;
}

/* Sticky Header - Kurumsal */
.kleanity-sticky-navigation.kleanity-fixed-navigation {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12) !important;
}

.kleanity-sticky-navigation.kleanity-fixed-navigation .kleanity-logo {
    padding: 10px 0 !important;
}

.kleanity-sticky-navigation.kleanity-fixed-navigation .sf-menu > li > a {
    padding: 15px 18px !important;
}

/* Sticky Header'da Dil Butonu Düzeltmesi */
.kleanity-sticky-navigation.kleanity-fixed-navigation .sf-menu > li.kleanity-normal-menu:last-child {
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
    position: relative !important;
}

.kleanity-sticky-navigation.kleanity-fixed-navigation .sf-menu > li.kleanity-normal-menu:last-child > a {
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.kleanity-sticky-navigation.kleanity-fixed-navigation .sf-menu > li.kleanity-normal-menu:last-child img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
}

.kleanity-sticky-navigation.kleanity-fixed-navigation .kleanity-main-menu-search {
    width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .kleanity-header-container-inner {
        padding: 0 20px !important;
    }
    
    .sf-menu > li {
        margin: 0 2px !important;
    }
    
    .sf-menu > li > a {
        padding: 18px 12px !important;
        font-size: 12px !important;
    }
    
    .kleanity-main-menu-right-wrap {
        padding-left: 15px !important;
        gap: 10px !important;
    }
    
    .kleanity-main-menu-search,
    .sf-menu > li.kleanity-normal-menu:last-child {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .kleanity-header-wrap {
        display: block !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
        border-bottom: 1px solid #e9ecef !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
    }
    
    .kleanity-header-container-inner {
        padding: 0 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 60px !important;
    }
    
    .kleanity-logo {
        padding: 10px 0 !important;
    }
    
    .kleanity-navigation {
        display: none !important;
    }
    
    .kleanity-main-menu-right-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        border-left: none !important;
    }
    
    .kleanity-main-menu-search {
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #495057 !important;
        font-size: 14px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    }
    
    .sf-menu > li.kleanity-normal-menu:last-child {
        display: none !important;
    }
    
    /* Hamburger Menu Button */
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #495057 !important;
        font-size: 16px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
    }
    
    .mobile-menu-toggle:hover {
        background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
        color: #ffffff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(73, 80, 87, 0.3) !important;
    }
}

/* Alt Menü Stilleri - Kurumsal */
@media (min-width: 769px) {
    .sf-menu .sub-menu {
        background: #ffffff !important;
        border: 1px solid #e9ecef !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
        padding: 15px 0 !important;
        min-width: 250px !important;
        margin-top: 10px !important;
    }
    
    .sf-menu .sub-menu li a {
        color: #495057 !important;
        padding: 12px 25px !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        transition: all 0.3s ease !important;
    }
    
    .sf-menu .sub-menu li a:hover {
        background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
        color: #ffffff !important;
        padding-left: 30px !important;
        transform: translateX(5px) !important;
    }
    
    .sf-menu .sub-menu li {
        border-bottom: 1px solid #f8f9fa !important;
    }
    
    .sf-menu .sub-menu li:last-child {
        border-bottom: none !important;
    }
}

/* Header Animasyonları */
@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kleanity-header-wrap {
    animation: headerFadeIn 0.6s ease !important;
}

/* Kurumsal Renk Paleti */
:root {
    --corporate-primary: #495057;
    --corporate-secondary: #6c757d;
    --corporate-light: #f8f9fa;
    --corporate-border: #e9ecef;
    --corporate-shadow: rgba(73, 80, 87, 0.15);
}

.sub-message p{

  margin: 0;

  font-family: Arial, sans-serif;

  color: #fff

}

.sub-message p i{

  color: #fff !important

}

.sub-message.success{

  background-color: #4caf50;

}

.sub-message.success .err{

  display: none

}

.sub-message.error{

  background-color: #f44336;

}

.sub-message.error .suc{

  display: none

}



.mes-close{

  float: right;

  margin-top: -20px;

  color: #fff !important;

  cursor: pointer;

}



#form-contact input, #form-contact textarea, #form-contact textarea{

  font-family: Arial, sans-serif !important;

}



/* Slider alanındaki sayfa başlıklarını beyaz yap - Güçlü kurallar */

.kleanity-page-title-wrap .gdlr-core-page-title-title,

.kleanity-page-title-wrap .gdlr-core-page-title-caption,

.kleanity-page-title-wrap h1,

.kleanity-page-title-wrap h2,

.kleanity-page-title-wrap h3,

.gdlr-core-page-title-item .gdlr-core-page-title-title,

.gdlr-core-page-title-item .gdlr-core-page-title-caption,

.gdlr-core-page-title-item h1,

.gdlr-core-page-title-item h2,

.gdlr-core-page-title-item h3 {

  color: #ffffff !important;

  text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;

}



/* Daha spesifik kurallar - tüm slider başlıkları için */

.kleanity-page-title-wrap *,

.gdlr-core-page-title-item * {

  color: #ffffff !important;

}



/* En güçlü kural - tüm sayfa başlık alanları */

div[class*="page-title"] h1,

div[class*="page-title"] h2,

div[class*="page-title"] h3,

div[class*="page-title"] .gdlr-core-page-title-title,

div[class*="page-title"] .gdlr-core-page-title-caption {

  color: #ffffff !important;

  text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;

}

/* MOBIL SLIDER - Özel Tasarım */
@media (max-width: 768px) {
    /* Revolution Slider'ı mobilde gizle */
    .gdlr-core-revolution-slider-item,
    .rev_slider_wrapper,
    .rev_slider {
        display: none !important;
    }
    
    /* Mobil Slider'ı görünür yap */
    .mobile-slider-container {
        display: block !important;
    }
    
    /* Mobil Slider Container - Daha güzel tasarım */
    .mobile-slider-container {
        position: relative;
        width: 100%;
        height: 60vh;
        min-height: 350px;
        max-height: 450px;
        overflow: hidden;
        background: #000;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .mobile-slider-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-slide {
        position: relative;
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
    }
    
    /* Mobil slider için resim tam görünüm */
    .mobile-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: inherit;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 0;
        opacity: 0.3;
    }
    
    .mobile-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: inherit;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 1;
    }
    
    .mobile-slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.8) 0%,
            rgba(0,0,0,0.4) 40%,
            rgba(0,0,0,0.1) 70%,
            transparent 100%
        );
        z-index: 1;
    }
    
    .mobile-slide-content {
        position: relative;
        z-index: 2;
        text-align: left;
        padding: 30px 20px;
        width: 100%;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.9) 0%,
            rgba(0,0,0,0.6) 50%,
            transparent 100%
        );
    }
    
    .mobile-slide-title {
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 6px;
        line-height: 1.4;
        color: rgba(255,255,255,0.8);
        letter-spacing: 1px;
        text-transform: uppercase;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }
    
    .mobile-slide-subtitle {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.2;
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
        font-family: 'Poppins', sans-serif;
    }
    
    .mobile-slide-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
        color: rgba(255,255,255,0.9);
        font-weight: 400;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 85%;
    }
    
    .mobile-slide-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: #ffffff !important;
        text-decoration: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.4s ease;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        outline: none;
        box-sizing: border-box;
        border: 2px solid rgba(255,255,255,0.2);
    }
    
    .mobile-slide-button:hover {
        background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }
    
    .mobile-slide-button::after {
        content: '→';
        font-size: 14px;
        transition: transform 0.3s ease;
    }
    
    .mobile-slide-button:hover::after {
        transform: translateX(3px);
    }
    
    /* Mobil Slider Navigation - Gizli */
    .mobile-slider-nav {
        display: none !important;
    }
    
    .mobile-slider-prev {
        display: none !important;
    }
    
    .mobile-slider-next {
        display: none !important;
    }
    
    /* Mobil Slider Indicators */
    .mobile-slider-indicators {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
    }
    
    .mobile-slider-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        border: 2px solid rgba(255,255,255,0.8);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-slider-indicator.active {
        background: #2d2d2d;
        border-color: #2d2d2d;
        transform: scale(1.2);
    }

/* MOBIL CAROUSEL FIX - Tam genişlik kartlar */
    /* Carousel container ayarları */
    .home-products-carousel,
    .home-news-carousel,
    .home-quarries-carousel {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding: 0 10px !important; /* Minimal padding */
        margin: 0 !important;
    }
    
    /* Scrollbar gizle */
    .home-products-carousel::-webkit-scrollbar,
    .home-news-carousel::-webkit-scrollbar,
    .home-quarries-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    /* Track ayarları */
    .home-products-track,
    .home-news-track,
    .home-quarries-track {
        transform: none !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Card boyutları - Gerçek tam genişlik */
    .home-product-card,
    .home-news-card,
    .home-quarry-card {
        scroll-snap-align: start !important;
        flex: 0 0 calc(100vw - 30px) !important; /* Viewport genişliği minus padding */
        min-width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        width: calc(100vw - 30px) !important;
    }
    
    /* Ocaklar için özel düzeltme - sağa kayma sorunu */
    .home-quarries-carousel {
        padding: 0 15px !important; /* Daha fazla padding */
    }
    
    .home-quarry-card {
        flex: 0 0 calc(100vw - 40px) !important; /* Ocaklar için daha az genişlik */
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
    }

    /* Navigation butonlarını mobilde gizle */
    .carousel-navigation,
    .news-carousel-navigation,
    .quarries-carousel-navigation {
        display: none !important;
    }

    /* Indicators'ı mobilde gizle */
    .carousel-indicators,
    .news-carousel-indicators,
    .quarries-carousel-indicators {
        display: none !important;
    }
    
    /* Mobilde ince yön okları */
    .mobile-nav-arrows {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 30px !important;
        height: 30px !important;
        background: rgba(255,255,255,0.8) !important;
        border: 1px solid #ddd !important;
        border-radius: 50% !important;
        color: #007bff !important;
        font-size: 12px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    .mobile-nav-left {
        left: 10px !important;
    }
    
    .mobile-nav-right {
        right: 10px !important;
    }
    
    .mobile-nav-arrows:hover {
        background: rgba(255,255,255,0.95) !important;
        border-color: #007bff !important;
    }
    
    /* Kategori filtreleri mobilde horizontal scroll */
    .home-category-filters {
        margin-bottom: 40px !important;
        padding: 0 15px !important;
    }
    
    .home-category-filters .filter-buttons-wrapper {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Firefox */
        gap: 15px !important;
        padding: 10px 0 !important;
    }
    
    /* Scrollbar gizle */
    .home-category-filters .filter-buttons-wrapper::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari */
    }
    
    .home-filter-btn {
        flex: 0 0 auto !important;
        min-width: 100px !important;
        padding: 10px 15px !important;
        scroll-snap-align: start !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }
    
    .home-filter-btn i {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    
    .home-filter-btn span {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    .home-filter-btn small {
        font-size: 10px !important;
    }
    
    /* Container genişliklerini sınırla */
    .home-products-carousel-container,
    .home-news-carousel-container,
    .home-quarries-carousel-container {
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* =================================================================== */
/* 10. ANASAYFA GENEL KART TASARIMI (Stone Elegance)
/* =================================================================== */

.home-product-card,
.home-quarry-card,
.home-news-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.home-product-card:hover,
.home-quarry-card:hover,
.home-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(44, 62, 80, 0.12);
}

/* Görsel Alanı */
.home-product-image,
.home-quarry-image,
.home-news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.home-product-image img,
.home-quarry-image img,
.home-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-product-card:hover .home-product-image img,
.home-quarry-card:hover .home-quarry-image img,
.home-news-card:hover .home-news-image img {
    transform: scale(1.08);
}

/* Görsel Üzeri Overlay */
.home-product-overlay,
.home-quarry-overlay,
.home-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-product-card:hover .home-product-overlay,
.home-quarry-card:hover .home-quarry-overlay,
.home-news-card:hover .home-news-overlay {
    opacity: 1;
}

.home-product-overlay a,
.home-quarry-overlay a,
.home-news-overlay a {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #2C3E50;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(0.8);
    opacity: 0;
}

.home-product-card:hover .home-product-overlay a,
.home-quarry-card:hover .home-quarry-overlay a,
.home-news-card:hover .home-news-overlay a {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.home-product-overlay a:hover,
.home-quarry-overlay a:hover,
.home-news-overlay a:hover {
    background: #2C3E50;
    color: #fff;
}

/* Rozetler */
.home-product-badge,
.home-quarry-badge,
.home-news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(44, 62, 80, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* İçerik Alanı */
.home-product-content,
.home-quarry-content,
.home-news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.home-product-content h3,
.home-quarry-content h3,
.home-news-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-product-content h3 a,
.home-quarry-content h3 a,
.home-news-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.home-product-content h3 a:hover,
.home-quarry-content h3 a:hover,
.home-news-content h3 a:hover {
    color: #E67E22;
}

.home-product-content p,
.home-quarry-content p,
.home-news-content p {
    color: #5a6a7a;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;
    height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Detay Linki */
.product-details-link,
.details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2C3E50;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.product-details-link i,
.details-link i {
    transition: transform 0.3s ease;
}

.product-details-link:hover,
.details-link:hover {
    color: #E67E22;
}

.product-details-link:hover i,
.details-link:hover i {
    transform: translateX(5px);
}

/* =================================================================== */
/* 11. ANASAYFA CAROUSEL KONTROLLERİ (Kurumsal Tasarım)
/* =================================================================== */

/* Genel Carousel Container */
.home-products-carousel-container,
.home-news-carousel-container,
.home-quarries-carousel-container {
    position: relative;
}

/* Genel Carousel Yapısı */
.home-products-carousel,
.home-news-carousel,
.home-quarries-carousel {
    overflow: hidden;
    position: relative;
}

/* Carousel Track */
.home-products-track,
.home-news-track,
.home-quarries-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px; /* Kartlar arası boşluk */
}

/* Navigasyon Butonları (Sağ-Sol Oklar) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px; /* Daha zarif boyut */
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #2C3E50; /* Kurumsal renk */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: none; /* Varsayılan olarak gizli, JS ile gösterilecek */
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: #ffffff;
    border-color: #2C3E50;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.carousel-btn.prev-btn {
    left: -60px; /* Konumlandırma - Dışarı taşı */
}

.carousel-btn.next-btn {
    right: -60px; /* Konumlandırma - Dışarı taşı */
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Carousel Göstergeleri (Noktalar) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-indicator-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #d8d8d8; /* Pasif renk */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator-btn.active {
    background-color: #2C3E50; /* Aktif renk (kurumsal) */
    transform: scale(1.2);
}

/* Mobil Cihazlar İçin Özel Stiller */
@media (max-width: 768px) {
    .carousel-btn {
        display: none !important; /* Desktop oklarını mobilde tamamen gizle */
    }

    .mobile-nav-arrows {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e0e0e0;
        border-radius: 50%;
        color: #2C3E50;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-left {
        left: 5px;
    }

    .mobile-nav-right {
        right: 5px;
    }
}

/* =================================================================== */
/* 13. ÜRÜNLER SAYFASI TASARIMI
/* =================================================================== */

/* Filtreleme Bölümü */
.products-filter-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.search-box-container {
    margin-bottom: 30px;
}

.search-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 55px;
    padding: 10px 25px 10px 55px;
    border-radius: 30px;
    border: 1px solid #dee2e6;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #2C3E50;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

/* Kategori Filtreleri */
.category-filters .filter-buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #2C3E50;
    color: #ffffff;
    border-color: #2C3E50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.filter-btn .product-count {
    font-size: 12px;
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 9px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active .product-count {
    background-color: #ffffff;
    color: #2C3E50;
}

/* Sonuç ve Sıralama Alanı */
.products-section {
    padding: 60px 0;
}

.results-and-sorting-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.results-count {
    font-size: 16px;
    color: #6c757d;
}

.sort-controls .form-control {
    width: auto;
    min-width: 220px;
    border-radius: 8px;
    height: 45px;
}

/* Ürün Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card-wrapper {
    transition: opacity 0.3s ease;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(44, 62, 80, 0.12);
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .overlay-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #2C3E50;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(0.8);
    opacity: 0;
}

.product-card:hover .product-overlay .overlay-link {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.product-overlay .overlay-link:hover {
    background: #2C3E50;
    color: #fff;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(44, 62, 80, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #E67E22;
}

.product-description {
    color: #5a6a7a;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.product-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* =================================================================== */
/* SLIDER YAZILARI BEYAZ YAPMA - Revolution Slider Text Colors
/* =================================================================== */

/* Revolution Slider içindeki tüm yazıları beyaz yap - EN GÜÇLÜ KURALLAR */
.tp-caption,
.tp-caption *,
.rev_slider .tp-caption,
.rev_slider .tp-caption *,
.rev_slider_wrapper .tp-caption,
.rev_slider_wrapper .tp-caption *,
.rs-layer,
.rs-layer *,
.tp-resizeme,
.tp-resizeme *,
div[class*="tp-caption"],
div[class*="tp-caption"] *,
div[id*="layer-"],
div[id*="layer-"] *,
.gdlr-core-revolution-slider-item .tp-caption,
.gdlr-core-revolution-slider-item .tp-caption *,
.gdlr-core-revolution-slider-item .rs-layer,
.gdlr-core-revolution-slider-item .rs-layer * {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

/* Inline style override - en güçlü kural */
.rev_slider [style*="color"],
.rev_slider_wrapper [style*="color"],
.gdlr-core-revolution-slider-item [style*="color"] {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

/* Desktop Slider Yazıları - Responsive Font Boyutları */
@media (min-width: 1200px) {
    /* Büyük ekranlar için büyük boyutlar */
    .tp-caption[id*="layer-2"] {
        font-size: 64px !important;
        line-height: 1.1 !important;
    }
    
    .tp-caption[id*="layer-3"] {
        font-size: 42px !important;
        line-height: 1.2 !important;
    }
    
    .tp-caption[id*="layer-4"] {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* Orta büyük ekranlar için orta boyutlar */
    .tp-caption[id*="layer-2"] {
        font-size: 56px !important;
        line-height: 1.1 !important;
    }
    
    .tp-caption[id*="layer-3"] {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }
    
    .tp-caption[id*="layer-4"] {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Tablet ekranlar için orta boyutlar */
    .tp-caption[id*="layer-2"] {
        font-size: 48px !important;
        line-height: 1.1 !important;
    }
    
    .tp-caption[id*="layer-3"] {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .tp-caption[id*="layer-4"] {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 767px) {
    /* Mobil ekranlar için küçük ama okunabilir boyutlar */
    .tp-caption[id*="layer-2"] {
        font-size: 36px !important;
        line-height: 1.1 !important;
    }
    
    .tp-caption[id*="layer-3"] {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    .tp-caption[id*="layer-4"] {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}

/* Slider başlıkları için özel kurallar - Sadece hafif arka plan */
.tp-caption[id*="layer-2"],
.tp-caption[id*="layer-3"],
.tp-caption[id*="layer-4"] {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9) !important;
}

/* Ana başlık için çok hafif arka plan - tam yazı boyutunda - MASAÜSTÜ BOŞLUK AZALTMA */
.tp-caption[id*="layer-2"] {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    display: inline-block !important;
    margin: 0 0 15px 0 !important; /* 30px'den 15px'e düşürüldü */
    line-height: 1.1 !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
}

/* Alt başlık için daha da hafif - tam yazı boyutunda - MASAÜSTÜ BOŞLUK AZALTMA */
.tp-caption[id*="layer-3"] {
    background: rgba(0, 0, 0, 0.15) !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    display: inline-block !important;
    margin: 0 0 20px 0 !important; /* 35px'den 20px'e düşürüldü */
    line-height: 1.2 !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
}

/* Açıklama metni için minimal arka plan - başlık hizasında ve sağa geniş - MASAÜSTÜ BOŞLUK AZALTMA */
.tp-caption[id*="layer-4"] {
    background: rgba(0, 0, 0, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 2px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    margin: 0 0 15px 0 !important; /* Alt boşluk eklendi */
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
    max-width: none !important;
    width: auto !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    text-align: left !important;
}

/* Responsive genişlik ayarları - başlık hizasında sağa doğru genişleme */
@media (min-width: 1200px) {
    .tp-caption[id*="layer-4"] {
        width: 75% !important;
        max-width: 900px !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .tp-caption[id*="layer-4"] {
        width: 80% !important;
        max-width: 800px !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .tp-caption[id*="layer-4"] {
        width: 85% !important;
        max-width: 700px !important;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .tp-caption[id*="layer-4"] {
        width: 90% !important;
        max-width: 600px !important;
    }
}

@media (max-width: 575px) {
    .tp-caption[id*="layer-4"] {
        width: 95% !important;
        max-width: 500px !important;
    }
}

/* Slider butonları için beyaz yazı - arka plan korunur */
.rev-btn,
.tp-caption.rev-btn {
    color: #ffffff !important;
    text-shadow: none !important;
    background: rgba(45, 45, 45, 0.9) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.rev-btn:hover,
.tp-caption.rev-btn:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Slider içindeki tüm metin elementleri */
.rev_slider li div[style*="color"],
.rev_slider li div[data-type="text"] {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

/* Inline style'ları override et */
.rev_slider .tp-caption[style*="color"] {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

/* Mobil slider yazıları da beyaz olsun - arka plan ile */
.mobile-slide-title,
.mobile-slide-subtitle,
.mobile-slide-description {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
}

/* Mobil slider başlık için daha büyük arka plan */
.mobile-slide-title {
    background: rgba(0, 0, 0, 0.4) !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
}

/* Mobil slider alt başlık */
.mobile-slide-subtitle {
    background: rgba(0, 0, 0, 0.35) !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
}

/* Mobil slider açıklama */
.mobile-slide-description {
    background: rgba(0, 0, 0, 0.25) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    line-height: 1.6 !important;
}

/* Mobil slider buton */
.mobile-slide-button {
    background: rgba(45, 45, 45, 0.9) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.mobile-slide-button:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* =================================================================== */
/* 14. SMOOTH PAGE TRANSITIONS - Sayfa Geçiş Animasyonları
/* =================================================================== */

/* Page Loader - Sayfa yüklenirken gösterilecek */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.page-loader-content {
    text-align: center;
    color: #495057;
}

.page-loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #495057;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.page-loader-text {
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page Content Fade In */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.page-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Link Transition Effects */
a {
    transition: all 0.3s ease;
}

/* Prevent FOUC (Flash of Unstyled Content) */
html {
    visibility: hidden;
    opacity: 0;
}

html.loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* CSS Loading States */
.css-loading {
    position: relative;
    overflow: hidden;
}

.css-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Page Transition Container */
.page-transition-container {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Link Hover Effects */
.sf-menu a,
.kleanity-navigation a {
    position: relative;
    transition: all 0.3s ease;
}

.sf-menu a::before,
.kleanity-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sf-menu a:hover::before,
.kleanity-navigation a:hover::before {
    width: 100%;
}

/* Content Sections Fade In */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading Effects */
img {
    transition: opacity 0.3s ease;
}

img.loading {
    opacity: 0.3;
}

img.loaded {
    opacity: 1;
}

/* Button Hover Transitions */
.btn,
button,
input[type="submit"] {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before,
button::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn:hover::before,
button:hover::before,
input[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

/* Form Input Transitions */
input,
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Card Hover Transitions */
.card,
.product-card,
.home-product-card,
.home-news-card,
.home-quarry-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive Transitions */
@media (max-width: 768px) {
    .page-content {
        transform: translateY(10px);
    }
    
    .content-section {
        transform: translateY(20px);
    }
    
    /* Reduce motion for mobile */
    .page-loader-spinner {
        animation-duration: 1.5s;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .page-loader-spinner {
        animation: none;
    }
}

/* Loading Skeleton for Content */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
}

@keyframes loading-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: 4px;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
    border-radius: 4px;
}

.skeleton-image {
    height: 200px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1em;
}


/* ==========================================================================
   Tamamlanan Projeler Sayfası - Kurumsal Card Tasarımı
   ========================================================================== */

.completed-project-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid #e9ecef;
}

.completed-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--corporate-primary, #495057);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.completed-project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(73, 80, 87, 0.85), rgba(108, 117, 125, 0.85));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.completed-project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.completed-project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.project-overlay-content i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.project-overlay-content span {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--corporate-primary, #495057);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'ArcaMojora', serif;
}

.project-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: 'Lora', serif;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-date,
.project-location {
    font-size: 0.85rem;
    color: #868e96;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-date i,
.project-location i {
    font-size: 0.8rem;
    color: var(--corporate-primary, #495057);
}

/* Proje Bilgi Alanı */
.projects-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--corporate-primary, #495057);
}

.projects-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
}

.projects-info i {
    color: var(--corporate-primary, #495057);
    margin-right: 8px;
}

/* Boş Proje Mesajı */
.no-projects-message {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.no-projects-message i {
    color: #ced4da;
}

.no-projects-message h4 {
    color: #6c757d;
    margin-bottom: 12px;
    font-family: 'ArcaMojora', serif;
}

.no-projects-message p {
    color: #868e96;
    font-size: 0.9rem;
    margin: 0;
}

/* Sayfalama (Pagination) */
.pagination {
    margin: 0;
}

.pagination .page-item .page-link {
    border: 1px solid #dee2e6;
    color: var(--corporate-primary, #495057);
    padding: 12px 16px;
    margin: 0 4px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .page-item .page-link:hover {
    background-color: var(--corporate-primary, #495057);
    color: white;
    border-color: var(--corporate-primary, #495057);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
}

.pagination .page-item.active .page-link {
    background-color: var(--corporate-primary, #495057);
    border-color: var(--corporate-primary, #495057);
    color: white;
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Tasarım */
@media (max-width: 1199px) {
    .completed-project-card {
        margin-bottom: 24px;
    }
    
    .project-content {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .project-image-wrapper {
        height: 200px;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .projects-section {
        padding: 60px 0 !important;
    }
    
    .project-image-wrapper {
        height: 180px;
    }
    
    .project-content {
        padding: 16px;
    }
    
    .project-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .project-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .projects-info {
        padding: 12px 16px;
    }
    
    .projects-info p {
        font-size: 0.8rem;
    }
    
    .pagination .page-item .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .no-projects-message {
        padding: 40px 20px;
    }
}

@media (max-width: 575px) {
    .project-meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .project-date,
    .project-location {
        font-size: 0.8rem;
    }
    
    .pagination .page-item .page-link {
        padding: 6px 10px;
        margin: 0 2px;
    }
}
