/* ============================================================
   Klasik Cam Balkon - Modern Cam Balkon Sitesi
   ============================================================ */

/* --- Değişkenler --- */
:root {
  --primary: #1a252f;
  --primary-light: #2c3e50;
  --accent: #27ae60;
  --accent-hover: #219653;
  --accent-light: #e8f8f0;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #a0aec0;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
  --danger: #e74c3c;
  --danger-hover: #c0392b;
  --whatsapp: #25d366;
}

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--primary);
  color: var(--bg-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.cart-btn {
  background: var(--accent);
  color: var(--bg-white);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cart-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, rgba(26,37,47,0.85) 0%, rgba(26,37,47,0.65) 100%),
              url('assets/images/hero.jpg') no-repeat center center/cover;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  padding: 60px 20px;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(39,174,96,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
}

.btn-outline:hover {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: none;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.btn-secondary {
  background: var(--primary-light);
}

.btn-secondary:hover {
  background: var(--primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-edit {
  background: #3498db;
  color: white;
}

.btn-edit:hover {
  background: #2980b9;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: var(--danger-hover);
}

.btn-whatsapp {
  background: var(--whatsapp);
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.btn-whatsapp:hover {
  background: #1da851;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 60px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ============================================================
   PİLİSE SİNEKLİK TANITIM BÖLÜMÜ
   ============================================================ */
.pilise-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.pilise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.pilise-gallery {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--border);
}

.pilise-main-img {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #e9ecef;
}

.pilise-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pilise-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pilise-thumb {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
  transition: var(--transition);
}

.pilise-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.pilise-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.pilise-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  gap: 10px;
  color: var(--text-gray);
  padding: 24px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  margin-top: 10px;
}

.pilise-empty span {
  font-size: 2.4rem;
}

.pilise-empty p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.pilise-empty b {
  color: var(--primary);
}

.pilise-info {
  min-width: 0;
}

.pilise-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.pilise-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pilise-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.pilise-highlight:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.pilise-highlight > span {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pilise-highlight h4 {
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.pilise-highlight p {
  font-size: 0.82rem;
  color: var(--text-gray);
}

@media (max-width: 768px) {
  .pilise-content {
    grid-template-columns: 1fr;
  }

  .pilise-main-img {
    height: 260px;
  }

  .pilise-highlights {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calculator-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.calc-box {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-group {
  margin-bottom: 16px;
}

.calc-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.calc-group input,
.calc-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: var(--bg-white);
}

.calc-group input:focus,
.calc-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39,174,96,0.12);
}

.calc-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 6px;
  font-weight: 500;
}

.sineklik-formula-hint {
  grid-column: 1 / -1;
  text-align: left;
}

/* Sineklik montaj / renk seçimi */
.radio-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--bg-white);
}

.radio-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.radio-item input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.extra-options {
  background: var(--accent-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.extra-title {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.9rem;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.extra-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.extra-item b {
  color: var(--accent);
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 2px solid var(--border);
  margin-top: 8px;
}

.calc-result span {
  font-size: 1rem;
  color: var(--text-gray);
}

.calc-result strong {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   PRODUCTS / FILTER
   ============================================================ */
.products {
  padding: 60px 0;
}

.filter-container {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-container input,
.filter-container select {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-white);
}

.filter-container input:focus,
.filter-container select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39,174,96,0.12);
}

.filter-container input {
  width: 300px;
  max-width: 100%;
}

/* ============================================================
   KATEGORİ FİLTRE ÇUBUĞU
   ============================================================ */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: var(--bg-white);
  color: var(--text-gray);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.cat-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.cat-btn.active {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(39,174,96,0.3);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.loading-grid,
.no-result {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-gray);
  font-size: 1rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 8px;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

/* Renk swatch seçimi (görsel renk göstergeli) */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  background: var(--bg-white);
  transition: var(--transition);
  user-select: none;
}

.color-swatch:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.color-swatch.active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(39,174,96,0.18);
}

.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.calc-group .color-swatches .color-swatch {
  background: var(--bg-white);
}

/* Çoklu fotoğraf şeridi */
.product-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 14px 0;
  flex-wrap: wrap;
  background: var(--bg-white);
}

.product-thumbs .thumb {
  width: 52px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.75;
}

.product-thumbs .thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.product-thumbs .thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.product-sub-price {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 4px;
  line-height: 1.4;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.product-feature {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.5;
}

.color-selection {
  margin: 10px 0;
}

.color-selection label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-gray);
  display: block;
  margin-bottom: 4px;
}

.color-selection select {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: var(--bg-white);
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 12px 0;
}

.add-to-cart-btn {
  width: 100%;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

.add-to-cart-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.data-mode-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: middle;
}

.data-mode-badge.online {
  background: rgba(39,174,96,0.25);
  color: #7ce8a9;
}

.data-mode-badge.offline {
  background: rgba(241,196,15,0.2);
  color: #f5d76e;
}

/* Sineklik ek alanları */
#sineklik-fields {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  padding: 14px;
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
}

.file-label {
  display: block;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}

.file-label:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--accent);
}

.file-label input {
  display: none;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--accent);
}

.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.existing-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.existing-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  padding: 8px;
  border-radius: var(--radius-sm);
}

.existing-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.existing-img span {
  font-size: 0.7rem;
  opacity: 0.7;
}

.existing-img-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.existing-img-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.img-action-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.img-action-btn:hover {
  transform: translateY(-1px);
}

.img-action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.img-move-btn {
  background: #3498db;
}

.img-move-btn:hover:not(:disabled) {
  background: #2980b9;
}

.img-star-btn {
  background: #f39c12;
}

.img-star-btn:hover:not(:disabled) {
  background: #d68910;
}

.img-del-btn {
  background: var(--danger);
}

.img-del-btn:hover {
  background: var(--danger-hover);
}

.url-image-section {
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.url-image-title {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.85rem;
  opacity: 0.9;
  color: var(--bg-white);
}

.url-image-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.url-image-row input {
  flex: 1;
  min-width: 0;
}

.url-image-row .btn {
  white-space: nowrap;
}

.preview-img {
  position: relative;
}

.url-remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.url-remove-btn:hover {
  background: var(--danger-hover);
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.no-img {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ============================================================
   CART MODAL
   ============================================================ */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
  padding: 20px;
}

.cart-modal-content {
  background: var(--bg-white);
  width: 100%;
  max-width: 500px;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.cart-header h3 {
  font-size: 1.15rem;
  color: var(--primary);
}

.close-btn {
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-gray);
  line-height: 1;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--danger);
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-gray);
  padding: 30px 0;
}

.cart-list {
  list-style: none;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info small {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-item-price {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  white-space: nowrap;
}

.cart-remove-btn {
  background: var(--danger);
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}

.cart-remove-btn:hover {
  background: var(--danger-hover);
}

.cart-total {
  font-weight: 700;
  text-align: right;
  padding: 12px 0;
  font-size: 1.1rem;
  color: var(--primary);
  border-top: 2px solid var(--border);
  margin-top: 8px;
}

.customer-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-form input,
.customer-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.customer-form input:focus,
.customer-form textarea:focus {
  border-color: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

/* ============================================================
   TOAST BİLDİRİMLERİ
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: var(--bg-white);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s ease;
  cursor: default;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background: var(--accent);
}

.toast-error {
  background: var(--danger);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: var(--bg-white);
  padding: 50px 0 24px 0;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.footer-col h3 span {
  color: var(--accent);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col p,
.footer-col a {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================================
   HERO BADGE / ACCENT (müşteri sitesi)
   ============================================================ */
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--bg-white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

.hero-accent {
  color: #7ce8a9;
}

/* ============================================================
   CONTACT CTA (müşteri sitesi)
   ============================================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  padding: 60px 0;
}

.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.contact-cta p {
  opacity: 0.85;
  font-size: 1rem;
}

.contact-cta .btn-whatsapp {
  width: auto;
  margin-top: 0;
  padding: 14px 30px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 8px;
    border-top: 1px solid var(--border);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a,
  .nav-menu button {
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hero {
    min-height: 340px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .product-image {
    height: 200px;
  }

  .cart-modal-content {
    padding: 20px;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .radio-group {
    flex-direction: column;
    gap: 8px;
  }

  .radio-item {
    justify-content: center;
  }

  .url-image-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .calc-box {
    padding: 20px;
  }

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

  .filter-container input {
    width: 100%;
  }

  .product-thumbs .thumb {
    width: 46px;
    height: 40px;
  }
}

/* ============================================================
   LIGHTBOX (Fotoğraf Büyütme)
   ============================================================ */
.product-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
  padding: 40px;
  animation: fadeIn 0.2s ease;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.8rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   PRODUCT MODAL (Büyük Ürün Detay)
   ============================================================ */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.product-modal-content {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pm-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  color: var(--text-gray);
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  transition: var(--transition);
}

.pm-close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--danger);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.pm-gallery {
  background: var(--bg-light);
  padding: 20px;
  border-right: 1px solid var(--border);
}

.pm-main-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  background: #e9ecef;
}

.pm-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pm-main-img img:hover {
  transform: scale(1.03);
}

.pm-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pm-thumb {
  width: 60px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: var(--transition);
}

.pm-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.pm-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.pm-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pm-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.pm-info h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pm-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pm-color-select {
  margin-bottom: 16px;
}

.pm-color-select label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.pm-color-select select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: var(--bg-white);
}

.pm-sub-price {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.pm-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.pm-action {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .pm-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .pm-main-img {
    height: 240px;
  }

  .pm-info {
    padding: 20px;
  }

  .pm-info h2 {
    font-size: 1.25rem;
  }

  .product-lightbox {
    padding: 16px;
  }

}

/* ============================================================
   MODERN YÜKSELTME (v16)
   Modern tasarım, animasyonlar ve yeni bölümler
   ============================================================ */

/* --- Gelişmiş Tasarım Token'ları --- */
:root {
  --accent-gradient: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  --primary-gradient: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glow: 0 0 0 1px rgba(39,174,96,0.1), 0 8px 30px rgba(39,174,96,0.15);
  --card-radius: 16px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* --- Bölüm Başlık İyileştirme --- */
.section-title {
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-gradient);
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: -20px auto 36px;
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   İSTATİSTİK BÖLÜMÜ
   ============================================================ */
.stats-section {
  background: var(--primary-gradient);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,96,0.25) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 20px 12px;
  border-radius: var(--card-radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
  box-shadow: var(--glow);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #fff 30%, #7ce8a9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   GALERİ BÖLÜMÜ
   ============================================================ */
.gallery-section {
  background: var(--bg-white);
  padding: 70px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  height: 240px;
  background: #e9ecef;
  transition: var(--transition);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(26,37,47,0.5);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ============================================================
   SSS (SIKÇA SORULAN SORULAR)
   ============================================================ */
.faq-section {
  background: var(--bg-light);
  padding: 70px 0;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(39,174,96,0.4);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FLOATING BUTONLAR (WhatsApp / Çağrı / Yukarı)
   ============================================================ */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

.floating-btn {
  min-width: 54px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: var(--transition);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.floating-btn .fab-label {
  position: static;
  transform: none;
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
  opacity: 1;
  pointer-events: auto;
}

.floating-btn:hover .fab-label {
  opacity: 1;
  transform: none;
}

.fab-whatsapp {
  background: var(--whatsapp);
  animation: fab-pulse 2.4s infinite;
}

.fab-call {
  background: var(--accent);
}

.back-to-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  position: fixed;
  right: 26px;
  bottom: 120px;
  z-index: 1499;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   MOBİL STICKY ALT BAR
   ============================================================ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 1600;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.mobile-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.mobile-bar-wa {
  background: var(--whatsapp);
  color: #fff;
}

.mobile-bar-wa:hover { background: #1da851; }

.mobile-bar-call {
  background: var(--primary);
  color: #fff;
}

.mobile-bar-call:hover { background: var(--primary-light); }

/* ============================================================
   HERO İYİLEŞTİRMELERİ
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,96,0.28) 0%, transparent 70%);
  animation: float-glow 7s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,232,169,0.2) 0%, transparent 70%);
  animation: float-glow 9s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  animation: fade-in-down 0.8s ease both;
}

.hero-content h1 {
  animation: fade-in-down 0.8s ease 0.1s both;
}

.hero-content p {
  animation: fade-in-down 0.8s ease 0.2s both;
}

.hero-buttons {
  animation: fade-in-down 0.8s ease 0.3s both;
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   KART & BUTON MİKRO-ETKİLEŞİMLER
   ============================================================ */
.product-card {
  position: relative;
  z-index: 1;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(39,174,96,0.06) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  border-color: rgba(39,174,96,0.35);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.add-to-cart-btn {
  background: var(--accent-gradient);
  box-shadow: 0 4px 16px rgba(39,174,96,0.25);
}

.add-to-cart-btn:hover {
  box-shadow: 0 8px 24px rgba(39,174,96,0.35);
  transform: translateY(-2px);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* --- Nav link aktif görünümü --- */
.nav-menu a:hover {
  transform: translateY(-1px);
}

/* ============================================================
   GELİŞMİŞ RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: block;
  }

  .floating-actions {
    bottom: 88px;
  }

  .back-to-top {
    right: 20px;
  }

  body {
    padding-bottom: 64px;
  }

  .stat-value {
    font-size: 1.9rem;
  }

  .gallery-item {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* --- Sayfa yükleme animasyonu --- */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageFadeIn 0.5s ease;
}

/* --- Scrollbar iyileştirme --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================================================
   ÇOK SAYFALI SİTE YAPISI (v19)
   ============================================================ */

/* --- Sayfa Başlık Bölümü --- */
.page-header-section {
  background: linear-gradient(135deg, rgba(26,37,47,0.9) 0%, rgba(26,37,47,0.7) 100%),
              url('assets/images/hero.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.page-header-section h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.page-header-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Aktif nav linki --- */
.nav-menu a.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}

/* --- Hakkımızda Değerler --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-value-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,174,96,0.35);
}

.av-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.about-value-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-value-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* --- İletişim Bilgi Kartları --- */
.contact-info-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,174,96,0.35);
}

.cc-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* --- Responsive çok sayfalı --- */
@media (max-width: 992px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header-section {
    padding: 50px 20px;
  }

  .page-header-section h1 {
    font-size: 1.8rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SEKMELİ SAYFA YAPISI (page-section)
   ============================================================ */
.page-section {
  display: none;
  animation: fadeIn 0.35s ease;
}

.page-section.active {
  display: block;
}

main#main-content {
  min-height: 40vh;
}

/* --- Aktif nav linki --- */
.nav-menu a.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}

/* ============================================================
   KATEGORİ BARI (category-bar / cat-btn)
   ============================================================ */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.cat-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cat-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(26,37,47,0.25);
}

/* ============================================================
   HAKKIMIZDA DEĞER KARTLARI (about-values)
   ============================================================ */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.about-value-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--card-radius, 16px);
  padding: 26px 22px;
  text-align: center;
  transition: var(--transition);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,174,96,0.4);
}

.av-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.about-value-card h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.about-value-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   İLETİŞİM BİLGİ KARTLARI (contact-info-section)
   ============================================================ */
.contact-info-section {
  padding: 70px 0;
  background: var(--bg-light);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius, 16px);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,174,96,0.4);
}

.cc-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  margin-bottom: 14px;
}

.contact-card h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — Sekmeli yapı için ek destek
   ============================================================ */
@media (max-width: 992px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .nav-menu a.active {
    background: var(--accent-light);
  }
}

@media (max-width: 480px) {
  .contact-cards {
    grid-template-columns: 1fr;


}
}
