@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: #2c3e50;
    padding-top: 80px;
    background: #f8f9fc;
}

/* ========== NAVBAR ========== */
#mainNav {
    background: linear-gradient(135deg, #1e2a3a 0%, #0f172a 100%);
    padding: 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

#mainNav.navbar-shrink {
    padding: 8px 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
}

/* Brand / Logo Alanı */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    transition: all 0.3s;
}

#mainNav.navbar-shrink .navbar-brand img {
    height: 38px;
}

.navbar-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Navbar Menü Konteyner */
.navbar-collapse {
    flex-grow: 1 !important;
}

.navbar-nav {
    gap: 5px;
}

/* Navbar Linkleri */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s;
    color: rgba(255,255,255,0.9) !important;
    position: relative;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.15);
}

/* Dropdown Menü */
.dropdown-menu {
    background: #1e2a3a;
    border: none;
    border-radius: 12px;
    margin-top: 8px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 200px;
}

.dropdown-item {
    color: rgba(255,255,255,0.9);
    padding: 8px 20px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    padding-left: 25px;
}

.dropdown-item i {
    margin-right: 8px;
    width: 20px;
}

.dropdown-item.active {
    background: rgba(102,126,234,0.3);
    color: white;
}

/* Dil Seçici */
.navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.single-slider {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.single-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
}

.slider-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.slider-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Carousel Slider */
.carousel-item {
    height: 100vh;
    min-height: 600px;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent);
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    padding: 20px 40px;
    border-radius: 0 15px 15px 0;
    max-width: 45%;
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========== BÖLÜM BAŞLIKLARI ========== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
}

/* ========== KATEGORİ KARTLARI ========== */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ========== ÜRÜN KARTLARI ========== */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-category {
    font-size: 0.75rem;
    color: #667eea;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    margin-top: 10px;
}

/* ========== HİZMET KARTLARI ========== */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    background: white;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card:hover .service-icon i {
    color: #667eea;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: #666;
}

.service-card:hover h4,
.service-card:hover p {
    color: white;
}

/* ========== REFERANS KARTLARI ========== */
.reference-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.reference-card img {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.4s;
}

.reference-card:hover img {
    filter: grayscale(0%);
}

/* ========== BLOG KARTLARI ========== */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
}

.blog-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ========== İLETİŞİM ========== */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

/* ========== STATS ========== */
.stats-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ========== BUTONLAR ========== */
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102,126,234,0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
}

/* ========== ANİMASYONLAR ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== WHATSAPP BUTONU ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    border: none;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ========== MOBİL GÖRÜNÜM DÜZELTMELERİ ========== */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }
    
    /* 1. Slider Metinleri Düzeltmesi */
    .carousel-caption {
        max-width: 80%;
        padding: 12px 20px;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-subtitle {
        font-size: 0.9rem;
    }
    
    /* 2. Bölüm Başlıkları */
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.85rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    /* 3. Navbar Düzeni */
    .navbar-brand .brand-text {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.2;
        max-width: 150px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-toggler {
        margin-left: auto;
        margin-right: 5px;
    }
    
    /* 4. Dropdown Menü Mobil */
    .dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0;
    }
    
    .dropdown-item {
        color: rgba(255,255,255,0.8);
        padding: 8px 15px;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.05);
    }
    
    /* 5. Kategori ve Ürün Kartları - 2'li Görünüm */
    .categories .col-md-6,
    .products .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    /* 6. Hizmetler ve Referanslar */
    .services .col-lg-3,
    .references .col-lg-2 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    /* 7. Blog Kartları - Tam Genişlik */
    .blog .col-lg-4 {
        flex: 0 0 auto;
        width: 100%;
    }
    
    /* 8. İstatistikler */
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Çok Küçük Ekranlar için (Telefon - 576px altı) */
@media (max-width: 576px) {
    /* 1. Kategori ve Ürün Kartları - Tek Sıra */
    .categories .col-md-6,
    .products .col-md-6,
    .services .col-lg-3 {
        width: 100%;
    }
    
    /* 2. Referanslar - 2'li sıra kalabilir */
    .references .col-lg-2 {
        width: 50%;
    }
    
    /* 3. Slider Metinleri */
    .carousel-caption h2 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.7rem;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
    }
    
    /* 4. Butonlar */
    .btn-primary,
    .btn-outline-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* 5. Kart içi yazılar */
    .product-info h4,
    .category-card h4,
    .service-card h4 {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .service-card p {
        font-size: 0.75rem;
    }
    
    /* 6. Footer */
    .footer h4 {
        font-size: 1rem;
    }
    
    .footer ul li a,
    .footer .contact-info li {
        font-size: 0.8rem;
    }
    
    /* 7. WhatsApp ve Back to Top Butonları */
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
}

/* Tablet Görünümü (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    /* 2'li sıra düzeni korunur, ekstra ayar gerekmez */
    .categories .col-md-6,
    .products .col-md-6 {
        width: 50%;
    }
}

/* Sayfa Header */
.page-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 60px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}
/* ========== MOBİL DÜZELTMELER (ESKİ YAPIYI BOZMAZ) ========== */
@media (max-width: 768px) {
    .categories .col-md-4, .products .col-md-4, .services .col-md-6 {
        width: 50%;
    }
    .slider-title {
        font-size: 1.8rem !important;
    }
    .slider-subtitle {
        font-size: 0.9rem !important;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
}
@media (max-width: 576px) {
    .categories .col-sm-6, .products .col-sm-6 {
        width: 100%;
    }
}
/* Menu başlıkları */
.menu-title {
    padding: 15px 20px 5px 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

/* Menu badge (bildirim sayısı) */
.menu-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.65rem;
    margin-left: auto;
    font-weight: 600;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.menu-item a i {
    width: 22px;
    text-align: center;
}

.menu-item:hover a {
    background: rgba(255,255,255,0.08);
    color: white;
}

.menu-item.active a {
    background: linear-gradient(90deg, rgba(102,126,234,0.2), transparent);
    color: white;
    border-left: 3px solid #667eea;
}

.menu-item.active a i {
    color: #667eea;
}

/* Menu divider */
.menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 10px 0;
}