.references-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}

.reference-item-wrapper {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 15px;
}

@media (max-width: 992px) {
    .reference-item-wrapper {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .reference-item-wrapper {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 576px) {
    .reference-item-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
:root {
    --primary-color: #031759;
    --secondary-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

/* Slider olmayan sayfalarda header sticky */
.main-header.not-fixed {
    position: sticky;
    top: 0;
}

/* Mobilde index.php'deki header da sticky olsun */
@media (max-width: 991.98px) {
    .main-header {
        position: sticky !important;
        top: 0;
    }
    
    .main-header.scrolled {
        background: white !important;
    }
}

.main-header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.main-header.scrolled .navbar-brand .logo-text {
    color: #031759 !important;
}

.main-header.scrolled .nav-link {
    color: #333 !important;
}

.main-header.scrolled .lang-switcher .btn {
    color: #333;
}

.navbar {
    padding: 1.5rem 0;
}

.navbar-brand {
    padding: 0.5rem 0;
    margin-right: 3rem;
}

.navbar-brand img {
    max-height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.main-header.scrolled .navbar-brand img {
    filter: none;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-header.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.main-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1.25rem !important;
    font-weight: 500;
    color: white !important;
    transition: color 0.3s;
}

.main-header.scrolled .nav-link {
    color: #333 !important;
}

/* Nav-link hover efekti kaldırıldı */

.nav-link.dropdown-toggle {
    padding-right: 1.5rem !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.lang-switcher {
    margin-left: 2rem !important;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s ease;
}

.main-header.scrolled .lang-switcher {
    border-left-color: #e9ecef;
}

/* Dil butonları - Seçili dil (btn-primary) */
.lang-switcher .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.lang-switcher .btn-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Dil butonları - Seçili olmayan dil (btn-outline-primary) - Scroll öncesi */
.lang-switcher .btn-outline-primary {
    background-color: transparent !important;
    border-color: white !important;
    color: white !important;
}

.lang-switcher .btn-outline-primary:hover {
    background-color: transparent !important;
    border-color: white !important;
    color: white !important;
}

/* Dil butonları - Seçili olmayan dil - Scroll sonrası */
.main-header.scrolled .lang-switcher .btn-outline-primary {
    background-color: transparent !important;
    border-color: #333 !important;
    color: #333 !important;
}

.main-header.scrolled .lang-switcher .btn-outline-primary:hover {
    background-color: transparent !important;
    border-color: #333 !important;
    color: #333 !important;
}

/* Seçili dil scroll sonrası da aynı kalmalı */
.main-header.scrolled .lang-switcher .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.main-header.scrolled .lang-switcher .btn-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
}

.hero-slider .carousel {
    height: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-slider .carousel-item video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 10;
    position: absolute;
}

/* Mobilde carousel kontrol butonlarını gizle */
@media (max-width: 768px) {
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none !important;
    }
}

.hero-slider h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* References */
.reference-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.reference-item:hover {
    transform: scale(1.05);
}

.reference-item {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.reference-item.with-bg {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: none;
}

.reference-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.reference-item:hover::after {
    opacity: 1;
    transform: scale(1.02);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Footer */
.main-footer {
    background: radial-gradient(circle at top left, rgba(5, 42, 122, 0.35) 0%, transparent 55%),
        radial-gradient(circle at bottom right, rgba(3, 23, 89, 0.45) 0%, transparent 50%),
        #020b29;
    position: relative;
    overflow: hidden;
}

.main-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pattern-map.svg') center/cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.main-footer .container,
.main-footer .trust-strip,
.main-footer .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.footer-description {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.footer-points li {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-points li i {
    color: #4dabf7;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.btn-gradient-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    padding: 0.55rem 1.35rem;
    background: linear-gradient(135deg, #4dabf7 0%, #1e64d4 50%, #102f86 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(30, 100, 212, 0.35);
}

.footer-title {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    opacity: 0.7;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.footer-partner-badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact li i {
    margin-top: 0.15rem;
    color: #4dabf7;
}

.footer-contact li a {
    color: inherit;
    text-decoration: none;
}

.footer-contact li a:hover {
    color: #ffffff;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn-light {
    background: #fff;
    border: none;
    padding: 0.75rem 1rem;
    color: #031759;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form .btn-light span {
    margin-left: 0.4rem;
    font-weight: 600;
}

.newsletter-form .btn-light:hover {
    background: #f0f4ff;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.footer-social .social-icon:hover {
    background: rgba(77, 171, 247, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.trust-strip {
    padding-top: 2rem;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.trust-strip-inner span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-strip-inner i {
    color: #4dabf7;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.35);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.main-footer a {
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .footer-top .footer-title {
        margin-top: 1.5rem;
    }

    .footer-brand .footer-logo {
        max-width: 150px;
    }
}

@media (max-width: 575.98px) {
    .trust-strip-inner {
        gap: 1rem;
        text-align: left;
    }

    .btn-gradient-primary {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 20px;
    }

    .newsletter-form .btn-light {
        width: 100%;
        border-radius: 0 0 20px 20px;
    }
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    position: relative;
    background: radial-gradient(circle at top left, rgba(77, 171, 247, 0.35) 0%, transparent 55%),
        radial-gradient(circle at bottom right, rgba(16, 47, 134, 0.45) 0%, transparent 50%),
        linear-gradient(135deg, #02103c 0%, #031759 45%, #0a2b82 100%);
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pattern-map.svg') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.page-header > .container,
.page-header .breadcrumb {
    position: relative;
    z-index: 1;
}

/* Bootstrap Primary Color Override */
.bg-primary {
    background-color: #031759 !important;
}

.btn-primary {
    background-color: #031759;
    border-color: #031759;
}

.btn-primary:hover {
    background-color: #021548;
    border-color: #021548;
}

.btn-outline-primary {
    color: #031759;
    border-color: #031759;
}

.btn-outline-primary:hover {
    background-color: #031759;
    border-color: #031759;
}

.text-primary {
    color: #031759 !important;
}

/* Product Description Styles */
.product-description {
    line-height: 1.8;
    color: #333;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #031759;
    font-weight: 600;
}

.product-description h1 { font-size: 2rem; }
.product-description h2 { font-size: 1.75rem; }
.product-description h3 { font-size: 1.5rem; }
.product-description h4 { font-size: 1.25rem; }
.product-description h5 { font-size: 1.1rem; }
.product-description h6 { font-size: 1rem; }

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.product-description strong {
    font-weight: 600;
    color: #031759;
}

.product-description em {
    font-style: italic;
}

.product-description a {
    color: #031759;
    text-decoration: underline;
}

.product-description a:hover {
    color: #021548;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.product-description blockquote {
    border-left: 4px solid #031759;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #666;
}

.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.product-description table th,
.product-description table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.product-description table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #031759;
}

.product-description code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.product-description pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.product-description pre code {
    background-color: transparent;
    padding: 0;
}

/* PDF Download Card */
.pdf-download-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #031759;
}

.pdf-icon-wrapper {
    background: #e9ecef;
    border-radius: 8px;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pdf-icon-wrapper i {
    font-size: 2rem;
    color: #031759;
    margin-bottom: 5px;
}

.pdf-icon-wrapper .pdf-text {
    font-size: 0.75rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
}

.pdf-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.pdf-download-btn {
    background: #031759;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.pdf-download-btn:hover {
    background: #021548;
    color: white;
}

.pdf-download-btn i {
    font-size: 0.9rem;
}

/* About Preview Section */
.about-preview .btn-outline-primary {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Product Image Wrapper */
.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ön sipariş formu sticky */
.preorder-form-sticky {
    position: sticky;
    top: 130px;
    z-index: 10;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Mobilde sticky'yi kaldır */
@media (max-width: 991.98px) {
    .preorder-form-sticky {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-brand {
        margin-right: 0;
    }
    
    .navbar-nav {
        gap: 0;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .lang-switcher {
        margin-top: 1rem;
        margin-left: 0 !important;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e9ecef;
        padding-top: 1rem;
    }
    
    .hero-slider h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pdf-download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .pdf-title {
        margin: 10px 0;
    }
}

/* Diğer Ürünlerimiz Carousel */
#otherProductsCarousel {
    position: relative;
    padding: 0 70px;
}

#otherProductsCarousel .carousel-inner {
    overflow: hidden;
}

#otherProductsCarousel .carousel-control-prev,
#otherProductsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: #031759;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    z-index: 10;
}

#otherProductsCarousel .carousel-control-prev {
    left: 0;
}

#otherProductsCarousel .carousel-control-next {
    right: 0;
}

#otherProductsCarousel .carousel-control-prev:hover,
#otherProductsCarousel .carousel-control-next:hover {
    opacity: 1;
    background: #021548;
}

#otherProductsCarousel .carousel-control-prev-icon,
#otherProductsCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    #otherProductsCarousel {
        padding: 0 40px;
    }
    
    #otherProductsCarousel .carousel-control-prev,
    #otherProductsCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #otherProductsCarousel .carousel-control-prev {
        left: 0;
    }
    
    #otherProductsCarousel .carousel-control-next {
        right: 0;
    }
    
    #otherProductsCarousel .carousel-control-prev-icon,
    #otherProductsCarousel .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

