@font-face {
  font-family: sansArabic;
  src: url(IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf);
  font-weight: bold;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sansArabic, sans-serif;
}

body {
  background: linear-gradient(to bottom, #000000, #777e5c, #000000);
  color: #111;
}

/* ===========================================
   NAVBAR
=========================================== */

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: white;
  font-family: sans-serif;
  position: sticky;
  z-index: 1000;
  top: 0;
}

.navbar img {
  width: 150px;
  height: 40px;
}

header.navbar nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  position: relative;
  transition: all 0.5s ease;
}

.navbar nav a:hover {
  color: #777e5c;
  transform: scale(1.2);
  font-weight: bold;
}

.dropdown {
  position: relative;
  list-style: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.7rem 1rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #333;
  display: block;
  border-radius: 3px;
}

header.navbar nav .dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
  padding: 10px;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    max-height 0.45s ease,
    transform 0.35s ease;
}

.dropdown:hover .drop-menu {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
  pointer-events: auto;
}

.drop-item {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.drop-item:hover {
  background: #f5f5f5;
}

@media screen and (max-width: 890px) {
  .drop-menu {
    display: none;
    flex-direction: column;
    padding-left: 20px;
  }

  .dropdown.open .drop-menu {
    display: flex;
  }

  .dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .dropdown > a::after {
    content: "▾";
    font-size: 14px;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .dropdown > a:hover {
    transform: none;
  }
}

header.navbar.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

header.navbar {
  transition: transform 0.3s ease;
}

/* ===========================================
   RESPONSIVE NAV
=========================================== */

@media screen and (max-width: 890px) {
  header.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menu-toggle {
    display: flex;
  }

  header.navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    display: none;
  }

  header.navbar nav.active {
    display: flex;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown > a::after {
    content: " ▼";
    font-size: 12px;
  }
}

/* ===========================================
   GALERÍA
=========================================== */

.gallery-section {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.gallery-section h1 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  border-bottom: 2px solid #444;
  display: inline-block;
  padding-bottom: 10px;
}

.gallery-section h2 {
  font-size: 32px;
  margin: 60px 0 30px;
  font-weight: 600;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(90%) contrast(110%);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(100%) contrast(120%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ===========================================
   LIGHTBOX
=========================================== */

.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  animation: zoomIn 0.3s ease;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.lightbox .close:hover {
  color: #ff0000;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .lightbox .arrow {
    color: #000;
  }
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

img[data-aos] {
  transition: transform 0.3s ease;
  cursor: pointer;
}

img[data-aos]:hover {
  transform: scale(1.05);
}

/* ===========================================
   FOOTER
=========================================== */

#footer {
  color: #fff;
  padding: 80px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  padding: 0 20px;
}

.footer-section img {
  width: 180px;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-section2 {
  flex: 1;
  min-width: 250px;
  margin-top: 50px;
}

.footer-section2 p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
}

.mail {
  text-decoration: none;
  color: #f39c12;
  transition: all 0.5s;
}

.mail:hover {
  color: #777e5c;
  font-size: 18px;
}

.mailMobile {
  display: none;
}

.footer-section3 {
  flex: 1;
  min-width: 250px;
  margin-top: 50px;
}

.footer-section3 p {
  font-size: 16px;
  line-height: 1.6;
}

.social-icons a {
  color: #f39c12;
  margin-right: 10px;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.5s;
}

#fb:hover {
  color: #1534ff;
}

#ig:hover {
  color: #ca0599;
}

#tt:hover {
  color: #1da1f2;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-bottom a {
  color: #f39c12;
  text-decoration: none;
}

.ig,
.wsp {
  position: fixed;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.ig {
  width: 45px;
  height: 45px;
  bottom: 30px;
  right: 100px;
}

.wsp {
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
}

.ig:hover,
.wsp:hover {
  transform: scale(1.1);
  cursor: pointer;
}

@media (max-width: 890px) {
  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }

  .ig {
    right: 80px;
  }

  .wsp {
    right: 20px;
  }
}

@media (max-width: 600px) {
  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }

  .ig {
    right: 65px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .wsp {
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 400px) {
  .footer-section img {
    width: 180px;
    margin-bottom: 10px;
  }

  .ig {
    right: 55px;
  }

  .wsp {
    right: 10px;
  }
}

#tel {
  text-decoration: none;
  color: #f39c12;
  transition: all 0.5s;
}

#tel:hover {
  color: #007BFF;
}

.tel {
  margin-left: 25%;
}

@media screen and (max-width: 890px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section,
  .footer-section2,
  .footer-section3 {
    margin-top: 30px;
    padding: 0;
  }

  .footer-section2 p,
  .footer-section3 p {
    max-width: 90%;
    margin: 0 auto;
  }

  .social-icons {
    justify-content: center;
  }

  .mail {
    display: none;
  }

  .mailMobile {
    display: inline;
    color: #f39c12;
    text-decoration: none;
  }

  .mailMobile:hover {
    color: #777e5c;
  }
}

.slider {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: #000;
  padding: 20px;
}

.slider-info {
  text-align: center;
  margin-bottom: 15px;
}

.slider-info h2 {
  font-size: 26px;
  color: #fff;
  letter-spacing: 1px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 12px;
}

.slider-container img.active {
  display: block;
}

/* FLECHAS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: white;
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

/* PUNTOS */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dots .dot.active {
  background: #f39c12;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .slider {
    padding: 10px;
  }

  .slider-container {
    height: 250px;
  }

  .slider-info h2 {
    font-size: 20px;
  }

  .slider-btn {
    padding: 10px 14px;
    font-size: 18px;
  }
}
