/* ==========================================================================
   معجنات الشام - Bootstrap 5 RTL Custom Theme & Overrides
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bs-primary: #ab4426;
  --bs-primary-rgb: 171, 68, 38;
  --bs-secondary: #e85d04;
  --bs-secondary-rgb: 232, 93, 4;
  --bs-warning: #f48c06;
  --bs-dark: #2b1a13;
  --bs-body-font-family: 'Tajawal', sans-serif;
  --terracotta-dark: #6e2712;
  --bg-cream: #faf7f2;
  --bg-sand: #f3ece1;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-cream);
  color: #231b15;
  overflow-x: hidden;
}

/* Amiri Font Utility */
.font-amiri {
  font-family: 'Amiri', serif;
}

/* Full Width Navbar */
.navbar-custom {
  background-color: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand-icon-flame {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-warning));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}

.nav-link {
  font-weight: 700;
  font-size: 1.05rem;
  color: #231b15 !important;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--bs-primary) !important;
}

/* Hero Section Full Width */
.hero-section-full {
  min-height: 520px;
  background: linear-gradient(rgba(20, 15, 12, 0.6), rgba(43, 26, 19, 0.75)),
              url('images/hero_oven.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-flame-badge {
  background: rgba(232, 93, 4, 0.25);
  border: 1px solid var(--bs-warning);
  color: var(--bs-warning);
  font-weight: 600;
}

/* Custom Buttons */
.btn-terracotta {
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  color: white;
  border: none;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 26px;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
  transition: all 0.3s ease;
}

.btn-terracotta:hover {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 93, 4, 0.5);
}

.btn-outline-light-custom {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 26px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.3);
  color: white;
  transform: translateY(-2px);
}

/* About Section */
.bg-terracotta {
  background-color: var(--bs-primary);
  color: white;
}

.polaroid-img-wrapper {
  background: white;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.polaroid-img-wrapper:nth-child(2) {
  transform: rotate(3deg) translateY(12px);
}

.polaroid-img-wrapper:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 2;
}

.polaroid-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

/* Feature Box */
.feature-card-box {
  background: white;
  border-radius: 16px;
  border: 1px solid #e3d5c8;
  transition: all 0.3s ease;
}

.feature-card-box:hover {
  transform: translateY(-6px);
  border-color: var(--bs-warning);
  box-shadow: 0 12px 30px rgba(171, 68, 38, 0.12);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background: var(--bg-sand);
  color: var(--bs-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 2px dashed var(--bs-secondary);
}

/* Food Menu Cards */
.food-card-item {
  background: white;
  border-radius: 16px;
  border: 1px solid #e3d5c8;
  overflow: hidden;
  transition: all 0.3s ease;
}

.food-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(171, 68, 38, 0.12);
  border-color: var(--bs-warning);
}

.food-card-img-wrap {
  height: 190px;
  overflow: hidden;
}

.food-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.food-card-item:hover .food-card-img-wrap img {
  transform: scale(1.08);
}

.btn-add-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bs-primary);
  background: var(--bg-sand);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-add-circle:hover {
  background: var(--bs-primary);
  color: white;
}

/* Gallery Items */
.gallery-card-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
}

.gallery-card-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-card-wrap:hover img {
  transform: scale(1.1);
}

/* Contact Box */
.contact-box-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e3d5c8;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

/* Footer Section */
.footer-section-full {
  background: var(--terracotta-dark);
  color: white;
  border-top: 5px solid var(--bs-warning);
}

.social-circle-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-circle-link:hover {
  background: var(--bs-secondary);
  color: white;
  transform: translateY(-3px);
}

/* Toast */
.toast-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1055;
  background: var(--terracotta-dark);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-float.show {
  transform: translateY(0);
  opacity: 1;
}
