/* === Root Colors === */
:root {
  --primary: #0077b6;
  --primary-soft: #339ecf;
  --primary-light: #d6fdff;
  --dark: #1F2933;
  --text: #374151;
  --glass: rgba(255,255,255,0.15);
}

/* === Body and Fonts === */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #f9fafb;
  scroll-behavior: smooth;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

img {
  pointer-events: none;
}

/* === Navbar === */
.navbar {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #fff;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

.navbar-brand:hover {
  color: #3cdfff;
}

.brand-logo {
  height: 30px;
  width: auto;
  vertical-align: middle;
}

/* === Hero Section === */
.hero {
  height: 90vh;          /* Desktop full screen */
  position: relative;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero img.hero-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* mbush hero, prerje minimale */
  object-position: center; /* Desktop fokus mes */
  z-index: 0;
}

/* ===== HERO IMAGE MOBILE ADJUST ===== */
@media (max-width: 768px) {
  .hero img.hero-main {
    object-position: center 25%; /* shfaq pak më shumë pjesë lart */
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 2vh;
}

/* ===== HERO FONT SIZE + SPACING (Mobile) ===== */
@media (max-width: 768px) {
  .hero-content {
    position: relative;
    top: -1.5rem;   /* ngrit titullin/subtitullin afër navbar */
    padding-top: 0; /* hiq padding e brendshme */
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.3rem;      /* madhësia ekzistuese e titullit */
    margin-bottom: 0px;     /* pak hapësirë poshtë titullit */
  }

  .hero-content .lead {
    font-size: 1rem;        /* madhësia ekzistuese e subtitullit */
    margin-top: 0;          /* hiq hapësirë ekstra mbi subtitullin */
  }
}

/* Desktop */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content .lead {
    font-size: 1.15rem;
  }
}

/* === Buttons === */
.btn-primary {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  border: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0,119,182,.35), 0 10px 20px rgba(0,119,182,.25);
  transition: .3s ease;
}

.btn-hero-quote {
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.25), 0 6px 15px rgba(0,0,0,0.15);
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-hero-quote:hover {
  background: var(--primary-soft);
  box-shadow: 0 0 30px rgba(51,158,207,0.5), 0 8px 18px rgba(51,158,207,0.35);
  color: #fff;
}

.btn-secondary-custom {
  background: var(--primary-soft);
  color: white;
  padding: 12px 32px;
  border-radius: 15px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  transition: 0.3s ease;
}

.btn-secondary-custom:hover {
  background: var(--primary-soft);
  color: white;
}

/* === HERO BUTTON: afër subtitullit === */

/* Mobile */
@media (max-width: 768px) {
  .btn-hero-quote {
    padding: 8px 15px;       /* ngushto butonin nga anash */
    font-size: 0.9rem;       /* zvogëlo tekstin */
    display: inline-block;
    margin: 0 auto;          /* qendro horizontalisht */
    position: relative;
    top: -10px;              /* zhvendos butonin lart; rritje negative për më afër subtitullit */
  }
}

/* Desktop & Tablet */
@media (min-width: 769px) {
  .btn-hero-quote {
    padding: 14px 36px;      /* madhësi normale */
    font-size: 1rem;         /* madhësia normale e tekstit */
    margin: 5px auto 0 auto; /* vetëm pak hapësirë lart nga subtitulli */
    display: inline-block;
  }
}

/* === Glass Cards === */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  height: 100%;
  transition: transform 0.3s ease;
  text-align: center;
}

.glass-card:hover {
  transform: translateY(-5px);
}

/* === Sections === */
section {
  padding: 80px 0;
}

.service-img-small {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

/* === Footer === */
footer {
  background: #1E3F59;
  color: white;
  padding: 40px 0;
}

/* === Contact Section === */
.contact-section {
  background: #2B547E;
}

.contact-section .glass-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
}

.contact-section .form-control {
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
}

.btn-glass-submit {
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 0 20px rgba(0,0,0,0.25), 0 6px 15px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.btn-glass-submit:hover {
  background: var(--primary-soft);
  box-shadow: 0 0 30px rgba(51,158,207,0.5), 0 8px 18px rgba(51,158,207,0.35);
  color: #fff;
}

/* === WhatsApp Floating Button === */
#whatsapp-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 90px;
  height: 90px;
  display: none;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.3s;
  opacity: 0;
}

#whatsapp-button.show {
  display: block;
  opacity: 1;
}

#whatsapp-button img {
  width: 100%;
  height: 100%;
}

/* === Modern Gallery Slider === */
.gallery-slider {
    padding: 60px 0;
    background: #f9fafb;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 8px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Slider Track */
.slider-track {
    display: flex;
    transition: transform 0.6s ease;
    gap: 24px;
}

/* Slider Items */
.slider-item {
    flex: 0 0 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    height: auto;
    padding-top: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekt desktop */
@media (min-width: 992px) {
    .slider-item:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    }
}

/* Images */
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease;
    display: block;
}

.slider-item img.after {
    opacity: 0;
}

.slider-item.show-after img.after {
    opacity: 1;
}

.slider-item.show-after img.before {
    opacity: 0;
}

/* Caption */
.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(2px);
}

/* Dots / Snake Progress */
.dots-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    height: 6px;
    width: 40px;
    background: #ddd;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.dot span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #32cd32;
    border-radius: 50px;
    transition: width 0.2s linear;
}

.dot.active {
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .slider-item {
        border-radius: 12px;
        padding-top: 75%;
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .slider-item {
        border-radius: 14px;
        padding-top: 60%;
    }
}

/* === Brand Name Image === */
.brand-name {
  height: 25px;   /* rregullo sipas dizajnit */
  width: auto;
}