/* ===================================================
   GNT Service – Static Site Stylesheet
   Reconstructed from https://gntservice.ge/
   =================================================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', 'Arial', sans-serif;
  background: #f4f4f4;
  color: #444;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === CSS VARIABLES === */
:root {
  --sidebar-w: 288px;
  --sidebar-bg: #24272e;
  --sidebar-border: rgba(255,255,255,0.07);
  --accent: #66929f;
  --accent-dark: #4d7580;
  --section-bg-light: #ffffff;
  --section-bg-gray: #f5f5f5;
  --text-body: #3a4a52;
  --text-muted: #667c85;
}

/* Scroll offset so section headings are not flush to viewport top when navigated to */
section[id] {
  scroll-margin-top: 24px;
}

/* ===================================================
   SIDEBAR
   =================================================== */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s ease;
}

/* Logo */
.sidebar-logo {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}

.sidebar-logo a {
  display: inline-block;
}

.sidebar-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 72px;
  filter: none;
  opacity: 1;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 10px 0;
}
.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 28px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}
.sidebar-nav ul li a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  color: #4f8b94;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
}
.sidebar-nav ul li a:hover::before,
.sidebar-nav ul li a.active::before {
  opacity: 1;
}
.sidebar-nav ul li a i.nav-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* Language switch */
.sidebar-lang {
  padding: 12px 28px;
  border-top: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.sidebar-lang a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
  padding: 6px 0;
}
.sidebar-lang a:hover { color: #fff; }
.sidebar-lang img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 1px;
}

/* Social icons */
.sidebar-social {
  padding: 16px 28px 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.sidebar-social a {
  color: rgba(255,255,255,0.55);
  font-size: 22px;
  transition: color 0.2s;
}
.sidebar-social a:hover { color: #fff; }

/* Copyright */
.sidebar-copyright {
  padding: 4px 28px 22px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  flex-shrink: 0;
}

/* ===================================================
   MAIN CONTENT (right of sidebar)
   =================================================== */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ===================================================
   SECTION SHARED
   =================================================== */
section {
  padding: 80px 70px;
}
.section-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  font-family: 'arial georgian', 'Poppins', sans-serif;
}
.section-heading::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
  opacity: 0.55;
}
.section-subheading {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: 'arial georgian', 'Poppins', sans-serif;
}
.section-text {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 16px;
  font-family: 'arial georgian', 'Poppins', sans-serif;
}
.section-text ul {
  margin-left: 22px;
  margin-top: 8px;
  margin-bottom: 14px;
}
.section-text ul li {
  list-style: disc;
  text-align: left;
  margin-bottom: 8px;
}

/* ===================================================
   HERO / WELCOME SECTION
   =================================================== */
#welcome {
  position: relative;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: #1a2530;
}
@keyframes kenBurns {
  0%   { transform: scale(1.02) translateX(0); }
  100% { transform: scale(1.09) translateX(-1.5%); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/cover-photo-v5.jpg');
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  z-index: 1;
}
.hero-text-wrap {
  position: absolute;
  left: 52px;
  bottom: 28%;
  z-index: 2;
  max-width: 68%;
}
.hero-text {
  color: #618f9c;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(17px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
}
/* Animated scroll-down arrow */
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(4px, 4px); }
}
.hero-scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.hero-scroll-arrow.hidden { opacity: 0; pointer-events: none; }
.hero-scroll-arrow span {
  display: block;
  width: 13px;
  height: 13px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  border-radius: 1px;
  animation: arrowBounce 1.4s ease-in-out infinite;
}
.hero-scroll-arrow span:nth-child(1) { animation-delay: 0s;    opacity: 0.9; }
.hero-scroll-arrow span:nth-child(2) { animation-delay: 0.18s; opacity: 0.55; }
.hero-scroll-arrow span:nth-child(3) { animation-delay: 0.36s; opacity: 0.25; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 26px;
  background: transparent;
  border: 2px solid rgba(97,143,156,0.7);
  color: rgba(255,255,255,0.88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.hero-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
#about {
  background: var(--section-bg-light);
  position: relative;
  padding-bottom: 100px;
}
#about::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--section-bg-gray);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ===================================================
   BUSINESS / WHAT WE DO SECTION
   =================================================== */
#business {
  background: var(--section-bg-gray);
}

/* ===================================================
   GALLERY SECTION – Swiper Carousel
   =================================================== */
#gallery {
  background: var(--section-bg-light);
  padding: 80px 0 100px;
}
#gallery .section-heading {
  padding: 0 60px;
}
/* Swiper container */
.gallery-swiper {
  --swiper-theme-color: #66929f;
  --swiper-navigation-size: 38px;
  margin-top: 36px;
  padding-bottom: 54px; /* room for dots */
}
/* Slide outer wrapper */
.gallery-swiper .swiper-slide {
  height: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
/* De-emphasise non-active slides subtly */
.gallery-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.82;
}
/* Image slide inner */
.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4/3;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  transition: box-shadow 0.3s ease;
}
.gallery-item:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.26);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.82;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay i {
  color: rgba(255,255,255,0.92);
  font-size: 28px;
}
/* Video slides */
.gallery-video-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.gallery-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Navigation arrows */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.93);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0,0,0,0.15);
  top: calc(50% - 27px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-dark);
}
.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
  background: #fff;
  box-shadow: 0 4px 22px rgba(0,0,0,0.22);
}
.gallery-swiper .swiper-button-prev { left: 10px; }
.gallery-swiper .swiper-button-next { right: 10px; }
/* Pagination dots */
.gallery-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #ccc;
  opacity: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===================================================
   LIGHTBOX
   =================================================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  color: rgba(255,255,255,0.85);
  font-size: 38px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 32px;
  cursor: pointer;
  padding: 16px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: background 0.2s;
}
.lightbox-nav-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
#lightboxPrev { left: 12px; }
#lightboxNext { right: 12px; }

/* ===================================================
   PARTNERS SECTION
   =================================================== */
#partners {
  background: var(--section-bg-gray);
  padding: 80px 0 64px;
  overflow: hidden;
}
#partners .partners-inner {
  padding: 0 60px;
  margin-bottom: 40px;
}
/* Highway slider — CSS animation identical to original */
.highway-slider {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100px;
}
.highway-barrier {
  overflow: hidden;
  position: relative;
  width: 100%;
}
/* Fade edges */
.highway-barrier::before,
.highway-barrier::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.highway-barrier::before {
  left: 0;
  background: linear-gradient(to right, var(--section-bg-gray), transparent);
}
.highway-barrier::after {
  right: 0;
  background: linear-gradient(to left, var(--section-bg-gray), transparent);
}
/* Pause whole carousel on hover */
.highway-barrier:hover .highway-car {
  animation-play-state: paused;
}
.highway-lane {
  display: flex;
  height: 100%;
  margin-top: 0;
}
@keyframes translateinfinite {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-192px * 11)); }
}
.highway-car {
  flex: 0 0 160px;
  animation: translateinfinite 30s linear infinite;
  height: 100px;
  margin-right: 16px;
  margin-left: 16px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.highway-car a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px;
}
.highway-car img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(35%) opacity(0.72);
  transition: filter 0.35s ease;
}
.highway-car:hover img {
  filter: grayscale(0%) opacity(1);
}
/* Wave divider between Partners and Contact */
.section-wave-divider {
  line-height: 0;
  overflow: hidden;
  background: var(--section-bg-gray); /* matches partners bg */
  display: block;
}
.section-wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
#contact {
  background: var(--section-bg-light);
  padding: 80px 70px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 36px;
  align-items: start;
}
.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.contact-info {
  padding-top: 12px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  transition: transform 0.2s ease;
  cursor: default;
}
.contact-item:hover {
  transform: translateX(5px);
}
.contact-icon i {
  font-size: 26px;
  color: var(--accent);
  width: 32px;
  text-align: center;
  padding-top: 2px;
}
.contact-text {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
  font-family: 'arial georgian', 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* Copy-to-clipboard button */
.copy-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 12px;
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1;
  border-radius: 3px;
  flex-shrink: 0;
}
.copy-btn:hover { opacity: 1; color: var(--accent-dark); }
.copy-btn.copied { color: #48a75c; opacity: 1; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--sidebar-bg);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 20px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ===================================================
   SECTION LABEL PILL (floating UX hint)
   =================================================== */
.section-label-pill {
  position: fixed;
  bottom: 80px;
  right: 28px;
  background: var(--sidebar-bg);
  color: rgba(255,255,255,0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 900;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.section-label-pill.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   GALLERY COUNTER
   =================================================== */
.gallery-counter {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}

/* ===================================================
   FOCUS STYLES (accessibility)
   =================================================== */
.sidebar-nav a:focus-visible,
.hero-cta:focus-visible,
.copy-btn:focus-visible,
.hero-scroll-arrow:focus-visible,
.scroll-top-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Remove default focus ring only when focus-visible is supported */
.sidebar-nav a:focus:not(:focus-visible),
.hero-cta:focus:not(:focus-visible) {
  outline: none;
}

/* ===================================================
   SCROLL-TO-TOP BUTTON
   =================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

/* ===================================================
   MOBILE MENU TOGGLE
   =================================================== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 14px; left: 14px;
  z-index: 1100;
  background: var(--sidebar-bg);
  color: #fff;
  border: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===================================================
   OVERLAY for mobile menu
   =================================================== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.sidebar-overlay.active { display: block; }

/* ===================================================
   FADE-IN ON SCROLL
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  /* gallery: Swiper handles column count via JS breakpoints */
}

@media (max-width: 960px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    width: 272px;
    transform: translateX(-100%);
    --sidebar-w: 272px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.4);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .menu-toggle {
    display: flex;
  }

  section { padding: 60px 28px; }
  #gallery { padding: 60px 0 80px; }
  #gallery .section-heading { padding: 0 20px; }
  #partners { padding: 60px 0 40px; }
  #contact { padding: 60px 28px; }
  #partners .partners-inner { padding: 0 28px; }

  .hero-text-wrap { left: 24px; right: 24px; max-width: none; }
  .hero-text { font-size: 17px; letter-spacing: 1px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 300px; }
}

@media (max-width: 600px) {
  section { padding: 48px 16px; }
  #gallery { padding: 40px 0 72px; }
  #gallery .section-heading { padding: 0 16px; }
  #contact { padding: 48px 16px; }
  .section-text { font-size: 16px; }
  .section-heading { font-size: 21px; }
}