/*
Theme Name: Butlaro Elementor
Theme URI: https://theroofkingdom.com.tr
Author: Butlaro Team
Description: Elementor-compatible theme replicating exact index.html design and functionality with WooCommerce integration
Version: 1.0.0
Text Domain: butlaro-elementor
Requires PHP: 7.4
*/

/* Base reset and variables matching index.html */
:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-muted: #999999;
  --text-light: #dddddd;
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: transparent;
}

/* Header styles matching index.html */
.site-header {
  padding: 24px 20px;
  text-align: center;
  background: var(--bg-primary);
}

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

/* Category slider/pills exact match */
.category-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-btn {
  background: #333333;
  border: none;
  color: #eeeeee;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  min-width: fit-content;
}

.category-btn:hover {
  background: #444444;
  color: var(--text-primary);
}

.category-btn.active {
  background: var(--accent-gold);
  color: #222222;
}

/* Food grid exact match */
.food-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

@media (min-width: 768px) {
  .food-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .food-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product card exact match */
.product-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 14px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.product-price {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 18px;
}

.product-description {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.4;
}

.product-ingredients {
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
  margin-top: auto;
}

/* Footer */
.site-footer {
  color: #cccccc;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333333;
  margin-top: 40px;
}

/* Elementor compatibility */
.elementor-widget-container {
  color: inherit;
}

.elementor-section {
  background: var(--bg-primary);
}

/* WooCommerce compatibility */
.woocommerce-page {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .food-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 16px;
  }
  
  .category-slider {
    padding: 0 12px 10px;
  }
  
  .site-header {
    padding: 20px 16px;
  }
  
  .logo-text {
    font-size: 24px;
  }
}
