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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #1565c0;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d47a1;
}

.btn {
    display: inline-block;
    background-color: #1565c0;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: #0d47a1;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #0d6efd;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0d6efd;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #1565c0;
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1565c0;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Ana Banner */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/image-1.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    margin-top: 76px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Hakkımızda */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: #f4f8fd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 2.5rem;
    color: #1565c0;
    margin-bottom: 15px;
}

.stat h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.stat p {
    color: #666;
}

/* Ürünlerimiz */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1565c0;
}

.product-info p {
    margin-bottom: 20px;
    color: #555;
}

.product-info ul {
    list-style: none;
}

.product-info ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.product-info ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #1565c0;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Neden Biz */
.why-us {
    padding: 80px 0;
    background-color: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: #f4f8fd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: #1565c0;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
}

/* İletişim */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 2rem;
    color: #1565c0;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.info-item p {
    color: #666;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565c0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Alt Bilgi */
footer {
    background-color: #102a43;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #1565c0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #1565c0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #1565c0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        height: 80vh;
        margin-top: 60px;
        background-position: left center;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* Özel Stiller - Bootstrap üzerine eklenmiş */

/* Metin Gölgelendirme */
.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Ürün Kartları */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Ürün Görselleri */
.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Özellik Kartları */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Animasyonlar için geçiş efektleri */
.card, .card img {
    transition: all 0.3s ease;
}

/* Mobil Menü İyileştirmeleri */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        padding: 2rem 1rem;
        background-color: #fff;
        z-index: 1050;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    /* Tüm X simgelerini ve kapatma butonlarını gizle */
    .navbar-collapse .btn-close,
    .navbar-collapse::after,
    .navbar-collapse > button,
    .navbar-collapse .close,
    .navbar-collapse .btn,
    .btn-close {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .navbar-nav {
        margin-top: 20px;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
        width: 100%;
        text-align: left;
    }
    
    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .navbar-nav .nav-item:nth-child(1) {
        transition-delay: 0.05s;
    }
    
    .navbar-nav .nav-item:nth-child(2) {
        transition-delay: 0.1s;
    }
    
    .navbar-nav .nav-item:nth-child(3) {
        transition-delay: 0.15s;
    }
    
    .navbar-nav .nav-item:nth-child(4) {
        transition-delay: 0.2s;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: left;
        width: 100%;
        display: block;
    }
    
    /* Hamburger menü pozisyonu */
    .navbar-toggler {
        z-index: 1060;
        border: none !important;
        padding: 0;
        width: 40px;
        height: 40px;
        position: relative;
        transition: all 0.3s;
        outline: none !important;
        box-shadow: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        order: 1; /* Sağa hizalamak için */
    }
    
    .navbar-brand {
        order: 0; /* Sola hizalamak için */
        margin-right: 0;
    }
    
    /* Container yapısının düzenlenmesi */
    .container-fluid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    /* Menü açıkken body'nin kaydırılmasını engelle */
    body.menu-open {
        overflow: hidden;
    }
}

/* Responsive düzeltmeler */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        margin-top: 60px;
        background-position: left center;
    }
    
    .product-card img {
        height: 200px;
    }
    
    /* Navbar-brand pozisyonu düzeltmesi */
    .navbar-brand {
        flex: 1;
    }
}

/* Navbar Toggle Butonu */
.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:hover {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    content: '\00d7'; /* X işareti */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #0d6efd;
}

/* No-JS support */
.no-js .navbar-collapse {
    position: static;
    display: block;
    width: 100%;
    left: 0;
    height: auto;
}

/* prevent default bs styles */
.navbar-collapse:not(.show) {
    display: none;
} 