/* GENEL AYARLAR & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul { list-style: none; }

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER & NAV */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    color: #000; /* tam siyah */
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 2px 6px;
    transition: transform 0.18s ease, text-shadow 0.18s ease;
    text-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.logo-xl {
    font-size: 1.6rem;
    font-weight: 900;
    color: #c62828; /* güçlü kırmızı */
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(198,40,40,0.06);
    box-shadow: 0 6px 18px rgba(198,40,40,0.12);
    transform: translateY(-2px);
}

.logo:hover .logo-main { transform: translateY(-3px) scale(1.03); }
.logo:hover .logo-xl { transform: translateY(-5px) scale(1.05); }

@media (min-width: 900px) {
    .logo-main { font-size: 2.6rem; }
    .logo-xl { font-size: 1.9rem; }
}

@media (max-width: 480px) {
    .logo-main { font-size: 1.2rem; }
    .logo-xl { font-size: 0.95rem; }
}

nav a {
    margin-left: 20px;
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
}

nav a:hover {
    color: #800020;
}

/* HERO SECTION (Arka Plan Resimli) */
.hero {
    position: relative;
    height: 100vh; /* Tam ekran yüksekliği */
    width: 100%;
    /* Buraya Kadın Resmi Yolunu Koyun */
    background-image: url('images/magazayeni1.jpeg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px; /* Header payı */
}
/* HERO SECTION (Arka Plan Resimli) - tek ve responsive tanım */
.hero {
    position: relative;
    /* Yükseklik: viewport yüksekliğinin tamamı eksi sabit header yüksekliği */
    height: calc(100vh - 70px);
    width: 100%;
    /* Ana sayfa görseli */
    background-image: url('images/magazayeni1.jpeg');
    /* Kenarlarda boşluk bırakmadan görüntüyü kapla */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /* Mobilde sabit arka plan sorun çıkarabildiği için varsayılan olarak scroll yapıyoruz; büyük ekranlarda fixed parallax etkisi eklenebilir */
    background-attachment: scroll;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px; /* header sabit olduğu için üst boşluk */
    -webkit-background-size: cover;
}

/* Hafif koyulaştırma overlay (öndeki yazıyı okunaklı kılar) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0,0,0,0.28); /* koyu şeffaf katman */
}

/* Responsive ayarlar: büyük ekranlarda arka plan sabitlenebilir (parallax benzeri) */
@media (min-width: 1200px) {
    .hero { background-attachment: fixed; }
}

/* Tablet ve daha küçük ekranlar için boyutlandırma ve yazı küçültme */
@media (max-width: 1024px) {
    .hero {
        height: 70vh; /* ufak ekranlarda daha kısa kahraman alanı */
        margin-top: 70px;
        background-position: center center;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        margin-top: 70px;
        background-position: center top;
    }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 16px; }
    .btn-hero { padding: 10px 20px; font-size: 0.9rem; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
}

/* Dikey hizalama: tüm hero metinleri ve buton alt alta gelsin */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-content h1 {
    /* Çok daha büyük, vurgu başlık */
    font-size: clamp(2.4rem, 9vw, 8rem); /* masaüstünde çok büyük, mobilde makul */
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 8px;
    line-height: 0.95;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content h2 {
    /* Alt başlık (Toptan Satış) */
    font-size: clamp(1.4rem, 4.5vw, 4rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.45);
}

/* Havalı tipografi: başlıklar için Playfair Display, metin için Poppins */
.hero-content h1,
.hero-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    /* gradient text için arka plan gradyanı ve clip */
    background: linear-gradient(90deg, #ffffff 0%, #ffd4d4 30%, #ffe6f0 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* ince dış kenar için hafif gölge/stroke görünümü */
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.hero-content p {
    font-family: 'Poppins', Arial, sans-serif;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 4px 12px rgba(0,0,0,0.36);
}

/* XL kırmızı vurgusu */
.hero-content .xl {
    color: #c62828; /* kırmızı ton */
    background: rgba(198,40,40,0.06);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(198,40,40,0.12);
    font-weight: 900;
}

/* Sezon etiketi */
.season-label {
    margin-top: 6px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.8rem); /* daha büyük */
    color: #fff;
    letter-spacing: 2.5px;
    font-weight: 900; /* daha kalın */
    margin-bottom: 18px;
    display: inline-block;
    background: rgba(0,0,0,0.28);
    padding: 8px 14px;
    border-radius: 999px; /* pill */
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.hero-content p {
    /* Alt başlık / slogan */
    font-size: clamp(1rem, 3vw, 2.4rem); /* esnek büyüklük */
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.98;
}

.btn-hero {
    display: inline-block;
    padding: 18px 60px;
    background-color: #800020; /* Bordo */
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
    text-transform: uppercase;
    border: 1px solid #800020;
    font-size: clamp(1rem, 2.2vw, 2rem);
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

/* SECTION GENEL */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

/* ABOUT SECTION (Hakkımızda) */
.about-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Dikey ortalama */
    gap: 40px;
}

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

.about-text p {
    margin-bottom: 15px;
    text-indent: 30px; /* Paragraf başı boşluğu */
    text-align: justify;
    color: #444;
}

.brand-slogan {
    font-style: italic;
    font-size: 1.2rem;
    color: #800020;
    border-left: 4px solid #800020;
    padding-left: 15px;
    margin: 20px 0;
}

.mission-vision h5 {
    color: #800020;
    margin-bottom: 5px;
    font-size: 1rem;
    text-transform: uppercase;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 450px; /* Resmi sınırla */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

/* PRODUCTS SECTION (Ürünler) */
.light-bg {
    background-color: #fff;
}

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

/* Desktop: force five columns for collections so 5 cards sit side-by-side */
@media (min-width: 1200px) {
    .cards {
        grid-template-columns: repeat(5, 1fr);
    }
    .card-img-holder {
        height: 320px; /* slightly shorter for five-up layout */
    }
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

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

.card-img-holder {
    height: 350px; /* Sabit yükseklik */
    overflow: hidden;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img-holder img {
    transform: scale(1.1);
}

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

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

.card-info span {
    font-size: 0.9rem;
    color: #800020;
    font-weight: 600;
}

/* CONTACT SECTION (İletişim) */
.dark-bg {
    background-color: #222;
    color: #ddd;
}

.white-text {
    color: #fff;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    color: #d4af37; /* Altın Rengi */
    width: 25px;
    margin-right: 10px;
}

.instagram-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

.instagram-btn:hover {
    opacity: 0.9;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

/* FOOTER */
footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 8px;
}
.whatsapp-btn:hover {
    background-color: #128c7e;
}

/* MODAL (POP-UP) GALERİ TASARIMI */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* Koyu arka plan */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 20px;
    color: #800020;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: 0.3s;
    border: 1px solid #ddd;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    nav {
        margin-top: 10px;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.85rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-layout {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}
/* --- DİL SEÇİCİ TASARIMI --- */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-switcher button {
    background: transparent;
    border: 1px solid #800020;
    color: #800020;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 3px;
    transition: 0.3s;
}

.lang-switcher button:hover {
    background: #800020;
    color: #fff;
}

/* RTL (Arapça) için Navigasyon ve WhatsApp butonu düzeltmesi */
[style*="direction: rtl"] .whatsapp-btn {
    left: auto;
    right: 20px;
}

[style*="direction: rtl"] nav a {
    margin-left: 0;
    margin-right: 20px;
}

[style*="direction: rtl"] .brand-slogan {
    border-left: none;
    border-right: 4px solid #800020;
    padding-left: 0;
    padding-right: 15px;
}

/* Mobil için Dil Seçici Ayarı */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
    }
}