/* --------------------------------------------------
   GLOBAL STYLE
-------------------------------------------------- */
body {
  font-family: 'Red Hat Mono', sans-serif;
  color: #F4EBD0;
  margin: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
  width: 100%;
  height: 100vh;
  background-image: url('/images/villa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------
   NAVIGATION BAR
-------------------------------------------------- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1b2612;
  padding: 0 1.5rem;
  height: 5rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}

.site-logo {
  height: 60px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #B68D40;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Red Hat Mono', sans-serif;
}

nav a:hover {
  color: #F4EBD0;
}

.nav-right {
  display: none;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 30px;
  color: #B68D40;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* --------------------------------------------------
   LANGUAGE DROPDOWN
-------------------------------------------------- */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: #B68D40;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lang-dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;         /* ostaje desno poravnano */
  background-color: #1b2612;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  min-width: auto;  /* uklanja minimalnu širinu */
  width: max-content; /* širina prilagođena sadržaju */
  z-index: 2000;
  padding: 5px 0;  /* samo vertikalni padding */
}

.lang-dropdown .dropdown-content a {
  color: #B68D40;
  padding: 8px 15px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  text-align: center;
  width: fit-content;
  border-bottom: 1px solid rgba(182, 141, 64, 0.3);
}

.lang-dropdown .dropdown-content a:last-child {
  border-bottom: none;
}

.lang-dropdown .dropdown-content a:hover {
  background-color: #F4EBD0;
  color: #333;
}

.lang-dropdown.active .dropdown-content {
  display: block;
}

/* --------------------------------------------------
   HERO TEXT
-------------------------------------------------- */
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 5;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.btn-primary {
  background: #B68D40;
  color: #333;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #F4EBD0;
  color: #333;
}

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */
.halimum-style {
  font-family: 'Halimun', sans-serif;
  color: #B68D40;
  max-width: 90vw;
}

.text {
  font-family: 'Red Hat Mono', sans-serif;
  color: #F4EBD0;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background-color: #1b2612;
  color: #B68D40;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Red Hat Mono', sans-serif;
  font-size: 16px;
}

/* --------------------------------------------------
   MOBILE / RESPONSIVE
-------------------------------------------------- */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
}
}

@media (max-width: 1024px) {
  .desktop-dropdown{
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 32px;
    color: #B68D40;
    cursor: pointer;
    z-index: 1002;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1001;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(27, 38, 18, 0.98);
    width: 100%;
    padding: 1rem 0;
    border-radius: 0 0 6px 6px;
    gap: 3px;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  #menu-toggle:checked ~ nav ul {
    display: flex;
  }

  nav ul li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  nav ul li a {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
    width: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li a.btn-primary {
    width: fit-content;
    margin: 10px auto;
    border: none;
  }

  .nav-bar {
    justify-content: space-between;
    align-items: center;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .lang-dropdown .dropdown-content {
    right: 0;
    top: 120%;
    left: auto;
    transform: none;
  }

  body {
    overflow-x: hidden;
  }
}
