/*
السلك المبروم - HTML/CSS/JS Version
RTL Arabic Website for Premium Men's Tailoring
*/

:root {
  --primary-color: #1a2332;
  --secondary-color: #2a3441;
  --accent-color: #c9a96e;
  --text-color: #333;
  --light-bg: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --gold-light: #d4b882;
  --dark-blue: #1a2332;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  direction: rtl;
  text-align: right;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--accent-color);
}

.header.scrolled {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
} */
 .logo {
  order: 1; /* يخلي اللوجو يروح يمين */
}

.logo-img {
  height: 40px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  order: 2;
  flex-grow: 1;
  display: flex;
  justify-content: center; /* يخلي العناصر في النص */
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--gold-light) 100%);
  color: var(--dark-blue);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Vision & Mission */
.vision-mission {
  background: var(--light-bg);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.vision-card, .mission-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.vision-card.animate-fadeInUp, .mission-card.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.vision-card h3, .mission-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.vision-card h3::before, .mission-card h3::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}

.mission-features {
  list-style: none;
  margin-top: 1.5rem;
}

.mission-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mission-features li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.value-card.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.2);
}

/* Fabrics Section */
.fabrics {
  background: var(--light-bg);
}

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.fabric-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.fabric-card.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.fabric-card:hover {
  transform: scale(1.05);
}

.fabric-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
}

.fabric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--gold-light) 100%);
  border-radius: 15px 15px 0 0;
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.feature-item.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-color);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(212, 184, 130, 0.1) 100%);
  padding: 15px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

/* Contact Section */
.contact {
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: center;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-card.animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
/* Call To Action Button */
.cta-btn {
  order: 3;
  background: #e63946;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #d62828;
}


.phone-number {
  font-size: 1.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phone-number:hover {
  color: var(--secondary-color);
}

.call-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--gold-light) 100%);
  border-radius: 1px;
}

/* Hide the old separate icon block if it still exists */
/*.contact-card .feature-icon { display: none; }*/

/* Make the number show with an inline icon */
.phone-number{
  display: inline-flex;
  align-items: center;
  gap: .5rem;           /* space between icon and number */
  text-decoration: none;
  color: inherit;
  font-size: 1.1rem;
}

/* Inject the icon before the text (RTL-safe) */
.phone-number::before{
  content: attr(data-icon);  /* take the emoji from the HTML attribute */
  font-size: 1.35rem;
  line-height: 1;
}
.icon-call{
    
}









/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .call-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .vision-mission-grid,
  .values-grid,
  .fabrics-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
    
  }
}

.contact-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Loading States */
body.loaded .animate-fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

/* Additional Hover Effects */
.btn:active {
  transform: translateY(0);
}

.contact-card:hover,
.value-card:hover,
.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Phone Number Formatting */
.phone-number {
  direction: ltr;
  display: inline-block;
}
/* Additional styling for new color scheme */
.value-icon {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15) 0%, rgba(212, 184, 130, 0.15) 100%);
  border: 2px solid rgba(201, 169, 110, 0.3);
}

.contact-card:hover {
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.25);
}

.fabric-card:hover {
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* Gold accent elements */
.hero h1 {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced animations */
@keyframes goldShimmer {
  0% { 
    background-position: -200px 0; 
  }
  100% { 
    background-position: 200px 0; 
  }
}

.logo:hover .logo-img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
