/* Hero Slider Styles */
.hero-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-slider .owl-stage-outer {
    padding: 0 20px;
    min-height: 300px;
}

.hero-slider .item {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Hero Slider Animation */
.hero-slider .item {
    opacity: 0;
    transform: translateY(30px);
    animation: heroSlideIn 1s ease forwards;
}

@keyframes heroSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Owl Carousel Slide In Animation Delay */
.owl-carousel .animated.slideInLeft {
    animation-delay: 0.5s !important;
}

/* Staggered animations for hero text */
.hero-slider .owl-item.active h1 {
    animation: slideInLeft 0.3s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-slider .owl-item.active h2 {
    background-color: white;
    animation: slideInLeft 0.5s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Reset for non-active slides */
.hero-slider .owl-item:not(.active) h1,
.hero-slider .owl-item:not(.active) h2 {
    opacity: 0;
    animation: none;
}

/* SlideInLeft keyframe animation */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contact Info Box Styles */
.contact-info-box {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        max-width: 100%;
    }

    .hero-slider .owl-stage-outer {
        min-height: 250px;
    }

    .hero-slider .item {
        min-height: 200px;
    }

    .hero-slider .item h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .hero-slider .item h2 {
        font-size: 2rem !important;
        line-height: 1 !important;
    }

    .hero-slider .item p {
        font-size: 1.1rem !important;
    }

    .position-absolute[style*="bottom: 0;right: -60%"] {
        bottom: -20% !important;
        left: 33px !important;
        max-width: 100% !important;
    }

    .position-absolute[style*="bottom: 0;right: -60%"] .d-flex {
        flex-direction: column !important;
        text-align: center !important;
    }

    .position-absolute[style*="bottom: 0;right: -60%"] .ms-3 {
        margin-left: 0 !important;
        margin-top: 15px !important;
    }
}

/* Smooth transitions for hero elements */
.hero-slider .btn {
    transition: all 0.3s ease;
}

.hero-slider .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero text shadow for better readability */
.hero-slider .text-color-light {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Owl carousel custom navigation (if needed) */
.hero-slider .owl-nav {
    display: none;
}

/* Animation delays for sequential appearance */
.hero-slider .appear-animation[data-appear-animation-delay="300"] {
    animation-delay: 0.3s;
}

.hero-slider .appear-animation[data-appear-animation-delay="500"] {
    animation-delay: 0.5s;
}

.hero-slider .appear-animation[data-appear-animation-delay="700"] {
    animation-delay: 0.7s;
}

.hero-slider .appear-animation[data-appear-animation-delay="900"] {
    animation-delay: 0.9s;
}

/* Desktop specific styles if needed */
@media (min-width: 992px) {
    /* Custom highlight styles are now handled globally above */
}

/* Custom Highlight Animation */
.custom-highlight-1 {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: auto;
    white-space: nowrap;
}

.custom-highlight-1:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    right: 0;
    margin: 0;
}

/* Animation for active slide items */
.hero-slider .owl-item.active .custom-highlight-1:after {
    animation: customHighlightAnim 1s ease-in-out forwards;
    animation-delay: 1s;
}

/* Reset animation for non-active slides */
.hero-slider .owl-item:not(.active) .custom-highlight-1:after {
    width: 0%;
    animation: none;
}

@keyframes customHighlightAnim {
    0% {
        width: 0%;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

.content-grid .content-grid-item:hover {
    background-color: var(--primary);
    border-color: white;
}

.content-grid .content-grid-item:hover h3,
.content-grid .content-grid-item:hover p {
    color: white;
}

.content-grid .content-grid-item:hover svg {
    fill: white !important;
    color: white !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Language Specific Styles */



.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary) !important;
    color: white !important;
}

.dropdown-item {
    color: black !important;
}

.dis-none {
    display: none !important;
}

@media (max-width: 768px) {
    .frame-video {
        height: 161vw !important;

    }

    .dis-none {
        display: flex !important;
    }

    .contact-hero {
        display: none !important;
    }

    .counters-mob {
        gap: 30px;
    }

    .header-extra-info-text,
    .header-extra-info-icon {
        display: none !important;
    }

    .header-top-mob {
        justify-content: center !important;
    }

    #header .header-body {
        justify-content: start !important;
    }
}

/* Custom Navigation Effect for Product Tabs */
#productTabs .nav-link {
    position: relative;
    background: transparent;
    border: none;
    color: var(--primary);
    border-radius: 0;
    transition: ease padding 300ms, ease color 300ms;
    margin-bottom: 8px;
}

#productTabs .nav-link:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    border-top: 4px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -50%, 0);
    transition: ease opacity 300ms, ease width 300ms;
}

#productTabs .nav-link.active,
#productTabs .nav-link:hover {
    padding-left: 45px;
    font-weight: 700;
    color: var(--primary) !important;
}

#productTabs .nav-link.active:before,
#productTabs .nav-link:hover:before {
    width: 30px;
    opacity: 1;
    visibility: visible;
}

#productTabs .nav-link.active:before {
    border-top-color: var(--primary);
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    border-radius: 50%;
    z-index: 9999;
    animation: pulse 2s infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.whatsapp-float a:hover {
    background-color: #20c55a;
    transform: scale(1.1);
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a i {
    color: white;
    font-size: 32px;
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #333;
}

.whatsapp-float a:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 70px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        border-radius: 50%;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        border-radius: 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 22px;
        left: 22px;
    }
    .custom-margin-top{
        margin-top: 0 !important;
    }
    .custom-big-font-size-1{
        font-size: 7.2rem !important;
    }

    .whatsapp-float a {
        width: 60px;
        height: 60px;
        padding: 0;
    }

    .whatsapp-float a i {
        font-size: 30px;
    }

    .whatsapp-tooltip {
        font-size: 12px;
        padding: 6px 10px;
        left: 60px;
    }

    .whatsapp-float a:hover .whatsapp-tooltip {
        left: 55px;
    }

    /* Product Images Mobile Responsive */
    .product-thumb-info-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-thumb-info-image img {
        max-width: 260px;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    /* Mobile Products Two Column Layout */
    .products .col-sm-6.col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .custom-product-margin {
        margin-top: 25px !important;
        padding: 0;
    }
    .custom-product-margin-2 {
        margin-top: -15px !important;
        padding: 0;
    }
    .mob-product-container {
        margin-bottom: 0 !important;
    }
}
.custom-product-margin,
.custom-product-margin-2{
    margin-top: -10%;
}
/* Custom Border for Feature Box Icon */
.feature-box-icon.box-shadow-7 {
    border: 2px solid white !important;
}
.img-product-fluid {
    max-width: 50% !important;
    height: auto;
}

/* Language Tab Styles */
.language-tab {
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.language-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.language-tab.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-tab .flag-icon {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.language-tab:hover .flag-icon {
    transform: scale(1.1);
}

/* Header Transparent State */
#header:not(.header-is-shrunk) .language-tab {
    color: white !important;
}

#header:not(.header-is-shrunk) .language-tab:hover {
    color: #f8f9fa !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header Shrunk State */
#header.header-is-shrunk .language-tab {
    color: #333 !important;
}

#header.header-is-shrunk .language-tab:hover {
    color: #007bff !important;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Mobile Header Styles */
@media (max-width: 991px) {
    /* Header mobilde de sticky olsun */
    #header {
        position: relative !important;
    }

    /* Mobile header sticky state */
    #header.header-is-shrunk {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    /* Mobilde header'daki dil seçeneklerini gizle */
    .header-nav-top {
        display: none !important;
    }

    /* Mobile language navigation - dropdown tarzında */
    .mobile-language-nav {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .mobile-language-nav .nav-link {
        color: #333 !important;
        font-weight: 600;
        padding: 15px 20px;
        border-bottom: none;
    }

    .mobile-language-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .mobile-language-item {
        display: flex !important;
        align-items: center;
        padding: 12px 30px !important;
        color: #666 !important;
        transition: all 0.3s ease;
    }

    .mobile-language-item:hover {
        color: var(--primary) !important;
    }

    .mobile-language-item.active {
        background-color: white !important;
        color: var(--primary) !important;
    }

    .mobile-language-item .flag-icon {
        width: 20px;
        height: 15px;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        flex-shrink: 0;
    }

    /* Mobilde header shrunk olduğunda body'ye padding ekle */
    body.header-mobile-sticky-active {
        padding-top: 85px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 576px) {
    .language-tab {
        padding: 4px 6px;
        margin: 0 2px;
    }

    .language-tab .flag-icon {
        width: 14px;
        height: 11px;
    }

    .header-top .container {
        padding: 0 15px;
    }
}