/* Fayvad Driving School Theme - Orange/Black/Red */

/* Variables */
:root {
  /* Black - Primary Brand Color */
  --fayvad-black: #1F2937;
  --fayvad-black-pure: #000000;
  --fayvad-black-light: #374151;

  /* Vibrant Orange - Main Accent */
  --fayvad-orange: #F39C12;
  --fayvad-orange-dark: #D68910;
  --fayvad-orange-light: #F8B84E;
  --fayvad-orange-pale: #FEF3E2;

  /* Dynamic Red - Energy & Urgency */
  --fayvad-red: #DC2626;
  --fayvad-red-dark: #B91C1C;
  --fayvad-red-light: #FEE2E2;

  /* White & Gray */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
}

/* Navigation */
.navbar {
  background: var(--fayvad-black);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--fayvad-orange);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--fayvad-orange);
}

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

.nav-link.active {
  background: var(--fayvad-orange);
  color: var(--white);
}

.nav-link.active::after {
  width: 0;
}

/* Buttons */
.btn-primary {
  background: var(--fayvad-orange);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(243, 156, 18, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--fayvad-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(243, 156, 18, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(243, 156, 18, 0.25);
}

.btn-secondary {
  background: var(--fayvad-black);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--fayvad-orange);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--fayvad-orange);
  border: 2px solid var(--fayvad-orange);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--fayvad-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(243, 156, 18, 0.25);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--fayvad-orange);
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  border-top-color: var(--fayvad-red);
}

.card-header {
  border-bottom: 2px solid var(--fayvad-orange);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fayvad-black);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 15px 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1rem;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

