/* Color Variables */
:root {
  --dark-gray: #2e2e30;
  --light-gray: #F9F9F9;
  --alareen-red: #9F2B24;
  --alareen-red-light: rgba(159, 43, 36, 0.1);
  --alareen-red-hover: #8a251f;
  --white: #FFFFFF;
  --section-padding: 4rem 0;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
}

body {
  font-family: 'SF Pro Display', sans-serif;
  background-color: var(--white);
  color: var(--dark-gray);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
  width: 100%;
  min-height: auto;
}

.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(35, 38, 42, 0.95) !important;
  backdrop-filter: blur(10px);
}

.navbar-dark {
  background-color: var(--dark-gray);
}

.navbar-light {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand img {
  max-height: 28px !important;
  height: auto;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-item {
  margin: 0 0.25rem;
}

.hero-section {
  background-image: url('../images/hero-background.png');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  animation: gradualFadeIn 1.5s ease-in-out;
  padding-top: 90px; /* Reduced padding to account for smaller fixed navbar */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(45deg, rgba(159, 43, 36, 0.4), rgba(35, 38, 42, 0.8));
  animation: gradualDarken 2s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Scroll Indicator Styling */
.hero-scroll-indicator {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease-out 1s forwards;
  opacity: 0;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--white);
  border-radius: 14px;
  position: relative;
  margin: 0 auto 10px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: mouseWheel 1.5s ease-in-out infinite;
}

@keyframes mouseWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.scroll-arrows {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
  margin: 0 auto;
}

.scroll-arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  margin: -5px 0;
  animation: scrollArrows 2s infinite;
}

.scroll-arrows span:nth-child(2) {
  animation-delay: -0.2s;
}

.scroll-arrows span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes scrollArrows {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

.hero-text {
  color: #FFFFFF;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links a {
  color: var(--white) !important;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--alareen-red) !important;
  opacity: 1;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--alareen-red);
  transform: translateY(-5px);
  color: var(--white) !important;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem !important;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.nav-link:hover {
  color: var(--alareen-red) !important;
  background-color: rgba(159, 43, 36, 0.05);
}

.language-switch {
  font-weight: 500;
  transition: var(--transition-fast);
}

.language-switch:hover {
  color: var(--alareen-red) !important;
  transform: scale(1.05);
}

.card {
  transition: var(--transition-medium);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--alareen-red);
}

.card-icon {
  transition: var(--transition-medium);
  display: inline-block;
}

.dropdown-menu {
  border-radius: 0.25rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
  padding: 0.35rem 0;
  margin-top: 0.3rem;
}

.dropdown-item {
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--alareen-red-light);
  color: var(--alareen-red) !important;
}

.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
}

.section-padding {
  padding: var(--section-padding);
}

.section-padding-sm {
  padding: 2.5rem 0;
}

.strip {
  padding: var(--section-padding);
  position: relative;
}

.strip-light {
  background-color: var(--light-gray);
}

.strip-dark {
  background-color: var(--dark-gray);
  color: var(--white);
}

.strip-primary {
  background-color: var(--alareen-red-light);
}

.bg-light-gray {
  background-color: var(--light-gray);
}

.bg-dark-gray {
  background-color: var(--dark-gray);
}

.text-alareen-red {
  color: var(--alareen-red);
}

.btn-alareen {
  background-color: var(--alareen-red);
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(159, 43, 36, 0.3);
  transform: translateY(0);
  position: relative;
  overflow: hidden;
  z-index: 1;
  
  &:hover {
    background-color: var(--alareen-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(159, 43, 36, 0.4);
  }
  
  &:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(159, 43, 36, 0.3);
  }
  color: var(--white);
  border: none;
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-alareen:hover {
  background-color: #8a2520;
  color: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-alareen-outline {
  background-color: transparent;
  color: var(--alareen-red);
  border: 1px solid var(--alareen-red);
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-alareen-outline:hover {
  background-color: var(--alareen-red-light);
  color: var(--alareen-red);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: fadeInUp 1s ease-out;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--alareen-red);
  transition: var(--transition-fast);
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title.centered {
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #666;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/static/fonts/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/static/fonts/SF-Pro-Display-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/static/fonts/SF-Pro-Display-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/static/fonts/SF-Pro-Display-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/static/fonts/SF-Pro-Display-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
