/* ============================================
   CSS Variables
============================================ */
:root {
  --text-color: 255, 255, 255, 1;
  --white-color: 245, 245, 245, 1;
  --white-color-trans: 245, 245, 245, 0.8;
  --gray-color: 160, 160, 160, 1;
  --font-family: "Hanken Grotesk", sans-serif;
  --black-color: 19, 19, 19, 1;
  --black-color-trans: 19, 19, 19, 0.8;

  --black-color-light: 30, 30, 30, 1;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  --header-height: 70px;
  --mobile-breakpoint: 768px;
}

/* ============================================
   Reset & Base Styles
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  color: rgba(var(--text-color));
  font-family: var(--font-family);
}

.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url(../images/background.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

section {
  overflow-x: clip;
}

.container {
  max-width: 1530px;
  margin: auto;
  padding: 0 20px;
}

a {
  color: rgba(var(--text-color));
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   Header Styles
============================================ */
header {
  background-color: rgba(var(--black-color));
  width: 100%;
  height: var(--header-height);
  left: 0;
  right: 0;
  bottom: auto;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: background-color var(--transition-normal),
    box-shadow var(--transition-normal), transform var(--transition-normal);
}

#header.hidden {
  transform: translateY(-100%);
}

#header.scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

/* ============================================
   Main Navigation Container
============================================ */
header .main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  position: relative;
}

/* ============================================
   Logo Styles
============================================ */
.logo {
  display: flex;
  align-items: center;
  z-index: 102;
}

.main-navigation img {
  height: 20px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.main-navigation img:hover {
  opacity: 0.8;
}

/* ============================================
   Hamburger Menu Button
============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 102;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fd5b00;
  border-radius: 2px;
  transition: transform var(--transition-normal),
    opacity var(--transition-normal), background-color var(--transition-fast);
}

.hamburger:hover .hamburger__line {
  background-color: #fd5b00;
}

.hamburger__line:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger__line:nth-child(3) {
  margin-top: 6px;
}

/* Hamburger Active State - X Animation */
.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   Navigation Menu
============================================ */
.navbar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  padding: var(--spacing-sm) 0;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: rgba(var(--text-color));
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: #fd5b00;
}

.nav-link:hover::after {
  width: 100%;
  background-color: #fd5b00;
}

/* ============================================
   Dropdown Styles
============================================ */
.dropdown {
  position: relative;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: rgba(var(--text-color));
  font-size: 1rem;
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-fast);
}

.dropbtn:hover {
  color: #fd5b00;
}

.dropdown__icon {
  transform: rotate(0deg);
  transition: transform var(--transition-normal);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  background-color: rgba(30, 30, 30, 0.98);
  border: 1px solid rgba(var(--gray-color), 0.3);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--spacing-sm) 0;
  margin-top: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.dropdown-item {
  display: block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  color: rgba(var(--text-color));
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(253, 91, 0, 0.15);
  color: #fd5b00;
  padding-left: calc(var(--spacing-lg) + 5px);
}

/* ============================================
   Mobile Menu Overlay
============================================ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal),
    visibility var(--transition-normal);
  z-index: 99;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Focus styles for keyboard navigation */
.hamburger:focus,
.nav-link:focus,
.dropbtn:focus,
.dropdown-item:focus {
  outline: 2px solid rgba(var(--text-color), 0.5);
  outline-offset: 2px;
}

/* Hide focus styles for mouse users */
.hamburger:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible),
.dropbtn:focus:not(:focus-visible),
.dropdown-item:focus:not(:focus-visible) {
  outline: none;
}

.hero {
  position: relative;
  height: 100vh;
  padding-top: 20vh;
  z-index: 0;
}

@media (orientation: portrait) {
  .hero {
    padding-top: 15vh;
  }
  .hero-content-wrapper {
    justify-content: flex-start;
    padding-top: 0;
  }
  .image-icons-container {
    margin-top: 3vh;
  }
  .hero .section-buttons-wrapper {
    margin-top: 0;
  }
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  padding: 0 50px;
}
.logo-text-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 15rem;
  align-items: center;
  justify-content: center;
}
.logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 2rem;
}

.logo-text-container p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}


.image-icons-container img {
  width: 35rem;
}

.logo-animation-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-end;
  justify-content: left;
}
.logo-animation-wrapper img:first-child {
  height: 11rem;
}
.logo-animation-wrapper img:last-child {
  height: 2.45rem;
  align-self: flex-end;
  display: block;
}
.hero-images-wrapper {
  position: relative;
}
.hero-icon-wrapper img {
  width: 6rem;
}

.ps-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.ae-icon {
  position: absolute;
  top: 0;
  right: 0;
}
.lr-icon
 {
  position: absolute;
  bottom: 20px;
  left: 0;
}

.pr-icon {
  position: absolute;
  bottom: 0;
  right: 0;
}

.hero-icon-wrapper .icon-animation,
.hero-icon-wrapper img.ps-icon.icon-animation {
  animation: hero-icon-bounce 1.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-icon-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-30%);
  }
}

.hero.animations-paused .hero-icon-wrapper .icon-animation,
.hero.animations-paused .hero-icon-wrapper img.ps-icon.icon-animation,
.hero.animations-paused .dot-animation {
  animation-play-state: paused;
}

.section-buttons {
  display: flex;
  gap: 2rem;
  bottom: 0;
}
.section-buttons a {
  padding: 1.5rem;

  background-color: rgba(var(--white-color));
  color: rgba(var(--black-color));
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(253, 91, 0, 0.6);
  transition: ease-in-out 300ms;
}
.section-buttons a:hover {
  background-color: #fd5b00;
  color: rgba(var(--white-color));
  transform: scale(1.05);
}

/* ============================================
   Contact Section Styles
============================================ */
.contact {
  min-height: 100vh;
  background-color: rgba(var(--black-color-trans)); /* tamna providna pozadina */
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  color: rgba(var(--white-color)); /* svijetli tekst */
  border-top: 1px solid rgba(var(--gray-color));
  padding: 1.5rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: rgba(var(--white-color));
}

.contact-header p {
  font-size: 1.1rem;
  color: rgba(var(--white-color));
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background-color: rgba(var(--white-color));
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  box-shadow: 0px 0px 20px 0px rgba(var(--black-color));
  padding: 2.5rem;
  border-radius: 15px;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-item svg {
  flex-shrink: 0;
  color: #fd5b00; /* narandžaste ikoni */
  margin-top: 0.25rem;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(var(--black-color));
}

.contact-info-item a {
  color: rgba(var(--gray-color));
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.contact-info-item a:hover {
  color: #fd5b00;
}

.contact-social {
  margin-top: 1rem;
}

.contact-social h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(var(--black-color));
}

.contact-chat h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(var(--black-color));
}

.chat-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--gray-color), 0.35);
  background-color: rgba(var(--white-color));
  color: #fd5b00;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.chat-link svg {
  width: 22px;
  height: 22px;
}

.chat-link:hover {
  background-color: #fd5b00;
  color: rgba(var(--white-color));
  border-color: #fd5b00;
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--white-color)); /* svijetli background */
  border-radius: 50%;
  color: #fd5b00;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: #fd5b00;
  color: rgba(var(--white-color));
  transform: translateY(-3px);
}

.social-links svg {
  width: 22px;
  height: 22px;
}

.contact-form-wrapper {
  background-color: rgba(var(--white-color));
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0px 0px 20px 0px rgba(var(--black-color));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(var(--black-color));
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  background-color: rgba(var(--white-color));
  border: 1px solid rgba(var(--gray-color));
  border-radius: 8px;
  color: rgba(var(--black-color));
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(var(--black-color), 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  padding: 1rem 2rem;
  background-color: rgba(var(--black-color));
  color: rgba(var(--white-color));
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-submit:hover {
  background-color: #fd5b00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(253, 91, 0, 0.6);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.2);
  color: rgb(34, 197, 94);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.2);
  color: rgb(239, 68, 68);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   Footer Styles
============================================ */
.footer {
  background-color: rgba(var(--black-color));
  padding: 3rem 0 1.5rem;
  color: rgba(var(--white-color));
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 25px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-tagline {
  color: rgba(var(--gray-color));
  font-size: 0.95rem;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(var(--white-color));
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a,
.footer-contact a {
  color: rgba(var(--gray-color));
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fd5b00;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--gray-color));
  text-align: center;
}

.footer-bottom p {
  color: rgba(var(--gray-color));
  font-size: 0.9rem;
  margin: 0;
}

.gallery {
  padding: 1rem 0;
  transform: translateZ(0);
}
.gallery.svadbe {
  background-color: rgba(var(--white-color-trans));
  color: rgba(var(--black-color));
}
.gallery.afterparty {
  background-color: rgba(var(--white-color-trans));
  color: rgba(var(--black-color));
}
.gallery.photoshooting {
  background-color: rgba(var(--black-color-trans));
  color: rgba(var(--white-color));
}
.gallery.svadbe .section-buttons a {
  padding: 1.5rem;
  background-color: rgba(var(--black-color)); /* tamna pozadina */
  color: rgba(var(--white-color)); /* svijetli tekst */
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(253, 91, 0, 0.6); /* sjenka prilagođena pozadini */
  transition: ease-in-out 300ms;
}

.gallery.svadbe .section-buttons a:hover {
  background-color: #fd5b00; /* svijetla pozadina na hover */
  color: rgba(var(--white-color)); /* tamni tekst na hover */
  transform: scale(1.05);
}
.gallery.afterparty .section-buttons a {
  padding: 1.5rem;
  background-color: rgba(var(--black-color)); /* tamna pozadina */
  color: rgba(var(--white-color)); /* svijetli tekst */
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(253, 91, 0, 0.6); /* sjenka prilagođena pozadini */
  transition: ease-in-out 300ms;
}

.gallery.afterparty .section-buttons a:hover {
  background-color: #fd5b00; /* svijetla pozadina na hover */
  color: rgba(var(--white-color)); /* tamni tekst na hover */
  transform: scale(1.05);
}

.gallery-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}
.gallery-main p {
  font-size: 1.1rem;
  max-width: 600px;
  text-align: center;
}
.gallery-header {
  text-align: center;
  margin-bottom: 1rem;
}
.gallery-content-wrapper {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* bitno za animirane linije */
}

.swiper-containers {
  display: flex;
  gap: 5rem;
  justify-content: center;
  align-items: center;
}

.gallery.svadbe .swiper-container,
.gallery.photoshooting .swiper-container {
  width: 25rem;
  aspect-ratio: 3 / 4; /* portrait */
  box-shadow: 0px 0px 30px 0px rgba(var(--black-color));
  border-radius: 15px;
  overflow: hidden;
}
.gallery.gallery.afterparty .swiper-container {
  width: 25rem;
  aspect-ratio: 3 / 4; /* portrait */
  box-shadow: 0px 0px 20px 0px rgba(var(--gray-color));
  border-radius: 15px;
  overflow: hidden;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}
.swiper-button-next {
  color: rgba(var(--white-color));
}
.swiper-button-prev {
  color: rgba(var(--white-color));
}
.swiper-pagination-bullet {
  background-color: rgba(var(--white-color));
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 30px 0px rgba(var(--black-color));
}
.swiper-pagination-bullet-active {
  background-color: #fd5b00;
  width: 15px;
  height: 15px;
  box-shadow: 0px 0px 30px 0px rgba(var(--black-color));
}

/* video unutar slajda */
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* video se prilagođava i puni cijeli div */
  border-radius: 15px; /* da prati isti border */
}

/* lazy loader preloader */
.swiper-lazy-preloader {
  color: rgba(var(--white-color));
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/*responsive all*/
@media (min-width: 768px) {
  .dropdown.active .dropdown__icon {
    transform: rotate(180deg);
  }

  .dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
@media (min-width: 992px) {
  .dropdown:hover .dropdown__icon {
    transform: rotate(180deg);
  }
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    gap: 25px;
  }

  .nav-link,
  .dropbtn {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Responsive Styles 
============================================ */
@media (max-width: 1366px) {
  .logo-animation-wrapper img:first-child {
    height: 7.5rem;
  }
  .logo-animation-wrapper img:last-child {
    height: 1.75rem;
    align-self: flex-end;
  }
  .logo-text-container p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .image-icons-container img {
    width: 20rem;
  }
  .hero-icon-wrapper img {
    width: 3.5rem;
  }
  .logo-text-wrapper {
    gap: 13rem;
  }
}
@media (max-width: 1024px) {
  .logo-animation-wrapper img:first-child {
    height: 7rem;
  }
  .logo-animation-wrapper img:last-child {
    height: 1.55rem;
    align-self: flex-end;
  }
  .logo-text-container p {
    font-size: 1rem;
    line-height: 1.3;
  }
  .image-icons-container img {
    width: 17rem;
  }
  .hero-icon-wrapper img {
    width: 3rem;
  }
  .logo-text-wrapper {
    gap: 10rem;
  }

  .section-buttons a,
  .gallery .section-buttons a,
  .gallery.svadbe .section-buttons a,
  .gallery.photoshooting .section-buttons a,
  .gallery.afterparty .section-buttons a {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    gap: 2rem;
  }
}
@media (max-width: 991px) {
  .logo-text-wrapper {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }
  .logo-text-container {
    align-items: center;
    text-align: center;
  }
  .gallery.svadbe .swiper-container,
  .gallery.photoshooting .swiper-container,
  .gallery.gallery.afterparty .swiper-container {
    flex-direction: column;
    gap: 3rem;
    width: 22rem;
    align-items: center;
  }
  .swiper-containers {
    display: flex;
    flex-direction: column;
  }

  .svadbe-containers,
  .photoshooting-containers,
  .afterparty-containers {
    flex-direction: column !important;
  }
}
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 2rem;
  }
  .hero-content-wrapper {
    gap: 2rem;
    padding: 0 16px;
  }
  .hero .section-buttons-wrapper {
    margin-top: 0;
  }
  .hero .section-buttons {
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }
  .hero .section-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .gallery.svadbe .swiper-container,
  .gallery.photoshooting .swiper-container,
  .gallery.gallery.afterparty .swiper-container {
    width: 19rem;
  }
  .section-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-buttons a {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }
  .swiper-containers {
    flex-direction: column;
  }
  /* Hamburger */
  .hamburger {
    display: flex;
  }

  /* Navbar - mobile */
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: rgba(19, 19, 19, 0.98);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--spacing-xl)) var(--spacing-xl)
      var(--spacing-xl);
    gap: 0;
    transition: right var(--transition-normal);
    z-index: 101;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .navbar.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: var(--spacing-md) 0;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(var(--gray-color), 0.15);
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile dropdown */
  .dropdown {
    width: 100%;
    position: relative;
  }

  .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
  }

  /* Mobile dropdown content */
  .dropdown-content {
    position: relative !important; /* fill parent */
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    display: none;
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown.active .dropdown-content {
    display: block !important;
    max-height: 250px;
    padding: var(--spacing-sm) 0;
    top: 0;
  }

  /* Dropdown icon animation */

  .dropdown__icon {
    transform: rotate(0deg);
    transition: transform var(--transition-normal);
  }
  .dropdown__icon.active {
    transform: rotate(180deg);
  }
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal),
      visibility var(--transition-normal);
    z-index: 99;
  }
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scroll */
  body.menu-open {
    overflow: hidden;
  }
  .contact {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }

  .contact-content-wrapper {
    gap: 2rem;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-info-item {
    gap: 1rem;
  }

  .contact-info-item svg {
    width: 20px;
    height: 20px;
  }
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav h4,
  .footer-contact h4 {
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  .logo-animation-wrapper img:first-child {
    height: 5rem;
  }
  .logo-animation-wrapper img:last-child {
    height: 1.14rem;
    align-self: flex-end;
  }
  .gallery.svadbe .swiper-container,
  .gallery.photoshooting .swiper-container,
  .gallery.gallery.afterparty .swiper-container,
  .gallery.svadbe .swiper-container-video,
  .swiper-container-video {
    width: 15rem;
  }
}

/* ============================================
   Gallery Page Styles (Expanded View)
============================================ */
.gallery-page {
  min-height: 100vh;
  background-color: rgba(var(--black-color));
  padding: calc(var(--header-height) + 3rem) 0 3rem;
}

.gallery-page-content {
  width: 100%;
}

.gallery-page-header {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(var(--white-color));
}

.gallery-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: rgba(var(--white-color));
}

.gallery-page-header p {
  font-size: 1.1rem;
  color: rgba(var(--gray-color));
}

.gallery-page-main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.gallery-section-expanded {
  width: 100%;
}

.gallery-section-expanded h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: rgba(var(--white-color));
  text-align: center;
}

/* Gallery Swiper (Coverflow) */
.gallery-swiper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
  overflow: hidden;
}
.gallery-swiper.photos {
  max-width: 760px;
}
.gallery-swiper.videos {
  max-width: 1000px;
}
.gallery-swiper .swiper-wrapper {
  align-items: center;
}
.gallery-swiper .swiper-slide {
  width: 260px;
  border-radius: 16px;
  overflow: hidden;
  background-color: rgba(var(--black-color));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}
.gallery-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
  opacity: 0;
  pointer-events: none;
}
.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
  opacity: 0.6;
}
.gallery-swiper.photos .swiper-slide {
  aspect-ratio: 3 / 4;
}
.gallery-swiper.videos .swiper-slide {
  width: 420px;
  aspect-ratio: 16 / 9;
}
/* Sekcija Video na Koncertima: centriranje cijelog bloka */
.gallery-section-expanded:has(.gallery-swiper.videos.videos-portrait) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Samo Koncerti: video u portretu 9:16, visina 65vh, širina = jedan slajd da se centrira */
.gallery-swiper.videos.videos-portrait {
  width: calc(65vh * 9 / 16) !important;
  max-width: 100%;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.gallery-swiper.videos.videos-portrait .swiper-wrapper {
  justify-content: flex-start;
  align-items: center;
}
.gallery-swiper.videos.videos-portrait .swiper-slide {
  width: calc(65vh * 9 / 16) !important;
  min-width: calc(65vh * 9 / 16) !important;
  max-width: calc(65vh * 9 / 16) !important;
  height: 65vh !important;
  max-height: 65vh !important;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  box-sizing: border-box;
}
.gallery-swiper.videos.videos-portrait .swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Fullscreen na Koncertima: video 9:16 u sredini, crno lijevo i desno */
.video-fullscreen-9-16:-webkit-full-screen,
.video-fullscreen-9-16:-moz-full-screen,
.video-fullscreen-9-16:fullscreen {
  background: #000 !important;
  object-fit: contain !important;
  width: 100vw !important;
  height: 100vh !important;
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
}
/* Samo Koncerti: prikaži samo aktivni video slajd */
.gallery-swiper.videos.videos-portrait .swiper-slide:not(.swiper-slide-active) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
/* Strelice malo izvan video bloka da ne prekrivaju */
/* Strelice unutar okvira swipera (Koncerti) */
.gallery-swiper.videos.videos-portrait .swiper-button-prev {
  left: 8px;
}
.gallery-swiper.videos.videos-portrait .swiper-button-next {
  right: 8px;
}
.gallery-swiper .swiper-slide img,
.gallery-swiper .swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: rgba(var(--white-color));
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
}
.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
  font-size: 1.25rem;
  font-weight: 600;
}
.gallery-swiper .swiper-pagination-bullet {
  background-color: rgba(var(--white-color));
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background-color: #fd5b00;
  width: 15px;
  height: 15px;
}

/* Section Differences */
.gallery.svadbe .gallery-header h1 {
  color: rgba(var(--black-color));
}
.gallery.photoshooting .gallery-header h1 {
  color: rgba(var(--white-color));
}

.gallery.afterparty .gallery-header h1 {
  color: rgba(var(--black-color));
}

.gallery.svadbe .gallery-main p {
  color: rgba(var(--black-color));
}
.gallery.photoshooting .gallery-main p {
  color: rgba(var(--white-color));
}

.gallery.afterparty .gallery-main p {
  color: rgba(var(--black-color));
}

.svadbe-containers {
  flex-direction: row;
}
.photoshooting-containers {
  flex-direction: row;
}

.afterparty-containers {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  .gallery-swiper.photos .swiper-slide {
    width: 230px;
  }
  .gallery-swiper.videos .swiper-slide {
    width: 360px;
  }
  .gallery-swiper.videos.videos-portrait .swiper-slide {
    width: calc(65vh * 9 / 16) !important;
    min-width: calc(65vh * 9 / 16) !important;
    max-width: calc(65vh * 9 / 16) !important;
    height: 65vh !important;
    max-height: 65vh !important;
  }

  .gallery-page-header h1 {
    font-size: 2rem;
  }

  .gallery-section-expanded h2 {
    font-size: 1.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-swiper {
    max-width: 100%;
  }
  .gallery-swiper.photos .swiper-slide {
    width: 200px;
  }
  .gallery-swiper.videos .swiper-slide {
    width: 300px;
  }
  .gallery-swiper.videos.videos-portrait .swiper-slide {
    width: calc(65vh * 9 / 16) !important;
    min-width: calc(65vh * 9 / 16) !important;
    max-width: calc(65vh * 9 / 16) !important;
    height: 65vh !important;
    max-height: 65vh !important;
  }

  .gallery-page {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }

  .gallery-page-header {
    margin-bottom: 2rem;
  }

  .gallery-page-header h1 {
    font-size: 1.75rem;
  }

  .gallery-page-header p {
    font-size: 1rem;
  }

  .gallery-page-main {
    gap: 3rem;
  }

  .gallery-section-expanded h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .slideshow-grid-item {
    aspect-ratio: 4 / 3;
  }

  .svadbe-containers,
  .afterparty-containers {
    flex-direction: column !important;
  }
}
