/* 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;  /* needed for ::after */
  padding-bottom: 20px; /* space between tagline and title */
}

.site-title .tagline::after {
  content: "";
  display: block;
  width: 100%;          /* line lengtt same as tagline */
  height: 2px;          /* line thickness */
  background-color: #fff; /* white color */
  margin-top: 20px;     /* space under tagline */
}

/* HEADER WRAPPER – FIX FOR THE WHITE BACKGROUND */
.header-wrapper {
  position: relative;
  min-height: 200px; /* change for the 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);
}

.accordion-header {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.accordion-header .arrow {
  transition: transform 0.3s;
}

 

/* 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;
}



/* Support Options Layout */
.support-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Individual Card Styling */
.support-card {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 25px;
  width: 300px;
  color: #f3f4f6;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* Icon Styling */
.support-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Title */
.support-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

/* Description */
.support-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #d1d5db;
}

/* Button */
.support-card .btn {
  background: rgba(124, 58, 237, 0.2); /* prozirna ljubičasta */
  color: #fff;
  padding: 10px 24px;
  border: 1px solid #7c3aed;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.support-card .btn:hover {
  background: rgba(124, 58, 237, 0.4); /* malo jača ljubičasta na hover */
  transform: translateY(-2px);
}

/*Here we edit box section containing services that we do */
.card-section {
  background: rgba(128, 0, 128, 0.4);
  color: #fff;
  border-radius: 15px;
  padding: 20px 30px;
  width: 900px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;

  /* ❗ CENTRIRANJE — OVO JE KLJUČNO */
  margin: 60px auto 50px auto;

  /* Blurred glass effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* Section title */
.section-title {
  font-size: 28px;
  margin-bottom: 15px;
  font-family: 'Anton', sans-serif;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

/* Accordion header */
.accordion-header {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 10px;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  transition: background 0.3s;
}

/* Accordion hover */
.accordion-header:hover {
  background: rgba(255,255,255,0.25);
}

/* Arrow icon */
.accordion-header .arrow {
  transition: transform 0.3s;
  font-size: 20px;
}

/* Accordion content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;

  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* List inside accordion */
.accordion-content ul {
  list-style-type: disc;
  margin: 10px 0 0 20px;
}

.dash-list {
  list-style-type: none;
  padding-left: 1em;
}

.dash-list li::before {
  content: "– ";
  color: #000;
}


/* CENTER THE ACCORDION BLOCK */
#home .card-section {
    margin: 60px auto 50px auto !important;
    width: 900px;
    background: rgba(124, 58, 237, 0.25); /* lagana ljubičasta bez blura */
}

/* MAKE ALL TEXT INSIDE THE ACCORDION WHITE */
.card-section,
.card-section * {
    color: #e5e5e5 !important;
}




/* Section text over the image */
.section-content {
  position: relative;
  z-index: 2; /* above overlay */
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.text-part p {
  font-size: 18px;
  margin-bottom: 20px;
}

.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;
}

/* Responsiveness */
@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;

  /* 🔒 lock the render – no zoom */
  transform: translateZ(0);
  will-change: transform;
}

html, body {
  overflow-x: hidden;
}


.service-tab-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 60px auto;
}

.service-tab {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.service-img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}


/* =========================
   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;
  }

  .social-links { 
    right: auto; /* makni desno poravnanje */ 
    left: 20px; /* prebaci na lijevu stranu */ 
    top: 20px; /* možeš spustiti ako želiš */ 
  }

  /* Don't show social text on the mobile devices */
  .social-text { 
    display: none; 
  }

  /* -----------------------------
     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;
  }

  /* -----------------------------
     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;
  }
  

  /* -----------------------------
     CARDS / SERVICES
     ----------------------------- */
  .card-section {
    width: calc(100% - 24px);
    margin: 20px auto;
    padding: 20px;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    background: linear-gradient(135deg, #6a1b9a, #4a0f73);
    border-radius: 18px;

    transform: none !important;
    transition: none !important;
  }


  /* -----------------------------
     ACCORDION
     ----------------------------- */
  #home .card-section {
    width: calc(100% - 40px); /* automatska širina s marginama */
    margin: 40px auto;
    padding: 20px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(124, 58, 237, 0.25); /* lagana ljubičasta bez blura */
    border-radius: 12px;
  }

  /* Accordion header */
  .accordion-header {
    font-size: 16px;
    padding: 10px 12px;
  }

  /* Accordion content */
  .accordion-content {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 10px;
  }

  /* Section title */
  .section-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
  }

  /* Strelica */
  .accordion-header .arrow {
    font-size: 18px;
  }

  .accordion-content ul {
    padding-left: 0px;      /* adjust list indentation */
  }



  /* -----------------------------
     TICKET PANELS
     ----------------------------- */
  .tickets-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
  }

  .ticket-panel {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 40px);
    max-width: 360px;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .support-ticket {
    background-image: url('../images/support_ticket.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 50px; /* a little bit space from the top */
    margin-bottom: 20px; 
    padding: 50px 20px; /* space inside block, defining size of the button with an image */
  }
  .remote_support {
    background-image: url('../images/remote_support2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 40px; 
    padding: 80px 20px;          /* space inside block, defining size of the button with an image */
  }
  .pickup-dropoff {
    background-image: url('../images/delivery.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    padding: 60px 20px; /* space inside block, defining size of the button with an image */
  }

  .support-ticket h2,
  .remote_support h2,
  .pickup-dropoff h2 {
    font-size: 18px;
    text-align: center;
  }
}


