/*
Theme Name: İkinci El Gümüş
Theme URI: https://kombialsat.com.tr
Author: Your Name
Author URI: https://kombialsat.com.tr
Description: İkinci el gümüş takı ve dekor ürünleri için özel WordPress teması. Tüm içerikler WordPress Customizer ve Admin Panelinden yönetilebilir.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ikinci-el-gumus
Tags: e-commerce, business, custom-menu, featured-images, translation-ready

İkinci El Gümüş WordPress teması - Tüm özellikler özelleştirilebilir.
*/

/* Genel stiller */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background: #f7f8fa;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigasyon */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e1e4ea;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.logo span {
  color: #a87c5b;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  color: #4b5663;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #111827;
  border-color: #a87c5b;
}

/* Submenu (Alt Menü) */
.has-submenu {
  position: relative;
}

.has-submenu > a {
  font-size: 0.95rem;
  color: #4b5663;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.has-submenu > a:hover {
  color: #111827;
  border-color: #a87c5b;
}

.has-submenu > a span {
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 250px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  list-style: none;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #4b5563;
  border-bottom: none;
  font-size: 0.9rem;
}

.submenu a:hover {
  background: #f9fafb;
  color: #111827;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
  position: relative;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, #f3e7dd, #f7f8fa);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.hero h1 span {
  color: #a87c5b;
}

.hero p {
  max-width: 480px;
  color: #4b5563;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid #e6e0d7;
  max-width: 320px;
}

.hero-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f4ece2;
  color: #8a6443;
  margin-bottom: 0.75rem;
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Genel Section */
.section-header {
  margin-bottom: 1.75rem;
  text-align: left;
}

.section-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.category-section,
.feature-section,
.blog-preview,
.product-section,
.content-section,
.cta-section,
.showcase-section {
  padding: 2.5rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.92rem;
  color: #6b7280;
}

.card-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #8b5c35;
}

.card-link:hover {
  text-decoration: underline;
}

.product-card .price {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.2rem;
}

.product-card .meta {
  font-size: 0.86rem;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease, box-shadow 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #c79c79, #a87c5b);
  color: #fff;
  box-shadow: 0 12px 22px rgba(87, 65, 42, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(87, 65, 42, 0.4);
}

.btn.ghost {
  background: #ffffff;
  color: #4b5563;
  border-color: #d1d5db;
}

.btn.ghost:hover {
  background: #f3f4f6;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #8b5c35;
}

.text-link:hover {
  text-decoration: underline;
}

/* Özellikler, listeler */
.feature-section {
  background: #f3f4f6;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.feature-highlight {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.feature-list {
  margin-top: 0.8rem;
  list-style: none;
}

.feature-list li {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

.feature-list strong {
  color: #111827;
}

/* Sayfa header */
.page-header {
  padding: 2.5rem 0 1.5rem;
}

.page-header h1 {
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: #6b7280;
  font-size: 0.96rem;
}

.page {
  min-height: calc(100vh - 210px);
}

/* İki kolonlu bölümler */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.content-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.content-section p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

.blog-article + .blog-article {
  margin-top: 1.75rem;
}

.blog-article h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

/* İletişim formu */
.contact-form {
  margin-top: 0.7rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
  outline: none;
  transition: border 0.12s ease, box-shadow 0.12s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #a87c5b;
  box-shadow: 0 0 0 1px #a87c5b33;
}

/* Ürün resimleri */
.product-image-wrapper {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: #f9fafb;
}

.product-detail-image {
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  object-fit: cover;
  max-height: 600px;
  background: #f9fafb;
}

/* FAQ (SSS) Stilleri */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.faq-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.faq-item p {
  color: #4b5563;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 1.5rem;
  background: #111827;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.site-footer p {
  color: #9ca3af;
}

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

.site-footer li {
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.25rem;
  border-top: 1px solid #1f2937;
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner,
  .feature-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .hero-inner {
    gap: 2rem;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: scaleY(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: 1000px !important;
    overflow: visible !important;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.6rem;
  }
  
  .has-submenu {
    width: 100%;
  }
  
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: #f9fafb;
    margin-top: 0.5rem;
    margin-left: 1rem;
    padding: 0.5rem 0;
    min-width: auto;
    max-height: 300px;
  }
  
  .main-nav.open .has-submenu:hover .submenu,
  .main-nav.open .has-submenu.active .submenu {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-section {
    padding: 1.5rem 0;
  }
}

/* ============================================
   VİTRİN GÖRSELLERİ BÖLÜMÜ
   ============================================ */

.showcase-section {
  background: #ffffff;
}

.showcase-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(var(--showcase-columns, 3), 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f9fafb;
  height: var(--showcase-height, 400px);
  width: var(--showcase-width, auto);
  max-width: 100%;
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.showcase-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-section {
    padding: 1.5rem 0;
  }

  .showcase-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}


