

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

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

  @font-face {
    font-family:'cooper-hewitt';
    src: url(../webfonts/CooperHewitt-Book.otf);
    font-weight: 400;

  }
  /* ==========================
   BASE
========================== */

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

    body {
        overflow-x: hidden;
      }
      
}

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

.white-header {
    width: 100%;
    background: #ffffff;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
  }
  

/* შიგნით ვქმნით კონტეინერს */
.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 */
.logo img {
    height: 130px;
    width: auto;
  }
  
/* MOBILE ADAPTATION */
@media (max-width: 768px) {
    .logo-block {
        gap: 10px;         /* მცირე დაშორება */
        justify-content: center; /* ცენტრირება */
    }

    .logo img {
        height: 100px;       /* პატარა სურათი მობილურზე */
        width: auto;
    }
}

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

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

/* hover */
.encadre-nav:hover {
  background: #005aa3;
}

.encadre-nav:hover a {
  color: #ffffff;
}

/* ACTIVE STATE */
.encadre-nav.active {
  background: #005aa3; /* აქტიური ფონი */
}

.encadre-nav.active a {
  color: #ffffff; /* აქტიური ტექსტი */
  font-weight: bold;
  border-bottom: 2px solid #ffffff; /* optional underline */
}

/* ნორმალური ლინკი */
.encadre-nav a {
  text-decoration: none;
  color: #005aa3;
  font-size: 0.9rem;
  font-weight: 700;
}
  



.hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}



/* ლურჯი ფონდი */
.hero-blue::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 30px;
  bottom: 30px;
  width: 60%;
  background: #005aa3;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 0;
}


.hero-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 45%;
  padding: 80px 60px;
}

/* სათაური */
.hero-text h1 {
  font-size: 3rem;      /* 👈 აქ ზრდი მხოლოდ "Bienvenue"-ს */
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 500;
}

/* ტექსტი */
.hero-text p {
  font-size: 1.3rem;    /* 👈 აქ იზრდება მხოლოდ ტექსტი */
  line-height: 1.6;
  margin: 0;
}


.hero-paragraph {
  font-size: 1.4rem;           /* ტექსტის ზომა */
  line-height: 1.6;          /* readability */
  font-weight: 400;          /* მსუბუქი */
  color: #000000;            /* თეთრი, hero background-ისთვის */
  max-width: 700px;          /* ტექსტი არ გაჭიმულა */
  margin: 20px auto 0 auto;  /* spacing სათაურისგან და ცენტრში */
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: center;        /* ცენტრირება */
}

  
  .hero-text-hover {
  text-align: center;
  font-size: 2rem;
  color: #005aa3;
  margin-top: 120px;   /* 🔥 აქ აკონტროლებ ზემოთ სივრცეს */
  margin-bottom: 40px;
}


  /* Hero footer big label */
  .hero-footer {
    position: relative;
    z-index: 1;
    margin-top: 44px;
    display: flex;
    justify-content: flex-start;
  }
.hero-blue {
  position: relative;
  width: 100%;
  min-height: 64vh;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  width: 50%;
}

.hero-image {
  width: 62%;
}
.hero-image img {
  width: 100%;        /* 🔥 ავსებს კონტეინერს */
  height: auto;       /* 🔥 ინარჩუნებს პროპორციებს */
  max-height: 463px;  /* 🔥 ზედმეტად დიდი აღარ გახდება */
  object-fit: cover;
 

}
  @media (max-width: 768px) {

    .hero {
      min-height: 45vh;
      position: relative;
      overflow: hidden; /* დარწმუნება რომ diagonal არ დაიჭრას */
    }
  
    .hero-blue {
      position: relative;
      width: 100%;
      height: 100%;  /* height აუცილებლად უნდა ჰქონდეს pseudo element-ისთვის */
    }
  
    /* diagonal blue background */
    .hero-blue::before {
      content: "";
      position: absolute;
      top: 0;
      left: -20%;        /* მარცხნივ ცოტა შებრუნება, რომ diagonal კარგად ჩაეტიოს */
      width: 120%;       /* მეტი სიგანე */
      height: 100%;
      background: #005aa3;
      clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
      z-index: 0;
    }
  
    /* ტექსტი */
    .hero-text {
      position: relative;
      z-index: 1;
      max-width: 80%;
      margin: 0 auto;
      margin-left: 10px;
      padding: 40px 20px;
      text-align: left;
    }
  
    .hero-text h1 {
      font-size: 2rem;
      margin-bottom: 15px;
    }
  
    .hero-text p {
      font-size: 1.1rem;
      line-height: 1.4;
    }
  
    .hero-paragraph {
      font-size: 1rem;
      margin-bottom: 25px;
    }
  
    .hero-text-hover {
      font-size: 1.3rem;
      margin-top: 60px;
      margin-bottom: 25px;
    }
  
    .hero-footer {
      justify-content:left;
      margin-top: 15px;
    }
  }
  

/* ==========================
 GRID
========================== */
.works-grid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
  }
  
  /* ==========================
   PROJECT ITEM
  ========================== */
  .work-item {
    text-decoration: none;
    color: #000;
  }
  
  .work-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  
  
  /* ==========================
   PROJECT TEXT
  ========================== */
  .work-info {
    margin-top: 16px;
    
  }
  
  .work-info h3 {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    transition: transform 0.4s ease;
  }
  
  .work-info a {
  text-decoration: none; /* აქ მთავარია */
  color: inherit;
}
  .work-info span {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    color: rgba(0,0,0,0.55);
  }
  
  .work-item:hover h3 {
    color: #005aa3;
  }
  /* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-overlay.show {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}
  
  /* ==========================
   HOVER EFFECTS
  ========================== */
  .work-item:hover img {
    transform: scale(1.05);
  }
  
  
  .work-item:hover h3 {
    transform: translateY(-4px);
  }
  
  
  
  /* მხოლოდ grid მოძრაობს */
  .works-grid {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .works-grid.visible {
    opacity: 1;
    transform: translateY(0);
  }
  

  @media (max-width: 768px) {

    /* GRID — ერთი სვეტი */
    .works-grid {
      grid-template-columns: 1fr;
      gap: 30px;           /* ნაკლები სივრცე mobile-ზე */
      width: 90%;
      margin: 0 auto 60px;
    }
  
    /* PROJECT ITEM */
    .work-item img {
      height: auto;        /* flexible height */
      max-height: 300px;   /* სურათები არა ზედმეტად დიდი */
    }
  
    /* PROJECT TEXT */
    .work-info h3 {
      font-size: 1.3rem;
    }
  
    .work-info span {
      font-size: 1rem;
    }
  
    /* HOVER — optional: small scale on touch */
    .work-item:hover img {
      transform: scale(1.03);
    }
  
    .work-item:hover h3 {
      transform: translateY(-2px);
    }
  }
  
  /* დიდი სათაური – ცენტრში */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #005aa3;
  margin-bottom: 40px;
}

/* სექციის შიგთავსი – მარცხენა/მარჯვენა */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

/* თითო ბლოკი */
.service-block {
  text-align: left; /* ტექსტი იწყება მარცხნიდან */
}

/* პატარა სათაურები */
.service-block h3 {
  font-size: 1.3rem;
  color: #005aa3;
  margin: 0 0 8px 0;
}

/* ტექსტი / list */
.service-block ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

  .service-block ul li {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
  }
  .home-services {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;   /* 🔥 ცენტრში */

  
    display: flex;
    flex-direction: column;
  }
  
  .services-grid {
    margin-bottom: 80px;   /* ← დიდი spacing */
  }
  
  
  .btn-primary {
    display: inline-block;
    width: auto;              /* 🔥 აღარ იქნება full width */
    max-width: fit-content;   /* უსაფრთხო */
    background: #005aa3;
    color: white;
    font-size: 18px;
    padding: 16px 40px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .btn-primary:hover {
    background-color: #003f6b;
  }
  
  
  

  /* ===== MOBILE ===== */
@media (max-width: 768px) {

  .home-services {
    margin-top: 0px;
    padding: 20px 10px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;  /* ერთი სვეტი */
    gap: 30px;
  }

  .service-block h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: left; /* optional: ტექსტი ცენტრში */
  }

  .service-block ul {
    padding-left: 15px;
    font-size: 1rem;
    text-align: left; /* ან center, გინდა თუ არა */
  }
}

@media (max-width: 768px) {

  .btn-primary {
    display: block;           /* full width option */
    width: 90%;               /* ეკრანის 90% */
    max-width: 300px;         /* მაქსიმალური ზომა */
    margin: 20px auto;        /* ცენტრში + ზედა ქვედა spacing */
    padding: 12px 0;          /* height proportional, width ავტომატურად */
    font-size: 1rem;          /* readable text */
    text-align: center;
    border-radius: 6px;
  }

  .btn-primary:hover {
    background-color: #003f6b;  /* hover ფერი იგივე რჩება */
  }
}


  /* ==========================
   RESPONSIVE
  ========================== */
  @media (max-width: 768px) {
    .works-intro h1 {
        font-size: 48px;
    }
  
    .work-item img {
        height: 300px;
    }
  }




/* ===== DESKTOP ===== */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }

  .navbar {
    display: flex;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  /* hamburger menu */
  .mobile-menu-toggle {
    display: block;
    font-size: 38px;
    cursor: pointer;
    padding: 10px 20px;
    z-index: 9999;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-menu-toggle:hover {
    transform: scale(1.15);
    opacity: 0.7;
  }

  /* navbar hidden by default */
  .navbar {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    padding: 0;
    position: absolute;
    top: 150px;
    right: 0;
    width: 100%;
  }

  .navbar a {
    color: #005aa3;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 10px 20px;
    text-decoration: none;
  }

  .encadre-nav {
    border: none;
    padding: 10px 0;
  }
}

/* BREADCRUMBS - Desktop */
.breadcrumbs {
  font-size: 0.9rem;
  margin: 15px 0;
  margin-left: 100px;
}

.breadcrumbs a {
  text-decoration: none;
  color: #005aa3;
}

.breadcrumbs span {
  color: #333;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* MOBILE ADAPTATION */
@media (max-width: 768px) {
  .breadcrumbs {
    margin-left: 15px;   /* ნაკლები მარცხენა სივრცე */
    margin-right: 15px;
    font-size: 0.85rem;  /* ცოტა პატარა ტექსტი */
    white-space: normal; /* ტექსტი არ გადაიჭრას */
    overflow-wrap: break-word; /* სიტყვები არ იჭრებოდეს */
  }

  .breadcrumbs a, 
  .breadcrumbs span {
    display: inline-block;
    margin-right: 5px; /* მცირე სივრცე სიტყვებს შორის */
  }
}
  /* ==========================
   FOOTER
========================== */
footer {
  background-color: #005aa3;
  color: #ffffff;
  padding: 60px 40px;        /* საკმარისი სივრცე შიგნით */
  box-sizing: border-box;
  min-height: 100px;         /* მინიმალური სიმაღლე */
  padding: 0 40px;                /* გვერდებზე სივრცე */
  position: relative;
}

/* ======================
   Social Links Section
====================== */
.social-links {
  background-color: #fff; /* თეთრი ბლოკი */
  padding: 40px;           /* დაბალი padding */
  margin: 0;               /* ზედმეტი სივრცე არ დარჩეს */
}
.social-links h4 {
  margin: 0 0 10px 0;     /* სათაურის ქვემოთ spacing */
  font-size: 1rem;
  font-weight: 600;
}

.social-links p {
  margin: 0 0 10px 0;     /* ტელეფონის ქვემოთ spacing */
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.social-links ul {
  list-style: none;       /* წერტილები გაქრება */
  padding: 0;
 
  margin: 0;
}

.social-links li {
  margin-bottom: 5px;     /* spacing ელემენტებს შორის */
   color: #000000;
}

.social-links a {
  text-decoration: none;
  color: #000000;         /* თეთრი ტექსტი */
  font-size: 0.9rem;
  transition: 0.3s;
}

.social-links a:hover {
  text-decoration: underline; /* hover underline */
}
.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* კონტაქტი წავა მარჯვნივ */
  gap: 180px;
}

/* Logo */
.logo {
  width: 220px;
  height: auto;
}

/* Adresse */
.address {
  margin-left: auto;
}

/* Contact à droite */
.contact {
  text-align: left;
}

/* Link style */
.contact a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover */
.contact a:hover {
  color: #005aa3;        /* ლურჯი */
  text-decoration: underline;
}


.address h4,
.contact h4 {
  color: #005aa3;
  font-weight: 600;
  margin-bottom: 6px;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .contact-container {
    flex-direction: column; /* stacked layout */
    align-items: center;
    gap: 20px;
  }

  .logo {
    width: 150px;
    align-items: center;
    margin-bottom: 10px;
  }

  .address {
    margin-left: 0;
    text-align: center;
  }

  .contact {
    text-align: center;
  }

  .address h4,
  .contact h4 {
    font-size: 1.1rem;  /* smaller headings */
  }

  .address p,
  .contact p,
  .contact a {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .contact a {
    color: #000000;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent; /* mobile tap fix */
  }

  .contact a:hover {
    color: #005aa3;        /* ლურჯი */
    text-decoration: underline;
  }
}

/* ======================
   Footer Legal (ქვედა ნაწილი)
====================== */
.footer-legal {
  display: flex;
  justify-content: space-between; /* მარცხნივ ↔ მარჯვნივ */
  align-items: flex-start;        /* ყველა ელემენტი ზედა ხაზზე იწყება */
  flex-wrap: wrap;  
  margin-top: 40px;              /* მობილურზე ქვემოთ ჩამოშლა */
  padding: 0;                      /* padding უკვე footer-ზეა */
  gap: 10px;                        /* სექციებს შორის მცირე spacing */
}

.footer-legal p {
  margin: 0;                        /* აღარ ჭირდება margin-top */
  font-size: 0.9rem;
  color: #ffffff;
  opacity: 1;
}

.footer-legal ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;                        /* აქაც აღარ ჩაწეროთ margin-top */
  padding: 0;
}

.footer-legal a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-legal a:hover {
  text-decoration: underline;
}



/* COPYRIGHT */
.site-footer p {
  margin-top: 20px;
  font-weight: 200;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

@media (max-width: 768px) {

  /* Footer legal stacked layout */
  .footer-legal {
    flex-direction: column;   /* სექციები ზედიზედ */
    align-items: center;      /* ცენტრში */
    gap: 15px;                /* spacing მეტი mobile */
    margin-top: 30px;
  }

  /* paragraph smaller */
  .footer-legal p {
    font-size: 0.85rem;
    text-align: center;
  }

  /* list items stacked vertically or still horizontal with smaller gap */
  .footer-legal ul {
    flex-direction: row;      /* თუ ციფრები ცოტაა, შეგიძლიათ row */
    gap: 15px;
    flex-wrap: wrap;          /* თუ არ ეტევა ერთ ხაზზე */
    justify-content: center;
  }

  /* links font smaller */
  .footer-legal a {
    font-size: 0.85rem;
  }

  /* COPYRIGHT */
  .site-footer p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
  }
}

/* MOBILE HERO FIX */
@media (max-width: 768px) {
  .hero-blue {
    display: flex;
    flex-direction: column; /* ტექსტი ზედ, სურათი ქვემოთ */
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
    height: auto; /* მთავარი - არ შეზღუდო hero სიმაღლე */
    overflow: visible;
  }

  .hero-text {
    width: 100%;
    margin-bottom: 5px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    height: auto; /* მართავს სიმაღლეს ავტომატურად */
    max-height: 60vh; /* არ აღემატებოდეს viewport-ის 60%-ს */
    object-fit: cover; /* სურათი სრულად ჩავსდეს, შეიძლება crop თუ საჭირო */
    display: block;
    border-radius: 8px;
  }
}