/* ===== MODERN CSS VARIABLES ===== */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #25D366;
  --secondary-dark: #20ba5a;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ===== GLOBAL RESET & BASE ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background: var(--bg-secondary);
  line-height: 1.6;
  padding-bottom: 80px;
}

/* Tüm linklerde hover durumunda alt çizgiyi kaldır */
a {
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-text {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.logo-text a {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
}

.logo-text a:hover {
  transform: scale(1.05);
}

/* Mevcut Grav header'ı ve mobile menüyü gizle */
#header{
    display: none !important;
}
.mobile-menu,
.mobile-nav,
.offcanvas,
.offcanvas-overlay,
.nav-toggle,
.navbar-toggle,
.hamburger,
.menu-toggle {
  display: none !important;
}
/* -------------------------------------------------- */


#mobile-menu #button_container{
    display: none !important;
}
.nav-back,
.call-btn {
  background: var(--bg-secondary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-back:hover,
.call-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== FEATURED PRODUCTS SECTION ===== */
.featured-products-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(245, 158, 11, 0.03));
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
}

.featured-products-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2.5rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-products-grid {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-secondary);
}

.featured-products-grid::-webkit-scrollbar {
  height: 8px;
}

.featured-products-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.featured-products-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.featured-products-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.featured-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  flex: 0 0 calc(33.333% - 1.34rem);
  min-width: 300px;
  max-width: 400px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

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

.featured-product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-product-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 1.5rem;
  transition: var(--transition);
}

.featured-product-card:hover .featured-product-image {
  transform: scale(1.05);
}

.featured-product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-product-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.featured-product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--text-primary);
  line-height: 1.3;
}

.featured-product-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
  line-height: 1.5;
  flex: 1;
}

.featured-product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: auto;
}

.featured-product-wp-btn {
  margin: 0 1.5rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: #fff;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.featured-product-wp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.featured-product-wp-btn::before {
  content: '💬';
  font-size: 1.2rem;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  aspect-ratio: 1;
  transform: translateY(0);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  z-index: 2;
  transition: var(--transition);
}

.category-card:hover .category-title {
  background: linear-gradient(to top, rgba(37, 99, 235, 0.95), rgba(37, 99, 235, 0.6), transparent);
}

/* ===== CATEGORY HEADING ===== */
.category-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PRODUCT LIST ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.product-card .product-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 1rem;
  transition: var(--transition);
}

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

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.product-desc {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  gap: 1rem;
}

.product-footer .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.wp-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.wp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.wp-btn::before {
  content: '💬';
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 0;
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.whatsapp-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.whatsapp-bar:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 -6px 12px -2px rgba(0, 0, 0, 0.15);
}

.whatsapp-bar::before {
  content: '💬';
  font-size: 1.3rem;
}

.footer-info {
  padding: 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-info p {
  margin: 0.5rem 0;
}

.footer-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-info a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.footer-info strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0.875rem 1rem;
  }

  .logo-text {
    padding: 0 0.5rem;
  }

  .logo-text a {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.3;
  }

  .nav-back,
  .call-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .featured-products-section {
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
  }

  .featured-products-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .featured-products-grid {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .featured-product-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 280px;
    max-width: 350px;
  }

  .featured-product-image {
    height: 240px;
    padding: 1rem;
  }

  .featured-product-info {
    padding: 1.25rem;
  }

  .featured-product-title {
    font-size: 1.25rem;
  }

  .featured-product-price {
    font-size: 1.5rem;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .category-heading {
    font-size: 1.75rem;
    margin: 1.5rem 1rem 1rem;
  }

  .product-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }

  .product-card .product-image {
    height: 200px;
  }

  .product-body {
    padding: 1rem;
  }

  .product-body h3 {
    font-size: 1.1rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .product-footer .price {
    font-size: 1.25rem;
    text-align: center;
  }

  .wp-btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
  }

  .whatsapp-bar {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .footer-info {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.75rem 0.5rem;
  }

  .logo-text {
    padding: 0 0.25rem;
  }

  .logo-text a {
    font-size: 0.9rem;
  }

  .featured-products-section {
    padding: 1.5rem 0.75rem;
    margin-bottom: 1rem;
  }

  .featured-products-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .featured-products-grid {
    padding: 0 0.75rem;
    gap: 1.25rem;
  }

  .featured-product-card {
    flex: 0 0 85%;
    min-width: 280px;
    max-width: 100%;
  }

  .featured-product-image {
    height: 200px;
    padding: 0.75rem;
  }

  .featured-product-info {
    padding: 1rem;
  }

  .featured-product-title {
    font-size: 1.1rem;
  }

  .featured-product-desc {
    font-size: 0.9rem;
  }

  .featured-product-price {
    font-size: 1.25rem;
  }

  .featured-product-wp-btn {
    margin: 0 1rem 1rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 0.75rem;
  }

  .category-heading {
    font-size: 1.5rem;
    margin: 1rem 0.75rem 0.75rem;
  }

  .product-list {
    padding: 0.75rem;
    gap: 1rem;
  }

  .product-card .product-image {
    height: 180px;
  }

  .product-body h3 {
    font-size: 1rem;
  }

  .product-footer .price {
    font-size: 1.1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card,
.product-card {
  animation: fadeInUp 0.5s ease-out;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== LOADING STATES ===== */
.category-card img,
.product-card .product-image {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .whatsapp-bar,
  .wp-btn {
    display: none;
  }
  
  body {
    padding-bottom: 0;
  }
}

#body-wrapper {
  padding-top: 0 !important;
}
