* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TOP BAR - HIDDEN ===== */
.top-bar {
    display: none !important;
}

/* ===== NAVBAR (PROFESSIONAL) ===== */
.navbar {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0 !important;
    transition: all 0.3s;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 8px 12px;
    z-index: 1060;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(62, 146, 204, 0.25);
}

.navbar-collapse {
    z-index: 1055;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-brand {
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.navbar-brand .navbar-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.navbar-brand .navbar-brand-text {
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.navbar-nav {
    padding: 0;
}

.navbar-collapse {
    justify-content: space-between;
}

/* Desktop'ta menüleri ortala */
@media (min-width: 992px) {
    .navbar-nav.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .navbar-search {
        position: relative;
        z-index: 10;
    }
    
    .language-switcher {
        position: relative;
        z-index: 10;
    }
}

/* Mobilde normal akış */
@media (max-width: 991px) {
    .navbar-nav.mx-auto {
        position: static;
        transform: none;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 28px 20px !important;
    margin: 0;
    position: relative;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    font-size: 15px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--light-blue) !important;
}

/* ===== HERO SECTION (ADVANCED) ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.75) 0%, rgba(30, 77, 140, 0.55) 100%);
}

.carousel-item img {
    height: 650px !important;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.carousel-caption h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -1px;
}

.carousel-caption p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-caption .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: none;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: 2px solid white;
    opacity: 0.7;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== SECTION STYLING ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ===== CATEGORY CARDS (MODERN) ===== */
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-color);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-body {
    padding: 25px;
}

.category-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-card-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.category-card-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.category-card:hover .category-card-link i {
    transform: translateX(5px);
}

/* ===== PRODUCT CARDS (PREMIUM) ===== */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.15);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 36, 99, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.product-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-code {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.product-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-category {
    font-size: 13px;
    color: var(--text-secondary);
}

.product-link {
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.product-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.product-card:hover .product-link i {
    transform: translateX(3px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--primary-gradient);
    color: white;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.feature-box:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--light-gray);
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== FOOTER (CORPORATE) ===== */
.footer {
    background: #F5F5F0; /* Krem tonlu arka plan */
    color: #334155;
    padding: 50px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: #0A2463;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FFB627;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #0A2463;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    color: #64748b;
}

.footer-contact-item i {
    color: var(--light-blue);
    margin-right: 12px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
}

/* ===== BACK TO TOP ===== */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(10, 36, 99, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(10, 36, 99, 0.6);
    background: linear-gradient(135deg, #FFB627 0%, #F59E0B 100%);
}

#backToTop i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        font-size: 11px;
        padding: 8px 0;
        text-align: center;
    }
    
    .top-bar .col-md-6 {
        width: 100%;
        text-align: center !important;
    }
    
    .top-bar .social-links {
        margin-top: 8px;
        justify-content: center;
        display: flex;
    }
    
    /* Carousel */
    .carousel-item img {
        height: 400px !important;
    }
    
    .carousel-caption h2 {
        font-size: 32px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    /* Footer */
    footer {
        text-align: center;
    }
    
    footer .col-md-3,
    footer .col-md-4 {
        margin-bottom: 30px;
    }
}
