/* Genel Ayarlar ve Koyu Tema */
:root {
    --primary-bg: #121212; /* Çok koyu arka plan */
    --secondary-bg: #1e1e1e; /* Biraz daha açık koyu arka plan */
    --text-color: #e0e0e0; /* Açık gri metin rengi */
    --accent-color-1: #00bcd4; /* Turkuaz mavisi vurgu rengi */
    --accent-color-2: #ff4081; /* Canlı pembe vurgu rengi */
    --border-color: #333; /* Koyu kenarlık rengi */
    --font-family-headings: 'Montserrat', sans-serif;
    --font-family-body: 'Poppins', sans-serif;
}

/* Tüm elemanlar için kutu modelini ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body stil ayarları */
body {
    font-family: var(--font-family-body);
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Yatay kaydırmayı engeller */
    scroll-behavior: smooth; /* Yumuşak kaydırma efekti */
}

/* Sayfa içeriğini ortalamak ve genişliğini sınırlamak için kapsayıcı */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bağlantı (link) stil ayarları */
a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-color-2);
    transform: translateY(-2px);
}

/* Başlık (heading) stil ayarları */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Header Bölümü */
.header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky; /* Sayfa kaydırıldığında üstte sabit kalır */
    top: 0;
    z-index: 1000; /* Diğer elemanların üzerinde görünmesini sağlar */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Küçük ekranlarda elemanların alta geçmesini sağlar */
}

/* Logo stil ayarları */
.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.logo span {
    color: var(--accent-color-1);
    font-weight: 600;
}

/* Ana Navigasyon Menüsü */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 600;
    font-size: 17px;
    padding: 5px 0;
    position: relative;
    color: var(--text-color);
}

/* Navigasyon menüsü hover efekti */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-2);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Başlıktaki sosyal medya ikonları */
.social-links-header a {
    font-size: 22px;
    margin-left: 15px;
    color: var(--text-color);
}

.social-links-header a:hover {
    color: var(--accent-color-1);
}

/* Buton Stil Ayarları */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px; /* Daha yuvarlak köşeler */
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.primary-btn {
    background-color: var(--accent-color-1);
    color: var(--primary-bg);
    border: 2px solid var(--accent-color-1);
}

.primary-btn:hover {
    background-color: var(--accent-color-2);
    border-color: var(--accent-color-2);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color-1);
    border: 2px solid var(--accent-color-1);
}

.secondary-btn:hover {
    background-color: var(--accent-color-1);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.tertiary-btn {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    border: 2px solid var(--secondary-bg);
}

.tertiary-btn:hover {
    background-color: var(--primary-bg);
    border-color: var(--accent-color-2);
    color: var(--accent-color-2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Kahraman Bölümü (Hero Section) - Ana Sayfa */
.hero-section {
    /* Arka plan resmi ve gradyan efekti */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero-bg.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 120px 20px;
    color: var(--text-color);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4.5em; /* Daha büyük başlık */
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    max-width: 900px;
}

.hero-section p {
    font-size: 1.6em;
    margin-bottom: 50px;
    max-width: 800px;
    opacity: 0.9;
    font-weight: 300;
}

/* Öne Çıkan Ürünler ve Hakkımızda Önizleme Bölümleri */
.featured-products, .about-us-preview, .social-promo {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-bg);
}

.featured-products h2, .about-us-preview h2, .social-promo h2 {
    font-size: 3em;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

/* Başlık altındaki çizgi efekti */
.featured-products h2::after, .about-us-preview h2::after, .social-promo h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent-color-1);
    border-radius: 2px;
}

/* Ana Sayfa Ürün Izgarası */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Her bir ürün öğesi (Ana Sayfa) */
.product-item {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.product-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.product-item p {
    padding: 20px;
    font-weight: 600;
    font-size: 1.2em;
    color: var(--accent-color-1);
    text-align: center;
}

/* Ürün öğesinin tamamını tıklanabilir yapmak için gizli link */
.product-item .item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hakkımızda Önizleme Bölümü */
.about-us-preview {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

.about-us-preview p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    line-height: 1.8;
    color: #c0c0c0;
}

/* Sosyal Medya Tanıtım Bölümü Stilleri */
.social-promo {
    background-color: var(--secondary-bg);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.social-promo h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--accent-color-1);
}

.social-promo p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.7;
    color: #ccc;
}

.social-promo-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-promo-links a {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-promo-links a i {
    margin-right: 10px;
    font-size: 1.5em;
}

.social-promo-links a:nth-child(1) { /* Instagram için */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: 2px solid transparent;
}

.social-promo-links a:nth-child(1):hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}

.social-promo-links a:nth-child(2) { /* Facebook için */
    background-color: #3b5998;
    color: white;
    border: 2px solid #3b5998;
}

.social-promo-links a:nth-child(2):hover {
    background-color: #2e4a86;
    border-color: #2e4a86;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}


/* Footer Bölümü */
.footer {
    background-color: var(--primary-bg);
    color: var(--text-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    margin: 20px;
}

.footer-section h3 {
    font-size: 1.6em;
    margin-bottom: 25px;
    color: var(--accent-color-1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color-2);
}

.footer-section.contact p {
    margin-bottom: 12px;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--accent-color-2);
}

.footer-section.social a {
    font-size: 30px;
    margin-right: 20px;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-section.social a:hover {
    color: var(--accent-color-1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
}

.footer-bottom a:hover {
    color: var(--accent-color-1);
}

/* WhatsApp Sabit Butonu */
.whatsapp-sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Ürünler Sayfası için Özel Stiller */
.products-page-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/products-hero-bg.jpg') no-repeat center center/cover; /* Ürünler sayfası için farklı bir hero resmi */
    text-align: center;
    padding: 100px 20px;
    color: var(--text-color);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.products-page-hero h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.products-page-hero p {
    font-size: 1.3em;
    max-width: 700px;
    opacity: 0.9;
}

.products-listing {
    padding: 60px 0;
    background-color: var(--primary-bg);
}

.filter-sort-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Ürünler sayfasındaki dinamik ürün ızgarası */
.product-grid-full {
    display: grid; /* BURASI ÇOK ÖNEMLİ! */
    grid-template-columns: repeat(5, 1fr); /* Bir satırda 5 ürün */
    gap: 30px;
}

/* Yükleniyor mesajı stili */
.loading-message {
    text-align: center;
    font-size: 1.5em;
    color: #aaa;
    grid-column: 1 / -1; /* Tüm sütunları kapla */
}

/* Modal (Görsel Büyütme) Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Karartılmış arka plan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* En üstte görünmesini sağlar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh; /* Ekran yüksekliğinin %80'ini kaplar */
    object-fit: contain; /* Resmi içeriğe sığdırır */
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5em;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2001;
}

.modal-close-btn:hover {
    color: var(--accent-color-2);
    transform: rotate(90deg);
}

/* Duyarlı Tasarım (Responsive Design) */
/* Tablet ve küçük masaüstü ekranlar için */
@media (max-width: 1200px) {
    .product-grid-full {
        grid-template-columns: repeat(4, 1fr); /* 1200px altında 4 ürün */
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .main-nav {
        margin-top: 20px;
    }
    .main-nav ul {
        flex-direction: column;
        margin-top: 10px;
    }
    .main-nav ul li {
        margin: 10px 0;
    }
    .social-links-header {
        margin-top: 20px;
    }
    .hero-section h1 {
        font-size: 3.5em;
    }
    .hero-section p {
        font-size: 1.3em;
    }
    .products-page-hero h1 {
        font-size: 3em;
    }
    .products-page-hero p {
        font-size: 1.1em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 2.8em; /* Responsive başlık boyutu */
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        margin: 20px 0;
        text-align: center;
    }
    .product-grid-full {
        grid-template-columns: repeat(3, 1fr); /* 992px altında 3 ürün */
    }
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 15px;
        min-height: 450px;
    }
    .hero-section h1 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .products-page-hero h1 {
        font-size: 2.5em;
    }
    .products-page-hero p {
        font-size: 1em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-item img {
        height: 220px;
    }
    .whatsapp-sticky-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    .social-promo-links {
        flex-direction: column;
        gap: 20px;
    }
    .social-promo-links a {
        width: 80%;
        margin: 0 auto;
    }
    .product-grid-full {
        grid-template-columns: repeat(2, 1fr); /* 768px altında 2 ürün */
    }
}

/* Çok küçük mobil cihazlar için */
@media (max-width: 480px) {
    .logo a {
        font-size: 24px;
    }
    .header {
        padding: 15px 0;
    }
    .main-nav ul li a {
        font-size: 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .products-page-hero h1 {
        font-size: 2em;
    }
    .products-page-hero p {
        font-size: 0.9em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 1.8em;
    }
    .footer-section h3 {
        font-size: 1.4em;
    }
    .footer-section.social a {
        font-size: 25px;
        margin-right: 15px;
    }
    .product-grid-full {
        grid-template-columns: 1fr; /* 480px altında 1 ürün */
    }
}
/* İletişim Sayfası için Özel Stiller */
.contact-page-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/contact-hero-bg.jpg') no-repeat center center/cover; /* İletişim sayfası için farklı bir hero resmi kullanabilirsiniz */
    text-align: center;
    padding: 100px 20px;
    color: var(--text-color);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-page-hero h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.contact-page-hero p {
    font-size: 1.3em;
    max-width: 700px;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* Küçük ekranlarda alt alta geçmesini sağlar */
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px; /* Minimum genişlik */
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.contact-info h2, .contact-form h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--accent-color-1);
    text-align: center;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #c0c0c0;
    display: flex;
    align-items: center;
}

.contact-info p i {
    color: var(--accent-color-2);
    margin-right: 15px;
    font-size: 1.3em;
    width: 25px; /* İkonların hizalanması için sabit genişlik */
    text-align: center;
}

.social-links-contact {
    margin-top: 30px;
    text-align: center;
}

.social-links-contact a {
    font-size: 35px;
    margin: 0 15px;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links-contact a:hover {
    color: var(--accent-color-1);
    transform: translateY(-5px);
}

/* İletişim Formu Stilleri */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-family-body);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color-1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
}

.contact-form button.primary-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
}

/* Harita Kapsayıcısı */
.map-container {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    text-align: center;
}

.map-container h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--accent-color-1);
}

.map-container iframe {
    border-radius: 8px;
    width: 100%; /* Çerçevenin tam genişliğini kullanır */
}

/* Responsive Düzenlemeler (İletişim Sayfası) */
@media (max-width: 992px) {
    .contact-page-hero h1 {
        font-size: 3em;
    }
    .contact-page-hero p {
        font-size: 1.1em;
    }
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    .contact-info, .contact-form {
        padding: 30px;
    }
    .contact-info h2, .contact-form h2, .map-container h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .contact-info p {
        font-size: 1em;
    }
    .social-links-contact a {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .contact-page-hero {
        padding: 80px 15px;
    }
    .contact-page-hero h1 {
        font-size: 2.5em;
    }
    .contact-page-hero p {
        font-size: 1em;
    }
    .contact-section {
        padding: 50px 0;
    }
    .contact-info, .contact-form {
        padding: 25px;
    }
    .contact-info h2, .contact-form h2, .map-container h2 {
        font-size: 1.8em;
    }
    .contact-info p {
        font-size: 0.95em;
    }
    .social-links-contact a {
        font-size: 28px;
        margin: 0 10px;
    }
    .map-container {
        padding: 25px;
    }
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-page-hero h1 {
        font-size: 2em;
    }
    .contact-section .container {
        padding: 0 15px;
    }
    .contact-info h2, .contact-form h2, .map-container h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .form-group label {
        font-size: 1em;
    }
    .form-group input, .form-group textarea {
        padding: 12px;
        font-size: 0.9em;
    }
    .contact-form button.primary-btn {
        font-size: 1.1em;
        padding: 12px;
    }
    .map-container iframe {
        height: 250px;
    }
}
/* style.css dosyasına ekleyin */

/* Ürün kutusu içindeki medya (görsel veya video) için ortak stil */
.product-item .product-media {
    width: 100%;
    height: 280px; /* Görsellerle aynı yüksekliği koruyalım */
    object-fit: cover; /* İçeriği kutuya sığdırır, orantısını korur */
    display: block;
    border-bottom: 1px solid var(--border-color);
}

/* Modal içindeki medya için ortak stil */
.modal-media-container {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 80vh; /* Ekran yüksekliğinin %80'ini kaplar */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Medya ile kapatma butonu arasına boşluk */
}

.modal-image,
.modal-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* İçeriği kutuya sığdırır, orantısını korur */
    border-radius: 8px;
}
/* style.css dosyasına ekleyin */

/* Ürün kartı içindeki görsel karuseli kapsayıcısı */
.product-images-carousel {
    width: 100%;
    height: 280px; /* Ürün görselleriyle aynı yüksekliği koruyalım */
    overflow: hidden; /* Taşmayı gizle */
    position: relative; /* İçindeki resimler için mutlak konumlandırma */
    border-bottom: 1px solid var(--border-color); /* Ürün öğesi stiliyle uyumlu olsun */
}

/* Karusel içindeki tekil görseller */
.product-images-carousel .product-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdırırken orantıyı koru */
    position: absolute; /* Görselleri birbiri üzerine yığınla */
    top: 0;
    left: 0;
    opacity: 0; /* Varsayılan olarak gizle */
    transition: opacity 0.5s ease-in-out; /* Yumuşak geçiş efekti */
}

/* Karuseldeki aktif (görünür) görsel */
.product-images-carousel .product-carousel-image.active {
    opacity: 1; /* Aktif görseli göster */
}

/* Video elementleri için stil (ürün kartı içinde) */
.product-item .product-media.product-media-video {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
/* Genel Ayarlar ve Koyu Tema */
:root {
    --primary-bg: #121212; /* Çok koyu arka plan */
    --secondary-bg: #1e1e1e; /* Biraz daha açık koyu arka plan */
    --text-color: #e0e0e0; /* Açık gri metin rengi */
    --accent-color-1: #00bcd4; /* Turkuaz mavisi vurgu rengi */
    --accent-color-2: #ff4081; /* Canlı pembe vurgu rengi */
    --border-color: #333; /* Koyu kenarlık rengi */
    --font-family-headings: 'Montserrat', sans-serif;
    --font-family-body: 'Poppins', sans-serif;
}

/* Tüm elemanlar için kutu modelini ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body stil ayarları */
body {
    font-family: var(--font-family-body);
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Yatay kaydırmayı engeller */
    scroll-behavior: smooth; /* Yumuşak kaydırma efekti */
}

/* Sayfa içeriğini ortalamak ve genişliğini sınırlamak için kapsayıcı */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bağlantı (link) stil ayarları */
a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-color-2);
    transform: translateY(-2px);
}

/* Başlık (heading) stil ayarları */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Header Bölümü */
.header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky; /* Sayfa kaydırıldığında üstte sabit kalır */
    top: 0;
    z-index: 1000; /* Diğer elemanların üzerinde görünmesini sağlar */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Küçük ekranlarda elemanların alta geçmesini sağlar */
}

/* Logo stil ayarları */
.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.logo span {
    color: var(--accent-color-1);
    font-weight: 600;
}

/* Ana Navigasyon Menüsü */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 600;
    font-size: 17px;
    padding: 5px 0;
    position: relative;
    color: var(--text-color);
}

/* Navigasyon menüsü hover efekti */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-2);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Başlıktaki sosyal medya ikonları */
.social-links-header a {
    font-size: 22px;
    margin-left: 15px;
    color: var(--text-color);
}

.social-links-header a:hover {
    color: var(--accent-color-1);
}

/* Buton Stil Ayarları */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px; /* Daha yuvarlak köşeler */
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.primary-btn {
    background-color: var(--accent-color-1);
    color: var(--primary-bg);
    border: 2px solid var(--accent-color-1);
}

.primary-btn:hover {
    background-color: var(--accent-color-2);
    border-color: var(--accent-color-2);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color-1);
    border: 2px solid var(--accent-color-1);
}

.secondary-btn:hover {
    background-color: var(--accent-color-1);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.tertiary-btn {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    border: 2px solid var(--secondary-bg);
}

.tertiary-btn:hover {
    background-color: var(--primary-bg);
    border-color: var(--accent-color-2);
    color: var(--accent-color-2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Kahraman Bölümü (Hero Section) - Ana Sayfa */
.hero-section {
    /* Arka plan resmi ve gradyan efekti */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero-bg.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 120px 20px;
    color: var(--text-color);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4.5em; /* Daha büyük başlık */
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    max-width: 900px;
}

.hero-section p {
    font-size: 1.6em;
    margin-bottom: 50px;
    max-width: 800px;
    opacity: 0.9;
    font-weight: 300;
}

/* Öne Çıkan Ürünler ve Hakkımızda Önizleme Bölümleri */
.featured-products, .about-us-preview, .social-promo {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-bg);
}

.featured-products h2, .about-us-preview h2, .social-promo h2 {
    font-size: 3em;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

/* Başlık altındaki çizgi efekti */
.featured-products h2::after, .about-us-preview h2::after, .social-promo h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent-color-1);
    border-radius: 2px;
}

/* Ana Sayfa Ürün Izgarası */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Her bir ürün öğesi (Ana Sayfa) */
.product-item {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.product-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.product-item p {
    padding: 20px;
    font-weight: 600;
    font-size: 1.2em;
    color: var(--accent-color-1);
    text-align: center;
}

/* Ürün öğesinin tamamını tıklanabilir yapmak için gizli link */
.product-item .item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hakkımızda Önizleme Bölümü */
.about-us-preview {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

.about-us-preview p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    line-height: 1.8;
    color: #c0c0c0;
}

/* Sosyal Medya Tanıtım Bölümü Stilleri */
.social-promo {
    background-color: var(--secondary-bg);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.social-promo h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--accent-color-1);
}

.social-promo p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.7;
    color: #ccc;
}

.social-promo-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-promo-links a {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-promo-links a i {
    margin-right: 10px;
    font-size: 1.5em;
}

.social-promo-links a:nth-child(1) { /* Instagram için */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: 2px solid transparent;
}

.social-promo-links a:nth-child(1):hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}

.social-promo-links a:nth-child(2) { /* Facebook için */
    background-color: #3b5998;
    color: white;
    border: 2px solid #3b5998;
}

.social-promo-links a:nth-child(2):hover {
    background-color: #2e4a86;
    border-color: #2e4a86;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}


/* Footer Bölümü */
.footer {
    background-color: var(--primary-bg);
    color: var(--text-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    margin: 20px;
}

.footer-section h3 {
    font-size: 1.6em;
    margin-bottom: 25px;
    color: var(--accent-color-1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color-2);
}

.footer-section.contact p {
    margin-bottom: 12px;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--accent-color-2);
}

.footer-section.social a {
    font-size: 30px;
    margin-right: 20px;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-section.social a:hover {
    color: var(--accent-color-1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
}

.footer-bottom a:hover {
    color: var(--accent-color-1);
}

/* WhatsApp Sabit Butonu */
.whatsapp-sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Ürünler Sayfası için Özel Stiller */
.products-page-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/products-hero-bg.jpg') no-repeat center center/cover; /* Ürünler sayfası için farklı bir hero resmi */
    text-align: center;
    padding: 100px 20px;
    color: var(--text-color);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.products-page-hero h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.products-page-hero p {
    font-size: 1.3em;
    max-width: 700px;
    opacity: 0.9;
}

.products-listing {
    padding: 60px 0;
    background-color: var(--primary-bg);
}

.filter-sort-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Ürünler sayfasındaki dinamik ürün ızgarası */
.product-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Bir satırda 5 ürün */
    gap: 30px;
}

/* Yükleniyor mesajı stili */
.loading-message {
    text-align: center;
    font-size: 1.5em;
    color: #aaa;
    grid-column: 1 / -1; /* Tüm sütunları kapla */
}

/* Modal (Görsel Büyütme) Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Karartılmış arka plan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* En üstte görünmesini sağlar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh; /* Ekran yüksekliğinin %80'ini kaplar */
    object-fit: contain; /* Resmi içeriğe sığdırır */
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5em;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2001;
}

.modal-close-btn:hover {
    color: var(--accent-color-2);
    transform: rotate(90deg);
}

/* Duyarlı Tasarım (Responsive Design) */
/* Tablet ve küçük masaüstü ekranlar için */
@media (max-width: 1200px) {
    .product-grid-full {
        grid-template-columns: repeat(4, 1fr); /* 1200px altında 4 ürün */
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .main-nav {
        margin-top: 20px;
    }
    .main-nav ul {
        flex-direction: column;
        margin-top: 10px;
    }
    .main-nav ul li {
        margin: 10px 0;
    }
    .social-links-header {
        margin-top: 20px;
    }
    .hero-section h1 {
        font-size: 3.5em;
    }
    .hero-section p {
        font-size: 1.3em;
    }
    .products-page-hero h1 {
        font-size: 3em;
    }
    .products-page-hero p {
        font-size: 1.1em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 2.8em; /* Responsive başlık boyutu */
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        margin: 20px 0;
        text-align: center;
    }
    .product-grid-full {
        grid-template-columns: repeat(3, 1fr); /* 992px altında 3 ürün */
    }
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 15px;
        min-height: 450px;
    }
    .hero-section h1 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .products-page-hero h1 {
        font-size: 2.5em;
    }
    .products-page-hero p {
        font-size: 1em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-item img {
        height: 220px;
    }
    .whatsapp-sticky-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    .social-promo-links {
        flex-direction: column;
        gap: 20px;
    }
    .social-promo-links a {
        width: 80%;
        margin: 0 auto;
    }
    .product-grid-full {
        grid-template-columns: repeat(2, 1fr); /* 768px altında 2 ürün */
    }
}

/* Çok küçük mobil cihazlar için */
@media (max-width: 480px) {
    .logo a {
        font-size: 24px;
    }
    .header {
        padding: 15px 0;
    }
    .main-nav ul li a {
        font-size: 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 0.9em;
    }
    .products-page-hero h1 {
        font-size: 2em;
    }
    .products-page-hero p {
        font-size: 0.9em;
    }
    .featured-products h2, .about-us-preview h2, .social-promo h2 {
        font-size: 1.8em;
    }
    .footer-section h3 {
        font-size: 1.4em;
    }
    .footer-section.social a {
        font-size: 25px;
        margin-right: 15px;
    }
    .product-grid-full {
        grid-template-columns: 1fr; /* 480px altında 1 ürün */
    }
}
/* İletişim Formu Mesaj Stilleri */
.form-status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
}

.form-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Form grupları ve inputlar için daha iyi stil */
.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left; /* Label ve inputların sola hizalanması */
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--primary-bg); /* Koyu arkaplan */
    color: var(--text-color); /* Açık metin */
    font-family: var(--font-family-body);
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 3px rgba(0,188,212,0.2); /* Vurgu renginde odak efekti */
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Sadece dikeyde boyutlandırmaya izin ver */
    min-height: 120px;
}
