/* -------- Base Typography (შენი უცვლელად) -------- */
body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Body lock როცა drawer-ია ღია */
.no-scroll { overflow: hidden; }

/* -------- Header / Hero -------- */
header{
  background: url("Images/NasakhiMainPhoto.png") no-repeat center / contain;
  background-color: #fff; /* ან შენი თემის ფერი */
  height: 100vh;
  margin: 0;
    background-size: auto 100%;  
}

h1 {
  padding-top: 40px;
  padding-left: 50px;
  font-size: 65px;
  line-height: 1.1;
  max-width: 90vw;
  word-wrap: break-word;
  width: 918px;
  transform: translateX(-100%); /* საწყისში მარცხნივაა */
      animation: slideIn 1s ease-out forwards; /* ანიმაცია */
}
@keyframes slideIn {
      to {
        transform: translateX(0); /* საბოლოოდ ჩვეულებრივ ადგილზე */
      }
    }

h1 strong { font-weight: 400; }

/* -------- Top Navigation (შენი სტილები + მცირე safe ცვლილებები) -------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #fff;          /* რომ ჰამბურგერის შავი ხაზები დაინახოს */
  min-height: 60px;
  padding-right: 16px;       /* ადგილი მარჯვნივ ჰამბურგერისთვის */
}

nav .navlogo { display: flex; align-items: center; }
nav .navlogo img { margin-left: 50px; }
nav .navlogo p {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  margin-top: 30px;
  font-size: 33px;
}

nav .nav { margin-top: 10px; margin-right: 50px; display: flex; }
nav .menu { position: relative; }
nav .menu > a {
  text-decoration: none;
  color: black;
  padding: 10px 15px;
  display: inline-block;
}
nav .dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 1;
}
nav .dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}
nav .dropdown a:hover { background-color: #f2f2f2; }
nav .menu:hover .dropdown { display: block; }
nav a { color: black; font-size: 20px; }

/* -------- Divider -------- */
span {
  margin-top: 10px;
  display: flex;
  width: 100%;
  height: 2px;
  background-color: black;
}

/* -------- Footer (შენი სტილები) -------- */
footer {
  font-family: sans-serif;
  font-weight: 200;
  font-style: normal;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
footer div {
  margin-top: 27px;
  margin-left: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
footer p { font-size: 25px; }
footer .vertline { width: 2px; height: 200px; background-color: gray; }
footer img { width: 250px; margin-right: 50px; }

/* ===================================================== */
/*                    MOBILE NAV (RIGHT)                 */
/* ===================================================== */

/* ჰამბურგერი — ცოტა უფრო დიდი და შიგნით */
.hamburger{
  display: none;               /* desktop-ზე დამალული */
  margin-right: 20px;          /* შიგნით მოვწიეთ (ადრე 56px გქონდა) */
  width: 48px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger span{
  position: absolute;
  left: 6px; right: 6px;
  height: 4px;                 /* ხაზები ოდნავ სქელი */
  background: #000;
  transition: transform .3s ease, top .3s ease, opacity .3s ease;
}
.hamburger span:nth-child(1){ top: 10px; }
.hamburger span:nth-child(2){ top: 18px; }
.hamburger span:nth-child(3){ top: 26px; }
.hamburger.active span:nth-child(1){ top: 18px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ top: 18px; transform: rotate(-45deg); }

/* Overlay — დახურულზე გამჭვირვალე და არააქტიური */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  display: none;               /* desktop-ზე არ ჩნდება */
  z-index: 1000;
  transition: background .25s ease, opacity .25s ease;
}

/* Drawer — მარჯვნიდან გამოდის */
.mobile-nav-inner{
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(75vw, 360px);
  background: #fff;
  box-shadow: -2px 0 12px rgba(0,0,0,.15);
  padding: 60px 16px 24px;
  overflow-y: auto;
  transform: translateX(100%); /* დახურული */
  transition: transform .3s ease;
}

/* გახსნისას: overlay აქტიურდება და drawer შემოდის */
.mobile-nav.open{
  background: rgba(0,0,0,0.28);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav.open .mobile-nav-inner{ transform: translateX(0); }

/* Drawer-ის შიგნით header */
.mobile-nav-head{
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px; border-bottom: 1px solid #eee; margin-bottom: 12px;
}
.navlogo.mini img{ margin-left: 0; width: 36px; }
.navlogo.mini p { margin-top: 0; font-size: 24px; }
.close-btn{
  border: none; background: transparent;
  font-size: 36px; line-height: 1; cursor: pointer;
}

/* Click-to-expand ჯგუფები */
.mobile-group{ border-bottom: 1px solid #f0f0f0; }
.mobile-toggle{
  width: 100%; text-align: left; padding: 14px 6px;
  background: transparent; border: none; cursor: pointer;
  font-size: 20px; color: #000; font-weight: 700;
}
.mobile-dropdown{ display: none; flex-direction: column; padding: 0 6px 10px 6px; }
.mobile-dropdown.show{ display: flex; }
.mobile-dropdown a{
  display: block; padding: 10px 6px; font-size: 18px; color: #333; text-decoration: none; font-weight: 400;
}
.mobile-link{
  display: block; padding: 14px 6px; text-decoration: none; color: #000;
  font-size: 20px; font-weight: 700; border-bottom: 1px solid #f0f0f0;
}

/* -------- Responsive Activation -------- */
@media (max-width:1669px) {
   header {
    height: 100vh;
   }
}
@media (max-width:1220px) {
   header {
    height: 60vh;
   }
}

@media (max-width: 920px){
  nav .nav{ display: none; }     /* desktop-nav დამალე */

  /* Სპეციფიკური სელექტორი, რომ ნამდვილად გამოჩნდეს */
  nav .hamburger{
    display: flex;               /* flex → ხაზები ყოველთვის ჩანან */
    align-items: center;
    justify-content: center;
  }

  .mobile-nav{ display: block; } /* დახურულზე არ აფარებს (opacity:0; pointer-events:none) */

  /* სურვილისამებრ hero ზომის ადაპტაცია */
  h1{
    font-size: clamp(34px, 7vw, 48px);
    width: auto;
    padding-right: 16px;
  }

  footer {
    flex-direction: column;
    }
    .vertline {
      height: 2px !important;
      width: 100% !important;
      margin-top: 20px !important;
    }
    div {
      margin-left: 0px !important;
    }
    img {
      margin-right: 0px !important;
    }
     
}
@media (max-width: 660px) {
  header {
    h1 {
      font-size: 41px !important;
    }
  }
}
@media (max-width: 480px) { 

      .navlogo {
        img {
          margin-left: 15px !important;
        }
      }
       h1 {
          padding-left: 20px;
          padding-right: 50px;
       }

       
 
}
@media (max-width: 400px) {
  header {
    h1 {
      font-size: 39px !important;
    }
  }
}

@media (max-width: 320px) {
 .navlogo {
        img {
          margin-left: 5px !important;
        }
      }
       h1 {
          padding-left: 5px;
          padding-right: 50px;
       }
}


