/* Reset ve Temel Stiller */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #edeef0 0%, #ffffff 100%);
    color: #222;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Üst Bildirim Çubuğu */
.top-notification-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 2000;
    font-size: 14px;
    font-weight: 500;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Info Bar */
.info-bar {
    background: linear-gradient(90deg, #0e74f0, #1e88e5);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1999;
}

.info-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-text {
    font-weight: 600;
    font-size: 15px;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.whatsapp-contact:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Ana Header */
.main-header {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    width: 100%;
    z-index: 1900;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #0e74f0;
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.search-container {
    position: relative;
    width: 650px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-container input:focus {
    border-color: #0e74f0;
    box-shadow: 0 0 0 3px rgba(14,116,240,0.1);
}

.search-container button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #0e74f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background: #0d66d0;
    transform: translateY(-50%) scale(1.1);
}

.header-contact-info {
    text-align: right;
}

.contact-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
    font-weight: 600;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #0e74f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #e94c3c;
}

/* Sol İletişim Menüsü */
.left-contact-menu {
    background: linear-gradient(135deg, #0e74f0, #1e88e5);
    border-radius: 15px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(14, 116, 240, 0.3);
    border: 2px solid rgba(255,255,255,0.1);
    width: 70px;
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1502;
}

.contact-icon {
    color: white;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.contact-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-left: 8px;
}

.contact-icon:hover::after {
    opacity: 1;
}

/* Ana İçerik */
main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.left-content {
    width: 320px;
    flex-shrink: 0;
}

.left-menu-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.categories-title-bar {
    background: linear-gradient(90deg, #0e74f0, #1e88e5);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(14,116,240,0.3);
    white-space: nowrap;
}

.side-menu-bar {
    background: rgba(249, 247, 247, 0.9);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    gap: 25px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
}

.side-menu-bar a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.side-menu-bar a:hover {
    color: #0e74f0;
    transform: translateY(-2px);
}

.side-menu-bar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0e74f0;
    transition: width 0.3s ease;
}

.side-menu-bar a:hover::after {
    width: 100%;
}

.categories-menu {
    background: white;
    border-radius: 15px;
    width: 100%;
    border: 1px solid rgba(14,116,240,0.1);
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.categories-content {
    overflow-y: auto;
    max-height: 530px;
    padding: 0 20px 20px;
}

.categories-content ul {
    list-style: none;
    margin-top: 15px;
}

.categories-content li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 12px;
}

.categories-content li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.categories-content a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
}

.categories-content a:hover {
    color: #0e74f0;
    background: rgba(14,116,240,0.08);
    transform: translateX(5px);
}

.categories-content a::before {
    content: "▶";
    font-size: 10px;
    color: #0e74f0;
    transition: transform 0.3s ease;
}

.categories-content a:hover::before {
    transform: translateX(3px);
}

.main-content {
    flex: 1;
}

.top-grid {
    display: block;
}

/* DÜZELTİLMİŞ Hero Slider - LINK SORUNU ÇÖZÜLDÜ */
.hero {
    position: relative;
    height: 430px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,15,15,0.08);
    background: #fff;
    width: 100%;
    margin: 80px 20px 0 0;
    max-width: 1000px;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 14px;
    /* SLIDER LINK ÇÖZÜMÜ */
    pointer-events: none;
}

.slide.active {
    opacity: 1;
}

.slide > * {
    /* SLIDER LINK ÇÖZÜMÜ */
    pointer-events: auto;
}

.slide-content {
    position: absolute;
    bottom: -250px;
    left: 25px;
    background: rgba(255,255,255,0.9);
    padding: 5px;
    border-radius: 5px;
    max-width: 400px;
    /* SLIDER LINK ÇÖZÜMÜ */
    position: relative;
    z-index: 100;
}

.slide-content h2 {
    color: #c71841;
    margin-bottom: 10px;
    font-size: 24px;
}

.slide-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.slide-cta {
    display: inline-block;
    background: linear-gradient(90deg, #0e74f0, #1e88e5);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
    /* SLIDER LINK ÇÖZÜMÜ */
    position: relative;
    z-index: 150;
    pointer-events: auto !important;
}

.slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14,116,240,0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255,255,255,1);
    transform: scale(1.2);
}

/* Ürün Kaydırıcı - DAHA FAZLA SOLA KAYDIRMA */
.product-scroller-section {
    margin: 80px 0 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0;
}

.product-scroller {
    position: relative;
    width: 100%;
    padding: 25px 0;
    overflow: hidden;
}

.scroller-track {
    display: flex;
    gap: 40px;
    animation: scroll-products 50s linear infinite;
    padding: 15px 0;
    width: max-content;
}

/* GÜNCELLENMİŞ ANİMASYON - DAHA FAZLA SOLA KAYDIRMA */
@keyframes scroll-products {
    0% {
        transform: translateX(100vw); /* Sağdan başla */
    }
    100% {
        transform: translateX(calc(-100% - 150vw)); /* Daha fazla sola kaydır */
    }
}

.scroller-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
}

.scroller-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.product-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 4px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.scroller-item:hover .product-image {
    border-color: #0e74f0;
    box-shadow: 0 12px 30px rgba(14,116,240,0.25);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scroller-item:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    max-width: 120px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.scroller-item:hover .product-name {
    color: #0e74f0;
    transform: translateY(2px);
}

/* Popüler Ürünler - 8 ÜRÜN - DÜZGÜN 4x2 DÜZENİ */
.bottom-products {
    margin: 80px 0 40px;
    width: 100%;
}

.bottom-products-title {
    text-align: center;
    margin-bottom: 50px;
    color: #0e74f0;
    font-size: 28px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: start;
}

.product-card {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 250px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 15px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-card-title {
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 0 10px;
    line-height: 1.4;
    width: 100%;
}

.product-card:hover .product-card-title {
    color: #0e74f0;
}

/* YENİ: Güncellenmiş Mavi Footer Bölümü */
.company-info-footer {
    background: linear-gradient(135deg, #0e74f0, #1e88e5);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.services-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: center;
}

.services-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-content: center;
}

.service-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.service-icon-circle {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.service-icon-circle:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-icon-circle i {
    font-size: 36px;
    color: white;
}

.service-text-circle {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 40px;
}

.footer-about h3,
.footer-contact h3,
.footer-address h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3::after,
.footer-contact h3::after,
.footer-address h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    font-size: 16px;
    color: white;
}

.footer-contact-text {
    font-size: 14px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.address-info p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* WhatsApp */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    color: white;
    font-size: 22px;
    text-decoration: none;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Modal'lar */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal h3 {
    margin-bottom: 20px;
    color: #0e74f0;
}

.modal input, .modal textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.modal button {
    background: linear-gradient(90deg, #0e74f0, #1e88e5);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* SLIDER LINK SORUNU ÇÖZÜMÜ - EKLENEN KODLAR */
.slide-content {
    position: relative;
    z-index: 100;
}

.slide-cta {
    position: relative;
    z-index: 150;
    pointer-events: auto !important;
}

.slide * {
    pointer-events: auto;
}

.slide {
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1200px) {
    main {
        flex-direction: column;
    }
    
    .left-content {
        width: 100%;
    }
    
    .search-container {
        width: 500px;
    }
    
    .hero {
        height: 340px;
        max-width: 100%;
        margin: 40px 0 0 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    /* Scroller responsive */
    .product-image {
        width: 100px;
        height: 100px;
    }
    
    .product-name {
        max-width: 100px;
        font-size: 13px;
    }
    
    @keyframes scroll-products {
        100% {
            transform: translateX(calc(-100% - 150vw));
        }
    }
}

@media (max-width: 1024px) {
    .left-contact-menu {
        display: none;
    }
    
    .search-container {
        width: 400px;
    }
    
    .hero {
        height: 320px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .brand-section {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-container {
        width: 100%;
    }
    
    .menu-header {
        flex-direction: column;
    }
    
    .categories-title-bar,
    .side-menu-bar {
        width: 100%;
    }
    
    .hero {
        height: 280px;
    }
    
    .slide-content {
        bottom: 15px;
        left: 15px;
        padding: 15px;
        max-width: 300px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .product-img {
        height: 160px;
    }
    
    /* Scroller responsive */
    .product-image {
        width: 85px;
        height: 85px;
    }
    
    .scroller-track {
        gap: 30px;
    }
    
    .product-name {
        max-width: 85px;
        font-size: 12px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    @keyframes scroll-products {
        100% {
            transform: translateX(calc(-100% - 150vw));
        }
    }
}

@media (max-width: 480px) {
    .info-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-img {
        height: 180px;
    }
    
    /* Scroller responsive */
    .product-image {
        width: 70px;
        height: 70px;
    }
    
    .scroller-track {
        gap: 25px;
    }
    
    .product-name {
        max-width: 70px;
        font-size: 11px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-circle i {
        font-size: 28px;
    }
    
    .service-text-circle {
        font-size: 13px;
    }
    
    .footer-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    @keyframes scroll-products {
        100% {
            transform: translateX(calc(-100% - 150vw));
        }
    }
}