/* Ana renk ve vurgu renkleri */
:root {
  --main-color: #486fb6;
  --main-color-dark: #36538a;
  --accent-color: #f36f43;
}

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

/* Navbar Stilleri */
.navbar {
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--main-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    margin-left: auto;
    gap: 0.8rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0.8rem !important;
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    background-color: var(--accent-color);
}

.nav-link.active {
    color: var(--main-color) !important;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--main-color);
}

.navbar-toggler {
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--main-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--main-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.btn-nav {
    background-color: var(--main-color);
    color: white !important;
    border-radius: 5px;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-left: 0.8rem;
    font-size: 0.95rem;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 111, 67, 0.2);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        text-align: center;
    }
    
    .btn-nav {
        margin: 0.5rem 0 0 0;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero-section,
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item,
.hero-section .hero-bg {
    height: 50vw;
    max-height: 800px;
    min-height: 300px;
}

.hero-section {
    background: linear-gradient(rgba(72, 111, 182, 0.5), rgba(72, 111, 182, 0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
}

/* Ürün Kartları */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.product-card.hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(72, 111, 182, 0.2);
}

/* Form Stilleri */
.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(72, 111, 182, 0.25);
}

/* Animasyonlar */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Butonu */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--main-color);
    color: white;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    display: block;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--main-color-dark);
    color: white;
    padding: 3rem 0;
}

.social-links a {
    color: white;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item,
    .hero-section .hero-bg {
        height: 60vw;
        max-height: 400px;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Buton Stilleri */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(72,111,182,0.10);
}

/* İkonlar */
.fa-3x {
    margin-bottom: 1rem;
}

/* Kategori Kartları */
.category-card {
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-with-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #eee !important;
}

.category-with-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.category-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.category-card h3,
.category-card .count {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.category-card .count {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Kategori Arka Plan Resimleri */
[data-category-image] {
    background-image: var(--category-bg);
}

/* Kategori Arka Plan Resimlerini Ayarla */
.category-with-image[data-category-image] {
    --category-bg: url(var(--category-image));
}

/* Firma Kartları */
.firma-card, .card.h-100 {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.firma-card:hover, .card.h-100:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.firma-card h4, .card.h-100 h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--main-color);
}

.firma-card .location, .card.h-100 .location {
    color: #6c757d;
    margin-bottom: 15px;
}

.firma-card .category, .card.h-100 .category {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--main-color);
}

.firma-card .btn, .card.h-100 .btn {
    width: 100%;
}

@media (max-width: 991.98px) {
    .firma-card, .card.h-100 {
        min-height: 260px;
    }
}

/* Page Hero */
.page-hero {
    padding: 100px 0 50px;
    margin-top: 64px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
}

.page-hero .breadcrumb {
    background: transparent;
}

.page-hero .breadcrumb-item a {
    text-decoration: none;
    color: var(--accent-color);
}

/* Icon Box */
.icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: rgba(72, 111, 182, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

.icon-box i {
    color: var(--main-color);
}

/* Card Hover Effect */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(243, 111, 67, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    
    .icon-box i {
        font-size: 24px !important;
    }
}

/* Hero başlığı boyutunu küçült ve araya boşluk ekle */
.page-hero .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero nav[aria-label="breadcrumb"] {
    margin-top: 1.5rem;
}

/* Genel başlık stilleri */
h1, .h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
h2, .h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
h3, .h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .page-hero .display-4 {
        font-size: 1.7rem;
    }
    h1, .h1 {
        font-size: 1.5rem;
    }
    h2, .h2 {
        font-size: 1.2rem;
    }
    h3, .h3 {
        font-size: 1rem;
    }
    .page-hero {
        margin-top: 56px;
    }
    .page-hero nav[aria-label="breadcrumb"] {
        margin-top: 1rem;
    }
}

/* Bootstrap yardımcıları için özel ekleme */
.min-vh-75 {
  min-height: 75vh !important;
}

.bg-accent-soft-1 {
    background: #f8f9fa;
}
.bg-accent-soft-2 {
    background: #f1f3f4;
}

.btn-outline-main {
    color: var(--main-color);
    border-color: var(--main-color);
    background-color: transparent;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.btn-outline-main:hover, .btn-outline-main:focus {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

/* Slider içerik stilleri */
.hero-slider-content {
    position: relative;
    z-index: 5;
    padding: 2rem 2.5rem;
    max-width: 600px;
    background: rgba(30, 30, 30, 0.45);
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-slider-content h1,
.hero-slider-content .display-4 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-slider-content p {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-slider-content .btn {
    font-size: 1.1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(72,111,182,0.12);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .hero-slider-content {
        padding: 1.2rem 1rem;
    }
    .hero-slider-content h1,
    .hero-slider-content .display-4 {
        font-size: 2rem;
    }
    .hero-slider-content p {
        font-size: 1rem;
    }
    .hero-slider-content .btn {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-content {
        background: rgba(30, 30, 30, 0.22);
        padding: 0.7rem 0.5rem;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-slider-content h1,
    .hero-slider-content .display-4 {
        font-size: 1.3rem;
    }
    .hero-slider-content p {
        font-size: 0.95rem;
    }
    .hero-slider-content .btn {
        width: 100%;
        padding: 0.7rem 0;
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        /* padding-top: 65px; */
    }
}

.badge-orange {
    background: #f36f43 !important;
    color: #fff !important;
    border-radius: 1.2rem !important;
    padding: 0.35em 1em;
    font-weight: 500;
    font-size: 0.75em;
    display: inline-block;
}

.category-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background: #eee;
}

.category-text-bg {
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

@media (max-width: 767.98px) {
    .category-card {
        height: 200px;
    }

    .category-with-image {
        background-size: cover !important;
    }

    .category-content {
        align-items: center;
        justify-content: center;
    }
} 