* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
}

/* Header - Logo koyu lacivert tonu */
.top-bar {
    background: #1a2c3e; /* Logodaki koyu lacivert */
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    gap: 5px;
}

.search-box input {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    width: 200px;
}

.search-box button {
    background: #cc3333; /* Logodaki kırmızı/turuncu-kırmızı ton */
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.search-box button:hover {
    background: #aa2222;
}

.main-header {
    background: #1a2c3e; /* Logodaki koyu lacivert */
    padding: 15px 0;
    border-bottom: 3px solid #cc3333; /* Kırmızı vurgu çizgisi */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo Alanı - Resimli logo */
/* Logo Alanı - Sadece resimli logo */
.logo {

    display: flex;
    align-items: center;
  
}

.logo-img {
    height: 100px;
    width: 100px;
    max-height: 100px;
}



nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #cc3333; /* Hover'da kırmızı */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section - Koyu lacivert gradient */


.hero-img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.hero {
    background: linear-gradient(135deg, #1a2c3e 0%, #243b4a 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.hero h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #cc3333;
}

/* Features / Hizmet Kartları */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom-color: #cc3333;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a2c3e;
}

.feature-item h4 {
    color: #1a2c3e;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.85rem;
    color: #666;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #1a2c3e;
}

.section-title span {
    color: #cc3333;
}

.about-badge {
    text-align: center;
    background: #cc3333;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 30px;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom-color: #cc3333;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a2c3e;
}

.product-price {
    color: #cc3333;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    background: #cc3333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #aa2222;
}

.btn-outline {
    background: transparent;
    border: 2px solid #cc3333;
    color: #cc3333;
}

.btn-outline:hover {
    background: #cc3333;
    color: white;
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.btn-call, .btn-wp {
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.btn-call {
    background: #1a2c3e;
    color: white;
}

.btn-wp {
    background: #25d366;
    color: white;
}

.btn-call:hover, .btn-wp:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #1a2c3e;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* Hero Slider */
/* Hero Slider - Bootstrap 5 Carousel Stilleri */
/* Hero Slider - Sabit Boyut ve Kalite */
.hero-section {
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

#heroCarousel {
    width: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 500px; /* SABİT YÜKSEKLİK */
}

.carousel-item {
    width: 100%;
    height: 500px; /* SABİT YÜKSEKLİK */
}

.hero-carousel-img {
    width: 100%;
    height: 500px; /* SABİT YÜKSEKLİK */
    object-fit: cover; /* Resmi keserek sığdırır, bozulma olmaz */
    object-position: center center; /* Resmin ortasını gösterir */
    filter: brightness(0.6); /* Parlaklığı sabitle */
    image-rendering: auto; /* Kaliteyi koru */
}

.carousel-caption {
    bottom: 30%;
    text-align: center;
    left: 0;
    right: 0;
    background: transparent;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: white;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    color: white;
}

.hero-slider-btn {
    display: inline-block;
    background: #cc3333;
    color: white;
    padding: 12px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.hero-slider-btn:hover {
    background: #aa2222;
    color: white;
    transform: scale(1.05);
}

/* Navigasyon butonları */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
    width: 45px;
    height: 45px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #cc3333;
}

/* Alt noktalar */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: #cc3333;
    opacity: 1;
}

/* Responsive - Mobilde küçült */
@media (max-width: 992px) {
    .carousel-inner,
    .carousel-item,
    .hero-carousel-img {
        height: 450px;
    }
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-inner,
    .carousel-item,
    .hero-carousel-img {
        height: 350px;
    }
    .carousel-caption {
        bottom: 20%;
    }
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
        display: none; /* Mobilde yazıyı gizle */
    }
    .hero-slider-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .carousel-inner,
    .carousel-item,
    .hero-carousel-img {
        height: 280px;
    }
    .hero-slider-btn {
        padding: 6px 15px;
        font-size: 0.7rem;
    }
}


/* Resim yoksa gösterilecek stil */
.product-img[src=""], 
.product-img:not([src]) {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 260 200"><rect width="260" height="200" fill="%23f0f0f0"/><text x="130" y="100" font-family="Arial" font-size="14" fill="%23999" text-anchor="middle">📷 Resim Yok</text></svg>');
    background-size: cover;
    background-position: center;
}
.btn-incele {
    display: inline-block;
    background: #cc3333;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-incele:hover {
    background: #aa2222;
    transform: scale(1.02);
}
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
    margin: 0 auto !important;
    float: none !important;
}

.contact-page-wrapper {
    margin: 60px 0;
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
