* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #160F0B 0%, #1a0f08 50%, #0d0704 100%);
    color: #160F0B;
    line-height: 1.6;
    overflow-x: hidden;
}

#home {
  scroll-margin-top: 100px; 
}



html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; 
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('../img/index_img/backgroundimg.png') repeat,
        linear-gradient(135deg, #160F0B 0%, #1a0f08 50%, #0d0704 100%);
    background-size: 250px, cover; /* beans pattern size, gradient full */
    background-blend-mode: overlay;
    opacity: 0.25; /* adjust bean visibility */
    z-index: -1;
}

.subtitle {
    font-family: 'Cherry Cream Soda', cursive; /* or whichever font you want */
    font-size: 24px;
    color: #FFEDDA; /* example */
}



.header {
  background: #120C09;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #b79b7e;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px; 
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;   
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.header .auth-buttons {
    display: flex;          /* arrange items horizontally */
    align-items: center;    /* vertical alignment */
    gap: 20px;              /* space between username and buttons */
}

.header .welcome-text {
    font-size: 14px;
    font-weight: bold;
    color: #FFEDDA;
    
}



.logo {
    justify-self: start;
     display: flex;
    justify-content: center;
    
}
.logo img {
  width: 170px;   
  height: auto;

}




.nav {
    display: flex;
    justify-content: center;
    gap: 60px;
}


.auth-buttons {
    justify-self: end;
    display: flex;
    gap: 12px;
}

.nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.nav a:hover {
    color: #7D583E;
}



.login-btn,
.signup-btn {
    padding: 8px 20px;
    border: 1px solid #FFEDDA;
    background: transparent;
    color: #FFEDDA;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover,
.signup-btn:hover {
    background: #FFEDDA;
    color: #000000;
}


.section-divider {
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(to right, transparent, rgba(219,186,150,0.6), transparent);
  margin: 40px 0; /* adds nice space around it */
}

.hero {
  background-image: url("../img/index_img/backgroundimg.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
  overflow: hidden;
  border-bottom: 1px solid #b79b7e;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 0;
}


.hero-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-title {
  position: absolute;
  top: 70px;
  right: 30px;
  width: 700px;  
  height: auto;   
}


.subtitle {
  position: absolute;
  font-family: 'Fuggles', cursive;
  top: 150px;
  left: 1000px;
  font-size: 3.2rem;
  color: #f5f5f5;
}

.hero-description {
  position: absolute;
  bottom: 270px;
  right: 50px;
  text-align: right;
}

.hero-description h2 {
  font-size: 3rem;
  font-family: 'Georgia', serif;
  font-weight: 100;
  line-height: 1.3;
}

.hero-description p {
  font-size: 2.2rem;
  font-family: 'Comforter', cursive;
  font-style: italic;
}

.menu-btn {
  position: absolute;
  bottom: 160px;
  right: 320px;
  padding: 18px 100px;
  border: 2px solid #f5f5f5;
  background: #120B07;
  color: #f5f5f5;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: #FFEDDA;
  color: #1a0f08;
}

.hero-img {
  position: absolute;
  opacity: 0;
  animation-fill-mode: forwards;
}


.fries {
  animation: slideInLeft 1s ease forwards;
  animation-delay: 0s;
  top: -30px;
  left: -10px;
  width: 260px;
}


.latte {
  animation: slideInRight 1s ease forwards;
  animation-delay: 1.2s;
  top: 120px;
  left: 200px;
  width: 330px;
  height: auto;
}


.iced-coffee {
  animation: slideInUp 1s ease forwards;
  animation-delay: 2.4s;
  top: 330px;
  left: -10px;
  width: 500px;
}


@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


@keyframes slideInUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.about {
  position: relative;
  background-image: url('../img/index_img/2backgroundimg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add a dark overlay */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* adjust darkness */
  z-index: 0;
}


.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
  position: relative;
}

.about-image img {
  width: 300px;
  height: auto;
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-intro {
  font-size: 1.4rem;
  color: #dcdcdc;
  line-height: 1.4;
  font-family: 'Barlow', sans-serif;
  font-weight: 100;
  font-style: italic;
  margin-bottom: 20px;
}

.about-description {
  font-size: 2rem;
  color: #fff;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  margin-bottom: 50px;
}

.vision-mission {
  margin-top: 30px;
}

.vision, .mission {
  margin-bottom: 30px;
}

.vision h3, .mission h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.vision p, .mission p {
  font-size: 1.4rem;
  color: #cccccc;
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  line-height: 1.4;
}

.iced-drink-image img {
  width: 320px;
  height: auto;
}

  .about-image, .iced-drink-image {
    display: none; /* optional: hide drinks on small screens */
  }

  .about-content {
    padding: 0 20px;
  }
.story {
  position: relative;
  background-image: url("../img/index_img/storybgm.jpg"); /* use your chosen bg */
  background-size: cover;
  background-position: center;
  height: 100vh; /* same as hero */
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid #b79b7e;
  border-top: 1px solid #b79b7e;
}

.story::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* overlay darkness */
  z-index: 0;
}

.story-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 40px;
}

.story-title {
  font-family: 'Playfair Display', serif; /* elegant heading font */
  font-size: 3.9rem;
  font-weight: 700;
  color: #ffffff; /* café gold tone */
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.story-text {
  font-size: 1.4rem;
  line-height: 1.8;
  font-style: normal;
  color: #dcdcdc;
  font-family: 'Inter', sans-serif;
  font-weight: 100;


  margin-bottom: 20px;
}

/* Optional responsive tweak */
@media (max-width: 768px) {
  .story {
    height: auto;
    padding: 80px 20px;
  }
  .story-title {
    font-size: 2.2rem;
  }
  .story-text {
    font-size: 1.2rem;
  }
}


footer {
    background: rgb(0, 0, 0) !important;
    border-top: 1px solid #b79b7e;
    padding: 40px 30px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    
    display: grid;
    grid-template-columns: 2fr 1fr; /* links | social+contact */
    gap: 40px;
    align-items: start;
   
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
  
}

.footer-links a {
   
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  
    
    
}

.footer-links a:hover {
    color: #7D583E;
}

/* Social + Contact wrapper */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    margin-right: -115px;
    margin-bottom: 50px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #FFEDDA;
    border-radius: 50%;
    color: #FFEDDA;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FFEDDA;
    color: #1a0f08;
}

.contact-footer a {
    color: #FFEDDA;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.contact-footer a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 10px;
    font-size: 12px;
    color: #999999;
}



@media (max-width: 1000px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
    .nav {
        gap: 40px;
    }
    .hero-description {
        right: 20px;
        bottom: 200px;
    }
    .main-title {
        font-size: 3.5rem;
        left: 30px;
        top: 15px;
    }
    .subtitle {
        font-size: 2rem;
        left: 30px;
        top: 75px;
    }
    .about-description {
        position: relative;
        left: auto;
        margin-top: 20px;
        font-size: 1.4rem;
    }
    .vision h3, .mission h3 {
        position: relative;
        left: auto;
        top: auto;
        font-size: 1.4rem;
    }
    .vision p, .mission p {
        position: relative;
        left: auto;
        margin-right: auto;
        font-size: 1rem;
    }
    .bread-basket {
        display: none;
    }
    .iced-drink {
        display: none;
    }
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
}

.logo-img.admin-active {
  animation: shake 0.3s infinite;
  filter: brightness(1.1);
}
.logo-img.admin-active {
  animation: shake 0.3s infinite;
  filter: drop-shadow(0 0 10px #e0b347);
}.logo-img::after {
  content: " ";
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s;
}
.logo-img.admin-active::after {
  content: "Access Portal Ready 🔓";
  position: absolute;
  bottom: -25px;
  left: 0;
  font-size: 12px;
  color: #e0b347;
  opacity: 1;
}

