/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f0f0f0;
  color: #333;
}

/* Header & navigation */
header {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

nav {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  z-index: 10;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #888;
  text-decoration: underline;
}

.nav-links a.active {
  text-decoration: underline;
  color: inherit;
}

.language-selector select {
  padding: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Slider / header images */
.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slides img.active {
  opacity: 1;
}

/* Static header image (lokacija, contact) */
.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Main layout */
main {
  background-color: #f0f0f0;
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  border-radius: 10px;
}

section {
  background-color: white;
  padding: 40px 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

section p,
section li {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  text-align: left;
  max-width: 850px;
  margin: auto;
}

/* Icon in section titles */
section h2 i {
  color: #007bff;
}

/* Lists */
ul {
  margin-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Appointment cards (Zakazivanje / Appointment scheduling) */
#qualities {
  text-align: center;
}

.quality-cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 15px;
  margin-top: 20px;
}

.quality-card {
  flex: 1;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quality-card i {
  font-size: 32px;
  color: #007bff;
  margin-bottom: 12px;
}

.quality-card h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
}

.quality-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.quality-card a {
  color: inherit;
  text-decoration: none !important;
  transition: color 0.3s;
}

.quality-card a:hover {
  color: #007bff;
}

/* Contact form (contact_en) */
form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

button {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #0056b3;
}

.success-message {
  text-align: center;
  color: green;
  font-weight: bold;
  margin-bottom: 20px;
}

.error-message {
  text-align: center;
  color: red;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Map container (lokacija) */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

/* Footer */
footer {
  background: #222;
  color: white;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  margin: 10px;
}

.footer-links a,
.social-icons a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .quality-cards {
    flex-wrap: wrap;
  }

  .quality-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 20px;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 18px;
  }
}

/* Team page - tabs */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.tab-buttons button.active {
  background: #0056b3;
}

/* Team page - employee cards */
.employee-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.employee-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.employee-card h3 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 8px;
}

.employee-card p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
}

/* Team page - qualities section variant */
.qualities {
  padding: 60px 20px;
  text-align: center;
}

.qualities-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.quality {
  flex: 1 1 250px;
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.quality i {
  font-size: 40px;
  color: #005BBB;
  margin-bottom: 15px;
}

.quality h3 {
  font-size: 20px;
  color: #005BBB;
  margin-bottom: 10px;
}

.quality h3 a {
  color: #005BBB;
  text-decoration: none;
  transition: 0.3s;
}

.quality h3 a:hover {
  text-decoration: underline;
}

.quality p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.quality:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Team responsive tweaks */
@media (max-width: 768px) {
  .employee-card {
    width: 100%;
  }
  .qualities-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* Tips table (saveti) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

table th {
  background-color: #007bff;
  color: white;
  font-weight: 500;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* ========================================
   MOBILNI RESPONSIVE POBOLJŠANJA
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  main { max-width: 95%; }
}

/* Mali tablet / veliki mobilni */
@media (max-width: 900px) {
  .quality-cards { 
    flex-wrap: wrap; 
  }
  .quality-card { 
    flex: 1 1 45%; 
    margin-bottom: 15px; 
  }
}

/* Mobilni (768px dolje) */
@media (max-width: 768px) {
  .header-title { 
    font-size: 24px !important; 
    padding: 0 20px; 
  }
  
  main { 
    padding: 40px 15px !important; 
    margin: 20px auto; 
  }
  
  section { 
    padding: 30px 20px !important; 
  }
  
  section h2 { 
    font-size: 24px !important; 
  }
  
  /* Hamburger meni */
  .hamburger { display: block !important; }
  .nav-links {
    flex-direction: column !important;
    background: rgba(0,0,0,0.95) !important;
    position: absolute !important;
    top: 80px !important; 
    left: 0 !important; 
    right: 0 !important;
    max-height: 0 !important; 
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
  }
  .nav-links.active { 
    max-height: 500px !important; 
    padding: 20px !important; 
  }
  .nav-links a { 
    padding: 12px 0 !important; 
    font-size: 18px !important; 
    text-align: center !important;
  }
}

/* Mali mobilni */
@media (max-width: 600px) {
  footer { 
    flex-direction: column !important; 
    padding: 30px 15px !important; 
    text-align: center !important; 
  }
  .footer-column { 
    margin: 15px 0 !important; 
  }
  .social-icons { 
    justify-content: center !important; 
  }
  .tab-buttons { 
    flex-direction: column !important; 
    gap: 8px !important; 
  }
  .tab-buttons button { 
    width: 100% !important; 
  }
  form input, 
  form textarea, 
  form button {
    width: 100% !important;
    font-size: 16px !important; /* iOS zoom fix */
  }
}

/* Vrlo mali ekranovi */
@media (max-width: 480px) {
  table { 
    font-size: 13px !important; 
    overflow-x: auto !important; 
    display: block !important; 
    white-space: nowrap !important;
  }
  table th, table td { 
    padding: 6px 4px !important; 
    min-width: 70px !important; 
  }
  .employee-cards {
    gap: 15px !important;
  }
}



/* ========================================
   PRAZNIČNI BANNER 2025/2026 + VELIKE PAhULJE
   ======================================== */
.holiday-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
  color: white;
  text-align: center;
  padding: 50px 20px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.holiday-banner::before {
  /* VELIKE pahulje - lagani sloj */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(4px 4px at 20px 25px, #fff, transparent),
    radial-gradient(5px 5px at 80px 60px, #f8f8f8, transparent),
    radial-gradient(3px 3px at 120px 30px, rgba(255,255,255,0.9), transparent);
  background-repeat: repeat;
  background-size: 250px 100px;
  animation: snowfallLight 14s linear infinite;
  opacity: 0.8;
  z-index: 1;
}

.holiday-banner::after {
  /* VELIKE pahulje - težak sloj */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(6px 6px at 30px 50px, #f0f0f0, transparent),
    radial-gradient(7px 7px at 90px 100px, #e8e8e8, transparent),
    radial-gradient(5px 5px at 150px 70px, rgba(255,255,255,0.7), transparent);
  background-repeat: repeat;
  background-size: 300px 150px;
  animation: snowfallHeavy 20s linear infinite reverse;
  opacity: 0.5;
  z-index: 1;
}

@keyframes snowfallLight {
  from { transform: translateY(0px) translateX(0px); }
  to { transform: translateY(100px) translateX(30px); }
}

@keyframes snowfallHeavy {
  from { transform: translateY(100px) translateX(-20px); }
  to { transform: translateY(0px) translateX(40px); }
}

.holiday-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.holiday-content {
  opacity: 0;
  animation: holidayFadeIn 0.8s ease-out forwards;
}

@keyframes holidayFadeIn {
  to { opacity: 1; }
}

.holiday-content i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.holiday-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.holiday-content p {
  font-size: 17px;
  margin-bottom: 25px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.holiday-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.holiday-btn {
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.holiday-btn.primary {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.holiday-btn.primary:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.holiday-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

.holiday-btn.secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .holiday-banner {
    padding: 40px 15px;
    margin: 25px 0;
  }
  
  .holiday-content h2 {
    font-size: 26px;
  }
  
  .holiday-content p {
    font-size: 16px;
  }
  
  .holiday-content i {
    font-size: 48px;
  }
  
  .holiday-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .holiday-btn {
    width: 280px;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .holiday-content h2 {
    font-size: 22px;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f8f9fa;
  border-top: 2px solid #007bff;
  padding: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.cookie-content {
  max-width: 800px;
  margin: 0 auto;
}
.cookie-text {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  background: #007bff;  /* SVA DUGMAD PLAVA */
  color: white;
}
.btn:hover {
  background: #0056b3;
}
#cookie-settings {
  display: none;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.settings-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.settings-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff;  /* Plavi checkbox */
  cursor: pointer;
}
@media (max-width: 600px) {
  .buttons { flex-direction: column; }
}


/* VEĆI SLIDER - RESPONSIVE */
header {
  position: relative;
  height: 75vh; /* Bilo 60vh → VEĆE */
  overflow: hidden;
  min-height: 500px; /* Minimum na malim ekranima */
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Zadrži crop */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Glatkiji fade */
}

.slides img.active {
  opacity: 1;
}

/* Responsive veličine */
@media (max-width: 1200px) {
  header { height: 70vh; }
}

@media (max-width: 768px) {
  header { height: 60vh; min-height: 450px; } /* Još uvek veće od originala */
}

@media (max-width: 480px) {
  header { height: 55vh; min-height: 400px; }
  .header-title { font-size: 28px !important; padding: 0 15px; }
}
/* RESPONSIVE HEADER SLIKE - KA SLIDER NA INDEXU */
header {
  height: 75vh !important;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

header img, .header-image, .slider img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* MEDIA QUERIES ZA MOBILNI/TABLET */
@media (max-width: 768px) {
  header { height: 55vh !important; min-height: 400px; }
}

@media (max-width: 480px) {
  header { height: 45vh !important; min-height: 300px; }
 
}


/* TIM STRANICA - HEADER I GRID */
header { height: 75vh !important; min-height: 400px; } /* Povećana visina */
.header-img { width: 100%; height: 100%; object-fit: cover; }

.team-section { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; text-align: center; }
.tim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.tim-card { background: white; border-radius: 10px; padding: 1.5rem; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: transform 0.3s; }
.tim-card:hover { transform: translateY(-5px); }
.tim-foto { width: 200px; height: 300px; object-fit: cover; border-radius: 10px; cursor: pointer; margin: 0 auto 1rem; }
.tim-card h3 { margin: 0.5rem 0; color: #333; }
.tim-card p { color: #666; font-style: italic; }

/* Modal */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); }
.modal-content { margin: auto; display: block; width: 90%; max-width: 800px; max-height: 90%; object-fit: contain; }
#modal-caption { text-align: center; color: white; padding: 10px 0; }
.close { position: absolute; top: 15px; right: 35px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
  header { height: 50vh !important; }
  .tim-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tim-foto { width: 150px; height: 225px; }
}

.employee-photo { width: 200px; height: 300px; object-fit: cover; border-radius: 10px; cursor: pointer; margin-bottom: 1rem; transition: transform 0.3s; }
.employee-photo:hover { transform: scale(1.05); }
.modal { display: none; position: fixed; z-index: 1000; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); }
.modal-content { margin: auto; display}

.employee-photo { 
  width: 200px; 
  height: 300px; 
  object-fit: cover; 
  object-position: center 20%; /* Spusti sliku - 20% od vrha */
  border-radius: 10px; 
  cursor: pointer; 
  margin: 1rem auto 1rem; /* Centrirano + margin top */
  display: block;
  transition: transform 0.3s; 
}
.employee-photo:hover { transform: scale(1.05); }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 80%;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}



