/* ---------- VARIJABLE ---------- */
:root {
  /* Svijetla tema (default) */
  /*bg*/
  --bg: #f6f7fb;
  --header-bg: #ffffff;
  --card-bg: #ffffff;
  --card-bg-hover: #f9f9f9;

  /*txt*/
  --header-txt: #333;
  --text-primary: #333;
  --text-secondary: rgb(54, 54, 54);
  --text-accent: #6b5dd3;
  --link-hover: #6b5dd3;

  /*overlays*/
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --fb-overlay: #1769ff;
  --insta-overlay: #e1306c;
  --behance-overlay: #1877f2;
  --mail-overlay: #f5b608;

  /* Animacije i sijene */
  --hover-scale: 1.03;
  --transition-fast: 0.15s ease;
  --transition: 0.2s ease;
  --transition-medium: 0.25s ease;
  --transition-slow: 0.4s ease;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-active: 0 10px 25px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  /* Button */
  --button-bg: var(--header-txt);
  --button-color: var(--header-bg);
  --button-hover-bg: var(--link-hover);
  --button-hover-txt: var(--bg);

  /* Dimenzije */
  --header-height: 60px;
  --padding: 20px 40px;
  --gap: 20px;
  --masonry-gap: 12px;
  --animal-card-max-width: 200px;
  --contact-card-padding: 1.3rem;
  --back-button-padding: 12px 20px;
}

/* Tamna tema */
html.dark {
  --bg: #1f1e1e;
  --header-bg: #2a2a2a;
  --card-bg: #2a2a2a;
  --card-bg-hover: #3a3a3a;

  --header-txt: #f2f2f2;
  --text-primary: #f2f2f2;
  --text-secondary: #aaa;
  --text-accent: #6b5dd3;
  --link-hover: #6b5dd3;

  --card-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
  --button-bg: var(--text-accent);
  --button-hover-bg: #5a4abc;
  --overlay-bg: rgba(0, 0, 0, 0.9);
  --shadow: 0 1px 4px rgba(255, 255, 255, 0.1);
}

/* ---------- GLOBAL ---------- */
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh; /* cijela visina ekrana */
  background: var(--bg);
  font-family: sans-serif;
  color: var(--text-primary);
  transition: background 0.3s, color 0.3s;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.header {
  background: var(--header-bg);
  color: var(--header-txt);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo img {
  height: 80px;
  display: block;
}

/* ---------- NAVBAR ---------- */
.navbar ul {
  list-style: none;
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar a {
  position: relative;
  color: var(--header-txt);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  transition: color var(--transition);
}

.navbar a:hover {
  color: var(--link-hover);
}

.navbar a.active {
  font-weight: 600;
  color: var(--link-hover);
}

/* Animirana linija ispod linka */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--link-hover);
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* ---------- HAMBURGER ---------- */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 24px;
  cursor: pointer;
  z-index: 15;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--header-txt);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before {
  transform: translateY(-8px);
}
.nav-toggle-label span::after {
  transform: translateY(5px);
}

.lang-switch img {
  width: 24px;         /* veličina zastavice */
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s;
}

.lang-switch img:hover {
  transform: scale(1.2);  /* lagani hover efekt */
}

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  background: none;
  border: none;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 999;
  color: var(--header-txt);
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--link-hover);
}

.theme-toggle .icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  fill: currentColor;
  stroke: none;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

html.light .theme-toggle .sun {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
html.light .theme-toggle .moon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

html.dark .theme-toggle .sun {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}
html.dark .theme-toggle .moon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--header-bg);
    box-shadow: var(--shadow);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
  }

  .nav-toggle:checked ~ .navbar {
    max-height: 250px;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg) translate(0, 0);
  }
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg) translate(0, 0);
  }
}

/* MASONRY */
.masonry {
  column-count: 4;
  column-gap: var(--masonry-gap);
  padding: 20px;
}

.seo-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masonry a {
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
  width: auto;
}

.masonry a img {
  width: 100%;
  display: block;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Fade/slide/scale animacija */
.masonry a.visible img {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.masonry a.visible:hover img {
  transform: scale(var(--hover-scale));
  box-shadow: var(--shadow-hover);
}

@media (max-width: 1000px) {
  .masonry {
    column-count: 3;
  }
}
@media (max-width: 700px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

/* LIGHTBOX */
.lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 6px;
  max-width: 80%;
  line-height: 1.4;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-nav button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 50%;
  transition: background 0.2s;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.lightbox-overlay.active .lightbox-close {
  display: block;
}

/* ---------- FOOTER ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--header-bg);
  color: var(--header-txt);
  padding: 5px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  gap: 4px;
}

.footer-left .footer-title {
  margin: 2px 0;
  line-height: 1.3;
  font-size: 14px;
}

.footer-left .footer-note {
  margin: 2px 0;
  line-height: 1.3;
  font-size: 12px;
  color: gray;
}

.footer-right {
  display: flex;
  padding: 0 20px;
  gap: 8px;
}

.footer-right .social svg {
  width: 30px;
  height: 30px;
  fill: var(--header-txt);
  transition: fill 0.3s ease;
}

.social.behance:hover svg {
  fill: var(--behance-overlay);
}
.social.instagram:hover svg {
  fill: var(--insta-overlay);
}
.social.facebook:hover svg {
  fill: var(--fb-overlay);
}

/* ---------- BACK TO TOP BUTTON ---------- */
#back-to-top {
  position: fixed;
  bottom: 75px;
  right: 25px;
  padding: 10px 10px;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  background: var(--button-bg);
  color: var(--button-color);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: transform var(--transition), background var(--transition),
    box-shadow var(--transition);
  z-index: 999;
}

#back-to-top:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-txt);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
  opacity: 0.75;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    order: -1;
  }
}

/* ---------- PROJECT PAGE ---------- */
.project-page {
  flex: 1;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 40px;
}

.project-title {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* Project images grid (masonry-like) */
.project-images {
  column-count: 3;
  column-gap: var(--masonry-gap);
  padding: 20px;
}

.project-images a {
  display: block;
  margin-bottom: var(--gap);
  break-inside: avoid;
  transition: transform var(--transition) ease, box-shadow var(--transition);
}

.project-images a img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Uklonjeno opacity i transform da se odmah vide */
}

.project-images a:hover img {
  transform: scale(var(--hover-scale));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1000px) {
  .project-images {
    column-count: 2;
  }
}
@media (max-width: 700px) {
  .project-images {
    column-count: 1;
  }
}

/* ---------- BACK TO PORTFOLIO FLOATING BUTTON ---------- */
.back-floating {
  position: fixed;
  bottom: 75px;
  right: 25px;
  background: var(--button-bg);
  color: var(--button-color);
  opacity: 0.85;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 10px;
  box-shadow: var(--shadow);
  font-weight: 500;
  transition: transform var(--transition), background var(--transition),
    box-shadow var(--transition);
  z-index: 100;
}

.back-floating:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-txt);
  opacity: 0.85;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------- ABOUT PAGE ---------- */
.about-page {
  flex: 1;
  display: flex;
  flex-direction: column;  /* vertikalni stack: h1 pa content-wrapper */
  align-items: flex-start;  /* sve lijevo */
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-family: sans-serif;
  color: var(--header-txt);
}

.about-content-wrapper {
  display: flex;
  align-items: center;  /* poravnava vrh slike i teksta */
  gap: 2rem;               /* razmak između slike i biografije */
}

/* --- HERO SLIKA --- */
.about-hero {
 position: relative;
  width: 220px;
  height: 300px;
  border-radius: 50% / 50%; /* elipsa */
  overflow: hidden; /* sprječava da slika izlazi van */
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.about-hero:hover img {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* --- SADRŽAJ --- */
.about-content {
  text-align: left;
  flex: 1 1 400px;
  margin: 20px;
  padding: 0 10px;
}

.about-page h1 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 10px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-content h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* --- ANIMALS SEKCIJA --- */
.animals-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  gap: 20px;
  margin: 30px 0;
}

.animals-container .animal {
  flex: 1 1 150px;
  max-width: 200px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: white;
  border: #ffffffab solid 2px;
}

.animals-container .animal img {
  width: 100%;
  box-shadow: var(--shadow);
  display: block;
}

.animals-container .animal:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.animals-container figcaption {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #333;
}

/* --- KONTAKT LINK --- */
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin: 0px auto 0 auto;
}

/* --- GUMB --- */
.contact-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
  background: var(--button-bg);
  color: var(--button-color);
  border: none;
  border-radius: 5px;
  font-size: 20px;
  text-decoration: none;
  padding: 8px 16px;
  box-shadow: var(--shadow);
  font-weight: 500;
  transition: transform var(--transition), background var(--transition),
    box-shadow var(--transition);
}

.contact-button:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-txt);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- TABLET / MANJI LAPTOP (do 900px) --- */
@media (max-width: 900px) {
  .about-page {
    padding: 30px 15px;
  }

  .about-content-wrapper {
    gap: 1.5rem;
  }

  .about-content {
    font-size: 0.95rem;
  }

  .about-hero {
    flex: 0 0 220px;
  }

  .animals-container {
    gap: 15px;
  }

  .contact-button {
    font-size: 18px;
    padding: 6px 14px;
  }
}

/* --- TABLET U USPRAVNOM POLOŽAJU (do 768px) --- */
@media (max-width: 768px) {
  .about-content-wrapper {
    flex-direction: column;     /* stack slika + tekst */
    align-items: center;
    text-align: center;
  }

  .about-hero {
    margin: 0 auto 20px auto;
    max-width: 250px;
  }

  .about-content {
    padding: 0 15px;
    text-align: center;
  }

  .about-page h1 {
    text-align: center;
    font-size: 1.8rem;
  }

  .animals-container {
    justify-content: center;
    gap: 15px;
  }

  .animals-container .animal {
    max-width: 180px;
  }

  .contact-link p {
    padding: 0 20px;
  }
}

/* --- MOBITEL (do 480px) --- */
@media (max-width: 480px) {
  .about-page {
    padding: 20px 10px;
  }

  .about-hero {
    max-width: 200px;
  }

  .about-content {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .animals-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .animals-container .animal {
    max-width: 160px;
  }

  .about-page h1 {
    font-size: 1.6rem;
  }

  .contact-button {
    font-size: 16px;
    padding: 6px 12px;
  }
}



/* ---------- CONTACT PAGE ---------- */
.contact {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.contact-header {
  text-align: left;
  max-width: 12000px;
  margin: 0 auto 4rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.contact-left {
  background: var(--header-bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.9s ease-out both;
}

.contact-left h2 {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-left h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.5;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.services-list li strong {
  color: var(--accent);
  font-weight: 600;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
}

.card:hover {
  background: var(--card-bg-hover);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-footer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-footer h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
/* === Animacija === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* specific card hover color utilities */
.card.email:hover .icon path,
.card.email:hover h3,
.card.email:hover p,
.card.email:hover a {
  fill: var(--mail-overlay);
  color: #ff9800;
}

.card.instagram:hover .icon path,
.card.instagram:hover h3,
.card.instagram:hover p,
.card.instagram:hover a {
  fill: var(--insta-overlay);
  color: #e1306c;
}

.card.facebook:hover .icon path,
.card.facebook:hover h3,
.card.facebook:hover p,
.card.facebook:hover a {
  fill: var(--fb-overlay);
  color: #1877f2;
}

.card.behance:hover .icon path,
.card.behance:hover h3,
.card.behance:hover p,
.card.behance:hover a {
  fill: var(--behance-overlay);
  color: #1769ff;
}

/* === Responsive === */
@media (max-width: 900px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center; /* centrira sadržaj */
  }

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

  .contact-left, 
  .contact-right {
    width: 100%;
    max-width: 800px; /* ograniči širinu da ne budu preširoke na tabletima */
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 1rem;
  }

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

  .contact-header h1 {
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
  }

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

  .contact-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .contact-left, 
  .contact-right {
    width: 100%;
    max-width: 500px; /* jednaka širina i na manjim ekranima */
  }

  .contact-left {
    padding: 1.5rem 1.2rem;
  }

  .contact-left h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .services-list li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .contact-cards {
    gap: 1rem;
  }

  .card {
    padding: 1rem;
    gap: 0.8rem;
  }

  .card .icon {
    width: 24px;
    height: 24px;
  }

  .contact-footer {
    padding: 0 1rem;
  }

  .contact-footer h2 {
    font-size: 1.4rem;
  }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg, #ffffff);
  color: var(--header-txt, #333);
  box-shadow: var(--card-shadow, 0 4px 20px rgba(0, 0, 0, 0.1));
  border-radius: 10px;
  padding: 16px 20px;
  width: 90%;
  max-width: 600px;
  font-size: 0.95rem;
  z-index: 9999;
  display: none; /* skriven dok JS ne doda .active */
}

.cookie-banner.active {
  display: block;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px; /* razmak između redova */
}

.top-buttons {
  display: flex;
  gap: 10px;
}

.top-buttons button {
  flex: 1; /* jednaka širina */
}

.full-width {
  width: 100%; /* zauzima cijelu širinu iznad dva gumba */
}

.cookie-buttons button {
  flex: 1;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  background: var(--button-bg, #6c63ff);
  color: #fff;
  transition: 0.2s;
}

.cookie-buttons button:hover {
  background: var(--button-hover-bg, #574fe0);
}

@media (max-width: 480px) {
  .top-buttons,
  .full-width {
    flex-direction: column;
    gap: 8px;
  }
  
  .top-buttons button,
  .full-width {
    width: 100%; /* svaki gumb zauzima cijeli red */
  }
}

/* ---------- Privacy Page ---------- */
main.privacy {
  flex: 1;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: var(--header-txt, #333);
}

main.privacy h1,
main.privacy h2 {
  margin-bottom: 10px;
}

main.privacy h1 {
  font-size: 2rem;
}

main.privacy h2 {
  margin-top: 30px;
  font-size: 1.3rem;
}

main.privacy p {
  margin-bottom: 12px;
}
