/*
Theme Name: Günay Akademi Theme
Theme URI: https://gunayakademi.com.tr
Template: hello-elementor
Author: Günay Akademi Ekibi
Author URI: https://gunayakademi.com.tr
Description: Günay Akademi’nin özel ihtiyaçları için optimize edilmiş, Elementor uyumlu child theme. Hız, performans ve kişiye özel override’lar için geliştirilmiştir.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.3.1748448279
Updated: 2025-05-28 19:04:39

*/
/* HER CİHAZ İÇİN SABİT HEADER VE MENÜ DÜZENİ */

/* HAMBURGER MENÜ TAM EKRAN VE BEYAZ ZEMİN */
.jkit-menu-wrapper.active {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999;
  display: flex;
  flex-direction: column;

  opacity: 1 !important;
}

/* MENÜNÜN ÜST KISMI (LOGO + KAPAT) STİCKY ÜSTTE */
.jkit-menu-wrapper.active .jkit-menu-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  opacity: 1 !important;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
}
#my-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 70px; /* ÖNEMLİ: yüksekliği sabitle, taşma olmasın */
}

#my-header nav,
#my-header .elementor-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: 100%;
  overflow: visible;
}
/* Menünün dışarı taşmasını engelleyen kapsayıcıları serbest bırak */
#my-header,
#my-header .elementor-container,
#my-header .elementor-nav-menu,
#my-header .elementor-nav-menu-wrapper {
  overflow: visible !important;
}
/* Kayıt Ol butonu */
.um input[type="submit"].um-button {
  background-color: #7c4dff !important; /* Butonun normal rengi */
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: 0.3s ease;
}

/* Hover (üstüne gelince) efekti */
.um input[type="submit"].um-button:hover {
  background-color: #512da8 !important;
  transform: scale(1.05);
}
/* Masaüstünde GİRİŞ YAP ve KAYIT OL linklerini gizle */
li.menu-login-only-mobile,
li.menu-register-only-mobile {
  display: none !important;
}

/* Tablet ve mobilde görünür yap */
@media (max-width: 1024px) {
  li.menu-login-only-mobile,
  li.menu-register-only-mobile {
    display: list-item !important;
  }
}

/* === Checkout Ana Form Kutusu === */
.woocommerce form.checkout {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 16px;
  background: rgba(28, 27, 41, 0.8); /* Daha şeffaf, ferah yapı */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.65); /* Beyaz gölge */
  border: 2px solid #ffd54f;
  color: #fff;
  backdrop-filter: blur(6px);
}

/* === Form Başlıkları === */
.woocommerce-checkout h3 {
  color: #ffd54f;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}

/* === Etiketler === */
.woocommerce form.checkout label {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
}

/* === Input ve Select Alanları === */
.woocommerce form.checkout input.input-text,
.woocommerce form.checkout select,
.woocommerce form.checkout textarea {
  width: 100%;
  background-color: rgba(48, 48, 64, 0.7);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  margin-bottom: 20px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce form.checkout input:focus,
.woocommerce form.checkout select:focus,
.woocommerce form.checkout textarea:focus {
  border-color: #ffd54f;
  box-shadow: 0 0 0 2px rgba(255,213,79,0.2);
}

/* === Sipariş Özeti Kutusu === */
.woocommerce-checkout-review-order-table {
  background: #2a2a3a;
  border-radius: 12px;
  padding: 20px;
  color: white;
  font-size: 15px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.woocommerce-checkout-review-order-table thead th {
  background-color: transparent;
  border-bottom: 1px solid #555;
  color: #ffd54f;
  font-weight: 700;
  font-size: 16px;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
  border: none;
  padding: 12px 8px;
}

/* === Uyarı / Bilgi Mesajları === */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background: #2e1a1a;
  color: #ffcaca;
  border: 1px solid #ff4d4d;
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  margin-top: 20px;
}
/* === Kupon uyarı kutusu === */
.woocommerce-info {
  background: rgba(255, 213, 79, 0.1);
  border: 2px solid #ffd54f;
  border-radius: 12px;
  color: #ffd54f;
  font-weight: 500;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(255, 213, 79, 0.1);
}

/* Kupon linki */
.woocommerce-info a {
  color: #ffffff;
  text-decoration: underline;
}

/* === Kupon giriş formu === */
.woocommerce form.checkout_coupon {
  border: 2px solid #ffd54f;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Kupon input alanı */
.woocommerce form.checkout_coupon input.input-text {
  flex: 1;
  background-color: #1f1f2f;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  font-size: 15px;
}

/* Kupon kullan butonu */
.woocommerce form.checkout_coupon button.button {
  background-color: #ffd54f;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce form.checkout_coupon button.button:hover {
  background-color: #e6c84d;
}
/* === Woo Sepete Eklendi Mesajı === */
.woocommerce-message {
  background: rgba(40, 80, 40, 0.9);
  border: 2px solid #00e676;
  border-radius: 12px;
  color: #b9ffbf;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.15);
  font-weight: 500;
  font-size: 15px;
}

/* === Sepet butonu (Mesajın içindeki sağ köşe butonu) === */
.woocommerce-message .button {
  background-color: #00e676;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  padding: 6px 16px;
  border: none;
  transition: background-color 0.3s ease;
}

.woocommerce-message .button:hover {
  background-color: #00c467;
  color: #000;
}
/* === Dış Sarı Çerçeve + Beyaz Glow === */
.woocommerce-cart .cart-collaterals .cart_totals {
  border: 2px solid #ffd54f;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background-color: rgba(28, 27, 41, 0.95);
  padding: 30px;
  margin-top: 40px;
  color: white;
}

/* === Sepet Tablosu Genel === */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse !important; /* ✅ Satır ve sütunları birleştirir */
  border: 2px solid #ffd54f;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* === Tüm Hücreler === */
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
  border: 1px solid #ffffff33; /* ✅ Beyaz çizgi */
  padding: 16px 12px;
  background-color: #1f1f2f;
  color: white;
  font-size: 15px;
}

/* === Başlıklar === */
.woocommerce-cart table.cart thead th {
  color: #ffd54f;
  font-weight: bold;
  font-size: 14px;
  background-color: #1f1f2f;
  border-bottom: 2px solid #fff;
}

/* === Ürün Görseli === */
.woocommerce-cart table.cart .product-thumbnail img {
  width: 60px;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(255,255,255,0.1);
}

/* === Ürün İsmi === */
.woocommerce-cart table.cart .product-name a {
  font-weight: 600;
  color: white;
  text-decoration: none;
}
.woocommerce-cart table.cart .product-name a:hover {
  color: #ffd54f;
}

/* === Miktar Kutusu === */
.woocommerce table.cart td.product-quantity input.qty {
  width: 60px;
  background: #2a2a3a;
  color: white;
  border: 1px solid #fff;
  border-radius: 8px;
  text-align: center;
  padding: 8px;
}

/* === Kupon & Sepeti Güncelle === */
.woocommerce .cart .actions .coupon input {
  background: #1f1f2f;
  color: white;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 10px;
}
.woocommerce .cart .actions .coupon button {
  background: #ffd54f;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  padding: 10px 16px;
  margin-left: 10px;
}
.woocommerce .cart input[name="update_cart"] {
  background: #444;
  color: #ccc;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: not-allowed;
}

/* === Ödeme Butonu === */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: linear-gradient(145deg, #d500f9, #7c4dff);
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
  display: inline-block;
  margin-top: 20px;
  text-align: center;
}
body.woocommerce-cart .ekit-template-content-footer,
body.woocommerce-checkout .ekit-template-content-footer {
  display: none !important;
}
