body {
  font-family: 'Alegreya', serif;
}

/* Dark Mode */
/* ================= DARK MODE ================= */

body.dark {
  background-color: #121212;
  color: #eee;
  transition: 0.4s;
}

/* Sections */
body.dark section {
  background-color: #121212;
}

/* Light sections */
body.dark .bg-light {
  background-color: #1e1e1e !important;
}

/* Cards + Boxes */
body.dark .card,
body.dark .testimonial-box,
body.dark .feature-box,
body.dark form {
  background-color: #1f1f1f !important;
  color: #fff;
  border: 1px solid #333;
}

/* Navbar */
body.dark .navbar {
  background-color: #000 !important;
}

/* Text */
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
  color: #fff;
}

body.dark p,
body.dark span,
body.dark li {
  color: #ccc;
}

/* Inputs */
body.dark input,
body.dark textarea {
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
}

/* Buttons */
body.dark .btn-warning {
  background-color: #d4a762;
  color: #000;
}

/* Footer */
body.dark footer {
  background-color: #000 !important;
}

/* ================= DARK BUTTON (NEW STYLE) ================= */

.dark-mode-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* شكل الزرار */
#darkToggle {
  font-size: 18px;
  color: white;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

/* Hover */
#darkToggle:hover {
  background: #ffc107;
  color: black;
  transform: scale(1.1);
}

/* لما يبقى دارك */
body.dark #darkToggle {
  background: #ffc107;
  color: black;
}

/* 📱 Mobile Fix */
@media (max-width: 991px) {

  .navbar-nav {
    gap: 10px;
  }

  .dark-mode-wrapper {
    margin-top: 15px;
  }

  #darkToggle {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* Hero Section */
.home {
  position: relative;
  width: 100%;
  height: 90vh; /* طول الشاشة */
  background-image: url('../images/drew-coffman-1872.jpg'); /* الصورة اللي رفعتها */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home .container {
  position: relative;
  z-index: 2; /* النص فوق overlay */
}

.home h1 {
  font-size: 3rem;
}

.home p.lead {
  font-size: 1.2rem;
}

.home .btn {
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.home .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.baking-img {
  height: 220px;
  object-fit: cover;
}

.about-img {
  max-height: 400px;
  object-fit: cover;
}

/* Navbar */
/* Navbar عند النزول */
.navbar {
  transition: 0.4s;
  background: transparent;
}

.navbar-scrolled {
  background: #222 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
/* Hover Effects */
.card img {
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

/* Buttons */
.btn-warning {
  background-color: #8e7754;
  border: none;
}

.btn-warning:hover {
  background-color: #6e5c40;
}

/* Section spacing */
section {
  padding-top: 80px;
}

/* ================= WHY US ================= */
.why-us {
  background: #fff;
}

.feature-box {
  padding: 30px;
  border-radius: 12px;
  transition: 0.4s;
  background: #fff;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: #8e7754;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

/* ================= TESTIMONIALS ================= */
.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.9s ease;
}

.testimonial {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.testimonial-box {
  max-width: 500px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { 
  left: 10px; 
}
.next { 
  right: 10px; 
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 5px;
  background: gray;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #8e7754;
}


.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.5s ease;
}

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

#topBtn{
  position: fixed;
  bottom: 30px;
  left: 30px;
  background:#d4a762;
  color:#fff;
  border:none;
  padding:10px 15px;
  border-radius:50%;
  display:none;
  z-index:999;
}

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: .4s;
}

/* لما يفتح */
.lightbox.show{
  display: flex;
  opacity: 1;
}

.lightbox img{
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,.6);
  animation: zoom .4s;
}

input:focus, textarea:focus {
  border-color: #8e7754 !important;
  box-shadow: 0 0 5px rgba(142,119,84,.5);
}
/* ================= ANIMATION بسيطة ================= */
.feature-box,
.testimonial-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom{
  from{ transform: scale(3); }
  to{ transform: scale(1); }
}