
@font-face {
  font-family:'cooper-hewitt';
  src: url("/assets/webfonts/CooperHewitt-Bold.otf"); 
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family:'cooper-hewitt';
  src: url("/assets/webfonts/CooperHewitt-Light.otf"); 
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family:'cooper-hewitt';
  src: url("/assets/webfonts/CooperHewitt-Book.otf");
  font-weight: 400;
  font-display: swap;
}
  /* ==========================
   BASE
========================== */

  html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'cooper-hewitt', sans-serif;
    background-color: rgb(12, 12, 12);
    color: #ffffff;
    font-size: 1.2em;
   

    body {
        overflow-x: hidden;
      }
      
}

main {
    flex: 1;
    width: 100%;
    margin: auto;
}
/* ==========================
   HEADER — FINAL CLEAN VERSION
========================== */

.white-header {
    width: 100%;
    background: #000;
    padding: 24px 0; /* გვერდებზე padding აღარ გვინდა */
    display: flex;
    align-items: center;
    justify-content: center; /* ცენტრში მოტანა */
}

/* შიგნით ვქმნით კონტეინერს */
.header-inner {
    width: 90%;
    max-width: 1400px; /* ✅ აღარ გაწელავს ეკრანის კიდემდე */
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO + TEXT BLOCK */
.logo-block {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* LOGO SIZE */
.IMD_logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* NAME + ROLE (STACKED) */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-text .name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.20em;
    color: #fff;
}

.logo-text .role {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.18em;
    color: #cfcfcf;
    margin-top: 4px;
}

/* NAVIGATION */
.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.encadre-nav {
    padding: 6px 12px;
    border: 1px solid transparent;
    transition: 0.3s ease;
    letter-spacing: 4px;
}

.encadre-nav:hover {
    border-color: #ffffff;
    background: #000;
}

.encadre-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

/* Hero text center */
.hero {
    position: relative;
    z-index: 1;
    flex: 1;

    min-height: 100vh;

    background-image: url("../../images/BG.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

  
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

  .hero-text {
    max-width: 720px;
    padding-left: 30px; 
    position: relative;
    z-index: 2;
  }
  
  .hero-text h1 {
    font-size: 40px;
    line-height: 1.5;
    font-family: 'cooper-hewitt', sans-serif;
    font-weight: 200;
    letter-spacing: 0.02em;
    color: rgba(229, 228, 228, 0.95);
  }
  
  .hero-inner {
    width: 90%;
    max-width: 1400px;   /* ზუსტად როგორც header-inner */
    margin: 0 auto;
}



.hero .hero-text-hover {
    transition: color 0.4s ease; /* ნაზი გადასვლა */
}
  
.hero .hero-text-hover:hover {
    color: #a7a2a7 !important;
}




  /* Hero footer big label */
  .hero-footer {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    display: flex;
    justify-content: flex-start;
  }



  /* ==========================
   ABOUT SECTION
========================== */

.about-section {
    width: 90%;
    max-width: 1100px;
    margin: 120px auto;
    margin-left: 100px;
    text-align: left;
  }
  
  .about-inner h2 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: #d8d2d8;
  }
  
  .about-bio {
    font-size: 24px;
    font-weight: 200;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    max-width: 900px;
  }
  
  .about-inner h3 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
  }
  
  .about-experience {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .about-experience li {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.75);
  }


  .title-scroll {
    font-family: 'cooper-hewitt', sans-serif;
    font-weight: 200 !important; /* !important დაიცავს theme-ის overrides */
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  .title-scroll .arrow {
    font-size: 22px;
    animation: scrollHint 1.5s infinite ease-in-out;
  }
  
  @keyframes scrollHint {
    0% {
      transform: translateY(0);
      opacity: 0.6;
    }
    50% {
      transform: translateY(6px);
      opacity: 1;
    }
    100% {
      transform: translateY(0);
      opacity: 0.6;
    }
  }
  
  
  
  
  /* ==========================
   CATEGORY GRID SECTION
========================== */

  
  .category-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    flex-wrap: wrap;
  }
  
  
  .category-item a {
    font-family: 'cooper-hewitt', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: #767575;
    font-size: 58px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease;
  }
  
  .category-item a .number {
    display: block;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.6;
    margin-bottom: 6px;
    transition: opacity 0.3s ease;
  }
  
  /* HOVER EFFECT */
  .category-item a:hover {
    opacity: 0.6;
  }
  
  .category-item a:hover .number {
    opacity: 1;
  }




  .category-object {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
  }
  
  .category-object img {
    width: 100%;
    height: auto;
    opacity: 0.8;
  }
  

  .social-links {
    background-color: rgb(0, 0, 0);
    padding: 60px 20px;
    text-align: center;
  }
  
  .social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .social-links li a {
    font-family: 'cooper-hewitt', sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #a3a3a3;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }
  
  .social-links li a:hover {
    opacity: 0.6;
  }
  
  
  .category-grid {
    position: relative;
  }
  

  .about-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .about-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  

  section {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  
/* ==========================
   FOOTER
========================== */
footer {
    background-color: rgb(0, 0, 0);
    width: 100%;
    padding: 60px 20px;   /* სიმაღლე padding-ით, არა height-ით */
    margin-top: 4em;
    text-align: center;
}

footer p {
    margin: 0;            /* ზედმეტი სივრცე აღარ იქნება */
    letter-spacing: 1px;
    font-weight: 200;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.7;         /* უფრო light ეფექტი */
}





/* ==========================
   RESPONSIVE — MOBILE
========================== */
@media (max-width: 768px) {
    .works-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-top: 20px;
    }

    .works-grid > figure {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
    }

    .works-grid > .work-item {
        margin: 0 auto;
        padding: 0 20px;
    }

    .work-item img {
        width: 100%;
        height: auto;
        margin-top: 0;
    }

    .works-intro h1 {
        font-size: 36px;
    }

    .works-intro p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .works-grid > figure {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 0 20px !important;
        text-align: center !important;
        z-index: 1 !important;
    }
}

@media (max-width: 768px) {
    .works-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding: 20px;
    }
  
    .works-grid > figure {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      width: 100% !important;
      margin: 0 auto 20px !important;
      padding: 0 20px;
      text-align: center;
      z-index: 1;
    }
  
    .works-grid > .work-item {
      margin: 0 auto;
      padding: 0 20px;
    }
  
    .work-item img {
      width: 100%;
      height: auto;
      margin-top: 0;
    }
  }

  @media (max-width: 768px) {
    .work-item img {
      margin-top: 10px !important; /* ან 0px თუ გინდა საერთოდ არ იყოს */
    }
  
    .works-grid > figure {
      margin-top: 170px !important; /* ტექსტი გამოჩნდება ზემოთ */
    }
  }
    
  @media (max-width: 768px) {
    .works-grid > figure {
      text-align: left !important;
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .works-grid > figure {
      position: sticky !important;
      top: 80px; /* რამდენად ქვემოთ გამოჩნდეს header-ისგან */
      background: #fff;
      padding: 15px 20px;
      z-index: 20;
      width: 100% !important;
      margin: 0;
      text-align: left;
      border-bottom: 1px solid rgba(0,0,0,0.1); /* optional, უფრო სუფთაა */
    }
  
    .work-item img {
      margin-top: 20px !important;
    }
  }

  @media (max-width: 768px) {
    .nav-button {
      position: fixed !important;
      bottom: 0px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      margin: 0 !important;
      padding: 12px 22px;
      background: #fff;
      width: 100%;
      height: 50px;
      z-index: 9999;

      display: flex !important;        /* ← ეს */
      justify-content: center !important; /* ← და ეს */
    }
}

/* DESKTOP — hamburger menu დამალული */
@media (min-width: 769px) {
    .mobile-menu-toggle {
      display: none !important;
    }
  
    .navbar {
      display: flex !important;
    }
  }
  
  /* MOBILE — navbar დამალული, hamburger menu გამოჩნდეს */
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block !important;
      font-size: 38px;
      cursor: pointer;
      padding: 10px 20px;
      z-index: 9999;
    }
  
    .navbar {
      display: none;
      flex-direction: column;
      gap: 0px;
      background: #fff;
      padding: 0px;
      position: absolute;
      top: 120px;
      right: 0;
      width: 100%;
      border-top: 1px solid rgba(0,0,0,0.1);
    }
  }
  
  .mobile-menu-toggle {
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  
  .mobile-menu-toggle:hover {
    transform: scale(1.15);
    opacity: 0.7;
  }
  
  @media (max-width: 768px) {
    .navbar {
      background: #000 !important;   /* შავი ფონი */
      padding: 0px !important;
      gap: 0px !important;
    }
  
    .navbar a {
      color: #fff !important;        /* თეთრი ტექსტი */
      font-size: 16px;
      letter-spacing: 3px;
    }
  
    .encadre-nav {
      border: none !important;       /* ჩარჩოები არ გვინდა მობილურზე */
      padding: 10px 0 !important;
    }
  }
  
  /* MOBILE NAVIGATION FIX */
@media (max-width: 768px) {

    .navbar {
      display: none;
      flex-direction: column;
      gap: 0px;
      background: #000;
      padding: 0px;
      position: absolute;
      top: 120px;
      right: 0;
      width: 100%;
      z-index: 999;
    }
  
    /* როცა toggle ხდება */
    .navbar.open {
      display: flex !important;
    }
  
    .navbar a {
      color: #fff !important;
      font-size: 18px;
      letter-spacing: 3px;
    }
  }
  @media (max-width: 768px) {
    .encadre-nav {
      border: 1px solid transparent !important;
      padding: 5px 10px !important;
    }
  
    .encadre-nav:hover {
      border-color: #ffffff !important;
    }
  }
  
  @media (max-width: 768px) {

    .about-section {
      width: 90%;
      margin: 60px auto;
      margin-left: auto; /* ← ეს იყო მთავარი პრობლემა */
    }
  
    .about-inner h2 {
      font-size: 28px;
      letter-spacing: 0.04em;
    }
  
    .about-bio {
      font-size: 20px;
      line-height: 1.6;
      max-width: 100%;
    }
  
    .about-inner h3 {
      font-size: 20px;
      margin-top: 30px;
    }
  }

  @media (max-width: 768px) {

    .category-row {
      gap: 30px;
    }
  
    .category-item a {
      font-size: 28px;
      text-align: center;
    }
  
    .category-item a .number {
      font-size: 14px;
    }
  }
  @media (max-width: 768px) {

    footer {
      padding: 40px 20px;
    }
  
    .social-links ul {
      flex-direction: column;
      gap: 14px;
    }
  
    .social-links li a {
      font-size: 15px;
      letter-spacing: 2px;
    }
  
    footer p {
      font-size: 16px;
      margin-top: 20px;
    }
  }
    