/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== Base ======== */
body {
  font-family: 'Cairo', sans-serif;
  background: #f7f7f7;
  color: #222;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== Buttons & CTA ========= */
.btn,
.whatsapp-float,
.main-nav a.button {
  display: inline-block;
  background: linear-gradient(135deg, #e6c04a, #d4a21a);
  color: #000;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0px 4px 12px rgba(230, 192, 74, 0.38);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.main-nav a.button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 18px rgba(230, 192, 74, 0.55);
}

/* ========== Gallery ========= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px 0;
}

.gallery-item {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ========== Footer ========= */
footer {
  background: #222;
  color: #ddd;
  padding: 2.2rem 0;
  margin-top: 2rem;
  text-align: center;
}

footer h3 {
  margin-bottom: 1rem;
  color: #e6c04a;
}

.footer-map iframe {
  border-radius: 10px;
  margin-top: 1rem;
}

/* ========== Floating WhatsApp ========= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
}

/* ========== Typography ========= */
h1, h2, h3 {
  color: #222;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1.2rem;
  color: #555;
  font-size: 1rem;
}

/* ========== Mobile Optimized Layout ========= */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .gallery-item img {
    height: 150px !important;
    object-fit: cover !important;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 18px;
    left: 16px;
  }
}

/* ========== Very small phones ========== */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}