body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #ffffff;
  color: #3c2f2f;

}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
  max-width: 100%;
}
img, div {
  max-width: 100%;
  overflow-x: hidden;
  display: block;
  
}



.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #fdfaf8;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a1796c;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #3c2f2f;
  font-weight: 500;
}

.contact {
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100vh; /* Optional: makes it full screen height */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Remove the rounded corners */
  transition: transform 0.3s ease;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;

}

.hero-text em {
  font-style: italic;
  color: #5a3e36;
} 
  
.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.hero-text button {
  padding: 12px 24px;
  background: #a1796c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 95%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  max-width: 700px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
}


.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
.top-nav {
  position: relative;
  z-index: 1000;
}

/* Hides nav by default on mobile */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a.active {
  color: #c04c5c;            /* Highlight color for active link */
  font-weight: bold;
  border-bottom: 2px solid #c04c5c; /* Underline or bottom border to show active */
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fdfaf8;
    padding: 20px;
    gap: 50px;
    border-top: 1px solid #ccc;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }
}
.burger {
  width: 30px;
  height: 24px; /* slightly taller for spacing */
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #3c2f2f;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center; /* key for smooth rotation */
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}




#posts-section {
  max-width: 1100px; /* wider for multiple in a row */
  margin: 60px auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
  color: #333;
}

#posts-section h3.emri17 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
    color: #8c4c5c;
}

.instagram-container {
  display: flex;
  flex-wrap: nowrap;        /* Prevent wrapping to next line */
  gap: 35px;
  overflow-x: auto;         /* Enable horizontal scroll if overflow */
  padding-bottom: 10px;     /* For space below scrollbar */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scrollbar-width: thin;    /* Firefox scrollbar style */
}

.instagram-media,
.fallback-img {
  flex: 0 0 auto;           /* Fix width, no grow or shrink */
  width: 320px;             /* Fixed width for each post */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.instagram-media:hover,
.fallback-img:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.fallback-img {
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

.fallback-img {
  width: 100%;
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

/* Responsive: for smaller screens, reduce size */
@media (max-width: 900px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 45%;  /* two per row */
    max-width: 45%;
  }
}

@media (max-width: 500px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 100%; /* full width on very small screens */
    max-width: 100%;
  }
}
.instagram-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  
  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  width: 90%; /* Prevent overflow on small screens */
  max-width: 700px;

  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
  box-sizing: border-box;
  padding: 0 10px;
}


.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  font-size: 3rem;
  color: #8c4c5c;
  margin-bottom: 10px;
}


.nav-links a {
  margin: 0 15px;
  color: #8c4c5c;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px dotted transparent;
}

.nav-links a:hover {
  border-bottom: 2px dotted #8c4c5c;
}

.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center; /* 🔥 center items inside each column */
  width: 100%;
}

.cake-card {
  width: 100%;
  max-width: 270px; /* 🔥 max width ensures centered and not stretched */
  height: 390px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden {
  display: none;
}


.cake-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cake-card img {
  width: 100%;
  height: 310px;
  object-fit: cover; /* Makes sure the image covers area without stretching */
  border-radius: 8px;
}

.cake-card p {
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 16px;
}

.cake-card span {
  font-weight: bold;
  color: #c04c5c;
  font-size: 15px;
}
@media (max-width: 600px) {
  .cake-card {
    height: 340px;
    padding: 10px;
  }


  .cake-card p {
    font-size: 15px;
  }

  .cake-card span {
    font-size: 14px;
  }

  .nav-links a {
    font-size: 14px;
    display: block;
    margin: 5px 0;
  }

  h1 {
    font-size: 2rem;
  }
}

.category-filter {
  margin: 30px auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.category-filter a {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #c04c5c;
  background-color: #fff;
  color: #c04c5c;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.category-filter a.active,
.category-filter a:hover {
  background-color: #c04c5c;
  color: #fff;
}

@media (max-width: 600px) {
  .category-filter {
    flex-direction: column;
    align-items: center;
  }

  .category-filter a {
    width: 80%;
    text-align: center;
  }
}

  .category-filter a.active {
      border-bottom: 2px solid #c04c5c;
    }
    .cake-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
    }

.footer {
  width: 100%;         /* Siguro që zgjatet plotë në gjerësi */
  box-sizing: border-box;  /* Për të mos kaluar kutinë e prindit */
  padding: 20px 15px;
  background-color: #fcdce3;
  color: #8c4c5c;
  text-align: center;
  font-family: 'Georgia', serif;
  margin-top: 40px;    /* Distancë nga pjesa e sipërme */
}

.footer-review {
  text-align: center;
  padding: 20px 15px;
  background-color: #fcdce3;
}

.footer-review h2 {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.6rem;
  color: #8c4c5c;
  margin-bottom: 8px;
}

.footer-review p {
  font-size: 0.9rem;
  color: #3c2f2f;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-review a {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.footer-review a:hover {
  background-color: #464646;
}

.footer-bottom {
  width: 100%; /* Shtuar */
  border-top: 1px solid #a9794b;
  margin-top: 20px;
  padding-top: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #8c4c5c;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-logo img {
  width: 80px;
  height: auto;
}

.footer-links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8c4c5c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  color: #8c4c5c;
  font-size: 1rem;
  margin: 0 6px;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #c04c5c;
}

.footer-p {
  font-size: 1.2rem;
  color: #8c4c5c;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    order: 1;
    margin: 15px 0;
  }

  .footer-socials {
    order: 2;
  }

  .footer-logo {
    order: 0;
    margin-bottom: 15px;
  }
}


.book-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #8c4c5c;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.book-btn:hover {
  background-color: #ff4775;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #8c4c5c;
}

.modal-content input, .modal-content button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
}

.modal-content button {
  background-color: #8c4c5c;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.modal-content button:hover {
  background-color: #ff4775;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.hidden {
  display: none;
}
/* Enhanced Popup Style */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease-in-out;
}

.popup {
  background: #fff0f5; /* light pastel background */
  padding: 30px 25px;
  border-radius: 18px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  animation: popIn 0.4s ease-out;
}

.popup h2 {
  color: #c04c5c;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.popup p {
  color: #5a3e36;
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.popup input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
}

.popup-btn {
  padding: 12px 20px;
  background: #c04c5c;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  width: 100%;
}

.popup-btn:hover {
  background: #a93d50;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 26px;
  color: #a97979;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4775;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#reservationForm textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  resize: none; /* Prevents resizing */
  font-family: 'Georgia', serif;
  box-sizing: border-box;
}
#reservationForm input[type="date"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  box-sizing: border-box;
  appearance: none; /* remove default iOS look */
  background-color: white;
  color: #3c2f2f;
}
@media (max-width: 600px) {
  #reservationForm input,
  #reservationForm textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  #reservationForm input[type="date"] {
    font-size: 0.95rem;
  }
}


  #backToTopBtn {
    display: none; /* fsheh gjithmonë nga default */
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 100;
    background-color: #fcdce3;
    color: #333;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  #backToTopBtn:hover {
    background-color: #f9a1b0;
  }

  /* Vetëm për pajisjet mobile me gjerësi < 768px */
  @media (max-width: 767px) {
    #backToTopBtn.show {
      display: block;
    }
  }
  
  .cake-section-header {
  text-align: center;
  margin: 40px 20px 20px;
  font-family: 'Georgia', serif;
  color: #3c2f2f;
}

.cake-section-header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cake-section-header p {
  font-size: 1em;
  color: #6e4c4c;
}

.cake-section-header {
  text-align: left;
  margin: 40px 0 20px 10px;
}

.cake-section-header h2 {
  color: #8c4c5c;
  font-size: 2em;
  font-family: 'Georgia', serif;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #ffffff;
  color: #3c2f2f;

}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
  max-width: 100%;
}
img, div {
  max-width: 100%;
  overflow-x: hidden;
  display: block;
  
}



.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #fdfaf8;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a1796c;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #3c2f2f;
  font-weight: 500;
}

.contact {
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100vh; /* Optional: makes it full screen height */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Remove the rounded corners */
  transition: transform 0.3s ease;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;

}

.hero-text em {
  font-style: italic;
  color: #5a3e36;
} 
  
.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.hero-text button {
  padding: 12px 24px;
  background: #a1796c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 95%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  max-width: 700px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
}


.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
.top-nav {
  position: relative;
  z-index: 1000;
}

/* Hides nav by default on mobile */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a.active {
  color: #c04c5c;            /* Highlight color for active link */
  font-weight: bold;
  border-bottom: 2px solid #c04c5c; /* Underline or bottom border to show active */
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fdfaf8;
    padding: 20px;
    gap: 50px;
    border-top: 1px solid #ccc;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }
}
.burger {
  width: 30px;
  height: 24px; /* slightly taller for spacing */
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #3c2f2f;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center; /* key for smooth rotation */
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}




#posts-section {
  max-width: 1100px; /* wider for multiple in a row */
  margin: 60px auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
  color: #333;
}

#posts-section h3.emri17 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
    color: #8c4c5c;
}

.instagram-container {
  display: flex;
  flex-wrap: nowrap;        /* Prevent wrapping to next line */
  gap: 35px;
  overflow-x: auto;         /* Enable horizontal scroll if overflow */
  padding-bottom: 10px;     /* For space below scrollbar */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scrollbar-width: thin;    /* Firefox scrollbar style */
}

.instagram-media,
.fallback-img {
  flex: 0 0 auto;           /* Fix width, no grow or shrink */
  width: 320px;             /* Fixed width for each post */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.instagram-media:hover,
.fallback-img:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.fallback-img {
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

.fallback-img {
  width: 100%;
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

/* Responsive: for smaller screens, reduce size */
@media (max-width: 900px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 45%;  /* two per row */
    max-width: 45%;
  }
}

@media (max-width: 500px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 100%; /* full width on very small screens */
    max-width: 100%;
  }
}
.instagram-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  
  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  width: 90%; /* Prevent overflow on small screens */
  max-width: 700px;

  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
  box-sizing: border-box;
  padding: 0 10px;
}


.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  font-size: 3rem;
  color: #8c4c5c;
  margin-bottom: 10px;
}


.nav-links a {
  margin: 0 15px;
  color: #8c4c5c;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px dotted transparent;
}

.nav-links a:hover {
  border-bottom: 2px dotted #8c4c5c;
}

.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center; /* 🔥 center items inside each column */
  width: 100%;
}

.cake-card {
  width: 100%;
  max-width: 270px; /* 🔥 max width ensures centered and not stretched */
  height: 390px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden {
  display: none;
}


.cake-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cake-card img {
  width: 100%;
  height: 310px;
  object-fit: cover; /* Makes sure the image covers area without stretching */
  border-radius: 8px;
}

.cake-card p {
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 16px;
}

.cake-card span {
  font-weight: bold;
  color: #c04c5c;
  font-size: 15px;
}
@media (max-width: 600px) {
  .cake-card {
    height: 340px;
    padding: 10px;
  }


  .cake-card p {
    font-size: 15px;
  }

  .cake-card span {
    font-size: 14px;
  }

  .nav-links a {
    font-size: 14px;
    display: block;
    margin: 5px 0;
  }

  h1 {
    font-size: 2rem;
  }
}

.category-filter {
  margin: 30px auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.category-filter a {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #c04c5c;
  background-color: #fff;
  color: #c04c5c;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.category-filter a.active,
.category-filter a:hover {
  background-color: #c04c5c;
  color: #fff;
}

@media (max-width: 600px) {
  .category-filter {
    flex-direction: column;
    align-items: center;
  }

  .category-filter a {
    width: 80%;
    text-align: center;
  }
}

  .category-filter a.active {
      border-bottom: 2px solid #c04c5c;
    }
    .cake-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
    }

.footer {
  width: 100%;         /* Siguro që zgjatet plotë në gjerësi */
  box-sizing: border-box;  /* Për të mos kaluar kutinë e prindit */
  padding: 20px 15px;
  background-color: #fcdce3;
  color: #8c4c5c;
  text-align: center;
  font-family: 'Georgia', serif;
  margin-top: 40px;    /* Distancë nga pjesa e sipërme */
}

.footer-review {
  text-align: center;
  padding: 20px 15px;
  background-color: #fcdce3;
}

.footer-review h2 {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.6rem;
  color: #8c4c5c;
  margin-bottom: 8px;
}

.footer-review p {
  font-size: 0.9rem;
  color: #3c2f2f;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-review a {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.footer-review a:hover {
  background-color: #464646;
}

.footer-bottom {
  width: 100%; /* Shtuar */
  border-top: 1px solid #a9794b;
  margin-top: 20px;
  padding-top: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #8c4c5c;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-logo img {
  width: 80px;
  height: auto;
}

.footer-links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8c4c5c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  color: #8c4c5c;
  font-size: 1rem;
  margin: 0 6px;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #c04c5c;
}

.footer-p {
  font-size: 1.2rem;
  color: #8c4c5c;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    order: 1;
    margin: 15px 0;
  }

  .footer-socials {
    order: 2;
  }

  .footer-logo {
    order: 0;
    margin-bottom: 15px;
  }
}


.book-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #8c4c5c;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.book-btn:hover {
  background-color: #ff4775;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #8c4c5c;
}

.modal-content input, .modal-content button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
}

.modal-content button {
  background-color: #8c4c5c;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.modal-content button:hover {
  background-color: #ff4775;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.hidden {
  display: none;
}
/* Enhanced Popup Style */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease-in-out;
}

.popup {
  background: #fff0f5; /* light pastel background */
  padding: 30px 25px;
  border-radius: 18px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  animation: popIn 0.4s ease-out;
}

.popup h2 {
  color: #c04c5c;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.popup p {
  color: #5a3e36;
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.popup input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
}

.popup-btn {
  padding: 12px 20px;
  background: #c04c5c;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  width: 100%;
}

.popup-btn:hover {
  background: #a93d50;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 26px;
  color: #a97979;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4775;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#reservationForm textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  resize: none; /* Prevents resizing */
  font-family: 'Georgia', serif;
  box-sizing: border-box;
}
#reservationForm input[type="date"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  box-sizing: border-box;
  appearance: none; /* remove default iOS look */
  background-color: white;
  color: #3c2f2f;
}
@media (max-width: 600px) {
  #reservationForm input,
  #reservationForm textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  #reservationForm input[type="date"] {
    font-size: 0.95rem;
  }
}


  #backToTopBtn {
    display: none; /* fsheh gjithmonë nga default */
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 100;
    background-color: #fcdce3;
    color: #333;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  #backToTopBtn:hover {
    background-color: #f9a1b0;
  }

  /* Vetëm për pajisjet mobile me gjerësi < 768px */
  @media (max-width: 767px) {
    #backToTopBtn.show {
      display: block;
    }
  }
  .cake-section-header {
  text-align: center;
  margin: 40px 20px 20px;
  font-family: 'Georgia', serif;
  color: #3c2f2f;
}

.cake-section-header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cake-section-header p {
  font-size: 1em;
  color: #6e4c4c;
}

.cake-section-header {
  text-align: left;
  margin: 40px 0 20px 10px;
}

.cake-section-header h2 {
  color: #8c4c5c;
  font-size: 2em;
  font-family: 'Georgia', serif;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #ffffff;
  color: #3c2f2f;

}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
  max-width: 100%;
}
img, div {
  max-width: 100%;
  overflow-x: hidden;
  display: block;
  
}



.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #fdfaf8;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a1796c;
}

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #3c2f2f;
  font-weight: 500;
}

.contact {
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100vh; /* Optional: makes it full screen height */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Remove the rounded corners */
  transition: transform 0.3s ease;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;

}

.hero-text em {
  font-style: italic;
  color: #5a3e36;
} 
  
.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.hero-text button {
  padding: 12px 24px;
  background: #a1796c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 95%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  max-width: 700px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
}


.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}
.top-nav {
  position: relative;
  z-index: 1000;
}

/* Hides nav by default on mobile */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a.active {
  color: #c04c5c;            /* Highlight color for active link */
  font-weight: bold;
  border-bottom: 2px solid #c04c5c; /* Underline or bottom border to show active */
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fdfaf8;
    padding: 20px;
    gap: 50px;
    border-top: 1px solid #ccc;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }
}
.burger {
  width: 30px;
  height: 24px; /* slightly taller for spacing */
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #3c2f2f;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center; /* key for smooth rotation */
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}




#posts-section {
  max-width: 1100px; /* wider for multiple in a row */
  margin: 60px auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
  color: #333;
}

#posts-section h3.emri17 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
    color: #8c4c5c;
}

.instagram-container {
  display: flex;
  flex-wrap: nowrap;        /* Prevent wrapping to next line */
  gap: 35px;
  overflow-x: auto;         /* Enable horizontal scroll if overflow */
  padding-bottom: 10px;     /* For space below scrollbar */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scrollbar-width: thin;    /* Firefox scrollbar style */
}

.instagram-media,
.fallback-img {
  flex: 0 0 auto;           /* Fix width, no grow or shrink */
  width: 320px;             /* Fixed width for each post */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.instagram-media:hover,
.fallback-img:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.fallback-img {
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

.fallback-img {
  width: 100%;
  height: auto;
  display: none; /* hidden by default */
  object-fit: cover;
  cursor: pointer;
}

/* Responsive: for smaller screens, reduce size */
@media (max-width: 900px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 45%;  /* two per row */
    max-width: 45%;
  }
}

@media (max-width: 500px) {
  .instagram-media,
  .fallback-img {
    flex: 1 1 100%; /* full width on very small screens */
    max-width: 100%;
  }
}
.instagram-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  
  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  width: 90%; /* Prevent overflow on small screens */
  max-width: 700px;

  opacity: 0;
  animation: zoomFade 1.2s ease-out forwards;
  animation-delay: 0.3s;
  box-sizing: border-box;
  padding: 0 10px;
}


.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  font-size: 3rem;
  color: #8c4c5c;
  margin-bottom: 10px;
}


.nav-links a {
  margin: 0 15px;
  color: #8c4c5c;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px dotted transparent;
}

.nav-links a:hover {
  border-bottom: 2px dotted #8c4c5c;
}

.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center; /* 🔥 center items inside each column */
  width: 100%;
}

.cake-card {
  width: 100%;
  max-width: 270px; /* 🔥 max width ensures centered and not stretched */
  height: 390px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden {
  display: none;
}


.cake-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.cake-card img {
  width: 100%;
  height: 310px;
  object-fit: cover; /* Makes sure the image covers area without stretching */
  border-radius: 8px;
}

.cake-card p {
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 16px;
}

.cake-card span {
  font-weight: bold;
  color: #c04c5c;
  font-size: 15px;
}
@media (max-width: 600px) {
  .cake-card {
    height: 340px;
    padding: 10px;
  }


  .cake-card p {
    font-size: 15px;
  }

  .cake-card span {
    font-size: 14px;
  }

  .nav-links a {
    font-size: 14px;
    display: block;
    margin: 5px 0;
  }

  h1 {
    font-size: 2rem;
  }
}

.category-filter {
  margin: 30px auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.category-filter a {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #c04c5c;
  background-color: #fff;
  color: #c04c5c;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.category-filter a.active,
.category-filter a:hover {
  background-color: #c04c5c;
  color: #fff;
}

@media (max-width: 600px) {
  .category-filter {
    flex-direction: column;
    align-items: center;
  }

  .category-filter a {
    width: 80%;
    text-align: center;
  }
}

  .category-filter a.active {
      border-bottom: 2px solid #c04c5c;
    }
    .cake-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
    }

.footer {
  width: 100%;         /* Siguro që zgjatet plotë në gjerësi */
  box-sizing: border-box;  /* Për të mos kaluar kutinë e prindit */
  padding: 20px 15px;
  background-color: #fcdce3;
  color: #8c4c5c;
  text-align: center;
  font-family: 'Georgia', serif;
  margin-top: 40px;    /* Distancë nga pjesa e sipërme */
}

.footer-review {
  text-align: center;
  padding: 20px 15px;
  background-color: #fcdce3;
}

.footer-review h2 {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.6rem;
  color: #8c4c5c;
  margin-bottom: 8px;
}

.footer-review p {
  font-size: 0.9rem;
  color: #3c2f2f;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-review a {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.footer-review a:hover {
  background-color: #464646;
}

.footer-bottom {
  width: 100%; /* Shtuar */
  border-top: 1px solid #a9794b;
  margin-top: 20px;
  padding-top: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #8c4c5c;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-logo img {
  width: 80px;
  height: auto;
}

.footer-links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8c4c5c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  color: #8c4c5c;
  font-size: 1rem;
  margin: 0 6px;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #c04c5c;
}

.footer-p {
  font-size: 1.2rem;
  color: #8c4c5c;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    order: 1;
    margin: 15px 0;
  }

  .footer-socials {
    order: 2;
  }

  .footer-logo {
    order: 0;
    margin-bottom: 15px;
  }
}


.book-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #8c4c5c;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.book-btn:hover {
  background-color: #ff4775;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #8c4c5c;
}

.modal-content input, .modal-content button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
}

.modal-content button {
  background-color: #8c4c5c;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.modal-content button:hover {
  background-color: #ff4775;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.hidden {
  display: none;
}
/* Enhanced Popup Style */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease-in-out;
}

.popup {
  background: #fff0f5; /* light pastel background */
  padding: 30px 25px;
  border-radius: 18px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  animation: popIn 0.4s ease-out;
}

.popup h2 {
  color: #c04c5c;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.popup p {
  color: #5a3e36;
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.popup input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
}

.popup-btn {
  padding: 12px 20px;
  background: #c04c5c;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  width: 100%;
}

.popup-btn:hover {
  background: #a93d50;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 26px;
  color: #a97979;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4775;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#reservationForm textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  resize: none; /* Prevents resizing */
  font-family: 'Georgia', serif;
  box-sizing: border-box;
}
#reservationForm input[type="date"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #d8a1af;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  box-sizing: border-box;
  appearance: none; /* remove default iOS look */
  background-color: white;
  color: #3c2f2f;
}
@media (max-width: 600px) {
  #reservationForm input,
  #reservationForm textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  #reservationForm input[type="date"] {
    font-size: 0.95rem;
  }
}


  #backToTopBtn {
    display: none; /* fsheh gjithmonë nga default */
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 100;
    background-color: #fcdce3;
    color: #333;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  #backToTopBtn:hover {
    background-color: #f9a1b0;
  }

  /* Vetëm për pajisjet mobile me gjerësi < 768px */
  @media (max-width: 767px) {
    #backToTopBtn.show {
      display: block;
    }
  }
  .cake-section-header {
  text-align: center;
  margin: 40px 20px 20px;
  font-family: 'Georgia', serif;
  color: #3c2f2f;
}

.cake-section-header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cake-section-header p {
  font-size: 1em;
  color: #6e4c4c;
}

.cake-section-header {
  text-align: left;
  margin: 40px 0 20px 10px;
}

.cake-section-header h2 {
  color: #8c4c5c;
  font-size: 2em;
  font-family: 'Georgia', serif;
}
.cakes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* saktësisht 3 kolona */
  gap: 20px;
  justify-items: center;
  width: 100%;
}

.cake-card p {
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 16px;
}

.cake-card span {
  font-weight: bold;
  color: #c04c5c;
  font-size: 15px;
}

/* Tablet – 2 kolona */
@media (max-width: 900px) {
  .cakes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile – 1 kolonë */
@media (max-width: 600px) {
  .cakes-container {
    grid-template-columns: 1fr;
  }
}
.container7 {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  flex-direction: row;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 100vh;
  background: #f9f9f9;
}


.contact-form {
  flex: 1;
  padding: 40px;
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #111;
}

.contact-form h2 span {
  color:#8c4c5c;
  padding: 2px 8px;
  border-radius: 4px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background:#8c4c5c;
  color: white;
  padding: 12px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #ff0e4a;
}

.contact-map {
  flex: 1;
  min-height: 450px;
}

@media (max-width: 768px) {
  .container7 {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-map {
    width: 100%;
    padding: 20px;
  }

  .contact-map {
    min-height: 300px;
  }
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}


