 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: rgba(101, 67, 33, 0.85);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-size: 22px;
  letter-spacing: 3px;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 90px;
}

.hero > h2 {
  font-size: 56px;
  margin-bottom: 60px;
  letter-spacing: 4px;
  text-align: center;
  color: #000;
  position: relative;
  z-index: 2;
}

.hero-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 8%;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.hero-text {
  flex: 0 0 35%;
  z-index: 2;
  color: #000;
}

.hero-slides {
  flex: 0 0 100%;
  max-width: 1200px;
  position: relative;
  height: 80vh;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  border-radius: 12px;
}

.slide.active {
  opacity: 1;
}

.hero-text h1 {
  font-size: 90px;
  letter-spacing: 5px;
  color: #000;
}

.hero-text h2 {
  font-size: 24px;
  margin: 20px 0;
  color: #000;
}

.hero-text p {
  max-width: 100%;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    padding: 60px 5%;
  }
  
  .hero-slides {
    width: 100%;
    height: 50vh;
    order: -1;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 60px;
  }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 1s forwards;
}

.delay { animation-delay: .5s; }
.delay2 { animation-delay: 1s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STORY */
.story {
  display: flex;
  padding: 120px 8%;
  gap: 80px;
  align-items: center;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 50px;
  margin-bottom: 30px;
}

.story-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-image img {
  width: 400px;
  filter: grayscale(100%);
}

/* FULL IMAGE */
.full-image {
  height: 90vh;
  background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-image h2 {
  font-size: 70px;
  background: rgba(0,0,0,0.6);
  padding: 30px 60px;
}

/* WORKS */
.works {
  padding: 120px 8%;
}

.works h2 {
  font-size: 60px;
  margin-bottom: 60px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.work-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 400px;
}

.work-card img {
  width: 100%;
  height: calc(100% - 80px);
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.work-card:first-child img {
  object-position: center 30%;
}

.work-card:hover img {
  transform: scale(1.1);
}

.work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  width: 100%;
  padding: 15px 20px;
  min-height: 80px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #d3d3d3;
}

.work-info p {
  color: #000;
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
}

.work-info p:first-child {
  font-weight: bold;
  margin-bottom: 4px;
}

.work-info h3 {
  display: none;
}

/* QUOTE */
.quote {
  padding: 150px 15%;
  font-size: 32px;
  text-align: center;
  line-height: 1.6;
}

/* CONTACT */
.contact {
  padding-top: 90px;
  padding-left: 8%;
  padding-right: 8%;
  padding-bottom: 120px;
  scroll-margin-top: 10px;
  text-align: center;
  position: relative;
  background: #fff;
}

.contact h2 {
  position: relative;
  z-index: 2;
  font-size: 56px;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
}

.contact > p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #000;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
  background: #fff;
  padding: 10px 20px;
  border-radius: 10px;
}

.contact-info {
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto; 
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-card {
  position: relative;        
  overflow: hidden;
  height: 300px;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  cursor: pointer; 
}


.contact-card img { 
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease; 
}

.contact-card:nth-child(1) img,
.contact-card:nth-child(2) img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 20px;
}

.contact-card-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
}

.contact-card:hover .contact-card-text {
  opacity: 1;
  transform: translateX(0);
}

.contact-card:hover img {
  transform: translateX(50%);
  filter: grayscale(50%) brightness(0.7);
}

.contact-card-text h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 600;
}

.contact-card-text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  opacity: 0.9;
}

.contact-card-text a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.contact-card-text a:hover {
  opacity: 0.7;
}
 


/* -------------------------------- */
/* CR7 MOUSE REVEAL INTRO */
/* -------------------------------- */
.intro-hover {
  height: 100vh;
  background: rgba(101, 67, 33, 0.85);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
}

.intro-text h1 {
  font-size: 90px;
  letter-spacing: 6px;
}

.intro-text p {
  margin-top: 15px;
  opacity: 0.6;
}

.hover-images {
  position: absolute;
  inset: 0;
}

.hover-img {
  position: absolute;
  width: 300px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity .3s ease, transform .3s ease;
  filter: grayscale(100%);
}

/* -------------------------------- */
/* CR7 CENTERED IMAGE ROW */
/* -------------------------------- */
.cr7-hover-strip {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  padding-top: 90px;
  padding-left: 0;
  padding-right: 0;
}

.cr7-hover-strip > h2 {
  font-size: 56px;
  margin-bottom: 60px;
  letter-spacing: 4px;
  text-align: center;
  position: relative;
  z-index: 2;
  color: #000;
}

.trivia-slider-wrapper {
  position: relative;
}

@media (max-width: 768px) {
  .strip-img {
    height: auto;
    min-height: 420px;
  }
  
  .img-text {
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
  }
  
  .img-text p {
    font-size: 14px;
    line-height: 1.5;
  }
}

.trivia-slider-wrapper {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.trivia-slider-wrapper:active {
  cursor: grabbing;
}

.trivia-slider-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 420px;
}

.trivia-nav-btn {
  top: 50%;
  transform: translateY(-50%);
}

.strip-track {
  display: flex;
  gap: 50px;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  will-change: transform;
  position: relative;
  z-index: 2;
  transform: translateX(0);
  transition: transform 0.6s ease;
}

#triviaStripTrack {
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  margin-left: 0;
}


/* SVE ISTE DIMENZIJE */
.strip-img {
  width: 260px;
  height: 420px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* IMAGE */
.strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease, filter .6s ease;
  filter: grayscale(0%) brightness(1);
}

/* TEXT OVER IMAGE */
.img-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity .4s ease;
  text-align: center;
}

.img-text h3 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
}

.img-text p {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  opacity: 1;
  line-height: 1.6;
}

/* HOVER EFFECT */
.strip-img:hover img {
  transform: scale(1.08);
  filter: grayscale(100%) brightness(0.85);
}

.strip-img:hover .img-text {
  opacity: 1;
}
 
/* ================= PARTICLE & GRID BACKGROUND EFFECTS ================= */
.page-abstract-shapes {
  display: none;
  pointer-events: none;
}

.page-abstract-shapes::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  animation: pulseBackground 8s ease-in-out infinite;
}

.page-abstract-shapes .abs-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5),
              0 0 40px rgba(236, 72, 153, 0.3),
              0 0 60px rgba(59, 130, 246, 0.2);
  animation: particleFloat 12s ease-in-out infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

@keyframes pulseBackground {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0.4;
  }
  25% {
    transform: translate(100px, -150px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translate(-80px, -200px) scale(0.9);
    opacity: 0.6;
  }
  75% {
    transform: translate(-120px, 100px) scale(1.1);
    opacity: 0.7;
  }
}

.abs-1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 15%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.abs-2 {
  width: 6px;
  height: 6px;
  bottom: 30%;
  right: 18%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.abs-3 {
  width: 10px;
  height: 10px;
  top: 60%;
  left: 8%;
  animation-duration: 18s;
  animation-delay: -6s;
}

.abs-4 {
  width: 7px;
  height: 7px;
  bottom: 20%;
  left: 25%;
  animation-duration: 15s;
  animation-delay: -9s;
}

.abs-5 {
  width: 9px;
  height: 9px;
  top: 25%;
  right: 12%;
  animation-duration: 17s;
  animation-delay: -1s;
}

.abs-6 {
  width: 5px;
  height: 5px;
  bottom: 35%;
  left: 10%;
  animation-duration: 13s;
  animation-delay: -4s;
}

.abs-7 {
  width: 8px;
  height: 8px;
  top: 70%;
  right: 22%;
  animation-duration: 19s;
  animation-delay: -7s;
}

.abs-8 {
  width: 6px;
  height: 6px;
  bottom: 25%;
  right: 32%;
  animation-duration: 16s;
  animation-delay: -10s;
}

.abs-9 {
  width: 10px;
  height: 10px;
  top: 15%;
  left: 18%;
  animation-duration: 15s;
  animation-delay: -2s;
}

.abs-10 {
  width: 7px;
  height: 7px;
  bottom: 32%;
  right: 14%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.abs-11 {
  width: 9px;
  height: 9px;
  top: 62%;
  right: 26%;
  animation-duration: 14s;
  animation-delay: -8s;
}

.abs-12 {
  width: 8px;
  height: 8px;
  bottom: 18%;
  left: 35%;
  animation-duration: 17s;
  animation-delay: -11s;
}

.abs-13 {
  width: 8px;
  height: 8px;
  top: 22%;
  left: 14%;
  animation-duration: 16s;
  animation-delay: -1s;
}

.abs-14 {
  width: 6px;
  height: 6px;
  bottom: 38%;
  right: 19%;
  animation-duration: 19s;
  animation-delay: -4s;
}

.abs-15 {
  width: 9px;
  height: 9px;
  top: 65%;
  left: 10%;
  animation-duration: 13s;
  animation-delay: -7s;
}

.abs-16 {
  width: 7px;
  height: 7px;
  bottom: 25%;
  left: 28%;
  animation-duration: 18s;
  animation-delay: -10s;
}

.abs-17 {
  width: 10px;
  height: 10px;
  top: 18%;
  right: 15%;
  animation-duration: 17s;
  animation-delay: -2s;
}

.abs-18 {
  width: 8px;
  height: 8px;
  bottom: 32%;
  left: 12%;
  animation-duration: 15s;
  animation-delay: -5s;
}

.abs-19 {
  width: 6px;
  height: 6px;
  top: 68%;
  right: 22%;
  animation-duration: 20s;
  animation-delay: -8s;
}

.abs-20 {
  width: 9px;
  height: 9px;
  bottom: 22%;
  right: 30%;
  animation-duration: 14s;
  animation-delay: -11s;
}

.abs-21 {
  width: 9px;
  height: 9px;
  top: 14%;
  left: 13%;
  animation-duration: 16s;
  animation-delay: -1s;
}

.abs-22 {
  width: 7px;
  height: 7px;
  bottom: 28%;
  right: 12%;
  animation-duration: 18s;
  animation-delay: -4s;
}

.abs-23 {
  width: 8px;
  height: 8px;
  top: 61%;
  right: 26%;
  animation-duration: 15s;
  animation-delay: -7s;
}

.abs-24 {
  width: 10px;
  height: 10px;
  bottom: 18%;
  left: 26%;
  animation-duration: 19s;
  animation-delay: -10s;
}

.abs-25 {
  width: 8px;
  height: 8px;
  top: 20%;
  right: 16%;
  animation-duration: 17s;
  animation-delay: -2s;
}

.abs-26 {
  width: 9px;
  height: 9px;
  bottom: 33%;
  left: 10%;
  animation-duration: 16s;
  animation-delay: -5s;
}

.abs-27 {
  width: 7px;
  height: 7px;
  top: 70%;
  right: 22%;
  animation-duration: 14s;
  animation-delay: -8s;
}

.abs-28 {
  width: 10px;
  height: 10px;
  bottom: 23%;
  right: 32%;
  animation-duration: 18s;
  animation-delay: -11s;
}

/* ================= ABOUT / O MENI ================= */
.about-page {
  padding: 90px 10% 140px;
  position: relative;
  background: #fff;
}

.about-page > h2 {
  font-size: 60px;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
  text-align: center;
  color: #000;
}

.about-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  width: 100%;
  margin-bottom: 60px;
}

.about-text p {
  margin: 0 0 25px 0;
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.85;
  text-align: left;
}

.about-info-cards {
  display: flex;
  gap: 30px;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
}

.info-card {
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: url('images/ja.jpg') center/cover no-repeat;
  border: 2px solid #d3d3d3;
}

.info-card:nth-child(2) {
  background: url('images/office.jpg') center/cover no-repeat;
}

.info-card:nth-child(3) {
  background: url('images/cilj3.png') center/cover no-repeat;
}

.info-card:nth-child(4) {
  background: url('images/obrazovanje.jpg') center/cover no-repeat;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.4s ease;
  z-index: 1;
}

.info-card h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  z-index: 2;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.info-card:nth-child(3) h3,
.info-card:nth-child(4) h3 {
  font-size: 32px;
}

.info-card-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 25px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: left;
  z-index: 3;
  overflow-y: auto;
}

.info-card:hover::before {
  background: transparent;
}

.info-card:hover h3 {
  opacity: 0;
}

.info-card:hover .info-card-text {
  opacity: 1;
}

.info-card-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin: 0;
  text-align: left;
  font-weight: bold;
  padding-top: 0;
}

/* ================= ABOUT SLIDER ================= */
.about-slider {
  flex: 0 0 400px;
  max-width: 400px;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  height: 350px;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-text p {
    text-align: center;
  }
  
  .about-slider {
    flex: 1;
    max-width: 100%;
    width: 100%;
  }
  
  .slider-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 400px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .slider-btn.prev {
    left: 10px;
  }
  
  .slider-btn.next {
    right: 10px;
  }
}

/* ================= MY WORK / MOJI RADOVI ================= */
.works-page {
  padding: 90px 8% 140px;
  position: relative;
  background: #fff;
}

.works-page h2 {
  font-size: 60px;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

.works-page > p {
  font-size: 18px;
  text-align: center;
  margin-top: -20px;
  margin-bottom: 40px;
  color: #000;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.works-page .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= SERVICES / MOJE USLUGE ================= */
.services-page {
  padding: 90px 8% 140px;
  position: relative;
  background: url('images/23.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.services-page h2 {
  position: relative;
  z-index: 2;
  font-size: 56px;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.service-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px 20px;
  text-align: center;
  transition: transform .4s ease, background .4s ease;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: #fff;
}

.service-card:nth-child(1) {
  background: #fff;
}

.service-card:nth-child(4) {
  background: url('images/cvv.jpg') center/cover no-repeat;
}

.service-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.4s ease;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.service-card h3 {
 	font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  color: #000;
}

.service-card p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
  color: #000;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:nth-child(1):hover {
  background: url('images/us.jpg') center/cover no-repeat;
}

.service-card:nth-child(4):hover {
  background: url('images/cvv.jpg') center/cover no-repeat;
}

.service-card:hover .service-text {
  opacity: 0;
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover .service-img {
  opacity: 1;
}

/* ================= DESIGN STUDIO ================= */
.studio-page {
  padding: 90px 8% 140px;
  position: relative;
  background: #fff;
}

.studio-page h2 {
  position: relative;
  z-index: 2;
  font-size: 56px;
  margin-bottom: 60px;
  text-align: center;
  color: #000;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.studio-item {
  position: relative;
  overflow: hidden;
  height: 400px;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.studio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.studio-item-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
}

.studio-item:hover .studio-item-text {
  opacity: 1;
  transform: translateX(0);
}

.studio-item:hover img {
  transform: translateX(50%);
  filter: grayscale(50%) brightness(0.7);
}

.studio-item-text h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.studio-item-text p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 900px) {
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .studio-gallery {
    grid-template-columns: 1fr;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: url('images/foot1.jpg') center/cover no-repeat;
  color: #fff;
  padding: 60px 8% 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-top h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
  background: rgba(101, 67, 33, 0.85);
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  width: fit-content;
}

.footer-top p {
  font-size: 20px;
  color: #fff;
  opacity: 1;
  margin: 0;
  background: rgba(101, 67, 33, 0.85);
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  width: fit-content;
}

.footer-menu {
  text-align: center;
  margin-bottom: 40px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-menu ul li {
  margin: 0;
}

.footer-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: rgba(101, 67, 33, 0.85);
}

.footer-menu ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-social {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
  background: rgba(101, 67, 33, 0.85);
}

.footer-social a:hover {
  opacity: 1;
  transform: scale(1.15);
}

.footer-social svg {
  width: 32px;
  height: 32px;
}

.footer-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 0 1 auto;
  min-width: 200px;
  margin: 10px 60px;
  text-align: center;
}

.footer-section h4 {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  background: rgba(101, 67, 33, 0.85);
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 15px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: rgba(101, 67, 33, 0.85);
}

.footer-section ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-section p {
  color: #fff;
  font-size: 22px;
  margin: 12px 0;
  opacity: 1;
  line-height: 1.6;
  background: rgba(101, 67, 33, 0.85);
  padding-left: 8px;
  padding-right: 8px;
  display: inline-block;
}

.footer-social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-icons li {
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-icon-label {
  color: #fff;
  font-weight: 500;
  font-size: 22px;
  opacity: 1;
  min-width: 70px;
  background: rgba(101, 67, 33, 0.85);
}

.footer-social-icons a {
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 18px;
  background: rgba(101, 67, 33, 0.85);
}

.footer-social-icons a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-social-icons svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: rgba(101, 67, 33, 0.85);
}

.footer-contact-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-icons-inline {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-icons-inline a {
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
  background: rgba(101, 67, 33, 0.85);
}

.footer-icons-inline a:hover {
  opacity: 1;
  transform: scale(1.15);
}

.footer-icons-inline svg {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.footer-bottom p {
  color: #fff;
  background: rgba(101, 67, 33, 0.85);
  font-size: 22px;
  opacity: 1;
  margin: 0;
}

#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#scrollTop:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-section {
    margin: 20px 0;
  }
}


/* ================= FIRST HERO ================= */
.first-hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px 10% 0;
  position: relative;
  overflow: hidden;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-fallback-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 300;
  color: #000;
  text-align: center;
  z-index: 1;
  display: none;
  letter-spacing: 4px;
}

.first-hero .hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.first-hero .hero-text {
  text-align: center;
  position: relative;
}

.portfolio-title {
  font-size: 120px;
  font-weight: 300;
  color: #2d3436;
  letter-spacing: 20px;
  margin: 0;
  text-transform: lowercase;
  animation: fadeInScale 1.2s ease forwards;
  opacity: 0;
  font-family: 'Arial', sans-serif;
}

.name-title {
  font-size: 48px;
  font-weight: 400;
  color: #636e72;
  letter-spacing: 15px;
  margin: 20px 0 0 0;
  text-transform: lowercase;
  animation: fadeInScale 1.4s ease 0.3s forwards;
  opacity: 0;
  font-family: 'Arial', sans-serif;
}

.decorative-line {
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2d3436, transparent);
  margin: 40px auto 0;
  animation: expandLine 1s ease 0.8s forwards;
  transform: scaleX(0);
  transform-origin: center;
}

/* Abstract Shapes (disabled) */
.abstract-shapes {
  display: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: 10%;
  left: 5%;
  animation-duration: 25s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  top: 60%;
  right: 10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  bottom: 20%;
  left: 15%;
  animation-duration: 22s;
  animation-delay: -10s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  top: 30%;
  right: 20%;
  animation-duration: 28s;
  animation-delay: -8s;
}

.shape-5 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  bottom: 15%;
  right: 5%;
  animation-duration: 24s;
  animation-delay: -12s;
}

.shape-6 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  top: 5%;
  left: 50%;
  animation-duration: 26s;
  animation-delay: -15s;
}

/* Fun Objects (disabled) */
.fun-objects {
  display: none;
}

.fun-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(45, 52, 54, 0.3);
  animation: rotate 15s infinite linear;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 8%;
  border-color: rgba(99, 110, 114, 0.4);
  animation-duration: 20s;
}

.circle-2 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  right: 12%;
  border-color: rgba(45, 52, 54, 0.3);
  animation-duration: 18s;
  animation-direction: reverse;
}

.fun-square {
  position: absolute;
  border: 3px solid rgba(99, 110, 114, 0.3);
  transform: rotate(45deg);
  animation: pulse 3s infinite ease-in-out;
}

.square-1 {
  width: 50px;
  height: 50px;
  top: 70%;
  left: 12%;
  animation-delay: 0.5s;
}

.fun-triangle {
  position: absolute;
  width: 0;
  height: 0;
  animation: bounce 4s infinite ease-in-out;
}

.triangle-1 {
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid rgba(45, 52, 54, 0.2);
  top: 15%;
  right: 25%;
  animation-delay: 1s;
}

.fun-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(45, 52, 54, 0.5);
  animation: dotFloat 6s infinite ease-in-out;
}

.dot-1 {
  top: 40%;
  right: 30%;
  animation-delay: 0s;
}

.dot-2 {
  bottom: 35%;
  left: 25%;
  animation-delay: 2s;
  width: 8px;
  height: 8px;
}

.dot-3 {
  top: 55%;
  right: 8%;
  animation-delay: 4s;
  width: 10px;
  height: 10px;
}

/* Animations */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes expandLine {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, -50px) rotate(90deg);
  }
  50% {
    transform: translate(-30px, -80px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 30px) rotate(270deg);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: rotate(45deg) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes dotFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(20px, -20px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .portfolio-title {
    font-size: 60px;
    letter-spacing: 10px;
  }
  
  .name-title {
    font-size: 28px;
    letter-spacing: 8px;
  }
  
  .shape {
    opacity: 0.1;
  }
  
  .shape-1, .shape-2, .shape-4, .shape-5, .shape-6 {
    width: 150px;
    height: 150px;
  }
  
  .shape-3 {
    width: 100px;
    height: 100px;
  }
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h2 {
    font-size: 28px;
  }
  
  .hero-image img {
    width: 280px;
  }
}


/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(255,255,255,0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 0 10px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .logo img {
  height: 110px;
  cursor: pointer;
}

.navbar .nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar .lang-buttons {
  display: inline-flex;
  margin-left: 10px;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: rgba(101, 67, 33, 0.85);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #000;
  transform: translateY(-2px);
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

.navbar .lang-toggle {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  border-radius: 0;
  line-height: 1.3;
  margin: 0;
  border-right: none;
}

.navbar .lang-toggle:first-of-type {
  border-radius: 3px 0 0 3px;
}

.navbar .lang-toggle:last-of-type {
  border-radius: 0 3px 3px 0;
  border-right: 1px solid #000;
}

.navbar .lang-toggle:hover {
  background: rgba(101, 67, 33, 0.85);
  color: #000;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .navbar {
    padding: 0 30px;
  }

  .navbar .nav-links {
    gap: 20px;
  }
}


.lang-toggle.active {
  opacity: 0.5;
  pointer-events: none;
}

/* =================== HAMBURGER MENU =================== */
.hamburger-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  margin-left: auto;
  position: relative;
}

.hamburger-menu-toggle span {
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  z-index: 998;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-logo {
  margin-bottom: 40px;
}

.mobile-menu-logo img {
  height: 100px;
  width: auto;
}

.mobile-menu-link {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.mobile-menu-link:hover {
  background: rgba(101, 67, 33, 0.1);
}

.mobile-lang-buttons {
  display: flex;
  gap: 0;
  margin-top: 30px;
  border: 1px solid #000;
  border-radius: 5px;
  overflow: hidden;
}

.mobile-lang-toggle {
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  border-right: 1px solid #000;
  transition: background 0.3s ease;
}

.mobile-lang-toggle:last-child {
  border-right: none;
}

.mobile-lang-toggle:hover,
.mobile-lang-toggle.active {
  background: rgba(101, 67, 33, 0.85);
  color: #fff;
}

/* =================== RESPONSIVE STYLES =================== */

/* =================== 100px-340px LIKE 472px =================== */
@media (min-width: 100px) and (max-width: 340px) {
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 70px;
  }
  
  .name-title {
    font-size: 30px;
  }
  
  h2 {
    font-size: 42px;
  }
  
  .about-info-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-card {
    max-width: calc(50% - 15px);
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
}

/* =================== MOJE USLUGE 100px-300px LIKE 300px-319px =================== */
@media (min-width: 100px) and (max-width: 300px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* =================== TRIVIA ARROWS 100px-400px CENTERED =================== */
@media (min-width: 100px) and (max-width: 400px) {
  .trivia-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
  }
  
  .trivia-nav-btn.trivia-prev {
    left: 10px;
    right: auto;
  }
  
  .trivia-nav-btn.trivia-next {
    right: 10px;
    left: auto;
  }
}

/* =================== MOBILE SMALL =================== */
@media (min-width: 300px) and (max-width: 319px) {
  /* Navbar */
  .navbar {
    padding: 15px 10px;
    flex-wrap: wrap;
  }
  
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  /* Hero */
  .first-hero {
    padding-top: 70px;
  }
  
  .portfolio-title {
    font-size: 40px;
    letter-spacing: 5px;
  }
  
  .name-title {
    font-size: 20px;
    letter-spacing: 5px;
  }
  
  /* Headings */
  h2 {
    font-size: 32px;
  }
  
  /* About */
  .about-text {
    font-size: 14px;
    padding: 0 15px;
  }
  
  .about-info-cards {
    flex-direction: column;
    gap: 20px;
  }
  
  .info-card {
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 300px;
  }
  
  /* Trivia */
  .cr7-hover-strip > h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .cr7-hover-strip > p {
    font-size: 14px;
    padding: 0 15px;
  }
  
  .strip-img img {
    width: 250px;
    height: 300px;
  }
  
  .img-text h3 {
    font-size: 18px;
  }
  
  .img-text p {
    font-size: 14px;
    padding: 20px;
  }
  
  
  .strip-img {
    height: 300px;
  }
  
  .work-card img,
  .contact-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }
  
  .service-card p,
  .work-info p {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .hamburger-menu-toggle {
    width: 24px;
    height: 24px;
    z-index: 1001;
  }
  
  .mobile-menu-link {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  .mobile-menu-logo img {
    height: 80px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
  
  /* Works */
  .works-page .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .work-card {
    height: 300px;
  }
  
  /* Studio */
  .studio-gallery {
    grid-template-columns: 1fr;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Contact */
  .contact-info {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-card {
    max-width: 100%;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
  
  .mobile-menu-link {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  .mobile-menu-logo img {
    height: 80px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 5% 20px;
  }
  
  .footer-top h2 {
    font-size: 28px;
  }
  
  .footer-top p {
    font-size: 16px;
  }
  
  .footer-menu ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-menu ul li a {
    font-size: 16px;
  }
  
  .footer-section {
    margin: 10px 20px;
  }
  
  .footer-section h4 {
    font-size: 20px;
  }
  
  .footer-section ul li a,
  .footer-section p {
    font-size: 16px;
  }
}

/* =================== iPhone SE 1st gen =================== */
@media (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
  .navbar {
    padding: 15px 10px;
  }
  
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 42px;
  }
  
  h2 {
    font-size: 34px;
  }
}

/* =================== MOBILE SMALL =================== */
@media (min-width: 321px) and (max-width: 374px) {
  .navbar {
    padding: 15px 12px;
  }
  
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 50px;
  }
  
  .name-title {
    font-size: 22px;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .about-info-cards {
    flex-direction: column;
  }
  
  .works-page .work-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .studio-gallery {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-link {
    font-size: 17px;
    padding: 13px 16px;
  }
  
  .mobile-menu-logo img {
    height: 85px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
}

/* =================== iPhone 6/7/8 =================== */
@media (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 55px;
  }
  
  .mobile-menu-link {
    font-size: 17px;
    padding: 13px 16px;
  }
  
  .mobile-menu-logo img {
    height: 85px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
}

/* =================== MOBILE MEDIUM =================== */
@media (min-width: 376px) and (max-width: 399px) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 60px;
  }
  
  h2 {
    font-size: 40px;
  }
  
  .mobile-menu-link {
    font-size: 18px;
    padding: 14px 18px;
  }
  
  .mobile-menu-logo img {
    height: 90px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
}

/* =================== iPhone 6/7/8 Plus =================== */
@media (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 65px;
  }
  
  .name-title {
    font-size: 28px;
  }
  
  .mobile-menu-link {
    font-size: 18px;
    padding: 14px 18px;
  }
  
  .mobile-menu-logo img {
    height: 90px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
}

/* =================== iPhone X, XS, 11 Pro =================== */
@media (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
  
  .first-hero {
    min-height: 100vh;
  }
  
  .mobile-menu-link {
    font-size: 18px;
    padding: 14px 18px;
  }
  
  .mobile-menu-logo img {
    height: 90px;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
}

/* =================== iPhone XR, 11 =================== */
@media (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
  
  .first-hero {
    min-height: 100vh;
  }
}

/* =================== iPhone XS Max, 11 Pro Max =================== */
@media (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-lang-buttons {
    display: flex;
  }
  
  .first-hero {
    min-height: 100vh;
  }
}

/* =================== 360px-415px LOOK LIKE 350px =================== */
@media (min-width: 360px) and (max-width: 415px) {
  .portfolio-title {
    font-size: 50px;
  }
  
  .name-title {
    font-size: 22px;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .about-info-cards {
    flex-direction: column;
  }
  
  .works-page .work-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .studio-gallery {
    grid-template-columns: 1fr;
  }
}

/* =================== MOBILE LARGE =================== */
@media (min-width: 415px) and (max-width: 480px) and (orientation: portrait) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 70px;
  }
  
  .name-title {
    font-size: 30px;
  }
  
  h2 {
    font-size: 42px;
  }
  
  .about-info-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-card {
    max-width: calc(50% - 15px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 280px;
  }
}

/* =================== SMALL TABLETS =================== */
@media (min-width: 481px) and (max-width: 599px) {
  .navbar {
    padding: 20px 5%;
  }
  
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 80px;
  }
  
  .name-title {
    font-size: 32px;
  }
  
  h2 {
    font-size: 46px;
  }
  
  .about-info-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-card {
    max-width: calc(50% - 15px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 300px;
  }
  
  .works-page .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info {
    flex-direction: row;
    gap: 30px;
  }
  
  .contact-card {
    max-width: calc(50% - 15px);
  }
}

/* =================== TABLETS =================== */
@media (min-width: 600px) and (max-width: 767px) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 90px;
  }
  
  .name-title {
    font-size: 36px;
  }
  
  h2 {
    font-size: 50px;
  }
  
  .about-info-cards {
    flex-wrap: wrap;
  }
  
  .info-card {
    max-width: calc(50% - 15px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 320px;
  }
  
  .works-page .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info {
    flex-direction: row;
  }
  
  .contact-card {
    max-width: calc(50% - 15px);
  }
  
  .footer-section {
    margin: 10px 30px;
  }
}

/* =================== MEDIUM TABLETS =================== */
@media (min-width: 768px) and (max-width: 899px) {
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .portfolio-title {
    font-size: 100px;
  }
  
  .name-title {
    font-size: 40px;
  }
  
  h2 {
    font-size: 52px;
  }
  
  .about-info-cards {
    flex-wrap: wrap;
  }
  
  .info-card {
    max-width: calc(50% - 15px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 340px;
  }
  
  .works-page .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-section {
    margin: 10px 40px;
  }
}

/* =================== LARGE TABLETS / SMALL DESKTOP =================== */
@media (min-width: 900px) and (max-width: 1000px) {
  .navbar {
    padding: 20px 6%;
  }
  
  
  .hamburger-menu-toggle {
    display: flex;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 1001px) and (max-width: 1023px) {
  .navbar {
    padding: 20px 6%;
  }
  
  .navbar .nav-links {
    gap: 25px;
    font-size: 17px;
  }
  
  .portfolio-title {
    font-size: 110px;
  }
  
  .name-title {
    font-size: 44px;
  }
  
  h2 {
    font-size: 54px;
  }
  
  .about-info-cards {
    flex-wrap: nowrap;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =================== DESKTOP =================== */
@media (min-width: 1024px) and (max-width: 1199px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  .navbar {
    padding: 20px 7%;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .studio-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================== FIX BROWN LINE AT 1064px =================== */
@media (min-width: 1064px) and (max-width: 1064px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
}

/* =================== LARGE DESKTOP =================== */
@media (min-width: 1200px) {
  /* Full desktop styles - already defined in main CSS */
}

/* =================== ARROWS POSITIONING 30px-2000px =================== */
@media (min-width: 30px) and (max-width: 2000px) {
  .trivia-prev {
    left: 30px;
  }
  
  .trivia-next {
    right: 30px;
  }
}

/* =================== ARROWS 300px-670px LIKE 818px =================== */
@media (min-width: 300px) and (max-width: 670px) {
  .trivia-prev {
    left: 30px;
  }
  
  .trivia-next {
    right: 30px;
  }
}

/* =================== HOME PAGE BACKGROUND 299px-780px =================== */
@media (min-width: 299px) and (max-width: 780px) {
  .first-hero {
    background-image: url('images/srpskifonpozadina.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .first-hero .hero-background-video {
    display: none;
  }
}

/* =================== MOJE USLUGE LIKE 486px (350px-484px) =================== */
@media (min-width: 350px) and (max-width: 484px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =================== MOJI RADOVI LIKE O MENI (300px-770px) =================== */
@media (min-width: 300px) and (max-width: 770px) {
  .works-page .work-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .works-page .work-card {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    height: auto;
    position: relative;
    overflow: visible;
    border-radius: 10px;
    background: none;
    border: 2px solid #d3d3d3;
    display: flex;
    flex-direction: column;
  }
  
  .works-page .work-card img {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 8px 8px 0 0;
  }
  
  .works-page .work-card:hover img {
    transform: scale(1.05);
  }
  
  .works-page .work-info {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: #fff;
    width: 100%;
    padding: 15px 20px;
    min-height: 80px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
    border-top: 1px solid #d3d3d3;
    border-radius: 0 0 8px 8px;
  }
  
  .works-page .work-info p {
    font-size: 14px;
    line-height: 1.3;
    color: #000;
    margin: 0;
    text-align: left;
  }
  
  .works-page .work-info p:first-child { 
    font-weight: bold;
    margin-bottom: 4px;
  }
}

/* =================== COMPREHENSIVE MOBILE & IPHONE FIXES =================== */
/* Fix arrows to center on images, ensure photos visible, fonts fit, buttons visible */

@media (min-width: 100px) and (max-width: 1000px) {
  /* Ensure all images are visible */
  .work-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }
  
  .contact-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }
  
  .info-card {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 300px;
    height: auto;
  }
  
  /* Make fonts smaller to fit in containers */
  .service-card p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .work-info p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .contact-card-text p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  /* Ensure hamburger button is visible */
  .hamburger-menu-toggle {
    width: 24px !important;
    height: 24px !important;
    z-index: 1001 !important;
    position: relative !important;
  }
  
  .mobile-lang-buttons {
    display: flex !important;
  }
}

/* iPhone specific fixes */
@media (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2),
       (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2),
       (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3),
       (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
       (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2),
       (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  
  .work-card img,
  .contact-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }
  
  .contact-card:nth-child(1) img {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 20px;
  }
  
  .info-card {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 300px;
  }
  
  .strip-img {
    height: 300px;
  }
  
  .service-card p {
    font-size: 12px;
  }
  
  .hamburger-menu-toggle {
    width: 24px !important;
    height: 24px !important;
    z-index: 1001 !important;
  }
  
  .mobile-menu-link {
    font-size: 16px !important;
    padding: 12px 15px !important;
  }
  
  .mobile-menu-logo img {
    height: 80px !important;
  }
  
  .mobile-lang-buttons {
    display: flex !important;
  }
}
