@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,800&display=swap');

:root {
    --bg-main: #f4f7f6;
    --bg-white: #ffffff;
    --primary-blue: #0b1a30; /* Ultra Derin Lacivert */
    --accent-gold: #d4af37; /* Premium Altın Sarısı */
    --whatsapp-green: #25d366; 
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(226, 232, 240, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* =========================================
   PREMIUM HEADER (GLASSMORPHISM)
   ========================================= */
header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 5%; position: fixed; top: 0; width: 100%; z-index: 1000;
    background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}
.logo h1 { font-size: 28px; font-weight: 800; color: var(--primary-blue); font-style: italic; letter-spacing: -0.5px; }
.logo h1 span { color: var(--accent-gold); }
nav a { color: var(--primary-blue); text-decoration: none; margin-left: 35px; font-weight: 600; font-size: 15px; transition: 0.3s; position: relative; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-gold); transition: width 0.3s ease; }
nav a:hover::after, nav a.active::after { width: 100%; }
@media (max-width: 768px) { nav { display: flex; flex-direction: column; gap:15px; margin-top:20px; text-align:center;} header{flex-direction: column; padding: 20px;} nav a{margin:0;} }

/* =========================================
   HERO & SAĞ ALT KATALOG BUTONU
   ========================================= */
.hero { 
    height: 80vh; position: relative; display: flex; align-items: center; justify-content: center; 
    text-align: center; background-image: url('sitefotoarka.jpeg'); background-size: cover; 
    background-position: center; background-attachment: fixed; color: white; margin-top: 0;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(11, 26, 48, 0.9) 0%, rgba(11, 26, 48, 0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 20px; transform: translateY(20px); animation: fadeUp 1s ease forwards; opacity: 0; }
.hero-content h2 { font-size: 4rem; margin-bottom: 20px; font-weight: 800; line-height: 1.1; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-content p { color: #f1f5f9; font-size: 1.3rem; font-weight: 300; opacity: 0.9; }

@keyframes fadeUp { to { transform: translateY(0); opacity: 1; } }

.hero-catalog-btn {
    position: absolute; bottom: 40px; right: 5%; z-index: 10;
    background: linear-gradient(45deg, var(--accent-gold), #ffd700);
    color: #000; padding: 18px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; gap: 15px; cursor: pointer; text-decoration: none;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4); border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseGlow 2.5s infinite;
}
.hero-catalog-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 45px rgba(212, 175, 55, 0.6); }
.hero-catalog-btn svg { width: 24px; fill: #000; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@media (max-width: 768px) { .hero-content h2 { font-size: 2.5rem; } .hero-catalog-btn { bottom: 20px; right: 50%; transform: translateX(50%); width: 90%; justify-content: center; animation:none;} .hero-catalog-btn:hover{transform: translateX(50%) scale(1.02);} }

/* =========================================
   NEDEN BİZİ SEÇMELİSİNİZ (LUXURY CARDS)
   ========================================= */
.why-us-section { padding: 100px 10%; text-align: center; background-color: var(--bg-white); }
.why-header h2 { font-size: 3rem; color: var(--primary-blue); margin-bottom: 70px; font-weight: 800; }
.why-cards { display: flex; justify-content: center; gap: 40px; }
.w-card { 
    flex: 1; padding: 60px 40px; background-color: var(--bg-main); border-radius: 30px; 
    transition: all 0.5s ease; border: 1px solid rgba(0,0,0,0.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02); position: relative; overflow: hidden;
}
.w-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent-gold); transform: scaleX(0); transition: 0.5s ease; transform-origin: left; }
.w-card:hover { transform: translateY(-15px); background-color: var(--bg-white); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.w-card:hover::before { transform: scaleX(1); }
.w-card h3 { font-size: 1.6rem; margin: 25px 0 15px; color: var(--primary-blue); font-weight: 700; }
.w-card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
.icon-circle { width: 80px; height: 80px; background: rgba(212, 175, 55, 0.1); border-radius: 25px; display: flex; align-items: center; justify-content: center; margin: 0 auto; transition: 0.5s; }
.w-card:hover .icon-circle { background: var(--accent-gold); transform: rotate(10deg); }
.icon-circle svg { width: 40px; fill: var(--accent-gold); transition: 0.5s; }
.w-card:hover .icon-circle svg { fill: #fff; }

@media (max-width: 768px) { .why-cards { flex-direction: column; } }

/* =========================================
   TICKER (KAYAN YAZI - PREMIUM)
   ========================================= */
.scrolling-ticker { background: var(--primary-blue); padding: 25px 0; overflow: hidden; white-space: nowrap; border-top: 2px solid var(--accent-gold); border-bottom: 2px solid var(--accent-gold); }
.ticker-content { display: inline-block; animation: scrollTicker 25s linear infinite; }
.ticker-content span { font-size: 1.4rem; font-weight: 700; color: white; margin: 0 40px; text-transform: uppercase; letter-spacing: 2px; }
.ticker-content span i { color: var(--accent-gold); font-style: normal; margin-left: 40px; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   ÜRÜNLER BÖLÜMÜ
   ========================================= */
.products-section { padding: 100px 10%; background: var(--bg-main); }
.category-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.cat-btn { background: var(--bg-white); color: var(--text-muted); border: none; padding: 12px 30px; border-radius: 50px; cursor: pointer; font-weight: 600; transition: 0.4s; box-shadow: 0 10px 20px rgba(0,0,0,0.03); font-size: 1rem; }
.cat-btn.active, .cat-btn:hover { background: var(--primary-blue); color: white; box-shadow: 0 15px 30px rgba(11, 26, 48, 0.2); transform: translateY(-3px); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; }
.product-card { background: var(--bg-white); border-radius: 25px; padding: 30px; text-align: center; border: none; box-shadow: 0 15px 35px rgba(0,0,0,0.03); display: flex; flex-direction: column; justify-content: space-between; transition: 0.5s ease; position: relative; z-index: 1; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.product-card img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 25px; transition: 0.5s; }
.product-card:hover img { transform: scale(1.08); }
.product-card h3 { color: var(--primary-blue); font-size: 1.3rem; font-weight: 700; }
.product-price { font-size: 1.8rem; color: var(--accent-gold); font-weight: 800; margin: 20px 0; }
.card-buttons { display: flex; gap: 15px; }
.btn-view { background: var(--bg-main); color: var(--text-dark); flex: 1; padding: 15px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-view:hover { background: #e2e8f0; }
.btn-buy { flex: 1; background: var(--primary-blue); color: white; padding: 15px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-buy:hover { background: var(--accent-gold); color: #000; }

/* =========================================
   KATALOG AFİŞLERİ (GÖZ ALICI DÜZEN)
   ========================================= */
.catalog-banners { padding: 80px 10%; background: var(--bg-white); display: flex; flex-direction: column; gap: 100px; }
.banner-item { display: flex; align-items: center; gap: 60px; }
.banner-item.reverse { flex-direction: row-reverse; }
.banner-item img { width: 50%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); object-fit: cover; transition: 0.5s; }
.banner-item:hover img { transform: scale(1.02); }
.banner-text { flex: 1; }
.banner-text h3 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 25px; font-weight: 800; }
.banner-text p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.9; font-weight: 300; }
@media (max-width: 768px) { .banner-item, .banner-item.reverse { flex-direction: column; text-align: center; gap: 30px;} .banner-item img { width: 100%; } }

/* =========================================
   HAKKIMIZDA & İLETİŞİM (PREMIUM)
   ========================================= */
.about-section { padding: 150px 10% 80px 10%; background: var(--bg-main); min-height: 80vh; }
.about-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.section-title { color: var(--primary-blue); font-size: 3.5rem; margin-bottom: 30px; font-weight: 900; }
.about-text { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 70px; line-height: 1.9; font-weight: 300; padding: 0 5%; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-bottom: 70px; }
.contact-card { background: var(--bg-white); padding: 50px 30px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.04); transition: 0.4s; border: 1px solid rgba(0,0,0,0.02); }
.contact-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.contact-icon { font-size: 50px; margin-bottom: 25px; display: inline-block; background: var(--bg-main); width: 100px; height: 100px; line-height: 100px; border-radius: 50%; color: var(--accent-gold); }
.contact-card h3 { color: var(--primary-blue); font-size: 1.5rem; margin-bottom: 20px; font-weight: 700; }
.contact-card p, .contact-card a { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; text-decoration: none; transition: 0.3s;}
.contact-card a:hover { color: var(--accent-gold); }

.social-btn { display: inline-block; width: 100%; padding: 15px; border-radius: 12px; color: white !important; font-weight: 700; font-size: 1.1rem; margin-top: 15px; transition: 0.3s; }
.social-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3); }
.social-btn.tiktok { background: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

.map-container { border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); border: 10px solid white; background: white;}

/* =========================================
   YENİ: TANRISAL SLIDER KATALOG MODALI
   ========================================= */
.slider-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(11, 26, 48, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); align-items: center; justify-content: center; }
.slider-container { width: 90%; max-width: 1400px; height: 85vh; background: var(--bg-main); border-radius: 30px; position: relative; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.slider-header { padding: 25px 40px; background: white; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); }
.slider-header h2 { color: var(--primary-blue); font-size: 2rem; font-weight: 800; font-style: italic; }
.slider-header h2 span { color: var(--accent-gold); }
.slider-close { font-size: 40px; color: var(--text-muted); cursor: pointer; transition: 0.3s; line-height: 1; }
.slider-close:hover { color: red; transform: rotate(90deg); }

.slider-body { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 40px; overflow: hidden; }
.slider-page { display: none; width: 100%; height: 100%; animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slider-page.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(50px) scale(0.98); } to { opacity: 1; transform: translateX(0) scale(1); } }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; height: 100%; align-content: center; }
.catalog-item { background: white; padding: 25px; border-radius: 20px; text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.04); transition: 0.3s; border: 1px solid var(--border-color); cursor: pointer; }
.catalog-item:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); border-color: var(--accent-gold); }
.catalog-item img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 15px; }
.catalog-item h4 { font-size: 1.1rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 5px; }
.catalog-item p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; }
.catalog-item strong { color: var(--accent-gold); font-size: 1.4rem; font-weight: 800; display: block; }

.slider-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; transform: translateY(-50%); pointer-events: none; }
.slider-btn { pointer-events: auto; background: white; border: none; width: 60px; height: 60px; border-radius: 50%; font-size: 24px; color: var(--primary-blue); box-shadow: 0 15px 35px rgba(0,0,0,0.1); cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: var(--primary-blue); color: white; transform: scale(1.1); }
.slider-dots { text-align: center; padding: 20px; background: white; border-top: 1px solid var(--border-color); }
.dot { display: inline-block; width: 12px; height: 12px; background: #cbd5e1; margin: 0 6px; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--accent-gold); transform: scale(1.5); }
@media (max-width: 768px) { .slider-container { width: 100%; height: 100vh; border-radius: 0; } .slider-body { padding: 20px; overflow-y: auto;} .catalog-grid { grid-template-columns: 1fr 1fr; gap: 15px; align-content: start; } .slider-controls { display: none; } .catalog-item img{height: 120px;} }

/* =========================================
   GENEL MODAL (ÜRÜN DETAY)
   ========================================= */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(11, 26, 48, 0.8); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.modal-content { background: var(--bg-white); width: 90%; max-width: 1000px; border-radius: 30px; padding: 50px; position: relative; display: flex; gap: 50px; box-shadow: 0 40px 100px rgba(0,0,0,0.3); }
.close-btn { position: absolute; top: 25px; right: 35px; color: var(--text-muted); font-size: 40px; cursor: pointer; transition: 0.3s; line-height: 1;}
.close-btn:hover { color: red; transform: rotate(90deg); }
.modal-left { flex: 1.2; display: flex; flex-direction: column; justify-content: center; }
.modal-right { flex: 1; background: var(--bg-main); border-radius: 20px; padding: 30px; display: flex; align-items: center; justify-content: center; }
.modal-right img { width: 100%; max-height: 400px; object-fit: contain; mix-blend-mode: multiply; }
#modalTitle { font-size: 2.5rem; color: var(--primary-blue); font-weight: 800; margin-bottom: 10px; line-height: 1.2;}
.price-tag { font-size: 3rem; color: var(--accent-gold); margin: 30px 0; font-weight: 900; }
@media (max-width: 768px) { .modal-content { flex-direction: column; padding: 30px; height: 95vh; overflow-y: auto; gap: 20px;} }

/* =========================================
   FOOTER
   ========================================= */
footer { background: var(--primary-blue); color: white; text-align: center; padding: 30px; margin-top: auto; width: 100%; border-top: 5px solid var(--accent-gold); }
footer p { margin: 0; font-size: 1rem; color: #cbd5e1; font-weight: 300; }

/* =========================================
   ADMİN PANELİ (GÜNCELLENMİŞ PREMİUM UYUMU)
   ========================================= */
.admin-body { background-color: #f1f5f9; }
.admin-login-container { height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);}
.login-box { background: white; padding: 50px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); width: 400px; text-align: center; }
.login-box h2 { margin-bottom: 30px; font-weight: 800; color: var(--primary-blue); font-size: 2rem;}
.login-box input { width: 100%; padding: 15px; margin-bottom: 20px; border: 2px solid var(--border-color); border-radius: 10px; background: #f8fafc; font-size: 1.1rem; transition: 0.3s;}
.login-box input:focus { border-color: var(--accent-gold); outline: none;}
.admin-nav { background: white; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px;}
.admin-nav h2 {font-weight: 800; color: var(--primary-blue);}
.btn-outline { background: transparent; border: 2px solid var(--border-color); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 700; color: var(--text-dark); transition: 0.3s;}
.btn-outline:hover { background: #f1f5f9; border-color: var(--text-muted);}
.admin-layout { padding: 0 5% 50px 5%; display: flex; gap: 40px; align-items: flex-start; }
.admin-col { flex: 1; display: flex; flex-direction: column; gap: 30px; }
.admin-card { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); border: 1px solid rgba(0,0,0,0.02); }
.admin-card h3 { margin-bottom: 30px; font-size: 1.4rem; border-bottom: 2px solid var(--bg-main); padding-bottom: 15px; display:flex; justify-content:space-between; align-items: center; color: var(--primary-blue); font-weight: 700;}
.form-group { margin-bottom: 25px; text-align: left; }
.form-row { display: flex; gap: 20px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; border: 2px solid var(--border-color); border-radius: 10px; outline: none; transition: 0.3s; background:#f8fafc; font-size: 1rem; font-family: 'Poppins', sans-serif;}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent-gold); background: white; }
.file-input { background: #f8fafc; border: 2px dashed #cbd5e1 !important; padding: 20px !important; cursor: pointer; text-align: center;}
.product-list-container { max-height: 700px; overflow-y: auto; padding-right: 15px; }
.admin-product-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; border: 1px solid var(--border-color); border-radius: 15px; margin-bottom: 15px; background: white; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.02);}
.admin-product-item:hover { border-color: var(--accent-gold); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05);}
.admin-product-item img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; margin-right: 20px; background: var(--bg-main); border: 1px solid var(--border-color);}
.admin-product-info { display: flex; align-items: center; }

/* =========================================
   ADMİN BUTONLARI DÜZELTMESİ (GÖNDERDİĞİN KODA EKLENEN KISIM)
   ========================================= */
.admin-card .btn-primary, 
.admin-card button[onclick*="addCategory"],
#saveProductBtn,
.login-box button {
    background: linear-gradient(45deg, var(--accent-gold), #ffd700) !important;
    color: var(--primary-blue) !important;
    border: none !important;
    padding: 14px 25px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3) !important;
    width: 100%;
}
.admin-card .btn-primary:hover, 
.admin-card button[onclick*="addCategory"]:hover,
#saveProductBtn:hover,
.login-box button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5) !important;
    filter: brightness(1.05);
}

/* Kategori Ekle Butonunu Yanındaki Inputa Uydurma */
.admin-card .form-row button {
    width: auto !important;
    padding: 10px 25px !important;
}

.btn-delete { background: #fee2e2; color: #ef4444; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 700; margin-left:10px; transition:0.3s;}
.btn-delete:hover { background: #ef4444; color: white;}
.btn-edit { background: #e0f2fe; color: #0284c7; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 700; transition:0.3s;}
.btn-edit:hover { background: #0284c7; color: white; }
.cat-item { display:flex; justify-content:space-between; padding:15px; border-bottom:1px solid var(--border-color); align-items: center; font-weight: 500;}
.cat-item button { background:#fee2e2; border:none; color:#ef4444; padding: 8px 15px; border-radius: 6px; cursor:pointer; font-weight:700; transition: 0.3s; width: auto !important;}
.cat-item button:hover { background: #ef4444; color: white;}

@media (max-width: 768px) { .admin-layout { flex-direction: column; } .form-row {flex-direction: column;} }