/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* GLOBAL */
body {
  position: relative;
  background: #fafafa;
  overflow-x: hidden;
  color: #222;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 33;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 64px;
  backdrop-filter: blur(8px);
}

.logo {
  width: 100px;
}

.logo-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  filter: invert(100%);
}

/* FOOTER */
.footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* centriranje */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;         /* manja širina od 100% */
  max-width: 1200px;  /* maksimalna širina */
  padding: 20px 40px; /* manji padding za uži izgled */
  background: rgba(255, 255, 255, 0.6); /* blago providna pozadina */
  backdrop-filter: blur(8px);
  border-radius: 12px 12px 0 0; /* zaobljeni gornji uglovi */
  z-index: 11;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-item {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}

.instagram-section {
  position: relative;
  width: 100%;
  background-color: #f9f9f9;
  color: #222;
  padding: 100px 20px;
  text-align: center;
}

.instagram-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.instagram-box h2 {
  font-size: 2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instagram-box .lead {
  font-size: 1.1em;
  color: #555;
}

.instagram-box a {
  color: #e1306c;
  text-decoration: none;
  font-weight: 600;
}

.instagram-box a:hover {
  text-decoration: underline;
}

/* Instagram feed okvir */
.instagram-feed {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.instagram-feed iframe {
  border: none;
  width: 100%;
  height: 600px;
}

/* Sekcija istorija brenda */
.history-section {
  position: relative;
  width: 100%;
  background: linear-gradient(to right, #000000e6, #222222e6), url('history-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  z-index:5;
}

.history-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.history-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.history-section .lead {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ddd;
}

.history-section p {
  color: #f1f1f1;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .history-section {
    padding: 70px 15px;
  }

  .history-section h2 {
    font-size: 1.8rem;
  }
}


/* USER ICONS */
.user {
  display: flex;
  align-items: center;
}

.user-profile-icon,
.cart-icon {
  width: 25px;
  height: 25px;
  object-fit: cover;
  filter: invert(100%);
}

.cart {
  margin-left: 20px;
}

.animate-item {
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* zauzima visinu ekrana */
  overflow: hidden;
}

/* VIDEO POZADINA */
#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* SADRŽAJ HERO SEKCIJE */
.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Tamni sloj preko videa (opcionalno, ako želiš kontrast) */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* prilagodi tamnoću po potrebi */
  z-index: 1;
}

/* Scroll strelica */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 28px;
  z-index: 3;
  animation: bounce 1.5s infinite;
}



/* Efekat laganog skakanja strelice */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* Opcioni dodatak — lagani puls efekat */
@keyframes pulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 111, 145, 0.8);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
}

.scroll-down {
  animation: bounce 1.8s infinite, pulse 2.5s infinite ease-in-out;
}

/* ======================
   ABOUT SEKCIJA
   ====================== */
.about-section {
  position: relative;
  width: 100%;
  background-image: url('onama.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}

/* Tamni prozirni sloj preko slike */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* 45% tamniji sloj za bolju čitljivost teksta */
  backdrop-filter: blur(2px);      /* blago zamućenje pozadine */
  z-index: 0;
}

/* Tekst iznad pozadine */
.about-section .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease both;
}

/* Naslov */
.about-section h2 {
  font-size: 2.6em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Podnaslov / lead */
.about-section .lead {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ff6f91; /* roze akcent brenda */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Paragrafi */
.about-section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Lagana animacija pri pojavljivanju */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* SWIPER */
.swiper-slide {
  position: relative;
  height: 100vh;
  width: 100vw;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.swiper-slide-active {
  justify-content: center;
}

.swiper-slide-active .product {
  background-color: #fff;
  opacity: 1;
  transform: scale(1);
}

.swiper-slide-next .product {
  margin-left: -15%;
  filter: blur(7px);
  opacity: 0.8;
}

.swiper-slide-prev .product {
  opacity: 0.8;
  filter: blur(10px);
}

/* PRODUCT CARD */
.product {
  position: relative;
  width: 500px;
  height: 600px;
  border-radius: 40px;
  transform-style: preserve-3d;
  transition: transform 0.3s linear, opacity 0.3s ease, filter 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.product__banner {
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 40px;
  overflow: hidden;
}

.product__banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product__banner:hover img {
  transform: scale(1.05);
}

.product__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(80px);
    /* Ovdje ne koristimo justify-content jer sad radimo apsolutno pozicioniranje */
}

.product__title {
    font-size: 2em;
    font-weight: 700;
    color: #242323;
    text-transform: uppercase;
    position: absolute;  /* apsolutno pozicioniranje unutar .product__content */
    top: 13px;           /* udaljenost od vrha kartice */
    left: 13px;          /* udaljenost od lijevog ruba kartice */
}

.product__description {
    font-size: 14px;
    font-weight: 300;
    opacity: 1;
    width: 70%;
    line-height: 1.4;
    background-color: #fce3eb;
    padding: 8px 12px;
    border-radius: 8px;
    position: absolute;
    bottom: 20px;  /* donji lijevi kut */
    left: 20px;
}

.product__price {
    font-weight: 700;
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 1.2em;
    color: #242323;

    background-color: #fff;      /* bijela pozadina */
    padding: 6px 10px;           /* unutrašnji razmak */
    border-radius: 8px;          /* zaobljene ivice */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* blaga sjena */
	transition: background-color 0.3s ease, color 0.3s ease;
}
/* ORGANIC LOGO */
.product__organic-logo {
  position: absolute;
  right: -15px;
  top: -15px;
  width: 90px;
  height: 90px;
  object-fit: cover;
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {
  .swiper-slide-next .product {
    margin-left: unset;
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  #background-video {
    object-fit: cover;
    height: 100vh;
  }

  .product {
    width: 90%;
    height: auto;
    border-radius: 20px;
    position: relative; /* omogućava pozicioniranje unutar kartice */
    overflow: hidden;
  }

  .product__banner {
    padding: 12px;
    border-radius: 20px;
    height: 320px;
  }

  .product__content {
    transform: none;
    padding: 20px;
  }

  .product__title {
    font-size: 1.6em;
  }

  .product__description {
    font-size: 13px;

  }

  .product__price {
    font-size: 14px;
  }

  .header,
  .footer {
    padding: 20px;
  }

  .footer-item {
    font-size: 12px;
  }
}
.add-to-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff7ba9;
    border: none;
    padding: 8px 14px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.add-to-cart-btn:hover {
    background: #ff5c8a;
    transform: scale(1.05);
}

/* Modal za korpu */
.cart-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.cart-content {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cart-content h2 {
    margin-bottom: 15px;
}

/* Korpa stavke */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.cart-item img {
    width: 50px;
    border-radius: 8px;
}

.cart-item button {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 18px;
}

/* Polja za unos podataka kupca */
.customer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.customer-info input {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Dugmad */
#clear-cart, #close-cart, #checkout-cart {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin: 5px 0;
    width: 100%;
    transition: background 0.3s;
}

#clear-cart {
    background: #f44336;
    color: #fff;
}

#clear-cart:hover {
    background: #d32f2f;
}

#close-cart {
    background: #9e9e9e;
    color: #fff;
}

#close-cart:hover {
    background: #757575;
}

#checkout-cart {
    background: #4caf50;
    color: #fff;
}

#checkout-cart:hover {
    background: #388e3c;
}


.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3366;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.cart-count.bump {
    transform: scale(1.3);
}