/* General Styles */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: sans-serif;
    background-color: #f3f4f6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav-bar {
    background-color: rgb(47, 47, 47);
    color: #ffffff;
    padding: 1rem 40px 1rem 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: rgb(214, 161, 91);
}

.mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    padding: 0.5rem;
    color: white;
    font-size: 25px;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 1rem;
    }
}

/* Mobile Dropdown */
.mobile-menu {
    display: none;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-list li a {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu-list li a:hover {
    color: rgb(214, 161, 91);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .mobile-menu-button {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .desktop-menu {
        display: none;
    }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    object-fit: cover;
}

.mobile-video {
    height: 100vh;
}

.desktop-video {
    height: 50vh;
}

@media (max-width: 767px) {
    .desktop-video {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-video {
        display: none;
    }
}

/* Logo Styling */
.logo {
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        width: 70px;
    }
}

/* Hero Section */
.hero-section {
    background-color: rgba(238, 225, 207, 0.432);
}

.mobile-hero {
    display: block;
}

.desktop-hero {
    display: none;
}

@media (min-width: 768px) {
    .mobile-hero {
        display: none;
    }

    .desktop-hero {
        display: flex;
        padding: 100px 15px 30px 15px;
        gap: 2rem;
    }

    .hero-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-video {
        width: 50%;
    }
}

.restaurant-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgb(47, 47, 47);
    margin-bottom: 1rem;
}

.restaurant-text {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .restaurant-title {
        font-size: 4rem;
    }

    .restaurant-text {
        font-size: 1.25rem;
        max-width: 80%;
    }
}

/* Section Styling */
section {
    scroll-margin-top: 80px;
}

.about-section,
.contact-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

/* MENI */
.menu-section {
    margin-top: 100px;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
  gap: 1rem;
}

.slide {
  flex: 0 0 calc((100% / 3) - 1rem); /* 3 kartice sa gap */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(31, 41, 55, 0.7);
  color: #f6e05e;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.8rem;
  border-radius: 50%;
  z-index: 10;
  user-select: none;
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: #1f2937;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 calc((100% / 2) - 1rem); /* 2 kartice na tablet */
  }
}

@media (max-width: 600px) {
  .slide {
    flex: 0 0 90%; /* 1 kartica na mobilnom */
    margin: 0 auto;
  }
}

/* Modal pozadina */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* Sakrij modal */
.modal.hidden {
  display: none;
}

/* Modal sadržaj */
.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* Dugme za zatvaranje */
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #333;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  user-select: none;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-text {
    font-size: 1.125rem;
    color: #4a5568;
}

.contact-text {
    text-align: center;
}

/* O nama */
.about-section {
    background-color: rgb(47, 47, 47);
    color: white;
}

.about-section .section-text {
    color: rgba(255, 255, 255, 0.836);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.about-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-gallery img:hover {
  transform: scale(1.03);
}

/* Kontakt */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  flex: 1;
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.8;
}

.contact-map {
  flex: 1;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Footer */
.footer {
    background-color: rgb(47, 47, 47);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: "Rubik", sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    font-size: 1em;
    margin: 0;
}

.footer a {
    color: rgb(226, 205, 178);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .footer p {
        font-size: 0.9em;
    }
}

.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgb(217, 189, 155);
  color: #1f2937;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 100;
}

.call-button:hover {
  background-color: rgb(214, 161, 91);
  transform: scale(1.05);
}

.button-container {
  text-align: center;
  margin-bottom: 25px;
}

.about-section .button-container {
    margin-top: 35px;
    margin-bottom: 0;
}

.btn-modern {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgb(226, 205, 178), rgb(217, 189, 155));
  color: black;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-modern:hover {
  background: linear-gradient(135deg, rgb(236, 200, 152), rgb(228, 173, 107));
  transform: translateY(-3px);
}
