/*
Theme Name: ASAS Media Theme
Theme URI: https://asasmedia.net
Author: ASAS MEDIA
Version: 1.0
Text Domain: asasmedia
Requires PHP: 7.4
License: GPLv2
*/

:root {
  --asas-red: #E3000F;
  --asas-black: #111111;
  --asas-white: #FFFFFF;
  --asas-gray: #F8F9FA;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--asas-white);
  color: var(--asas-black);
  line-height: 1.6;
}
html[lang="ar"] body { direction: rtl; }
html[lang="en"] body { direction: ltr; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header {
  background: var(--asas-white);
  border-bottom: 3px solid var(--asas-red);
  padding: 15px 0;
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-logo img { max-height: 60px; }
.main-nav ul { list-style: none; display: flex; gap: 20px; }
.main-nav a { text-decoration: none; color: var(--asas-black); font-weight: 600; transition: var(--transition); }
.main-nav a:hover { color: var(--asas-red); }

/* Buttons */
.btn-asas {
  background: var(--asas-red); color: #fff; padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: var(--transition);
}
.btn-asas:hover { background: #b3000c; transform: translateY(-2px); }

/* Product Grid */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.woocommerce ul.products li.product { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: var(--transition); }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.woocommerce ul.products li.product img { width: 100%; height: 220px; object-fit: cover; }
.woocommerce-loop-product__title { font-size: 1.1rem; margin: 12px 0 5px; }
.price { color: var(--asas-red); font-weight: bold; font-size: 1.2rem; }

/* Footer */
.site-footer { background: var(--asas-black); color: #fff; padding: 40px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-grid a { color: #ccc; text-decoration: none; }
.footer-grid a:hover { color: var(--asas-red); }