:root {
  /* Light Mode */
  --bg-color: #ffffff;
  --text-color: #333333;
  --header-bg: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #dee2e6;
  --hover-color: #e9ecef;
}

@font-face {
  font-family: 'YekanBakh-Black';
  src: url('../assets/fonts/YekanBakh-Black.ttf') format('truetype');
}

@font-face {
  font-family: 'YekanBakh-ExtraBold';
  src: url('../assets/fonts/YekanBakh-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'YekanBakh-bold';
  src: url('../assets/fonts/YekanBakh-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'YekanBakh-SemiBold';
  src: url('../assets/fonts/YekanBakh-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'YekanBakh-regular';
  src: url('../assets/fonts/YekanBakh-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

[data-theme="dark"] {
  /* Dark Mode */
  --bg-color: #212529;
  --text-color: #f8f9fa;
  --header-bg: #343a40;
  --card-bg: #495057;
  --border-color: #6c757d;
  --hover-color: #343a40;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "YekanBakh-regular";
  direction: rtl;
  transition: background-color 0.3s, color 0.3s;
}

.fw-bold { font-family: 'YekanBakh-Bold'; }
h1.fw-bold { font-family: 'YekanBakh-ExtraBold'; }

.header-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background-color: var(--card-bg);
  color: var(--text-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-box {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 15px;
  border: 1px solid var(--border-color);
}

.theme-toggle {
  cursor: pointer;
  user-select: none;
}

.car-icon {
  font-size: 2rem;
  color: #6f42c1;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
  font-size: 32px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.testimonial-card {
  border-right: 4px solid #6f42c1;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-custom {
  background: linear-gradient(135deg, #6f42c1, #4361ee);
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
}

.btn-custom:hover {
  background: linear-gradient(135deg, #5a32a3, #3a56e4);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(111, 66, 193, 0.3);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: right;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 80px;
  height: 4px;
  background: #6f42c1;
  border-radius: 2px;
}

footer {
  background-color: var(--header-bg);
  padding: 50px 0 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
  margin-left: 10px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #6f42c1;
  color: white;
  transform: translateY(-3px);
}
