:root {
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Poppins', sans-serif;
}

@font-face {
  font-family: 'Goodly';
  src: url(../Fonts/goodly-regular.otf) format('opentype');
}

* {
  box-sizing: border-box;
}

/* ==========================
   BODY RESET
========================== */
body { /* 25 Done - Element selector */
  margin: 0; /* 32 Done - Box model */
  padding: 0; /* 32 Done - Box model */
  font-family: var(--body-font); /* 30 Done - Text formatting */
}

/* ==========================
   HERO SECTION
========================== */
#hero-section { /* 26 Done - ID selector */
  position: relative; /* 62 Done - position property */
  width: 100%; /* 65 Done - Responsive units (%) */
  height: 100vh; /* 65 Done - Responsive units (vh) */
  overflow: hidden;
}

.hero-backgorund::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.hero-backgorund {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease-in-out, transform 5s ease;
  z-index: 0;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* ==========================
   HERO TEXT
========================== */
.hero-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-text h1 {
  font-family: 'Goodly', sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
  font-family: var(--heading-font);
}

/* ==========================
   HERO ARROWS
========================== */
.hero-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  /* display: flex; */
  /* justify-content: space-between; */
  padding: 0 30px;
  transform: translateY(-50%);
  z-index: 10;
}

.arrow-left, .arrow-right { /* 28 Done - Grouping selectors */
  color: white; /* 29 Done - Colors (named) */
  font-size: 4rem; /* 30 Done - Text formatting */
  font-weight: normal; /* 30 Done - Text formatting */
  background-color: transparent; /* 31 Done - Background styling */
  border: none; /* 33 Done - Borders */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ==========================
   NAVBAR
========================== */
nav { /* 25 Done - Element selector */
  position: absolute;
  height: 60px;
  top: 0;
  width: 100%;
  z-index: 100;
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: space-between; */
  padding: 0 20px; /* 32 Done - Box model */
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent; /* 31 Done - Background styling */
  border-bottom: none; /* 33 Done - Borders */
}

nav.scrolled { /* 26 Done - Class selector */
  position: fixed; /* 62 Done - position property */
  background-color: white; /* 29 Done - Colors (named), Checklist 31 Done - Background styling */
  border-bottom: 1px solid #ccc; /* 29 Done - Colors (hex), Checklist 33 Done - Borders */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* 29 Done - Colors (rgba) */
}

.logo-name { /* 26 Done - Class selector, Checklist 35 Done - Classes preferred over IDs */
  font-family: 'Goodly', sans-serif; /* 30 Done - Text formatting */
  font-size: 1.4rem; /* 30 Done - Text formatting */
  font-weight: bold; /* 30 Done - Text formatting */
  color: white; /* 29 Done - Colors (named) */
  z-index: 25;
}

.logo-name a {
  text-decoration: none;
}

nav ul { /* 27 Done - Descendant selector */
  /* display: flex; */
  /* align-items: center; */
  list-style: none;
  gap: 20px;
  margin: 0; /* 32 Done - Box model */
  padding: 0; /* 32 Done - Box model */
  z-index: 25;
}

nav ul li { /* 27 Done - Descendant selector */
  position: relative;
}

nav ul li a { /* 27 Done - Descendant selector */
  color: white; /* 29 Done - Colors (named) */
  text-decoration: none;
  font-size: 1rem; /* 30 Done - Text formatting */
  padding: 8px 5px; /* 32 Done - Box model */
  display: flex; /* 56 Done - Display values, Checklist 59 Done - Flex container */
  align-items: center; /* 59 Done - align-items */
  transition: color 0.2s ease;
}

nav ul li a:hover { /* 27 Done - Descendant selector */
  color: rgb(120, 36, 36); /* 29 Done - Colors (rgb) */
}

.custom-dropdown {
  position: absolute; /* 62 Done - position property */
  top: 100%;
  left: 0;
  display: none; /* 56 Done - Display values */
  flex-direction: column; /* 60 Done - Flex item properties */
  background-color: white;
  gap: 0;
  min-width: 150px;
  z-index: 999; /* 63 Done - Controlled positioning */
  pointer-events: auto; /* added 12/27/2025 */
}

.custom-dropdown li {
  margin: 0;
  width: 100%;
}

.custom-dropdown li a {
  width: 100%;
  color: #333;
  padding: 10px;
  transition: color 0.2s ease;
}

.custom-dropdown li a:hover {
  color: rgb(120, 36, 36);
}

.custom-dropdown.show, .custom-dropdown.show-activities {
  display: flex;
  animation: dropdownOpen 0.35s ease forwards;
}

.languages-cta {
  position: relative;
  border: 2px solid #00e0ff;
  border-radius: 14px;
  padding: 8px 16px;
  overflow: hidden;
  color: white;
  transition: color 0.5s ease;
}

.languages-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00e0ff;
  z-index: -1;
  transition: width 0.5s ease;
  border-radius: 10px;
}

.languages-cta:hover {
  color: white;
}

.languages-cta:hover::before {
  width: 100%;
}

.languages-cta:focus {
  background-color: #00e0ff;
  color: white;
}

/* ====================== */
/*   DROPDOWN ANIMATIONS */
/* ===================== */
@keyframes dropdownOpen {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a {
  color: white;
  transition: color 0.3s ease;
}


nav.scrolled a {
  color: black;
}


nav .logo-name {
  color: white;
  transition: color 0.3s ease;
}

nav.scrolled .logo-name {
  color: black;
}

#menu {
  color: white;
}

nav.scrolled #menu {
  color: black;
}

.hamburger-menu {
  display: none;
  z-index: 400; /* to be always on top */
}


/* Allow the show-menu class to make the menu visible when toggled */
.show-menu {
  display: block !important;
}
/* ==========================
  END OF HERO CSS
========================== */

/* ==========================
   RESPONSIVNES
========================== */

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes linksFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====================== */
/*   RESPONSIVNES        */
/* ===================== */

@media (min-width: 993px) {
  .hamburger-menu {
    display: none !important;
  }
}

@media (max-width: 992px) { /* 64 Done - Media queries, Checklist 66 Done - Mobile viewports */
  nav {
    display: flex; /* 56 Done - Display values, Checklist 59 Done - Flex container */
    align-items: center; /* 59 Done - align-items */
    justify-content: space-between; /* 59 Done - justify-content */
    /* padding: 0 8px; */
    height: 60px;
  }

  .hamburger-menu {
    display: flex; /* 56 Done - Display values, Checklist 59 Done - Flex container */
    width: 60px;
    height: 60px;
    align-items: center; /* 59 Done - align-items */
    justify-content: center; /* 59 Done - justify-content */
    order: 1; /* 60 Done - Flex item properties */
    z-index: 400;
    background: transparent;
  }

  .hamburger-menu i {
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }

  .logo-name {
    order: 2; /* 60 Done - Flex item properties */
    margin-left: auto;
    margin-right: 8px;
    font-size: 1.1rem; /* 64 Done - Typography adjustment */
    text-align: right;
  }

  nav ul {
    display: flex; /* 56 Done - Display values, Checklist 59 Done - Flex container */
    flex-direction: column; /* 60 Done - Flex item properties */
    position: fixed; /* 62 Done - position property, Checklist 66 Done - Mobile layout */
    top: 60px;
    left: 0;
    width: 100%; /* 65 Done - Responsive units (%) */
    background-color: #fff;
    margin: 0;
    /* padding: 6px 0; */
    z-index: 300; /* 63 Done - Controlled positioning */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
  }

  nav ul.show-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    animation: fadeIn 0.35s ease forwards;
  }

  nav ul li {
    width: 100%;
    text-align: left;
    flex: 0 1 auto; /* 60 Done - Flex item properties (flex, flex-shrink, flex-basis) */
  }

  nav ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* padding: 12px 16px; */
    color: #333;
    font-size: 1rem;
    animation: linksFadeIn 0.25s ease forwards;
  }

  .custom-dropdown {
    position: relative;
    top: 0;
    left: 0;
    background-color: #f9f9f9;
    box-shadow: none;
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .hero-text {
    width: 92%;
  }

  .hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 60px !important;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .arrow-left, .arrow-right {
    font-size: 3rem;
    margin-top: 40px;
  }

  #destinationsDropdown li a, #activitiesDropdown li a, #languagesDropdown li a {
    padding: 0 0 8px 8px;
    background-color: rgb(243, 243, 243);
  }

  .show-menu {
    padding: 0 0 15px 8px;
  }

  .languages-cta {
    width: fit-content;
    color: black;
  }

  .languages-cta:hover {
    color: black;
  }

  .languages-cta:focus {
    background-color: #00e0ff;
    color: white;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 60px !important;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .arrow-left, .arrow-right {
    font-size: 3rem;
    margin-top: 40px;
  }
}

@media (max-width: 575px) {

  .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 60px !important;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .arrow-left, .arrow-right {
    font-size: 3rem;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.3rem !important;
    margin-bottom: 30px !important;
  }

  .hero-text p {
    font-size: 1.2rem;
    margin-top: 120px !important;
  }

  .arrow-left, .arrow-right {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  #hero-section {
    height: 120vh !important;
  }
}

@media (max-width: 380px) {
  .hero-text h1 {
    font-size: 1.8rem !important;
    margin-bottom: 60px !important;
  }

  .hero-text p {
    font-size: 1rem !important;
    margin-top: 90px !important;
  }

  .arrow-left, .arrow-right {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  #hero-section {
    height: 150vh;
  }
}

@media (max-width: 320px) {
  .hero-text h1 {
    font-size: 1.4rem !important;
    margin-bottom: 60px !important;
  }

  .hero-text p {
    font-size: 1rem !important;
  }

  .arrow-left, .arrow-right {
    font-size: 2rem;
  }

  #hero-section {
    height: 150vh;
  }

  .custom-card a {
    width: 60% !important; 
  }
}