
/* Global Styles */
body {
  font-family: 'Lato', sans-serif;
  color: #332C2B;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #93B4AA;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover {
  color: #93B4AA !important;
}

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

/* Hero Section Animations */
.hero-section {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Button Hover Effects */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.card {
  transition: all 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Menu Category Styles */
.menu-category {
  transition: all 0.3s ease;
}

.menu-category:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.menu-category ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(147, 180, 170, 0.2);
  transition: all 0.3s ease;
}

.menu-category ul li:last-child {
  border-bottom: none;
}

.menu-category ul li:hover {
  padding-left: 10px;
  color: #93B4AA;
}

/* Moroccan Pattern Background */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(147, 180, 170, 0.03) 10px, rgba(147, 180, 170, 0.03) 20px),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(147, 180, 170, 0.03) 10px, rgba(147, 180, 170, 0.03) 20px);
  opacity: 0.5;
}

/* Testimonial Card Animation */
.testimonial-card {
  transition: all 0.3s ease;
}

/* Social Icons */
.btn-sm.rounded-circle {
  transition: all 0.3s ease;
}

.btn-sm.rounded-circle:hover {
  background: #93B4AA !important;
  color: #332C2B !important;
  transform: rotate(360deg);
}

/* Form Styles */
.form-control:focus {
  border-color: #93B4AA;
  box-shadow: 0 0 0 0.2rem rgba(147, 180, 170, 0.25);
}

/* Link Hover Effects */
a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: #93B4AA !important;
  padding-left: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 400px;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .menu-category:hover {
    transform: none;
  }
}

/* Loading Animation for Images */
img {
  transition: opacity 0.3s ease;
}

img:hover {
  opacity: 0.9;
}

/* Decorative Elements */
.section-divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #93B4AA, transparent);
  margin: 20px auto;
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid #93B4AA;
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FEFEFE;
}

::-webkit-scrollbar-thumb {
  background: #93B4AA;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #332C2B;
}
