/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0B0B0B;
  color: white;
  overflow-x: hidden; 
}

/* HERO SECTION */
.home {
  height: 100vh;
  background-image: url("https://i.postimg.cc/Ghn5KP4y/restoran.jpg");
  background-size: cover;
  background-position: center;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* DARK OVERLAY (SAMO SLIKA TAMNA) */
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
}

/* TEXT PREKO SLIKE */
.home-content {
  position: relative;
  z-index: 2;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0px;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px 40px;
}

/* LIJEVA STRANA */
.left {
  flex: 1;
}

.naziv {
  font-size: 35px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 3px;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* PROTOKOL LIJEVO */
.left {
  position: absolute;
  left: 40px;
  top: 20px;
}


/* NAV LINKS CENTAR 🔥 */
.nav-links {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 40px;
  list-style: none;
}

/* LINKOVI */
.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s;
}

/* hover animacija */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #C9A227;
  transition: 0.4s ease-out;
}

.nav-links a:hover {
  color: #C9A227;
}

.nav-links a:hover::after {
  width: 100%;
}



/* HERO TEXT */
.home-content h2 {
  font-size: 70px;
  font-family: "Rye", cursive;
}

.p1 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 200;
  font-family: "Rye", cursive;
}

.p2 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 400;
}


/* BUTTON */
.btn-about {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 1px solid #C9A227;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-about:hover {
  color: #C9A227;
}

.span {
  font-size: 25px;
  font-weight: bold;
}




/* SEKCIJA MENU */



.meni {
  font-size: 40px;
  font-weight: bold;
  color: #C9A227;
  text-align: center; /* 🔥 ovo centrira tekst */
  margin-top: 50px;  /* udaljenost od home */
  margin-bottom: 150px; /* razmak do kartica */
  height: -80vh;
}

.menu-overview {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 250px;
}

.menu-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
  width: 100%;
}

.card {
  width: 320px;
  cursor: pointer;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-text {
  padding: 15px;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
}

/* PAGE MENIJI */
.menu-page {
  display: none;
  padding: 80px 40px;
  text-align: center;
  background: #0B0B0B;
  color: white;
}

.menu-page h2 {
  color: #C9A227;
  margin-bottom: 30px;
}

.menu-page h3 {
  margin-top: 25px;
  color: #C9A227;
}

.menu-page p {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: auto;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-page span {
  color: #C9A227;
}

button {
  margin-bottom: 30px;
  padding: 10px 20px;
  cursor: pointer;
  background: #C9A227;
  color: white;
  font-size: 14px;
  font-weight: bold;
}






/* SEKCIJA ABOUT*/

.about {
  padding: 80px 20px;
  background: #0B0B0B;
  color: white;
  background-image: url("https://i.postimg.cc/QNgnXkdH/restoran1.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
}

.about-container {
  display: flex;
  align-items: center; /* vrati na normalno */
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

  .about-overview {
  position: relative;
  background-image: url("https://i.postimg.cc/QNgnXkdH/restoran1.jpg");
  background-size: cover;
  background-position: center;
  height: 60vh;
}


/* 🔥 overlay (60% dark) */
.about-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}


/* sadržaj ide iznad slike */
.about-container {
  position: relative;
  z-index: 2;
}

.map {
  flex: 1;
  min-width: 300px;
  height: 400px; /* 🔥 OVO JE KLJUČ */
  border-radius: 12px;
  overflow: hidden;
  margin-top: 100px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-text h2 {
  color: #C9A227;
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 25px;
  }

  .map {
    width: 100%;
    min-height: 250px;
  }

  .about-text {
    width: 100%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 14px;
  }
}


/* SEKCIJA CONTACT*/


.contact {
  padding: 120px 40px;
  background: #0B0B0B;
  color: white;
}

/* centriranje cijelog bloka */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 220px;
  flex-wrap: wrap;
}

/* NASLOV */
.contact-title {
  text-align: center;
  font-size: 40px;
  color: #C9A227;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

/* LIJEVA STRANA */
.contact-info {
  text-align: left;
}

.contact-info p {
  margin: 10px 0;
  font-size: 16px;
}

/* DESNA STRANA */
.contact-hours {
  text-align: left;
}

.contact-hours h3 {
  font-size: 22px;
  color: #C9A227;
  margin-bottom: 10px;
}

.contact-hours p {
  font-size: 18px;
}



/* MOBILNA VERZIJA */  




/* ========================= */
/* 📱 MOBILE VERZIJA */
/* ========================= */

.hamburger {
  display: none;
}

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 15px 20px;
    justify-content: space-between;
  }

  .left {
    position: static;
  }

  .naziv {
    font-size: 24px;
  }

  /* HAMBURGER */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
  }

  /* 🔥 KLJUČNI FIX */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* sakriven */
    left: auto !important;
    transform: none !important;

    height: 100vh;
    width: 70%;
    background: #0B0B0B;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

    transition: right 0.4s ease;
    z-index: 1500;
  }

  .nav-links.active {
    right: 0; /* otvara se */
  }

  .nav-links a {
    font-size: 20px;
  }

  /* HERO */
  .home-content h2 {
    font-size: 40px;
  }

  .p1 {
    font-size: 16px;
  }

  .p2 {
    font-size: 14px;
  }

  .span {
    font-size: 18px;
  }

  /* MENU */
  .meni {
    font-size: 28px;
    height: 30vh;
    margin-top: 50px;
    margin-bottom: 150px;
  }

  .menu-cards {
    flex-direction: column;
    gap: 35px;
  }

  .menu-overview {
  min-height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  }

  .card {
    width: 80%;
  }

  .card img {
    height: 160px;
  }

  .menu-page {
    padding: 40px 20px;
  }

  .menu-page p {
    font-size: 14px;
  }

  /* ABOUT */

  .about-h2 {
    font-size: 28px;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;

    min-height: 70vh;

    margin: 0;
    padding: 40px 20px 80px;
  }


  .about-overview {
  position: relative;
  background-image: url("https://i.postimg.cc/QNgnXkdH/restoran1.jpg");
  background-size: cover;
  background-position: center;
  height: min-content;
  }

/* 🔥 overlay (60% dark) */
.about-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* sadržaj ide iznad slike */
.about-container {
  position: relative;
  z-index: 2;
}

  .map {
    width: 100%;
    height: 220px; /* dovoljno za mobile */
    border-radius: 12px;
    overflow: hidden;
  }

  .about-text {
    text-align: center;
    padding: 0 10px;
  }

  .about-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .about-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* CONTACT */
  .contact {
    padding: 60px 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .contact-info,
  .contact-hours {
    text-align: center;
  }

  .contact-title {
    font-size: 28px;
  }
}