:root {
    --primary-blue: #0b2653; /* Deep blue background */
    --accent-blue: #1642d9; /* The blue of the call button and search */
    --text-muted: #888;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* --- Header --- */
.header-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-logo {
    height: 100px; /* Büyütülmüş logo boyutu */
    transition: height 0.3s ease;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px; /* Büyütülmüş menü fontu */
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff;
}

.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.call-icon-bg {
    background-color: var(--accent-blue);
}

.lang-selector .btn {
    border: none;
    color: #333;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #050b14 0%, #0a1f44 50%, #0f357a 100%);
    min-height: 800px;
    padding-top: 150px;
    overflow: hidden;
}

.hero-bg {
    background-image: radial-gradient(circle at 70% 40%, rgba(22, 66, 217, 0.3) 0%, transparent 50%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-img-col {
    position: relative;
}

.glow-effect-behind {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(34,204,255,0.4) 0%, rgba(11,38,83,0) 60%);
    filter: blur(20px);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-image {
    max-width: 80%;
    margin-right: 0%;
    transform: translateY(60px);
    z-index: 5;
    position: relative;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 90%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 90%);
    filter: drop-shadow(0px 30px 40px rgba(0,0,0,0.6));
}

.hero-curve-bottom {
    position: absolute;
    bottom: -40px; /* Yazılara fazla yaklaşmasın diye hafif aşağı ittik */
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    max-height: 350px; /* 250px'i 350px yaptık. Böylece resim orantısı bozulmadan (ezilmeden) sol kavisin o dik kısmı daha çok görünür olacak! */
    overflow: hidden; /* Taşmaları gizleyip yazıları koruyoruz */
}

.hero-curve-bottom .curve-full {
    width: 105%;
    margin-left: -5%;
    height: 100%;
    object-fit: cover; /* Sağ tarafın ezilmeden (zorlanmadan) doğal görünmesini sağlayan altın kod */
    object-position: top left;
    display: block;
}

@media (max-width: 991px) {
    .hero-image {
        max-width: 100%;
        margin-right: 0;
    }
}

/* --- Search Section --- */
.search-section {
    margin-top: 20px; /* Arama formunu biraz daha aşağı ittik */
    z-index: 15 !important;
}

.search-box {
    background: #ffffff;
    border: 1px solid rgba(22, 66, 217, 0.05); /* Çok hafif mavimsi kenarlık */
    /* Tasarımdaki o çok hafif, tatlı mavi/mor parlama efektli gölge (glow shadow) */
    box-shadow: 0px 15px 40px rgba(22, 66, 217, 0.12), 0px 5px 10px rgba(22, 66, 217, 0.04);
}

.search-box .btn-search {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.search-input {
    font-size: 15px;
}

.search-input:focus {
    box-shadow: none;
    background: transparent;
}

.search-box .btn-detayli {
    color: var(--accent-blue);
    border-color: rgba(22, 66, 217, 0.3);
    font-size: 12px;
    font-weight: 600;
}

.search-box .btn-detayli:hover {
    background-color: rgba(22, 66, 217, 0.05);
}

.search-hint {
    font-size: 12px;
    margin-left: 60px;
    margin-top: 10px;
}

/* --- Info Bar --- */
.info-bar {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 30px;
}

.discover-more .icon-circle {
    background-color: #fff;
    width: 40px;
    height: 40px;
}
.text-primary-custom {
    color: var(--accent-blue) !important;
}

.fs-7 {
    font-size: 14px;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ccc;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    max-width: 150px;
}

/* --- About Section --- */
.experience-graphic {
    position: relative;
    display: inline-block;
    padding: 50px;
}

.exp-big-number {
    font-size: 18rem;
    font-weight: 800;
    color: #555;
    line-height: 0.8;
    letter-spacing: -15px;
    position: relative;
    z-index: 2;
    text-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.exp-text-overlay {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translateY(-50%);
    text-align: left;
    color: #999;
    letter-spacing: 2px;
    font-size: 1.2rem;
    z-index: 3;
}

.graphic-line {
    position: absolute;
    background-color: #ccc;
    width: 2px;
    height: 100px;
    transform: rotate(45deg);
    z-index: 1;
}
.line-1 { top: 0; left: 20%; }
.line-2 { bottom: 10%; right: 10%; height: 150px; }

.graphic-dot {
    position: absolute;
    background-color: #999;
    border-radius: 50%;
    z-index: 1;
}
.dot-1 { width: 10px; height: 10px; top: 30%; left: 10%; }
.dot-2 { width: 40px; height: 40px; bottom: 0; left: 40%; }

.about-text {
    line-height: 1.8;
    color: #444;
}

.about-link {
    color: var(--accent-blue);
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
}

/* About Section Oval Alt Köşeler (Kıvrım) */
.about-section {
    background-color: #ffffff;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03); /* İnce bir gölge ile ovalliği belirginleştiriyoruz */
    position: relative;
    z-index: 5; /* Altındaki ürün grupları bölümüne gölge düşmesi için */
    padding-bottom: 80px !important; /* Alt kısımdan biraz daha boşluk bırakalım ki ovallik rahat nefes alsın */
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
    bottom: 30px; 
    right: 30px; 
    width: 60px; 
    height: 60px; 
    background-color: #25D366; 
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- Product Groups Section --- */
.product-groups-section {
    background-color: #f8f9fa; /* Tasarımdaki çok hafif gri/beyazımsı arka plan */
    margin-top: -80px; /* About section'ın oval köşelerinin altına girmesi (arkaplan renginin görünmesi) için yukarı çekiyoruz */
    padding-top: 140px !important; /* Yukarı çektiğimiz için içeriklerin ezilmemesi adına ekstra üst boşluk veriyoruz */
}

.product-groups-section .section-title {
    color: #1a235a !important;
    font-size: 2.2rem;
}

.product-groups-section .view-all-link {
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.product-groups-section .view-all-link:hover {
    color: #1a235a;
    border-bottom-color: #1a235a;
}

/* Product Card */
.product-card {
    background-color: #ffffff;
    border-radius: 2px;
    height: 320px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
    /* Tasarımdaki ince verev (çapraz) çizgi deseni (hash pattern) */
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(0, 0, 0, 0.02) 8px,
        rgba(0, 0, 0, 0.02) 9px
    );
}

.product-card:hover {
    box-shadow: 0 15px 50px rgba(22, 66, 217, 0.08);
    transform: translateY(-5px);
}

.product-card .product-title {
    font-size: 1.15rem;
    color: #1a235a;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.product-card .product-img-wrapper {
    position: absolute;
    bottom: 30px;
    right: -10px;
    width: 90%;
    text-align: center;
    z-index: 1;
}

.product-card .product-img-wrapper img {
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-card .product-link-btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a235a;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(22, 66, 217, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.product-card .product-link-btn:hover {
    background-color: #1a235a;
    color: #ffffff;
}

/* Oku yukarı-sağa (çapraz) bakacak şekilde çeviriyoruz */
.product-card .product-link-btn i {
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.product-card:hover .product-link-btn i {
    transform: rotate(-45deg) translate(3px, -3px); /* Hover olunca ok gideceği yöne doğru hareket etsin */
}

/* Custom Pagination Lines for Swiper */
.custom-pagination-wrapper .swiper-pagination-bullet {
    height: 2px;
    background-color: #ddd;
    width: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 0;
    opacity: 1;
    margin: 0 4px !important;
    cursor: pointer;
}

.custom-pagination-wrapper .swiper-pagination-bullet-active {
    background-color: #1a235a;
    width: 40px;
}

/* --- Marquee Section --- */
.marquee-section {
    background-color: #0c1839; /* Koyu lacivert arkaplan */
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    padding: 60px 0 160px 0; /* Altında kartın taşabilmesi için kocaman bir alt boşluk */
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: inline-flex;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.marquee-icon {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    position: relative;
}

/* Pompa sembolü çizimi (CSS ile) */
.marquee-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgba(255,255,255,0.4);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.marquee-icon::after {
    content: '';
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid rgba(255,255,255,0.4);
    top: 15px;
}
.marquee-icon .arrow-down {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid rgba(255,255,255,0.4);
    bottom: 15px;
}

.marquee-text {
    font-size: 4.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: -1px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Factory Card Section --- */
.factory-card-section {
    margin-top: -100px; /* Üstteki koyu mavi alana doğru taşırmak (overlap) için negatif margin */
    margin-bottom: 80px;
}

.factory-card {
    border-radius: 30px;
    overflow: hidden;
    background-color: #f2f7fb; /* Resimdeki çok açık buz mavisi arkaplan */
}

.factory-img {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.factory-content {
    padding: 10% 15% !important;
}

.exp-graphic-small {
    position: relative;
    display: inline-flex;
}

/* Çapraz kesik çizgi */
.exp-graphic-small::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 1px;
    background-color: #b3c5d7;
    top: 50%;
    left: -10%;
    transform: rotate(-30deg);
}

.exp-graphic-small .exp-num {
    font-size: 4rem;
    font-weight: 300;
    color: #b3c5d7;
    line-height: 1;
}

.exp-graphic-small .exp-text {
    font-size: 0.6rem;
    color: #b3c5d7;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin-left: 12px;
}

.factory-title {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #121c42; /* Koyu lacivert başlık rengi */
}

.factory-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #6c757d;
}

.view-gallery-link {
    font-size: 0.85rem;
    color: #1a235a;
    text-decoration: none;
    border-bottom: 1px solid #1a235a;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.view-gallery-link:hover {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* --- News and Catalog Section --- */
.section-heading-custom {
    font-size: 2rem;
    color: #1a235a !important;
}

.news-card {
    border-radius: 30px;
}

.news-img-container {
    position: absolute;
    top: -30px;
    bottom: 20px;
    right: 20px;
    left: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 2;
}

.news-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card {
    border-radius: 30px;
}

.catalog-left-block {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.catalog-right-block {
    background-color: #f6f8fb;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.catalog-book-img {
    position: relative;
    margin-top: 3rem;
    transform: perspective(1000px) rotateY(-20deg) rotateX(10deg) rotateZ(-3deg);
    width: 140px; 
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px 8px 8px 2px;
    box-shadow: -15px 15px 30px rgba(0,0,0,0.15), -1px 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    z-index: 5;
    background-color: #fff;
    padding: 2px;
}

.catalog-book-img:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) rotateZ(-1deg) translateY(-10px);
}

.footer-links a:hover {
    color: #1a235a !important;
    padding-left: 5px;
}

.footer-socials a:hover {
    color: #1a235a !important;
}

.header-phone-number {
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Mobile Menu Styles */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu-sidebar.active {
    right: 0;
}
.mobile-nav-link {
    font-size: 1.1rem;
    color: #1a235a;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 10px;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav-link:hover {
    color: #d18d4f;
    padding-left: 15px;
}

/* Inner Page Header */
.header-inner {
    position: relative;
    background-color: #fff;
    box-shadow: none; /* Removed shadow for seamless blending */
    z-index: 1000;
}
.header-inner .main-nav .nav-link {
    color: #555 !important;
}
.header-inner .main-nav .nav-link:hover,
.header-inner .main-nav .nav-link.active {
    color: var(--accent-blue) !important;
}
.header-inner .main-nav .nav-link.active::after {
    background-color: var(--accent-blue) !important;
}
.header-inner .contact-text.text-white {
    color: #333 !important;
}
.header-inner .contact-text.text-white > div {
    color: #777 !important;
}
.header-inner .contact-text .header-phone-number {
    color: #1a235a !important;
}
.header-inner #mobileMenuOpen {
    color: #333 !important;
}
