:root {
      --primary: #c4a166;
      --accent: #c4a166;
      --bg: #121011;
      --text: #fff8e1;
      --shadow: 0 4px 24px rgba(196,161,102,0.10);
    }
    body {
      margin: 0;
      font-family: 'Roboto', sans-serif;
      font-weight: 100;
      background: var(--bg);
      color: var(--text);
    }
    header h1 { font-size: 2.8rem; margin: 0 0 10px; color: var(--primary); font-family:'Dancing Script', cursive; font-weight:400;}
  header p { font-size: 1.2rem; margin: 0 0 20px; color: var(--text); }
  h1 {
    font-family: 'Dancing Script', cursive !important;
    font-weight: 400;
  }
  
  h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
  }
  
  p, div, span, a, button, input, textarea, label {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
  }
  
  /* Override for spans that should use Montserrat Light */
  span[style*="font-weight:400"] {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
  }
  
  /* Override for navigation links to use Roboto Thin */
  nav a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 100 !important;
  }
    header {
      background: linear-gradient(120deg, var(--bg) 60%, var(--primary) 100%);
      color: var(--primary);
      padding: 40px 20px 20px 20px;
      text-align: center;
      box-shadow: var(--shadow);
    }
    nav { margin-bottom: 18px; }
    nav a {
      color: var(--primary);
      margin: 0 12px;
      text-decoration: none;
      font-weight: bold;
    }
    header h1 { font-family: 'Dancing Script', cursive !important; font-weight: 400; }
    main { max-width: 700px; margin: 0 auto; padding: 30px 16px; }
    .booking-form {
      background: #1d1a16;
      border-radius: 16px;
      box-shadow: var(--shadow);
      padding: 24px 20px;
      max-width: 600px;
      margin: 0 auto;
      color: var(--text);
    }
    .booking-form input, .booking-form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 12px;
      border-radius: 8px;
      border: 1px solid #c4a166;
      font-size: 1rem;
      background: #181612;
      color: var(--text);
    }
    .booking-form button {
      background: var(--primary);
      color: var(--bg);
      border: none;
      padding: 12px 28px;
      border-radius: 24px;
      font-size: 1rem;
      cursor: pointer;
      font-weight: bold;
    }
    
    /* Stilovi za drop-down liste */
    .booking-form select {
      width: 100%;
      padding: 12px;
      margin-bottom: 12px;
      border-radius: 8px;
      border: 1px solid #c4a166;
      font-size: 1rem;
      background: #181612;
      color: var(--text);
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a166' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
      padding-right: 40px;
    }
    
    .booking-form select:focus {
      outline: none;
      border-color: #e6c88a;
      box-shadow: 0 0 0 2px rgba(196,161,102,0.2);
    }
    
    .booking-form select:hover {
      border-color: #e6c88a;
    }
    
    /* Stilovi za optgroup i option elemente */
    .booking-form select optgroup {
      font-weight: bold;
      color: var(--primary);
      background: #1d1a16;
    }
    
    .booking-form select option {
      background: #181612;
      color: var(--text);
      padding: 8px 12px;
    }
    
    .booking-form select option:hover {
      background: #2a2520;
    }
    
    /* Stilovi za label elemente */
    .booking-form label {
      display: block;
      margin-bottom: 6px;
      font-weight: 600;
      color: var(--primary);
      font-size: 1.05rem;
    }
    
    /* Stilovi za input elemente */
    .booking-form input, .booking-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 16px;
      border-radius: 8px;
      border: 1px solid #c4a166;
      font-size: 1rem;
      background: #181612;
      color: var(--text);
      box-sizing: border-box;
    }
    
    .booking-form input:focus, .booking-form textarea:focus {
      outline: none;
      border-color: #e6c88a;
      box-shadow: 0 0 0 2px rgba(196,161,102,0.2);
    }
    
    .booking-form input:hover, .booking-form textarea:hover {
      border-color: #e6c88a;
    }
    

    .booking-form input::placeholder, .booking-form textarea::placeholder {
      color: #b7a998;
      opacity: 0.7;
    }
    
    /* Stilovi za custom dropdown */
    .service-option {
      cursor: pointer;
      border-radius: 4px;
      transition: background-color 0.2s;
    }
    
    .service-option:hover {
      background-color: #f8f9fa;
    }
    
    .select-trigger:hover {
      border-color: #c4a166;
    }
    
    .select-dropdown {
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* Hover efekti za checkbox labele */
    .select-dropdown label:hover {
      background-color: #f8f9fa;
    }
    
    /* Specifična pravila za checkbox-ove */
    .select-dropdown input[type="checkbox"] {
      margin: 0;
      padding: 0;
      width: auto;
      height: auto;
      border: none;
      background: none;
      box-shadow: none;
    }
    
    /* Pomeranje teksta u checkbox-ovima za 2px ulevo */
    .select-dropdown span {
      margin-left: 2px !important;
    }
    
    /* Stilovi za expand/collapse ikone */
    .category-header {
      display: flex;
      align-items: center;
      cursor: pointer;
      padding: 8px;
      border-radius: 6px;
      transition: background-color 0.2s;
      margin-bottom: 8px;
    }

    .custom-select {
      border: 2px solid var(--primary);
      border-radius: 8px;
    }
    
    .category-header:hover {
      background-color: rgba(196, 161, 102, 0.1);
    }
    
    .expand-icon {
      margin-right: 8px;
      font-size: 18px;
      color: #c4a166;
      transition: transform 0.3s ease;
      font-weight: bold;
      font-family: Arial, sans-serif;
    }
    
    .expand-icon.expanded {
      transform: rotate(180deg);
    }
    
    .category-content {
      display: none;
      margin-left: 20px;
    }
    
    .category-content.expanded {
      display: block;
    }
    

    
    /* Responsivnost za mobilne uređaje */
    @media (max-width: 600px) {
      .booking-form {
        padding: 20px 16px;
        margin: 0 10px;
      }
      
      .booking-form select, .booking-form input, .booking-form textarea {
        font-size: 16px; /* Sprečava zoom na iOS */
      }
      
      .booking-form label {
        font-size: 1rem;
      }
      #service {
        width: 90%;
      }
    }

/* --- ULEPŠANJE SELECTA ZA VREME (TERMINI) --- */
.booking-form select#time {
  background: #181612;
  color: #fff8e1;
  border: 2px solid #c4a166;
  border-radius: 10px;
  font-size: 1.13rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 12px rgba(196,161,102,0.07);
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0;
}
.booking-form select#time:focus {
  border-color: #e6c88a;
  box-shadow: 0 0 0 2px rgba(196,161,102,0.18);
}
.booking-form select#time option {
  background: #23201b;
  color: #fff8e1;
  font-size: 1.08rem;
  padding: 10px 16px;
  border-radius: 6px;
}
.booking-form select#time option:disabled {
  color: #b7a998;
  background: #2a2520;
  font-style: italic;
}
.booking-form select#time option:hover:not(:disabled),
.booking-form select#time option:focus:not(:disabled) {
  background: #c4a166;
  color: #23201b;
}
#time-warning {
  color: #e6c88a;
  background: #23201b;
  border-left: 4px solid #c4a166;
  border-radius: 0 8px 8px 0;
  padding: 7px 12px;
  margin-top: 7px;
  font-size: 1.01rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 8px rgba(196,161,102,0.07);
  display: none;
}
.time-picker-btn {
  background: #c4a166;
  color: #23201b;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.time-picker-btn:hover {
  background: #e6c88a;
}
.termini-grid-wrap {
  margin-top: 8px;
  margin-bottom: 8px;
}
.termini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 8px;
  align-items: center;
}
.termini-hour-label {
  min-width: 60px;
  color: #c4a166;
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.08rem;
  display: inline-block;
}
.termin-btn {
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
  margin-right: 8px !important;
  min-width: 60px !important;
  text-align: center !important;
  background: #23201b !important;
  color: #fff8e1 !important;
  border: 1px solid #c4a166 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.termin-btn:hover:not(:disabled) {
  background: #c4a166 !important;
  color: #23201b !important;
  border-color: #e6c88a !important;
  box-shadow: 0 0 8px rgba(196,161,102,0.4) !important;
  transform: scale(1.05) !important;
}

.termin-btn.selected, .termin-btn:active {
  background: #c4a166 !important;
  color: #23201b !important;
  border-color: #e6c88a !important;
  box-shadow: 0 0 8px rgba(196,161,102,0.4) !important;
  transform: scale(1.05) !important;
}

.termin-btn:disabled {
  background: #444 !important;
  color: #888 !important;
  border-color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transform: none !important;
}

.termin-btn:disabled:hover {
  background: #444 !important;
  color: #888 !important;
  border-color: #666 !important;
  box-shadow: none !important;
  transform: none !important;
}
.time-warning {
  color: #e6c88a;
  background: #23201b;
  border-left: 4px solid #c4a166;
  border-radius: 0 8px 8px 0;
  padding: 7px 12px;
  margin-top: 7px;
  font-size: 1.01rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 8px rgba(196,161,102,0.07);
  display: none;
}

/* --- RESPONZIVNOST ZA MOBILNE UREĐAJE --- */
@media (max-width: 600px) {
  .booking-form {
    padding: 16px 12px;
    margin: 0 8px;
    max-width: 100%;
  }
  
  .booking-form input, .booking-form textarea {
    font-size: 16px; /* Sprečava zoom na iOS */
    padding: 10px 8px;
  }
  
  .booking-form label {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  
  .time-picker-btn {
    padding: 8px 12px;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .termini-grid {
    gap: 3px 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .termini-hour-label {
    min-width: 35px;
    font-size: 0.8rem;
    margin-right: 6px;
    color: #c4a166;
    font-weight: bold;
  }
  
  .termin-btn {
    padding: 4px 6px !important;
    font-size: 0.7rem !important;
    margin-bottom: 3px !important;
    margin-right: 6px !important;
    min-width: 32px !important;
    text-align: center !important;
    border-radius: 3px !important;
  }
  
  .time-warning {
    font-size: 0.8rem;
    padding: 4px 6px;
    margin-top: 3px;
  }
  
  .neradni-dan {
    font-size: 0.9rem;
    padding: 12px;
    margin: 8px 0;
  }
  
  /* Poboljšanje za dropdown usluga na mobilnim */
  .select-dropdown {
    max-height: 250px;
  }
  
  .select-dropdown label {
    padding: 6px;
    margin-bottom: 4px;
  }
  
  .category-header h4 {
    font-size: 0.95rem;
  }
  
  /* Poboljšanje za checkbox-ove na mobilnim */
  .select-dropdown input[type="checkbox"] {
    transform: scale(1.2);
  }
  
  /* Poboljšanje za dugmad u formi */
  .booking-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .booking-form {
    padding: 14px 10px;
    margin: 0 6px;
  }
  
  .termini-grid {
    gap: 2px 4px;
  }
  
  .termin-btn {
    padding: 3px 5px !important;
    font-size: 0.65rem !important;
    min-width: 28px !important;
    margin-right: 4px !important;
    border-radius: 2px !important;
  }
  
  .termini-hour-label {
    min-width: 30px;
    font-size: 0.75rem;
  }
  
  .time-picker-btn {
    padding: 7px 10px;
    font-size: 0.9rem;
  }
  
  .neradni-dan {
    font-size: 0.85rem;
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .termini-grid {
    gap: 1px 3px;
  }
  
  .termin-btn {
    padding: 2px 4px !important;
    font-size: 0.6rem !important;
    min-width: 25px !important;
    margin-right: 3px !important;
    border-radius: 2px !important;
  }
  
  .termini-hour-label {
    min-width: 25px;
    font-size: 0.7rem;
  }
  
  .neradni-dan {
    font-size: 0.8rem;
    padding: 8px;
  }
}