/* COLORS */
:root {
  --green: #4a8b6d;
  --white: #ffffff;
}

html, body {
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #000;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* DESKTOP — FULL SCROLL OFF */
@media (min-width: 901px) {
  html, body {
    overflow: hidden !important;   /* ← დესკტოპზე სქროლი გამორთვა */
  }
}

/* ======================
      NAVBAR
====================== */

.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  padding: 8px 25px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: rgba(74,139,109,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  border-radius: 0 0 20px 20px;
  z-index: 999;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-box {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-logo-box img {
  width: 36px;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 900;
  color: white;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.25s;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.18);
}

.nav-burger {
  display: none;
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.nav-burger span {
  height: 4px;
  background: white;
  margin: 3px 0;
  border-radius: 4px;
  transition: 0.35s;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ======================
     CONTACT SECTION
====================== */

.contact-background {
  width: 100%;
  min-height: 100vh;
  background-image: url("/img/back2.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 0 70px 0; 
}

.contact-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  gap: 60px;
  justify-content: center;
}

/* ====== CONTACT BOXES ====== */

.contact-left,
.contact-right {
  flex: 1;
  width: 100%;
  max-width: 420px;        
  min-height: 300px;       
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  color: white;
  display: flex;
  flex-direction: column;
  overflow: visible;        /* დესკტოპზე scroll არაა */
}

.contact-left h2,
.contact-right h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.icons img {
  width: 34px;
}

/* MAP */
.map-box {
  width: 100%;
  height: 190px;
  border-radius: 14px;
  margin-top: 10px;
  overflow: hidden;
}

/* FORM */
.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  flex: 1;
}

.contact-right input {
  height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 15px;
}

.contact-right textarea {
  height: 140px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  color: white;
  resize: none;
  font-size: 15px;
}

.contact-right button {
  margin-top: auto;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #4a8b6d, #5fb28a);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-right button:hover {
  transform: translateY(-2px);
}

/* ======================
     RESPONSIVE — MOBILE
====================== */

@media (max-width: 900px) {

  html, body {
    overflow-y: auto !important;   /* ← მობილურზე scroll ჩართული */
  }

  .nav-burger {
    display: flex !important;
  }

  .nav-menu {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(74,139,109,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 25px 0;
    border-radius: 0 0 20px 20px;
    transform: translateY(-200%);
    transition: 0.4s;
    opacity: 0;
  }

  .nav-menu.show {
    transform: translateY(0);
    opacity: 1;
  }

  .contact-background {
    padding-top: 150px;   
    padding-bottom: 100px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .contact-left,
  .contact-right {
    width: 350px;
    max-width: none;
    min-height: 500px;
    overflow-y: auto;     /* ← scroll ONLY mobile */
    padding: 26px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .map-box {
    height: 220px;
  }
}

@media (max-width: 380px) {

  .nav-logo-text {
    font-size: 16px;
  }

  .nav-logo-box {
    width: 40px;
    height: 40px;
  }
}
/* ============================
   CUSTOM LANGUAGE DROPDOWN
=============================== */

.lang-switch {
  position: absolute;
  right: 115px;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  z-index: 2000;
}

.lang-selected {
  padding: 6px 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: 0.25s ease;
  transform-origin: center;
}

.lang-switch.active .lang-selected {
  transform: scale(1.12);
  background: rgba(255,255,255,0.35);
}

.lang-options {
  display: flex;
  flex-direction: column;

  margin-top: 6px;
  width: 100%;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  overflow: hidden;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.lang-switch.active .lang-options {
  max-height: 300px;
  opacity: 1;
}

.lang-options div {
  padding: 10px 14px;
  color: white;
  cursor: pointer;
  transition: 0.25s;
}

.lang-options div:hover {
  background: rgba(0,0,0,0.15);
}
