

main {
    margin: 50px;
}

.wrapper{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}


.card{ display:block; }


.media{
  position:relative;
  overflow:hidden;
  border-radius:10px;
}


.media img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .35s ease;
  border-radius:10px;
}


.media h1{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  margin:0;
  color:#fff;
  font-size:28px;
  text-align:center;
  opacity:0;
  pointer-events:none;
  transition:.35s;
  z-index: 100;
}


.media::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  opacity:0;
  transition:opacity .35s;
  border-radius:10px;
  z-index:100;
}


.card:hover .media::before{ opacity:1; }
.card:hover .media h1{ opacity:1; }
.card:hover .media img{ transform:scale(1.05); }


@media (max-width:1200px){ .wrapper{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:700px){ .wrapper{ grid-template-columns:1fr; } }
footer {
    margin-top: 30px;
        font-family:  sans-serif;
        font-weight: 200;
        font-style: normal;

        display: flex;
         justify-content: space-around;
         align-items: center;
         
            
        div {
           margin-top: 27px;
           margin-left: 50px;
            display: flex;
            flex-direction: column;
            gap: 15px;

            p {
                font-size: 25px;
            }
        }
        .vertline {
            width: 2px;
            height: 200px;
            background-color: gray;
        }

        img {
            
            width: 250px;
            margin-right: 50px;
            
        }
        a {
            font-size: 16px;
        }
    }
    /* -------- Base Typography (შენი უცვლელად) -------- */
body {
  font-family: 'BPG Nino Mtavruli';
  src: url('../fonts/BPG-Nino-Mtavruli.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Body lock როცა drawer-ია ღია */
.no-scroll { overflow: hidden; }

/* -------- Header / Hero -------- */

/* -------- 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: 'BPG Nino Mtavruli';
  src: url('../fonts/BPG-Nino-Mtavruli.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  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: 1000;
}
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: 'BPG Nino Mtavruli';
  src: url('../fonts/BPG-Nino-Mtavruli.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  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-family: 'BPG Nino Mtavruli';
  src: url('bpg-nino-mtavruli/css/bpg-nino-mtavruli.css') format('truetype');
  font-weight: normal;
  font-style: normal;
 font-family: 'BPG Nino Mtavruli';
  src: url('bpg-nino-mtavruli/css/bpg-nino-mtavruli.css') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-weight: 900;
}
.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: 300; border-bottom: 1px solid #f0f0f0;
}

/* -------- Responsive Activation -------- */

@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;
    }
    .footer {
      margin-left: 30px !important;
    }
     
}
@media (max-width: 480px) { 

      .navlogo {
        img {
          margin-left: 15px !important;
        }
        h1 {
          padding-left: 20px;
          padding-right: 50px;
       }
      }              
}

@media (max-width: 320px) {
 .navlogo {
        img {
          margin-left: 5px !important;
        }
        h1 {
          padding-left: 5px;
          padding-right: 50px;
       }
      } 
}
.strong {
   font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}



