/* ==========================
   RESET & GLOBAL STYLES
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #1b4332;
  scroll-behavior: smooth;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  background: rgba(27, 67, 50, 0.95);
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #95d5b2;
}

/* ==========================
   HERO SECTION
========================== */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  animation: heroSlider 18s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  color: white;
  z-index: 2;
}

.hero-content h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
}

.hero-btn {
  background: #0f5132;
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #c8a75d;
}

/* HERO IMAGE SLIDER */
@keyframes heroSlider {
  0% {
    background-image: url('https://www.darelkaid.ma/wp-content/uploads/2023/02/AAA-O_DELK_34.jpg');
  }
  33% {
    background-image: url('https://www.darelkaid.ma/wp-content/uploads/2023/02/AAA-O_DELK_17.jpg');
  }
  66% {
    background-image: url('https://www.darelkaid.ma/wp-content/uploads/2023/02/AAA-O_DELK_31.jpg');
  }
  100% {
    background-image: url('https://www.darelkaid.ma/wp-content/uploads/2023/02/AAA-O_DELK_34.jpg');
  }
}

/* ==========================
   BUTTON STYLES
========================== */
.btn {
  padding: 12px 25px;
  background: #2d6a4f;
  color: white;
  text-decoration: none;
}

/* ==========================
   SECTIONS GENERAL
========================== */
.section {
  padding: 120px 60px;
}

.light {
  background: white;
}

.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

h2 {
  font-size: 40px;
  margin-bottom: 40px;
  color: #2d6a4f;
}

/* ==========================
   ABOUT SECTION
========================== */
.about {
  padding: 80px 20px;
  background: #f8f8f8;
  text-align: center;
}

.about h2 {
  color: #0f5132;
  font-size: 40px;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
}

/* ==========================
   MENU SECTION
========================== */
.menu-section {
  padding:50px 20px;
  text-align:center;
  background:#f8f8f8;
}

.menu-section h2 {
  font-size:40px;
  margin-bottom:40px;
  color:#0f5132;
}

.menu-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:30px;
}

.menu-card {
  position: relative;
  overflow: hidden;
  border-radius:15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  cursor: pointer;
  height:350px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.menu-img {
  position: absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
  transition: opacity 0.5s ease-in-out, transform 0.5s;
}

.menu-img.hover {
  opacity:0;
}

.menu-card:hover .menu-img.hover {
  opacity:1;
  transform:scale(1.1);
}

.menu-card:hover .menu-img.main {
  opacity:0;
  transform:scale(0.9);
}

.menu-info {
  position: relative;
  z-index:2;
  background:rgba(0,0,0,0.4);
  color:white;
  padding:15px;
  border-bottom-left-radius:15px;
  border-bottom-right-radius:15px;
}

.menu-info h3 {
  margin:0 0 5px;
  font-size:24px;
}

.menu-info p {
  margin:0 0 10px;
  font-size:14px;
}

.menu-info span {
  font-weight:bold;
  font-size:16px;
}
/* ==========================
   GALLERY SECTION
========================== */
.gallery {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.gallery h2 {
  color: #0f5132;
  font-size: 40px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ==========================
   VIDEO SECTION
========================== */
.video-section {
  padding: 80px 20px;
  background: #f8f8f8;
  text-align: center;
}

.video-section h2 {
  color: #0f5132;
  margin-bottom: 30px;
}

/* ==========================
   FORM SECTION
========================== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 15px;
  border: 2px solid #2d6a4f;
}

button {
  padding: 12px;
  border: none;
  background: #2d6a4f;
  color: white;
  cursor: pointer;
}

/* ==========================
   FOOTER
========================== */

.footer-language {
  margin-top: 15px;
  text-align: center;
  color: white;
}

.footer-language select {
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid #ffffff;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}
footer {
  text-align: center;
  padding: 30px;
  background: #1b4332;
  color: white;
}
