/* Title look*/

/* Fonts */

/* Anton */
@font-face {
    font-family: 'Anton';
    src: url('../fonts/Anton-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Poppins */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
         url('../fonts/Poppins-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
         url('../fonts/Poppins-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}


.fancy-title{
  text-align: center;
  font-family: 'Anton', sans-serif; /* very thick, bold letters */
  font-size: 80px;                 /* larger for presence */
  color: #8e44ad;                  /* base purple */
  
  /* Strong 3D effect using multiple shadows */
  text-shadow:
    0 2px 2px 0 #6a1b9a,
    0 4px 4px 0 #4d107a,
    0 6px 6px 0 #330955,
    0 8px 8px 5px rgba(0,0,0,0.3);
  
  transition: transform 0.3s, text-shadow 0.3s;
}

/* Optional hover lift for interactivity */
.fancy-title-3d-bold:hover {
  transform: translateY(-5px);
  text-shadow:
    3px 3px 0 #6a1b9a,
    6px 6px 0 #4d107a,
    9px 9px 0 #330955,
    12px 12px 5px rgba(0,0,0,0.4);
}

.site-title {
  text-align: center;
  margin: 60px 20px 20px 20px; /* top, right, bottom, left */
}

.site-title h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

.site-title .octa {
  color: #ffffff; /* white */
}

.site-title .core {
  color: #7c3aed; /* purple accent */
}

.site-title .tagline {
  font-size: 16px;
  font-weight: 400;
  color: #ccc;
  margin-top: 5px;
  position: relative;  /* potrebno za ::after */
  padding-bottom: 20px; /* razmak između tagline-a i linije */
}

.site-title .tagline::after {
  content: "";
  display: block;
  width: 100%;          /* širina linije ista kao tagline */
  height: 2px;          /* debljina linije */
  background-color: #fff; /* bijela boja linije */
  margin-top: 20px;     /* razmak ispod tagline-a */
}

/* HEADER WRAPPER – FIX ZA BIJELU POZADINU */
.header-wrapper {
  position: relative;
  min-height: 200px; /* zamjena za height */
  width: 100%;
  background: transparent;
  border: 1px solid #000;
}

 /*Here we define a nice look of a tabs buttons*/

.tabs {
  position: absolute;
  top: 100px;
  right: 50px;
}

.legal-tabs {
  position: absolute;
  top: 100px;      
  left: 50px;      
  display: flex;
  gap: 12px;
  z-index: 10;
}


.tab-button {
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  background: #f0f0f0;  /* default light gray */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tab-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: all 0.4s ease;
}

.tab-button:hover::after {
  left: 0;
}

.tab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
}

.tab-button.active {
  background: linear-gradient(145deg, #8e44ad, #6a1b9a); /* rich purple gradient */
  color: white;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25), 0 3px 6px rgba(0,0,0,0.15);
}


/* style.css */
body {
    /* Background image */
    background-image: url('../images/background2.png'); /* Make sure the image is in the same folder as style.css */
    
    /* Cover the entire page */
    background-size: cover;
    
    /* Center the image */
    background-position: center;
    
    /* Do not repeat */
    background-repeat: no-repeat;
    
    /* Optional: make the body take full height */
    min-height: 100vh;
    
    /* Optional: smooth scrolling effect */
    margin: 0;
    font-family: Arial, sans-serif;
}


.btn {
  display: inline-block;
  background-color: #7e22ce;
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #6b21a8;
}

/* Responzivnost */
@media (max-width: 768px) {
  .custom-section {
    padding: 60px 20px;
  }
}



body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('../images/background2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;

  /* 🔒 zaključa render – nema zooma */
  transform: translateZ(0);
  will-change: transform;
}

html, body {
  overflow-x: hidden;
}



.pickup-dropoff {
  text-align: center;  /* centriraj sav tekst */
  max-width: 1120px;    /* opcionalno: da ne ide preširoko */
  margin: 0 auto;      /* centriraj cijeli blok na stranici */
  color: #fff;         /* ili boja koju već koristiš */
  margin-top: 50px;
}

.checklist {
  list-style: none;
  padding: 0;
  display: inline-block; /* da se lista centrira unutar text-align:center */
  text-align: left;      /* da ✅ i tekst budu uredno poravnati unutar liste */
}

.checklist li::before {
  content: "✅ ";
  margin-right: 6px;
}

.benefits-header {
  margin-top: 50px;
}

.benefits-content {
  margin-top: 10px;
}


/* =========================
   LOADING SCREEN
   ========================= */

#loader {
  position: fixed;
  inset: 0;
  background: rgba(20, 0, 30, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  font-family: 'Poppins', sans-serif;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255,255,255,0.2);
  border-top: 5px solid #7c3aed;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

#loader p {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade out */
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Choose language section */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.language-switcher button {
  margin-left: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.language-dropdown {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-current,
.lang-options button {
  background: none;
  border: none;
  cursor: pointer;
}

.lang-current img,
.lang-options img {
  width: 32px;
  height: 22px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* dropdown */
.lang-options {
  display: none;
  margin-top: 6px;
  background: rgba(0,0,0,0.4);
  padding: 6px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.lang-options button {
  display: block;
  margin: 4px 0;
}

/* show */
.lang-options.show {
  display: block;
}

/* Social Media */
.social-links {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
  z-index: 9999;
}


.social-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 16px;
}


.social-links a:hover {
  transform: scale(1.15);
  color: #a855f7;
  text-decoration: none;
}

/* =========================
   📱 MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 768px) {

  /* -----------------------------
     GLOBAL STABILITY
     ----------------------------- */
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overscroll-behavior: auto; /* Prevent iOS rubber band bounce */
    position: relative;
  }

  /* -----------------------------
     MOBILE FIXED BACKGROUND
     ----------------------------- */
  .mobile-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/background2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;

    /* GPU optimization for smooth scroll */
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    pointer-events: none;
  }
  
  /* Don't show social text on the mobile devices */
  .social-text { 
    display: none; 
  }

  /* -----------------------------
     HEADER / TITLE
     ----------------------------- */
  .header-wrapper {
    min-height: 160px;
    background: transparent;
  }

  .site-title {
    margin-top: 40px;
    text-align: center;
  }

  .site-title h1 {
    font-size: 32px;
  }

  .site-title .tagline {
    display: none; /* don't show black tagline on the mobile devices  */
  }

  /* -----------------------------
     TABS
     ----------------------------- */
  .tabs,
  .legal-tabs {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px auto;
  }

  .tabs .tab-button,
  .legal-tabs .tab-button {
    width: 45%;
    max-width: 200px;
    padding: 12px;
    font-size: 14px;
  }


}