/*
Theme Name: Maserati Kuwait Specialist
Theme URI: https://mazarati-service.lovable.app
Author: Maserati Kuwait
Author URI: https://mazarati-service.lovable.app
Description: قالب ووردبريس احترافي لمركز صيانة مازيراتي الكويت - تصميم فاخر يعكس هوية العلامة التجارية
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maserati-kuwait
Tags: rtl, right-to-left, arabic, automotive, luxury, one-column, custom-colors, custom-menu, featured-images
*/

/* ===== المتغيرات الأساسية ===== */
:root {
  --maserati-navy: #0a1628;
  --maserati-navy-light: #162035;
  --maserati-gold: #c9a962;
  --maserati-gold-light: #d4b978;
  --maserati-gold-dark: #b8944d;
  --maserati-red: #8b1f1f;
  --maserati-silver: #c0c0c0;
  --maserati-platinum: #e5e4e2;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #111111;
  --card-foreground: #fafafa;
  --primary: #c9a962;
  --primary-foreground: #0a1628;
  --secondary: #1a1a1a;
  --muted: #262626;
  --border: #262626;
  --radius: 0.5rem;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 169, 98, 0.05);
}

/* ===== إعادة التعيين ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== الخطوط ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  direction: rtl;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* ===== الحاوية ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== التدرجات ===== */
.gradient-luxury {
  background: linear-gradient(135deg, var(--maserati-navy) 0%, var(--maserati-navy-light) 50%, var(--maserati-navy) 100%);
}

.gradient-gold {
  background: linear-gradient(135deg, var(--maserati-gold-dark) 0%, var(--maserati-gold) 50%, var(--maserati-gold-light) 100%);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--maserati-gold) 0%, var(--maserati-gold-light) 50%, var(--maserati-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== الظلال ===== */
.shadow-luxury {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 98, 0.1);
}

.shadow-gold {
  box-shadow: 0 10px 25px -5px rgba(201, 169, 98, 0.3), 0 0 15px rgba(201, 169, 98, 0.2);
}

.shadow-card {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 169, 98, 0.05);
}

/* ===== الأزرار ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--maserati-gold) 0%, var(--maserati-gold-light) 100%);
  color: var(--maserati-navy);
}

.btn-primary:hover {
  box-shadow: 0 10px 25px -5px rgba(201, 169, 98, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--maserati-gold);
  color: var(--maserati-navy);
}

/* ===== البطاقات ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--maserati-gold);
}

/* ===== الهيدر ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-top {
  background: var(--maserati-navy);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  padding: 0.5rem 0;
}

.header-main {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* ===== التنقل ===== */
.nav-link {
  color: rgba(250, 250, 250, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--maserati-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--maserati-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== تنسيق القوائم ===== */
.primary-menu {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu li a {
  color: rgba(250, 250, 250, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.primary-menu li a:hover {
  color: var(--maserati-gold);
}

.primary-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--maserati-gold);
  transition: width 0.3s ease;
}

.primary-menu li a:hover::after {
  width: 100%;
}

/* قائمة الموبايل */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  list-style: none;
}

.mobile-nav li a {
  display: block;
  padding: 0.75rem;
  color: rgba(250, 250, 250, 0.8);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mobile-nav li a:hover {
  background: var(--maserati-navy);
  color: var(--maserati-gold);
}

/* ===== قسم البطل ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* ===== الفوتر ===== */
.footer {
  background: var(--maserati-navy);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  padding: 4rem 0 2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 3rem;
}

/* ===== الأزرار العائمة ===== */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-whatsapp {
  background: #25D366;
  color: white;
}

.floating-btn-phone {
  background: var(--maserati-gold);
  color: var(--maserati-navy);
}

/* ===== الحركات ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ===== التجاوب ===== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2rem;
  }

  .hide-mobile {
    display: none !important;
  }
  
  .container {
    padding: 0 1rem;
  }
}
