body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #3e2a1c;
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-image {
    background-image: url('./images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.top-right-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 30px;
    z-index: 10;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRightFadeIn 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.top-right-buttons button,
.top-right-buttons .button-link {
    padding: 10px 20px;
    border: none;
    background-color: #FFBB6D;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    line-height: 1.2;
}

.top-right-buttons button:hover,
.top-right-buttons .button-link:hover {
    background-color: #cca05e;
    box-shadow: 0 0 12px 4px rgba(249, 249, 249, 0.7);
    transform: scale(1.05);
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    overflow: hidden;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeftFadeIn 0.8s ease-out forwards, glow 2s ease-in-out infinite alternate 1.3s;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 187, 109, 0.5), 0 0 10px rgba(255, 187, 109, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 187, 109, 0.9), 0 0 30px rgba(255, 187, 109, 0.6), 0 0 40px rgba(255, 187, 109, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 187, 109, 0.5), 0 0 10px rgba(255, 187, 109, 0.3);
    }
}

.welcome {
    position: absolute;
    top: 220px;
    left: 80px;
    background-color: #6C5544;
    padding: 30px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
    text-align: center;
    width: 50%;
    max-width: 380px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInFadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.welcome .heading {
    font-size: 2.2em;
    color: #FFBB6D;
    margin-bottom: 5px;
    font-weight: bold;
}

.welcome .cafe-name {
    font-size: 3.5em;
    color: #F8F8F8;
    margin-bottom: 10px;
    line-height: 1.1;
}

.welcome .slogan {
    font-size: 1.5em;
    color: #F8F8F8;
    font-style: italic;
}

@keyframes slideInFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeftFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRightFadeIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-items-grid {
    position: absolute;
    left: 70%;
    transform: translateX(-50%);
    top: 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    z-index: 5;
    width: 90%;
    max-width: 900px;
}

.menu-item-card {
    width: 250px;
    height: 280px;
    background-color: #6C5544;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInSlideUp 0.8s ease-out forwards, jump 2.5s ease-in-out infinite;
    animation-delay: 0.4s, 1.2s;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-item-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.menu-item-card img {
    width: calc(100% - 20px);
    height: 230px;
    object-fit: cover;
    border-radius: 20px;
    margin-top: 10px;
}

.menu-item-card p {
    color: #c09c26;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: 10px;
    text-align: center;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.social-logos {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.social-logos img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;        /* ensures logos don't stretch weirdly */
    background-color: #fff;   /* gives clean circle edge if logo has transparent parts */
    border: 2px solid #fff;   /* optional: adds a nice white outline */
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-logos img:hover {
    opacity: 1;
    transform: scale(1.1);    /* subtle hover zoom */
}


.social-logos img:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .logo {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }

    .top-right-buttons {
        top: 15px;
        right: 15px;
        gap: 15px;
        flex-direction: column;
        align-items: flex-end;
    }

    .top-right-buttons button,
    .top-right-buttons .button-link {
        padding: 8px 15px;
        font-size: 12px;
    }

    .welcome {
        position: relative;
        top: auto;
        left: auto;
        margin: 100px auto 20px auto;
        width: 90%;
        max-width: 90%;
        padding: 20px 25px;
        text-align: center;
    }

    .welcome .heading {
        font-size: 1.5em;
    }

    .welcome .cafe-name {
        font-size: 2.5em;
    }

    .welcome .slogan {
        font-size: 1.1em;
    }

    .menu-items-grid {
        position: relative;
        left: auto;
        transform: none;
        top: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 90%;
        margin: 20px auto;
        padding-bottom: 80px;
    }

    .menu-item-card {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .menu-item-card img {
        height: 200px;
    }

    .social-logos {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .social-logos img {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
}
.about-section {
    position: relative;
    margin: 120px auto 40px auto;
    padding: 30px 40px;
    background-color: #6C5544;
    border-radius: 25px;
    width: 85%;
    max-width: 1000px;
    z-index: 5;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    text-align: center;
    animation: slideInFadeIn 1s ease-out forwards;
}

.about-section h1 {
    font-size: 2.5em;
    color: #FFBB6D;
    margin-bottom: 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    text-align: left;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.about-info p {
    font-size: 1.2em;
    margin: 15px 0;
}

.about-info h2 {
    margin-top: 20px;
    color: #FFBB6D;
}

.social-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.social-links li {
    margin: 8px 0;
}

.social-links a {
    color: #FFBB6D;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* 📱 Responsive for mobile */
/* --- Mobile: keep top buttons fixed at the top center --- */
@media screen and (max-width: 768px) {
  .top-right-buttons {
    position: fixed;           /* pin to viewport */
    top: 10px;
    left: 50%;
    transform: translateX(-50%); /* center horizontally */
    width: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 1000;             /* stay above everything */
    margin: 0;
  }

  .top-right-buttons .button-link {
    padding: 10px 18px;
    font-size: 14px;
    background-color: #FFBB6D;
    color: #000;
    border-radius: 25px;
    text-align: center;
  }

  /* push welcome content down so buttons don’t overlap it */
  .welcome {
    margin-top: 100px;
  }
}
/* --- Mobile: center About page text and keep map below --- */
@media screen and (max-width: 768px) {
  .about-content {
    display: flex;
    flex-direction: column;   /* stack text and map */
    align-items: center;      /* center inside container */
    text-align: center;       /* center text horizontally */
  }

  .about-info {
    order: 1;
    width: 90%;               /* prevent text from hugging the edges */
    margin-bottom: 20px;
  }

  .map-container {
    order: 2;
    width: 100%;
    height: 300px;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
  }
}

.burger {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1003; /* above overlay */
}


/* slide-out panel */
.side-nav {
  position: fixed;
  top: 0;
  right: -250px;         /* hidden by default */
  width: 250px;
  background: rgba(103,81,31,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 0 40px 0;
  transition: right 0.3s ease;
  z-index: 1002;
  min-height: 100vh;     /* stretch if needed */
  height: auto;          /* shrink if not */
}

.side-nav.active { right: 0; }

.side-nav .nav-header {
  color: #fff;
  font-weight: 600;
  margin-bottom: 25px;
}

.side-nav a {
  width: 70%;
  margin: 10px 0;
  padding: 12px;
  background: #fbbe69;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  border-radius: 30px;
  transition: background 0.3s;
}
.side-nav a:hover { background: #f9a940; }

/* dark overlay that closes menu on click */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}
.overlay.active { display: block; }


.popup-overlay {

  position: fixed;

  top: 0; left: 0; width: 100%; height: 100%;

  background: rgba(0, 0, 0, 0.6);

  display: none;

  justify-content: center;

  align-items: center;

  z-index: 9999;

  backdrop-filter: blur(3px);

}

 

.popup-box {

  background: #fffaf0;

  border-radius: 12px;

  text-align: center;

  padding: 30px 25px;

  max-width: 400px;

  box-shadow: 0 6px 20px rgba(0,0,0,0.3);

  color: #4b2e1f;

  font-family: 'Poppins', sans-serif;

  animation: fadeIn 0.3s ease;

}

 

.popup-box h2 {

  margin-bottom: 15px;

  color: #b85c38;

}

 

.popup-box p {

  font-size: 1em;

  margin-bottom: 20px;

}

 

.popup-box button {

  background: #b85c38;

  color: #fff;

  border: none;

  padding: 10px 25px;

  border-radius: 8px;

  cursor: pointer;

  font-size: 1em;

  transition: 0.2s;

}

 

.popup-box button:hover {

  background: #a04c2f;

}

 

@keyframes fadeIn {

  from { opacity: 0; transform: scale(0.9); }

  to { opacity: 1; transform: scale(1); }

}



