
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  height: 100%;
  overflow: hidden;
}

body { 
  margin: 0;
  padding: 0;
  perspective: 1px;
  transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: Nunito, Arial, sans-serif; /* Added fallback fonts */
}

h1 {
  font-size: 250%;
}

p {
  font-size: 140%;
  line-height: 150%;
  color: #333;
}

/* Navigation bar */
#navbar {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
}

#navbar a {
  color: black;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

#navbar .left a {
  margin-right: 20px;
  font-size: 20px;
  vertical-align: middle;
}

#navbar .right a {
  margin-left: 20px;
  font-size: 20px;
  vertical-align: middle;
}

#navbar .left img {
  height: 40px;
}

#navbar .left a:hover:not(:first-child),
#navbar .right a:hover {
  background-color: rgba(255, 0, 0, 0.8);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* popup cart */
.addtocart-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: scroll;
  background-color: rgba(0,0,0,0.8);
}

.addtocart-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
}

.close-button {
  color: red;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.delivery-button,
.pick-up-button,
.dine-in-button {
  display: block;
  width: 30%;
  margin-top: 10px;
  padding: 10px;
  font-size: 20px;
  margin: 10px auto;
}
/* Parallax */

.slide {
  position: relative;
  padding: 15vh 10%; /* Adjusted padding for better content visibility */
  min-height: 100vh; /* Set minimum height to cover the viewport */
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
  transform-style: inherit;
}

.slide img {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 320px;
  height: 240px;
  transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.slide img:last-of-type {
  transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}

.slide:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .7);
}

.title {
  width: 50%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.slide, .slide:before {
  background: 50% 50% / cover;  
}

.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

#title {
  position: relative;
  background-image: url("KFC\ Big\ Treat\ Week_Kolkata.jpeg"); 
  z-index: 2;
  height: 40vh; /* Adjusted height for the header slide */
}

#title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); 
  
}

#title h1 {
 transform: translateZ(.25px) scale(.75);
 transform-origin: 50% 100%;
}

#slide1:before {
  background-image: url("kk.webp");
  transform: translateZ(-1px) scale(2);
}

#slide2 {
  background-image: url("open-kitchen.jpg");
  z-index:2;
}

#slide3:before {
  background-image: url("primary\ \(1\).jpg");
  transform: translateZ(-1px) scale(2);
  height: 70vh;
}

/* FAQ */
.container {
  margin: 0 auto;
  padding: 4rem;
  width: 48rem;
  margin-top: 10%;
  font-size: 30px;
  z-index: 1000;
}

.container h2 {
  margin-bottom: 4%;
}

.accordion-item {
  border-bottom: 1px solid lightgray;
}

.accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid blue;
}

button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: text;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}

button:hover, button:focus {
  cursor: pointer;
  color: red;
}

button:hover .icon::after, button:focus .icon::after {
  cursor: pointer;
  color: red;
  border: 1px solid red;
}

.accordion-title {
  padding: 1em 1.5em 1em 0;
  font-size: 20px;
}

.icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}

.icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

button[aria-expanded='true'] .icon::after {
  width: 0;
}

.accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion-item button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 9em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}

.accordion-content p {
  font-size: 1rem;
  font-weight: 300;
  margin: 2em 0;
}








/* banner */
.banner{
  margin: 70px;
}





/* footer */
footer {
  background-color: #333;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

footer img {
  height: 30px;
  margin-right: 10px;
}

.column {
  flex: 1;
  margin-bottom: 20px;
}

.column h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.column ul {
  list-style-type: none;
  padding: 0;
}

.column ul li {
  margin-bottom: 8px;
}

.column ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.column ul li a:hover {
  text-decoration: underline;
}

.store-icons img {
  height: 70px;
  /* margin-right: 10px; */
}
