@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;
}



























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;
}

/* Logo */
.navbar img {
  width: 150px;
  height: 40px;
}

/* Navegación principal */
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; /* 👈 controla la suavidad */
}

.navbar nav a:hover {
  color: #777e5c;
  transform: scale(1.2);
  font-weight: bold;
}

/* Dropdown general */
.dropdown {
  position: relative;
  list-style: none;
}

/* Menú desplegable */
.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;
}

/* Items del dropdown */
.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;
}

/* Botón hamburguesa */
.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;

    /* ESTADOS INICIALES PARA ANIMAR */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    pointer-events: none;   /* evita clics mientras está cerrado */

    /* TRANSICIONES SUAVES PARA ABRIR Y CERRAR */
    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; /* activa clics cuando se abre */
  }
  
  .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;
    }

    /* Flecha al lado del texto */
    .dropdown > a {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* flechita por defecto */
    .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; /* El hover general no lo afecta */
    }
  }

  header.navbar.nav-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  
  header.navbar {
    transition: transform 0.3s ease;
  }
  


/* ---------------- RESPONSIVE ------------------ */

@media screen and (max-width: 890px) {

    header.navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 20px;
      background: white;
      font-family: sans-serif;
      position: sticky; /* 🔹 importante para móviles */
      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;
    }
  }






  .gallery-section {
    text-align: center;   /* Obliga a centrar elementos inline-block */
}

.gallery-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;

    display: inline-block;       /* Línea solo bajo el texto */
    border-bottom: 2px solid #444;
    padding-bottom: 10px;

    margin: 0 auto 40px auto;    /* centrado */
    text-align: center;
    margin-top: 80px;
}








/* Info de cada slider */

.slider-info {
  text-align: center;
  color: #fff; /* blanco por defecto, lo podés cambiar */
  font-family: sans-serif;
}

.slider-info h2 {
  font-size: 1.8rem;
}

.slider-info p {
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 400px; /* 👈 alto fijo, si no queda invisible */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 60%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.8s ease;
  opacity: 0;
  transform: scale(0.7) translateX(0);
  z-index: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.slider img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Estados de las slides */
.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

.slide.left {
  opacity: 0.6;
  transform: scale(0.8) translateX(-250px);
  z-index: 2;
}

.slide.right {
  opacity: 0.6;
  transform: scale(0.8) translateX(250px);
  z-index: 2;
}

/* Botones */
.btn {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s;
  color: white;
}

.btn:hover {
  background: rgba(255,255,255,0.5);
}

.btn.prev { left: 20px; }
.btn.next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {

  .slides {
    height: 250px; /* 👈 versión reducida en pantallas chicas */
  }

  .slide {
    width: 80%;
    height: 250px;
  }

  .slide.left {
    transform: scale(0.8) translateX(-150px);
  }

  .slide.right {
    transform: scale(0.8) translateX(150px);
  }

  .slider .prev,
    .slider .next {
        display: none !important;
    }
}
















  /* Estado inicial: oculto y desplazado */
  .hidden {
    opacity: 0;
    transform: translateY(50px);
  }
  
  /* Cuando entra en pantalla */
  .show {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
  }
    
    







  .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: #000000;
    }
  }
  
  .lightbox .arrow.prev { left: 20px; }
  .lightbox .arrow.next { right: 20px; }
  
  @keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
















  
  #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;
}

/* Ajustes para pantallas más pequeñas */
@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-section img {
      width: 180px;
      margin-bottom: 10px;
    }
    
    .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;
    }
  
  
  }
  

