/* Reset */
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Thin.ttf') format('truetype');
  font-weight: 100;
}


@font-face {
  font-family: 'Dalfitra';
  src: url('fonts/Dalfitra-Regular.woff2') format('woff2'),
       url('fonts/Dalfitra-Regular.ttf') format('truetype'),
       url('fonts/Dalfitra-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: #000;
    color: #fff;
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
  }

 
  .subtitle {
    font-weight: 300; /* Light */
  }
  .call-to-action {
    font-weight: 600; /* SemiBold */
  }

  /*h1 {
    font-family: 'Dalfitra', 'Sora', sans-serif;
    font-weight: normal;
  }

  h2, .service-card {
    font-family: 'Dalfitra', 'Sora', sans-serif;
  }*/

  .footer-content h2, .disclaimer h4
  {
    font-family: 'Dalfitra', 'Sora', sans-serif;
  }

  .logo,
h1.site-title,
.banner-heading {
  font-family: 'Dalfitra', serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
}
  
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
  }
  
  .loader-gif {
    max-width: 60vw;
    max-height: 60vh;
    object-fit: contain;
  }

  #loader-logo {
    margin-top: 30px;
    max-height: 70px;
    opacity: 0;
    animation: fadeInLogo 1.5s ease forwards;
    animation-delay: 3.5s;
  }
  
  #loader.fade-out {
    opacity: 0;
    pointer-events: none;
  }

  #main-header {
    text-align: center;
    padding: 30px 0 10px;
    cursor: pointer;
  }
  
  #main-header img {
    max-height: 70px;
    width: auto;
    max-width: 70%;
  }

  .book-button-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .book-button {
    background-color: #a259ff;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(162, 89, 255, 0.4);
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
  }
  
  .book-button:hover {
    background-color: #8e46e0;
    transform: scale(1.05);
  }
  
  #logo-intro {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 9998;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    animation: logoIntroAnim 2s ease-out forwards;
    animation-delay: 3s;
  }
  
  #logo-intro img {
    max-width: 300px;
    width: 80%;
    height: auto;
  }
  
  #animated-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 99;
    animation: animateHeaderToNormal 2.5s ease-out forwards;
    animation-delay: 8s; /* 5s gif + 3s logo intro */
  }
  
  #animated-header img {
    max-height: 60px;
    width: auto;
  }


  #main-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
  }
  
  /* Hamburger menu icon */
  #menu-toggle {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  
  #menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
  }
  
  /* Menu list */
  #menu-list {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #111;
    padding: 15px 20px;
    border: 1px solid #444;
    border-radius: 8px;
    text-align: right;
    white-space: nowrap;
  }
  
  #menu-list li {
    color: white;
    font-size: 0.95rem;
    padding: 10px 0 10px 20px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #333;
    list-style: none;
  }

  #menu-list li  a{
    color: white;
    text-decoration: none;
  }
  
  #menu-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  #menu-list li:nth-child(1)::before {
    background-image: url('img/seal02.png');
  }

  #menu-list li:nth-child(2)::before {
    background-image: url('img/seal01.png');
  }
  
  #menu-list li:nth-child(3)::before {
    background-image: url('img/seal03.png');
  }
  
  #menu-list li:nth-child(4) a {
    color: #8e46e0;
  }

  #menu-list li:nth-child(5) a {
    color: #8e46e0;
  }
 
  
  
  #menu-list li:last-child {
    border-bottom: none;
  }
  
  /* Menu open state */
  #menu-toggle.active + #menu-list {
    display: block;
  }

  #contact-footer {
    background-color: #111;
    text-align: center;
    border-top: 1px solid #333;
    color: white;
    padding-bottom: 5px;
    padding-top: 20px;
  }
  
  #contact-footer h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .footer-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
  }

  .footer-content
  {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .icon-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .icon-link i {
    font-size: 1.3rem;
  }
  
  /* Form styling */
  #contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  #contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  background-color: #222;
  color: white;
}
  
  #contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #222;
    color: white;
  }
  
  #contact-form button {
    margin-top: 15px;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    background-color: #a259ff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #contact-form button:hover {
    background-color: #8e46e0;
  }

  @keyframes fadeInLogo {
    to {
      opacity: 1;
    }
  }

  .footer-bottom-bar {
    background-color: #000;
    border-top: 1px solid #333;
    margin: 0;
    padding: 15px 20px 10px;
  }
  
  .footer-bottom-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 0.9rem;
  }
  
  .footer-logo {
    max-height: 22px;
    opacity: 0.85;
    vertical-align: middle;
  }



  @keyframes animateHeaderToNormal {
    0% {
      opacity: 0;
      top: 50%;
      transform: translate(-50%, -50%) scale(0.6);
      position: absolute;
    }
    30% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
      opacity: 1;
      top: 0;
      left: 0;
      transform: none;
      position: relative;
      margin: 40px auto 20px;
      text-align: center;
    }
  }
  
  
  /* Fade and scale from center */
  @keyframes logoIntroAnim {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1);
    }
    40% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    80% {
      opacity: 1;
      transform: translate(-50%, -150%) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -250%) scale(1);
    }
  }
  
  /* Content segments */
  .segment {
    padding: 120px 20px;
    text-align: center;
    border-bottom: 1px solid #333;
  }
  
  a {
    color: #1e90ff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }

  .equipoTitle
  {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 2em;
  }

  #services-menu {
    padding: 80px 20px 40px;
    background-color: #0d0d0d;
    color: white;
    text-align: center;
    min-height: 50vh;
  }
  
  
  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .service-card {
    text-decoration: none;
    color: white;
    display: block;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px 25px;
    font-size: 1rem;
    font-weight: 500;
    max-width: 280px;
    flex: 1 1 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 12px rgba(162, 89, 255, 0.4);
    border-color: #a259ff;
  }
  
  .equipo-link {
    font-size: 1.2rem;
    color: #a259ff;
    font-weight: 600;
    cursor: default;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  
  .equipo-link:hover {
    transform: scale(1.05);
  }

  .equipo-link a {
    color: #a259ff;
    text-decoration: none;
  }
  
  .equipo-link a:hover {
    text-decoration: underline;
  }

  .equipo-card {
    border: 2px solid #a259ff;
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: center;
    margin: 40px auto 0;
    max-width: 280px;
  }
  
  .equipo-card a {
    color: #a259ff;
    text-decoration: none;
    display: block;
    font-weight: 600;
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .equipo-card:hover {
    border: 2px solid white;
    text-decoration: underline;
  }
  
  .equipo-card:hover a {
    color: #fff;
  }

  .disclaimer h4
  {
    font-size: 0.8em;
  }

  .disclaimer p
  {
    font-size: 0.85em;
  }

  .italicFont
  {
    font-style: italic;
  }

  .seal
  {
    margin-top: -5px;
    margin-bottom: 10px;
  }

  .seal img
  {
    width: 100px;
    height: auto;
  }

  #team {
    padding: 80px 20px;
    background-color: #0d0d0d;
    color: #fff;
    text-align: center;
  }
  
  #team h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .team-member {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: left;
    padding: 0 10px;
  }
  
  .team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #fff;
  }
  
  .team-member h3 span {
    font-weight: normal;
    font-size: 1rem;
    color: #a259ff;
  }
  
  .subtitle {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
  }
  
  .bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
  }
  
  /* Responsive tweaks */
  @media (max-width: 768px) {
    .segment {
      padding: 80px 15px;
    }
  
    h1, h2 {
      font-size: 1.8em;
    }
  
    p {
      font-size: 1em;
    }
  

    #loader img {
        max-width: 80vw;
        max-height: 40vh;
    }

    .team-member {
        padding: 0 5px;
      }
    
      .team-member h3 {
        font-size: 1.2rem;
      }
    
      .bio {
        font-size: 0.95rem;
      }

      
  }
  