/*
Theme Name: MyTheme
Author: Custom Developer
Description: Studio3D - Merged Elite Design (Fixed Cards & Pro Nav)
Version: 18.5
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap");

:root {
  --black: #050505;
  --white: #ffffff;
  --gray-bg: #f8f8fa;
  --border: #ececec;
  --text-main: #1a1a1a;
  --text-muted: #8e8e93;
  --gold: #d4af37;
  --primary: #f27a1a;
  --red: #f22222;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ANA TEMELLER (ESKİ HALİ) --- */
html, body {
  margin: 0; padding: 0; width: 100%; max-width: 100%;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", sans-serif; background: #fff; color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- 1. NAVBAR (YENİ VE DÜZELTİLMİŞ HALİ) --- */
.site-header { 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--border); 
    position: sticky; top: 0; z-index: 10000; 
    height: 80px; display: flex; align-items: center; 
}
.nav-container { 
    width: 94%; max-width: 1500px; margin: 0 auto; 
    display: flex; justify-content: space-between; align-items: center; 
}
.nav-logo a { font-family: "Playfair Display", serif; font-weight: 700; font-size: 24px; color: var(--black); text-transform: uppercase; letter-spacing: 2px; }

.nav-menu ul { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-menu ul li { position: relative; }
.nav-menu > ul > li > a { font-size: 13px; font-weight: 600; text-transform: uppercase; padding: 30px 0; display: block; color: var(--black) !important; letter-spacing: 1px; }

.nav-menu ul li ul.sub-menu {
  position: absolute; background: #fff; min-width: 250px; border: 1px solid var(--border);
  padding: 15px 0; border-radius: 0 0 8px 8px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: none; top: 100%; left: 0; z-index: 100;
}
.nav-menu ul li:hover > ul.sub-menu { display: block; opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul li ul.sub-menu li ul.sub-menu { top: -16px; left: 100%; border-radius: 8px; }
.nav-menu ul li ul.sub-menu li a { padding: 10px 25px; font-size: 12px; font-weight: 500; color: #555 !important; display: block; letter-spacing: 0.5px; }

.nav-actions { display: flex; gap: 25px; align-items: center; }
.nav-cart-btn { border: 1px solid var(--black); padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: 11px; text-transform: uppercase; background: #fff; }

/* --- 2. HERO (DOKUNULMAZ V12) --- */
.hero-section { background: #fbfbfb; height: 480px; overflow: hidden; position: relative; border-bottom: 1px solid var(--border); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; z-index: 5; }
.hero-container { width: 94%; max-width: 1440px; margin: 0 auto; height: 100%; display: flex; align-items: center; }
.hero-text { width: 45%; z-index: 10; position: relative; }
.hero-text h2 { font-size: 52px; font-weight: 800; line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.hero-image-side { position: absolute; right: 0; top: 0; width: 52%; height: 100%; background-size: cover; background-position: center; }

/* --- 3. ÜRÜN KARTLARI (ESKİ SAĞLAM HALİNE GERİ DÖNÜLDÜ) --- */
.vitrin-area { padding: 60px 0 100px; background: #fff; }
.premium-market-grid, .pro-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px; width: 94%; max-width: 1500px; margin: 0 auto;
}

.premium-market-card, .pro-card {
  background: #ffffff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition);
  position: relative; /* Badge için şart */
}
.premium-market-card:hover, .pro-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* Resim Alanı - Kayma Yapmaz */
.mc-img-wrap, .pro-img-box { 
    width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; 
    background: #fff; padding: 25px; position: relative; 
}
.mc-img-wrap img, .pro-img-box img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* İNDİRİM YAZISI - SOL ÜST (SABİTLENDİ) */
.mc-badge, .p-badge {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important; /* Sağa kayma burada düzeltildi */
  background: var(--black) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  z-index: 20 !important;
}

/* Kart Gövdesi - Tam Ortalama */
.mc-body, .pro-content { 
    padding: 0 25px 25px 25px; display: flex; flex-direction: column; 
    flex-grow: 1; background: #ffffff; text-align: center; /* Merkeze aldık */
}
.mc-category, .p-brand { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; margin-top: 15px; }
.mc-title a, .p-title a { font-size: 15px; font-weight: 600; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; line-height: 1.4; }

.mc-price, .p-price-row { margin-top: auto; padding-top: 15px; font-size: 18px; font-weight: 800; color: var(--black); text-align: center; }

/* SEPETE EKLE BUTONU (ORTALANDI VE SABİTLENDİ) */
.mc-add-btn, .p-add-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important; /* Sağa kayma burada düzeltildi */
  background: var(--gray-bg) !important;
  color: var(--text-main) !important;
  padding: 12px 0 !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-top: 20px !important;
  transition: 0.3s !important;
}
.premium-market-card:hover .mc-add-btn, .pro-card:hover .p-add-btn {
  background: var(--black) !important;
  color: var(--white) !important;
}

/* --- 4. FOOTER (YENİ VE DÜZELTİLMİŞ HALİ) --- */
.site-footer { background: #050505; color: #fff; padding: 80px 0 40px; clear: both; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; width: 94%; max-width: 1440px; margin: 0 auto; }
.footer-bottom { border-top: 1px solid #1a1a1a; margin-top: 60px; padding-top: 30px; width: 94%; max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; color: #555; }

/* --- RESPONSIVE YAMLARI --- */
@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 40px; }
  .hero-text { width: 100%; text-align: center; padding: 20px; }
  .hero-image-side { position: relative; width: 100%; height: 250px; right: auto; top: auto; }
  .premium-market-grid, .pro-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; width: 96%; }
}

/* Mobile Side Menu */
.mobile-drawer { position: fixed; top: 0; right: -100%; width: 85%; height: 100%; background: #fff; z-index: 10001; transition: 0.4s ease; padding: 80px 40px; }
.mobile-drawer.active { right: 0; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 10000; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-list { list-style: none; }
.mobile-nav-list li { border-bottom: 1px solid #f0f0f0; padding: 15px 0; }
.mobile-nav-list li a { font-size: 16px; font-weight: 700; text-transform: uppercase; color: #000; }