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

:root {
  --dish-modal-open: rgba(60, 37, 18, 0.5);
  --restaurant-modal-open: rgba(60, 37, 18, 0.212);
  --primary-color: #3f1e01;
  --accent-color: #cd853f;
  --dish-name-color: #e0ddd9;
  --bg-color: #171312;
  --text-color: #e0ddd9;
  --price-color: #f1c40f;
  --card-bg: #201913;
  --restaurant-card-bg: #202020;
  --ball-bg: rgb(63, 30, 1, 0.67);
  --primary-dark: #0c0c0c;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
  --font-main: "Segoe UI", sans-serif;
  --btn-bg: #cd853f;
  --btn-hover-bg: #0c0c0c;
  --filter-bg: #fce9b2;
  --filter-border: #ff0000;
  --border-color: rgba(255, 255, 255, 0.1);
}

html,
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  background-color: var(--bg-color);
  min-height: 100vh;
  scroll-padding-top: 70px;
  color: var(--text-color);
  line-height: 1.6;
  font-family: var(--font-main);
  -webkit-tap-highlight-color: transparent;
}

footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  padding: 1.5rem 1rem;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  text-align: center;
}

h2 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.8rem;
}

h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.3rem;
}

/* Mobile-first improvements */
#toggleTagsBtn {
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;
  /* box-shadow: 0 4px 12px; */
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--ball-bg) 100%);
  padding: 12px 24px;
  width: 100%;
  max-width: 300px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

#toggleTagsBtn:active {
  transform: scale(0.97);
  box-shadow: 0 8px 12px var(--accent-color);
}

#toggleTagsBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px var(--accent-color);
}

.about-content {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 800px;
}

.about-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-content ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.about-content li {
  margin-bottom: 0.5rem;
}

.bold-large {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.3em;
}

.button {
  display: block;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
  cursor: pointer;
  margin: auto;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(205, 133, 63, 0.25);
  border: none;
  border-radius: 100px;
  background: var(--btn-bg);
  padding: 0.8rem 1.5rem;
  width: 100%;
  max-width: 300px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--btn-hover-bg);
}

.button:active {
  transform: scale(0.98);
}

.card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition, 0.25s),
    box-shadow var(--transition, 0.25s);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius, 12px);
  background-color: var(--card-bg);
  padding: 0;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(120, 120, 104, 0.3);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.card-content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  height: 45%;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
  width: 100%;
}

.card-image {
  position: relative;
  animation: loading 1.5s infinite;
  background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  width: 100%;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
}

.card-image img {
  display: block;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-price {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.9);
  padding: 8px 12px;
  color: var(--price-color);
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.3s ease-in-out;
}

.card-price:hover {
  transform: scale(1.05);
}


.card-restaurant {
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  padding: 2px 0;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.card-restaurant:hover {
  transform: translateY(-1px);
  color: var(--text-color);
}

.card-restaurant::after {
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
  background: var(--accent-color);
  width: 0;
  height: 1px;
  content: '';
}

.card-restaurant:hover::after {
  width: 100%;
}

.card-title {
  display: -webkit-box;
  margin: 0 0 0.25rem 0;
  overflow: hidden;
  color: var(--dish-name-color);
  font-size: 1.2rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* min-height: 2.8rem; */
  font-weight: 600;
}

.card-top {
  margin-bottom: 0.2rem;
}

.contact-card {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  background-color: rgba(46, 27, 15, 0.8);
  padding: 1.2rem;
}

.contact-card:hover,
.rating-item:hover {
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.contact-icon {
  flex-shrink: 0;
  margin-right: 10px;
  width: 24px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.modal-title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.contact-label,
.rating-count {
  margin-left: 0.5rem;
  color: #ccc;
  font-size: 0.85rem;
}

.dish-modal,
.restaurant-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  z-index: 2000;
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 1rem;
  width: 100%;
  height: 100%;
}

.dish-modal.active,
.restaurant-modal.active {
  visibility: visible;
  opacity: 1;
}

.featured-restaurants {
  margin: 2rem 0;
  padding: 0 1rem;
  width: 100%;
}

.filter-form {
  display: none;
  transition: opacity var(--transition);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 1.2rem;
  width: 100%;
}

.filter-form.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.filter-form h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

.filter-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-submit button {
  flex: 1;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  background: var(--btn-bg);
  padding: 0.8rem 1.5rem;
  min-width: 120px;
  color: #ffffff;
  font-weight: 600;
}

.filter-submit button:hover {
  transform: translateY(-1px);
  background: var(--btn-hover-bg);
}

.clear-filters-btn {
  background: #666 !important;
}

.clear-filters-btn:hover {
  background: #444 !important;
}

.hero {
  margin-top: 0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  background: var(--primary-color);
  padding: 2rem 1rem;
  width: 100%;
  color: #fff;
  text-align: center;
}

.hero h2 {
  margin-bottom: 0.5rem;
  color: white;
  font-size: 1.8rem;
}

.hero p {
  opacity: 0.9;
  font-weight: 500;
  font-size: 1rem;
}

.image-lightbox {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  backdrop-filter: blur(10px);
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  padding: 1rem;
}

.image-lightbox img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 6px;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

.image-lightbox.active {
  display: flex;
}

.image-slider {
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.lightbox-close {
  display: flex;
  position: absolute;
  top: 1rem;
  right: 1rem;
  justify-content: center;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.5rem;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.main-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  transition: margin-top 0.3s ease;
  margin-top: 70px;
  margin-left: 0;
  background-color: var(--bg-color);
  padding: 1.5rem;
  width: 100%;
  min-height: calc(100vh - 70px);
  overflow-x: hidden;
}

.modal-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 1rem;
}

.modal-body {
  padding: 1.5rem;
  max-height: calc(95vh - 40vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  display: flex;
  position: absolute;
  top: 1rem;
  right: 1rem;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  color: white;
  font-size: 1.5rem;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
  width: 100%;
}


.modal-content {
  display: flex;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius, 12px);
  background-color: var(--dish-modal-open);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow: hidden;
}

.modal-details {
  position: relative;
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-header {
  position: relative;
  background: #000;
  height: 300px;
  overflow: hidden;
}

.modal-image {
  flex: 1;
  background: #000;
  min-width: 300px;
  max-width: 50%;
  overflow: hidden;
}

.modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-ingredients {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-details a {
  transition: all 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.modal-details a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.modal-details .modal-restaurant a:hover {
  text-decoration: none;
}

.card-restaurant:active,
.modal-restaurant:active {
  transform: translateY(0);
}

.modal-restaurant {
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-bottom: 15px;
  padding: 2px 0;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.modal-restaurant:hover {
  transform: translateY(-1px);
  color: var(--text-color);
}

.modal-restaurant::after {
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
  background: var(--accent-color);
  width: 0;
  height: 1px;
  content: '';
}

.modal-restaurant:hover::after {
  width: 100%;
}
.modal-button-wrapper {
  /* Pozicioniranje u gornji desni ugao */
  position: absolute; 
  top: 1rem;
  right: 1rem;
  
  /* Redanje dugmadi jedno pored drugog */
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.modal-button {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  width: 40px;
  height: 40px;
  color: white;
  font-size: 1.2rem;
}

.modal-button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal-title {
  margin-bottom: 0.5rem;
  color: var(--dish-name-color);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
}

.modal-variants {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

.variant-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
}

.variant-item:last-child {
  border-bottom: none;
}

.rating-item {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-in-out;
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  background-color: rgba(46, 27, 15, 0.8);
  padding: 1rem;
  text-align: center;
}

.rating-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.rating-stars {
  margin-bottom: 0.5rem;
  color: #ffd700;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.rating-value {
  margin-bottom: 0.3rem;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}

.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.ratings-section {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.restaurant-ball {
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--ball-bg);
  width: 180px;
  overflow: hidden;
  text-align: center;
}

.restaurant-ball:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.restaurant-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--restaurant-card-bg);
  height: 100%;
  overflow: hidden;
}

.restaurant-card:hover {
  transform: translateY(-5px);
}

.restaurant-contact {
  flex-grow: 1;
  margin-bottom: 0.3rem;
}

.restaurant-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.restaurant-contact p a,
.restaurant-modal-content .modal-address a,
.contact-text-contact {
  transition: color 0.3s ease;
  color: var(--accent-color);
  text-decoration: none;
}

.restaurant-contact p a:hover,
.restaurant-modal-content .modal-address a:hover,
.contact-text-contact:hover {
  color: #e0ddd9;
  text-decoration: underline;
}

.restaurant-image {
  animation: loading 1.5s infinite;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.restaurant-image img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-info {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: 1.2rem;
  min-height: 180px;
}

.restaurant-info h3 {
  margin-bottom: 0.8rem;
  color: var(--dish-name-color);
  font-size: 1.3rem;
  line-height: 1.3;
}

.restaurant-modal-content {
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: var(--restaurant-modal-open);
  width: 100%;
  max-width: 1200px;
  max-height: 95vh;
  overflow: hidden;
}

.restaurant-name {
  margin: 0;
  padding: 0.8rem;
  overflow: hidden;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-social a:first-child {
  display: inline-block;
}

.restaurants-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  flex: 1;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  width: 100%;
  min-height: 0;
}

.restaurants-horizontal {
  display: flex;
  gap: 1rem;
  padding: 1rem 0.5rem;
  overflow-x: auto;
  scrollbar-color: var(--accent-color) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.5rem;
}

.restaurants-horizontal::-webkit-scrollbar {
  height: 4px;
}

.restaurants-horizontal::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: var(--accent-color);
}

.restaurants-horizontal::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-color);
}

.restaurants-horizontal::-webkit-scrollbar-track {
  background: transparent;
}

.restaurants-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.section-header h2 {
  margin: 0;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.share-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2196f3 0%, #0d47a1 100%);
  padding: 12px 20px;
  width: 100%;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
}

.share-btn:active {
  transform: translateY(-1px);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.sidebar {
  display: grid;
  position: fixed;
  top: 0;
  left: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  z-index: 1000;
  transition: height 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
  background-color: #000;
  padding: 0;
  width: 100%;
  height: 70px;
  overflow-x: auto;
  overflow-y: hidden;
}

.sidebar .lang-toggle {
  justify-self: end;
  transition: background 0.3s;
  cursor: pointer;
  margin-right: 15px;
  border: none;
  border-radius: 6px;
  background: #333;
  padding: 8px 14px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.sidebar .lang-toggle:hover {
  background: #555;
}

.sidebar img {
  flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
  margin-left: 15px;
  width: 4rem;
  height: auto;
}
.sidebar img:hover {
  transform: scale(1.08);  
}

.sidebar ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  justify-self: center;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: auto;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.sidebar ul::-webkit-scrollbar {
  height: 0;
}

.sidebar ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  height: 100%;
  white-space: nowrap;
}

.sidebar ul li:first-child {
  border-left: none;
}

.sidebar > a:first-child {
  justify-self: start;
  margin-left: 10px;
}

.sidebar ul li a {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: all 0.3s ease;
  padding: 0 15px;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
}

.sidebar ul li a.active {
  background-color: var(--accent-color);
  font-weight: 600;
}

.sidebar ul li a.active::after {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--price-color);
  width: 100%;
  height: 3px;
  content: "";
}

.sidebar ul li a.active:hover {
  opacity: 0.9;
  background-color: var(--accent-color);
}

.sidebar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

section {
  margin: 2rem 0;
  padding: 0 1rem;
  width: 100%;
}

.slider-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  width: 36px;
  height: 36px;
  color: white;
  font-size: 16px;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  height: 100%;
}

.slider-dot {
  transition: background var(--transition);
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  width: 8px;
  height: 8px;
}

.slider-dot.active {
  transform: scale(1.2);
  background: white;
}

.slider-dots {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.slider-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-width: 100%;
  height: 100%;
}

.slider-nav {
  display: flex;
  position: absolute;
  top: 50%;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
  box-sizing: border-box;
  padding: 0 10px;
  width: 100%;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  color: white;
  text-decoration: none;
  scale: 1.05;
}

.social-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background-color: var(--primary-dark);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
  margin: 2px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.2);
}

.tag:active {
  transform: translateY(0);
}

.modal-tags .tag {
  margin: 4px;
  font-size: 0.85rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  max-height: 60px;
  overflow: hidden;
}

.tag-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent-color);
  width: 18px;
  height: 18px;
  color: white;
  font-weight: bold;
  font-size: 0.7rem;
}

@keyframes tagPulse {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-3px); }
  100% { transform: scale(1) translateY(-3px); }
}

.view-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(205, 133, 63, 0.2);
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.view-menu-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 30, 1, 0.3);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.view-menu-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(63, 30, 1, 0.2);
}

.modal-title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.view-all:hover {
  transform: translateX(2px);
  text-decoration: underline;
}

/* Sort dropdown improvements */
.sort-container {
  position: relative;
  margin: 1.5rem 0;
  width: 100%;
  max-width: 300px;
}

.sort-container label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
}

#sort {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -ms-appearance: none !important;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--card-bg);
  background: var(--card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0ddd9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px !important;
  padding: 12px 16px;
  padding-right: 40px;
  width: 100%;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
}

#sort:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.15);
  border-color: var(--accent-color);
}

/* Animations */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

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

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Safe area support */
@supports (padding: max(0px)) {
  .sidebar {
    padding-top: max(0px, env(safe-area-inset-top));
    padding-right: max(0px, env(safe-area-inset-right));
    padding-left: max(0px, env(safe-area-inset-left));
  }

  .main-content {
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    padding-left: max(1rem, env(safe-area-inset-left));
  }
}

/* Tablet responsive */
@media (max-width: 768px) and (min-width: 468px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .restaurants-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .modal-content {
    width: 90%;
    max-width: 700px;
  }
  .modal-header {
    height: 50vh;
  }
  .featured-restaurants {
    margin: 2rem 0;
  }
  .restaurant-ball {
    width: 170px;
  }
  .card-image {
    height: 180px;
  }
}

/* MOBILE RESPONSIVE - Uklonjene promjene boja, samo layout promjene */
@media (max-width: 468px) {
  body {
    font-size: 15px;
  }
  
  .sidebar {
    grid-template-columns: auto 1fr auto;
    padding: 0;
    height: 60px;
  }
  
  .sidebar > a:first-child {
    margin-left: 10px;
  }
  
  .sidebar img {
    margin-left: 10px;
    width: 45px;
  }
  
  .sidebar ul {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 5px;
  }
  
  .sidebar ul li {
    flex-shrink: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .sidebar ul li a {
    padding: 0 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .sidebar .lang-toggle {
    margin-right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .main-content {
    margin-top: 60px;
    padding: 1rem;
  }
  
  .hero {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    padding: 1.5rem 1rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.2rem;
  }
  
  .card {
    height: 350px;
    max-height: 350px;
  }
  
  .card-image {
    height: 160px;
    max-height: 160px;
  }
  
  .card-content {
    padding: 1rem;
    height: auto;
    min-height: 140px;
  }
  
  .card-title {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
  }
  
  .modal-contact-info,
  .ratings-grid {
    grid-template-columns: 1fr;
  }
  
  .ratings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .modal-content {
    flex-direction: column;
    margin: 0.5rem;
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-image {
    min-width: 100%;
    max-width: 100%;
    height: 250px;
  }
  
  .modal-details {
    padding: 1.2rem;
    max-height: calc(95vh - 250px);
    overflow-y: auto;
  }
  
  .restaurant-modal-content {
    margin: 0.5rem;
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-header {
    height: 35vh;
  }
  
  .modal-body {
    padding: 1.2rem;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .restaurants-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1rem;
  }
  
  .button {
    padding: 0.7rem 1.2rem;
    width: 100%;
    max-width: 280px;
  }
  
  .share-section {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  footer {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  .about-content {
    padding: 0 0.5rem;
  }
  
  .featured-restaurants {
    margin: 1.5rem 0;
    padding: 0 0.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .section-header h2 {
    font-size: 1.3rem;
  }
  
  .restaurants-horizontal {
    gap: 0.8rem;
    margin: 0 -0.5rem;
    padding: 0.8rem 0.5rem;
  }
  
  .restaurant-ball {
    width: 150px;
  }
  
  .restaurant-image {
    height: 100px;
  }
  
  .restaurant-name {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .modal-ingredients {
    font-size: 0.95rem;
  }
  
  .modal-restaurant {
    font-size: 0.95rem;
  }
  
  .lightbox-close,
  .modal-close {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  

  #toggleTagsBtn {
    padding: 10px 20px;
    max-width: 100%;
    font-size: 0.95rem;
  }
  
  .filter-form {
    padding: 1rem;
  }
  
  .filter-submit {
    flex-direction: column;
  }
  
  .filter-submit button {
    width: 100%;
  }
  
  .sort-container {
    max-width: 100%;
  }
  
  .view-menu-button {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .modal-header {
    height: 50vh;
  }
  
  .modal-body {
    max-height: 45vh;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-content {
    max-height: 85vh;
  }
  
  .modal-details {
    max-height: calc(85vh - 200px);
  }
}

/* Medium mobile phones */
@media (max-width: 570px) {
  .ratings-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    height: 55px;
  }
  
  .sidebar > a:first-child {
    margin-left: 8px;
  }
  
  .sidebar img {
    margin-left: 8px;
    width: 40px;
  }
  
  .sidebar ul {
    padding: 0 3px;
  }
  
  .sidebar ul li a {
    padding: 0 10px;
    font-size: 0.8rem;
  }
  
  .sidebar .lang-toggle {
    margin-right: 8px;
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .main-content {
    margin-top: 55px;
    padding: 0.8rem;
  }
  
  .restaurant-ball {
    width: 130px;
  }
  
  .restaurant-image {
    height: 90px;
  }
  
  .restaurant-name {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .card-image {
    height: 150px;
  }
  
  .card {
    height: 330px;
  }
  
  .modal-header {
    height: 30vh;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .hero h2 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .section-header h2 {
    font-size: 1.2rem;
  }
  
  .modal-title {
    font-size: 1.2rem;
  }
  
  .card-title {
    font-size: 1.05rem;
  }
  
  .button {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
  
  .share-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .view-all {
    font-size: 0.9rem;
  }
  
  .tag {
    padding: 3px 6px;
    font-size: 0.75rem;
  }
}

/* Small mobile phones */
@media (max-width: 375px) {
  .card-image {
    height: 140px;
  }
  
  .modal-image {
    height: 180px;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .restaurant-ball {
    width: 120px;
  }
  
  .restaurant-image {
    height: 80px;
  }
  
  .sidebar ul li a {
    padding: 0 8px;
    font-size: 0.75rem;
  }
  
  .sidebar .lang-toggle {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .modal-title {
    font-size: 1.1rem;
  }
  
  .modal-details {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .contact-card,
  .rating-item {
    padding: 0.8rem;
  }
  
  .card-price {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* Extra small mobile phones */
@media (max-width: 320px) {
  .sidebar ul {
    position: static;
    top: auto;
    left: auto;
    flex-direction: row;
    border-top: none;
    background-color: transparent;
    padding: 0 2px;
    width: auto;
    height: 100%;
    max-height: none;
    overflow-x: auto;
  }
  
  .sidebar ul li {
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    width: auto;
  }
  
  .sidebar ul li a {
    justify-content: center;
    padding: 0 8px;
    font-size: 0.7rem;
    text-align: center;
  }
  
  .sidebar img {
    width: 35px;
  }
  
  .restaurant-ball {
    width: 110px;
  }
  
  .restaurant-image {
    height: 70px;
  }
  
  .restaurant-name {
    padding: 0.4rem;
    font-size: 0.75rem;
  }
  
  .card {
    height: 320px;
  }
  
  .card-image {
    height: 130px;
  }
  
  .card-content {
    padding: 0.8rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .modal-image {
    height: 160px;
  }
  
  .modal-header {
    height: 25vh;
  }
  
  .modal-details {
    max-height: calc(95vh - 160px);
  }
  
  .button {
    max-width: 100%;
  }
  
  #toggleTagsBtn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* High pixel density mobile devices */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
  .card-image,
  .restaurant-image,
  .modal-image img,
  .card-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
  }
  
  .restaurant-ball:hover {
    transform: none;
  }
  
  .button:hover,
  .share-btn:hover,
  .view-menu-button:hover,
  .sidebar ul li a:hover {
    transform: none;
  }
  
  .card:hover .card-image img {
    transform: none;
  }
  
  .tag:hover {
    transform: none;
  }
  
  /* Increase touch target sizes */
  .sidebar ul li a {
    padding: 0 16px;
  }
  
  .button,
  #toggleTagsBtn,
  .share-btn,
  .view-menu-button {
    min-height: 44px;
  }
  
  .modal-close,
  .lightbox-close {
    min-width: 44px;
    min-height: 44px;
  }
  
  .slider-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Najagresivnija optimizacija - sve stane bez scroll-a */
@media (max-width: 570px) {
  .sidebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 0 5px;
    height: 50px;
    overflow: hidden;
  }

  .sidebar > a:first-child {
    flex: 0 0 auto;
  }

  .sidebar img {
    width: 28px;
    height: auto;
  }

  .sidebar ul {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    min-width: 0;
    height: 100%;
    list-style: none;
  }

  .sidebar ul li {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
    height: 100%;
  }

  .sidebar ul li:first-child {
    border-left: none;
  }

  .sidebar ul li a {
    display: block;
    padding: 0 2px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-weight: 500;
    font-size: 0.65rem;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar ul li a.active {
    background-color: var(--accent-color);
    font-weight: 600;
    font-size: 0.65rem;
  }

  .sidebar .lang-toggle {
    flex: 0 0 auto;
    cursor: pointer;
    margin-left: 2px;
    border: none;
    border-radius: 4px;
    background: #333;
    padding: 4px 6px;
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    white-space: nowrap;
  }
}
/* RESTAURANT MODAL IMPROVEMENTS */
.restaurant-modal {
  background-color: rgba(0, 0, 0, 0.92); /* Tamnija pozadina za bolji kontrast */
  backdrop-filter: blur(8px);
}

.restaurant-modal-content {
  background-color: var(--card-bg); /* Koristi postojeću varijablu */
  border: 2px solid var(--accent-color); /* Dodaj accent border */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7); /* Jača sjena */
}

/* Kontakt informacije - pojačani kontrast */
.restaurant-modal-content .contact-card,
.restaurant-modal-content .rating-item {
  background-color: rgba(32, 25, 19, 0.95); /* Tamnija pozadina */
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.restaurant-modal-content .contact-card:hover,
.restaurant-modal-content .rating-item:hover {
  background-color: rgba(40, 30, 22, 0.98);
  border-color: var(--price-color);
  transform: translateY(-2px);
}

.restaurant-modal-content .contact-label,
.restaurant-modal-content .rating-count {
  color: #d4d4d4; /* Svjetlija siva za bolju čitljivost */
  font-weight: 500;
}

.restaurant-modal-content .rating-value {
  color: var(--price-color); /* Koristi price color za rating */
  font-size: 1.2rem;
}

.restaurant-modal-content .rating-stars {
  color: #ffc107; /* Zlatnija boja za zvjezdice */
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

.restaurant-modal-content .contact-icon {
  color: var(--price-color); /* Ikonice u price color */
}

.restaurant-modal-content .contact-text,
.restaurant-modal-content .contact-text-contact {
  color: #f0f0f0; /* Bijeli tekst za bolju vidljivost */
  font-weight: 500;
}

.restaurant-modal-content .contact-text-contact:hover {
  color: var(--accent-color);
}

/* Modal header improvements */
.restaurant-modal-content .modal-header {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
  border-bottom: 2px solid var(--accent-color);
}

/* Modal body improvements */
.restaurant-modal-content .modal-body {
  background: linear-gradient(to bottom, #1a1512, #171312);
}

/* Section headers u modalu */
.restaurant-modal-content h3 {
  color: var(--price-color); /* Koristi price color za podnaslove */
  border-bottom: 1px solid rgba(205, 133, 63, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
}

/* Social link improvements */
.restaurant-modal-content .social-link {
  background-color: var(--accent-color);
  border: 1px solid rgba(255,255,255,0.1);
}

.restaurant-modal-content .social-link:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Modal close button improvements */
.restaurant-modal-content .modal-close {
  background: rgba(205, 133, 63, 0.9);
  color: #000;
  font-weight: bold;
  width: 44px;
  height: 44px;
}

.restaurant-modal-content .modal-close:hover {
  background: var(--price-color);
  transform: scale(1.1);
}

/* MODAL MEDIA QUERIES - samo poboljšanja za vidljivost */

@media (max-width: 768px) {
  .restaurant-modal-content {
    width: 95%;
    max-height: 90vh;
    border-width: 1px;
  }
  
  .restaurant-modal-content .contact-card,
  .restaurant-modal-content .rating-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .restaurant-modal-content .modal-body {
    padding: 1.2rem;
  }
  
  .restaurant-modal-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 468px) {
  .restaurant-modal {
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.95);
  }
  
  .restaurant-modal-content {
    width: 98%;
    max-height: 95vh;
    margin: 0.5rem;
  }
  
  .restaurant-modal-content .modal-header {
    height: 30vh;
  }
  
  .restaurant-modal-content .modal-body {
    max-height: 65vh;
    padding: 1rem;
    background: #171312;
  }
  
  .restaurant-modal-content .contact-card,
  .restaurant-modal-content .rating-item {
    background-color: rgba(40, 30, 22, 0.98);
    border: 1px solid var(--accent-color);
    padding: 0.8rem;
  }
  
  .restaurant-modal-content .contact-text,
  .restaurant-modal-content .contact-text-contact {
    font-size: 0.9rem;
  }
  
  .restaurant-modal-content .rating-stars {
    font-size: 1.2rem;
  }
  
  .restaurant-modal-content .modal-close {
    width: 40px;
    height: 40px;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(205, 133, 63, 0.95);
  }
}

@media (max-width: 320px) {
  .restaurant-modal-content {
    margin: 0.2rem;
    width: 99%;
  }
  
  .restaurant-modal-content .modal-body {
    padding: 0.8rem;
  }
  
  .restaurant-modal-content .contact-card,
  .restaurant-modal-content .rating-item {
    padding: 0.7rem;
  }
  
  .restaurant-modal-content .contact-text,
  .restaurant-modal-content .contact-text-contact {
    font-size: 0.85rem;
  }
}

/* Touch device optimizations za modal */
@media (hover: none) and (pointer: coarse) {
  .restaurant-modal-content .contact-card,
  .restaurant-modal-content .rating-item {
    border: 2px solid var(--accent-color); /* Deblji border za touch */
  }
  
  .restaurant-modal-content .contact-text-contact,
  .restaurant-modal-content .social-link {
    min-height: 44px; /* Veći touch target */
  }
}


.contact-wrapper {
  display: inline-block;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
    color: white;
      text-decoration: none;
        transition: transform 0.3s ease-in-out;
}
.contact-wrapper:hover {
  transform: translateY(-3px);

}
.restaurant-modal-content .modal-contact-info a{
  color: white;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.restaurant-modal-content .modal-contact-info a :hover{
  text-decoration: underline;
  color : var(--accent-color);
  transform: background(var(--accent-color));
}