@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');

/*CSS Variables*/
:root{
    --primary-font: "Roboto Flex", sans-serif;
    --secondary-font: "Poetsen One", sans-serif;
}

/* Global styles */

body {
    font-family: var(--primary-font);
    

}
h1, h2, h3{
    font-family: var(--secondary-font);
}

main {
  padding-top: 70px;
}
/*Navbar*/
.navbar-brand .nav-header {
  color: red;
  font-family: var(--secondary-font); 
  font-size: 2rem;
}
.navbar-nav{
    font-size: 1.3rem;
}


#headerindex {
  position: relative;
  background-image: url('/static/images/introductionimage.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
/*To make sure the background gets darker*/
#headerindex::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

#headerindex .container {
  position: relative;
  z-index: 2; 
  text-align: center;
  color: white;
}
#headerindex h1 {
  font-size: 2.5rem;
}

.headingheader {
  font-size: 2.5rem; 
}
.introduction-text{
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
}
/*Menu*/
#menu{
    padding-top: 70px;
}
#menu h2{
    margin-top: 50px;
    text-align: center;
    font-size: 3rem;
}
.menu-items {
  list-style: none;
  padding-left: 10px;
  margin: 0;
  display: grid;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}
.dish{
    font-family: var(--secondary-font);
}
.menu-items li {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 8px;
  background-color: #fffbee;
}
.menu-items li h3 {
  text-align: left;
  margin-left: 0;
  font-size: 2rem;
}

.price {
  color: red;
  font-weight: bold;
}

.ingredients {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}


#about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-color: rgb(65, 64, 64); 
  margin-top: 60px;
  margin-bottom: 60px;
  padding-top: 70px;
  
}

.about-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px; 
  gap: 20px; 
}

.about-text {
  flex: 1;
  max-width: 500px; 
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.about-text p {
  font-size: 1rem;
 color: white;
}

.about-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.carousel-images {
  display: flex;
}

.carousel-image {
  min-width: 100%;
  transition: transform 0.5s ease;
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.carousel-image img {
  width: 80%; 
  height: 80%; 
  object-fit: cover; 
  border-radius: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5); 
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.left {
  left: 10px;
  background-color: transparent;
  font-size: 2rem;
}

.carousel-btn.right {
  right: 10px;
  background-color: transparent;
  font-size: 2rem;
}


/*Form styling*/
#reserve-form{
    margin-top: 100px;
}
form {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#cancel-my-booking{
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
form input[type="text"],
form input[type="number"],
form input[type="date"],
form input[type="radio"],
form button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="radio"] {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

form button {
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

form button:hover {
    background-color: #555;
}


.reservation-message {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #e6ffed;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    color: #2b7a0b;
}

.reservation-message input[type="text"] {
    margin-top: 10px;
}

/*Footer*/
#footer{
    padding-top: 70px;
}
#contact {
  list-style: none;
  padding: 0;
}

#contact li {
  margin-bottom: 15px;
}

#map{
    height: 300px;
    width: 100%;
}

#socialmedia{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap:60px;
    justify-content: center;
    font-size: 2rem;
}

#socialmedia i{
    color: red;
}


@media screen and (min-width: 400px) and (max-width: 768px) {
  .menu-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
    
  .menu-items {
    grid-template-columns: repeat(3, 1fr);
  }
  .introduction-text{
  max-width: 500px;
}
.about-container {
  flex-direction: row; 
  
}

}
