/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

/* ========== GLOBAL ========== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 10;
  display: flex;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 24px;
  width: 88px;
}

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: -336px;
}

/* ========== NAVIGATION & LANGUAGE SELECTOR ========== */

/* Desktop Large Screens: 993px–1200px */
@media (max-width: 1200px) and (min-width: 993px) {
    .main-nav {
        margin-left: -100px;
    }
}
/* Small Screen Laptops: <= 992px */
@media (max-width: 992px) {
    .main-nav {
        margin-left: -30px;
    }
}

.main-nav a {
    font-weight: 700;
    font-size: 14px;
    color: #555555;
}

    .main-nav a.active {
        opacity: 0.45;
    }

.language-selector {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555555;
}

.custom-select {
    position: relative;
    margin-left: 0;
}

/* Language dropdown button */
.lang-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    font-weight: 700;
}

    .lang-btn img {
        width: 17px;
        height: 17px;
        border-radius: 50%;
    }

/* Dropdown base state */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 5px 0;
    margin: 5px 0 0;
    display: none;
    width: 80px;
    border: 1px solid #ccc;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Dropdown visible when .show is added to parent */
.custom-select.show .dropdown {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Dropdown list items */
.dropdown li {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .dropdown li img {
        width: 17px;
        height: 17px;
        border-radius: 50%;
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    margin-left: -10px;
}

    .hamburger span {
        width: 25px;
        height: 4px;
        background: white;
        border-radius: 2px;
    }

/* ========== MOBILE NAVIGATION ========== */

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    justify-content: center;
    align-items: center;
}

    .mobile-overlay.show {
        display: flex;
    }

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 75vh;
    width: 80vw;
    border-radius: 25px;
    padding: 30px 20px;
    z-index: 999;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

    .mobile-menu.show {
        display: flex;
    }

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu a {
    font-weight: 700;
    font-size: 20px;
    color: #555555;
    margin: 10px 0;
}

.language-mobile {
    margin-top: 30px;
}

    .language-mobile div {
        margin: 5px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .language-mobile img {
        width: 17px;
        height: 17px;
        border-radius: 50%;
    }

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Mobile & Tablet: <= 768px */
@media (max-width: 768px) {
    .site-header {
        background: transparent;
    }

    .main-nav,
    .language-selector {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .container {
        justify-content: flex-end;
    }

    .logo {
        display: none;
    }

    
}

/* Mobile Small: <= 570px */
@media (max-width: 570px) {
    .mobile-overlay {
        background: rgba(0, 0, 0, 0.3);
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .main-nav,
    .language-selector {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        border-radius: 25px;
        width: 80vw;
        height: 70vh;
        padding: 30px 20px;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo {
        display: none;
    }

    .close-menu {
        color: #555;
        font-size: 26px;
        top: 15px;
        right: 15px;
    }

    .mobile-menu a {
        color: #555555;
        font-size: 18px;
    }

    .language-mobile strong,
    .language-mobile a {
        color: #555555;
    }

    .language-mobile div {
        margin: 5px 0;
        justify-content: center;
    }
}



/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  height: 760px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 25.9%;
  left: 86.0%;
  transform: translateX(-100%);
  color: white;
  text-align: right;
  width: max-content;
  max-width: 80%;
  z-index: 2;
}

.hero-line {
  height: 3px;
  width: 1190px;
  background-color: white;
  margin-bottom: 2px;
  margin-left: -415px;
  border-radius: 6px; /* Rounded ends */
  transform: scaleX(0);
  transform-origin: right; /* Start from right */
  animation: revealLine 1s ease-out forwards;
}

@keyframes revealLine {
  to {
    transform: scaleX(1);
  }
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0;
    margin-top: -100px;
    color: white;
    max-width: 100vw;
    word-wrap: break-word;
    text-shadow: 0 0px 15px rgba(255,255,255,0.3), 0 1px 2px rgba(255,255,255,0.05);
}

.hero .highlight {
  color: #0EA5DE;
}

/* ========== BREAKPOINTS ========== */

/* 1. For screens 1601px–1920px */
@media (max-width: 1920px) and (min-width: 1601px) {
    .hero-overlay {
        top: 29.9%;
        left: 86.08%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-line {
        height: 3px;
        width: 1049px;
        margin-bottom: 2px;
        margin-left: -420px;
    }
}

/* 2. For screens 1365px–1600px */
@media (max-width: 1600px) and (min-width: 1365px) {
    .hero-overlay {
        top: 24.5%;
        left: 89.3%;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-line {
        height: 3px;
        width: 923px;
        margin-bottom: 10px;
        margin-left: -184px;
    }
}

/* 3. For screens 1200px–1364px */
@media (max-width: 1364px) and (min-width: 1200px) {
    .hero-overlay {
        top: 21.2%;
        left: 81.4%;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-line {
        height: 3px;
        width: 680px;
        margin-bottom: 13px;
        margin-left: -108px;
    }
}


/* Desktop Large Screens: <= 1200px */
@media (max-width: 1200px) {
  .hero-wrapper {
    height: 760px;
  }

  .hero-overlay {
    top: 21%;
    left: 88%;
  }

  .hero-line {
    height: 3px;
    width: 700px;
    margin-bottom: 18px;
    margin-left: -189px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}

/* Small Screen Laptops: <= 992px */
@media (max-width: 992px) {
  .hero-wrapper {
    height: 560px;
  }

  .hero-overlay {
    top: 21.5%;
    left: 80.5%;
  }

  .hero-line {
    height: 3px;
    width: 485px;
    margin-bottom: 40px;
    margin-left: -110px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}

/* Mobile & Tablet: <= 768px */
@media (max-width: 768px) {
    .hero-wrapper {
        height: 666px;
    }

    .hero-overlay {
        position: absolute;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: left;
        width: 90%;
    }

    .hero-line {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
        letter-spacing: -1px;
    }
}

/* Mobile Small: <= 570px (PLACE THIS LAST) */
@media (max-width: 570px) {

    .hero-overlay {
        position: absolute;
        top: 38%;
        left: 48%;
        transform: translate(-50%, -50%);
        text-align: right;
        width: 90%;
    }
    .hero h1 {
        font-size: calc(1.1rem + 10 * ((100vw - 320px) / 240)) !important;
        color: white;
    }
}


/* ========== LOGO STRIP INSIDE HERO ========== */
.logo-strip {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  margin-top: -55px; /* pulls it into the bottom of hero image */
}

.logo-strip .logo-center img {
  height: 60px;
  width: auto;
}

/* Extra Large Screens */
@media (min-width: 1400px) {
  .logo-strip {
    height: 110px;
    margin-top: -110px;
  }
}

/* Desktop Large Screens: <= 1200px */
@media (max-width: 1200px) {
  .logo-strip {
    height: 100px;
    margin-top: -100px;
  }
}

/* Small Screen Laptops: <= 992px */
@media (max-width: 992px) {
  .logo-strip {
    height: 90px;
    margin-top: -90px;
  }
}
@media (max-width: 570px) and (min-width: 570px) {
  .logo-strip {
    height: 70px;
    margin-top: -90px;
  }
}

/* ========== LOGO STRIP ========== */
.logo-strip {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

/* Heights per breakpoint */
@media (min-width: 1401px) {
  .logo-strip {
    height: 110px;
    margin-top: -110px;
  }
}

@media (max-width: 1400px) and (min-width: 1201px) {
  .logo-strip {
    height: 100px;
    margin-top: -100px;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .logo-strip {
    height: 90px;
    margin-top: -90px;
  }
}

@media (max-width: 570px) and (min-width: 570px) {
  .logo-strip {
    height: 70px;
    margin-top: -90px;
  }
}
.logo-center img {
  height: 60%;
  max-height: 60px;
  margin-top: 5px;
}
/* ========== VALUES SECTION ========== */
.values {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 15.1%;
  background-color: #555;
  padding-top: 25px;     /* Try decreasing this */
  padding-bottom: 45px;  /* Try increasing this */
  height: 200px;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 180px; /* Consistent block height */
  text-align: center;
}

.value img {
  width: 140px;
  margin-bottom: 20px;
}

.value p {
  margin: 0;
  color: white;
  font-weight: 700;
  font-size: 24px;
  height: 26px; /* Aligns all labels to same baseline */
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value p {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.value.p-visible p {
  opacity: 1;
  animation: fadeIn 0.6s ease-out forwards;
}

@media (max-width: 992px) {
  .values {
    height: 120px;
    gap: 90px;
    padding-top: 27px;
    padding-bottom: 30px;
  }

  .value {
    height: 180px;
  }

  .value img {
    width: 80px;
  }

  .value p {
    font-size: 16px;
    height: 20px;
  }
}

/* Mobile Small: <= 570px */
@media (max-width: 570px) {
  .values {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 30px;
    padding-top: 25px;
    padding-bottom: 70px;
  }

  .value img {
    width: 110px;
  }

  .value p {
    font-size: 18px;
    height: auto;
  }
}

/* About Section CSS */
.about {
  background: white;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #444;
}

.about-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0px 40px;
  text-align: justify;
}

.about-intro {
  margin-bottom: 60px;
  font-size: 18px;
  line-height: 1.6;
}

.about-features h2 {
  font-size: 26px;
  margin-bottom: 20px;
  margin-left: 12px;
  text-align: left;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 40px; /* smaller vertical gap */
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    margin-left: 10px;
    text-align: left;
    font-size: 18px;
}

@media (max-width: 992px) {
    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 20px;
        margin-left: 20px;
    }
    .about-features h2 {
        
        margin-bottom: 20px;
        margin-left: 11px;
        text-align: left;
    }
  .about-intro {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 10px;
        margin-left: 10px;
        font-size: 18px;
    }

    .about-features h2 {
        margin-bottom: 20px;
        margin-left: 11px;
        text-align: left;
    }

    .about-intro {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .features-list {
        grid-template-columns: 1fr;
        padding-left: 5px;
        font-size: 17px;
    }

  .about-intro {
    font-size: 17px;
    text-align: left;
  }

  .about-features h2 {
    font-size: 22px;
    text-align: left;
  }
}

/* GALERIJA */


.gallery-title {
    font-size: 2rem; /* Adjusts the text size */
    font-weight: 700; /* Makes the text bold */
    margin-bottom: 30px; /* Space below the title */
    margin-top: 0; /* Optional: remove space above */
    color: #333; /* Change text color */
    text-align: center; /* Center the title */
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 570px) {
    .gallery-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}

.image-carousel {
    background: #ccc;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-wrapper {
    width: 1090px; /* 3x300 + 2x20(gaps) + 2x60(arrows) + 2x10(space between arrow and image) */
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    justify-content: center;
    margin: 0 auto;
}

.arrow {
    width: 60px;
    height: 170px;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px; /* space between arrow and images */
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 1020px; /* 3x300 + 2x20 gaps */
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

    .gallery-track img {
        width: 300px;
        height: 170px;
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 5px;
    }

.gallery-button {
    display: inline-block;
    width: 400px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0); /* Transparent fill */
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 40px;
}

@media (max-width: 570px) {
    .gallery-button {
        display: inline-block;
        width: 280px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-weight: bold;
        font-size: 1.1rem;
        color: white;
        text-decoration: none;
        border: 2px solid white;
        border-radius: 7px;
        background-color: rgba(255, 255, 255, 0); /* Transparent fill */
        transition: background-color 0.3s ease, color 0.3s ease;
        margin-top: 40px;
    }
}
/* Hover state */
.gallery-button:hover {
    background-color: rgba(255, 255, 255, 0.6); /* 60% transparent white */
    color: #444;
}

/* Click (active) state */
.gallery-button:active {
    background-color: #0EA5DE;
    color: white;
}

/* Scale down proportionally under 1200px */
@media (max-width: 1201px) {
    .gallery-wrapper {
        zoom: 0.9;
        transform-origin: top center;
    }
}
/* Scale down proportionally under 992px */
@media (max-width: 991px) {
    .gallery-wrapper {
        zoom: 0.65;
        transform-origin: top center;
    }
}

/* Mobile style: 1 image, 90% width, arrows over image */
@media (max-width: 767px) {
    .gallery-wrapper {
        width: 90%;
        max-width: 100%;
        position: relative;
        transform: scale(1);
        flex-direction: column;
    }

    .break-mobile {
        display: block;
        width: 100%;
        height: 0;
    }

    .gallery-container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .gallery-track img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
        width: 40px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .arrow.left {
            left: 5px;
        }

        .arrow.right {
            right: 5px;
        }

        .arrow svg {
            height: 20px;
            width: 20px;
        }
}
/* FOOTER */
footer {
    background-color: #f5f5f5;
    padding: 20px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 13pt;
}

footer {
    background-color: #f5f5f5;
    padding: 20px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 13pt;
}

.footer-link {
    text-decoration: none;
}

.footer-grey {
    color: #555555;
}

.footer-blue {
    color: #0EA5DE;
}

.break-mobile {
    display: none;
}

@media (max-width: 767px) {
    .break-mobile {
        display: block;
        width: 100%;
        height: 0;
    }
}
