* {
    transition: all 0.3s ease-in-out;
}

  

  /* Bootstrap-like container for better responsiveness */
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  

  /* Flexbox utilities */
  .d-flex {
    display: flex;
  }
  
  .flex-wrap {
    flex-wrap: wrap;
  }
  
  .justify-content-between {
    justify-content: space-between;
  }
  
  .align-items-center {
    align-items: center;
  }

/* Header animations */
.header {
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navigation a {
    position: relative;
    overflow: hidden;
}

.navigation .contact-btn::after {
    background-color: #731819;
    height: 0px !important;
    content: '';
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffe3;
    transition: width 0.3s ease;
}





@media screen and (max-width:480px){

  body{
    width: 500px;

  }
  .header {
    background-color: #731819;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    max-width: 450px;
}

.logo h1 {
    font-size: 18px;
}

.navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.navigation ul li {
margin-top: 20px;

}
.navigation a {
    text-decoration: none;
    color: #ffffe3;
    font-weight: bold;
}

.hero-backgrounds {
  position: relative;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  width: 100%;
  height: calc(68vh - 84px);
  background: url(../slideshow/slide_pic/index_1.jpg) no-repeat center center / cover;
  
}
.slider {
  overflow: hidden;
  width: 100vw;
  height: 50 !important;
  /* position: relative; */
 }
.welcome-section {
  position: relative;
  z-index: 2;
  margin-left: 90px !important;
  display: flex;
  outline-color: white;
  /* border: 1px solid; */
  justify-content: center;
  flex-direction: column;
  gap: 0rem;
  place-content: center;
  place-items: center;
}


.welcome-section h2 {
  font-size: 2.5em;
  margin-block: 0rem ;
}

.stay-with-us{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 0px !important;
  flex-wrap: wrap;
  background-color: #f5f5dcb3;
  border-radius: 10px;
  width: 350px !important;
  margin: 10px auto;
}

.content {
  text-align: justify;
  padding: 0 !important;
}

.content-container {
  position: relative;
  z-index: 2;
  color: #ffffe3;
}

.content-container h2 {
  font-size: 2em !important;
  margin-top: -70px;
}

.content-container hr {
  border: 0;
  height: 2px;
  background: #ffffe3;
  width: 50px;
  margin-top: -10px !important;
  margin-bottom: 20px;
}



.about-us-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  color: black;
  width: 90% !important;
  padding: 20px;
  background-color: #f5f5dcb3;
  align-items: center;
}

.slideshow-container {
  position: relative;
  max-width: 80%;
  margin: auto;
}

.slideshow-grid {
  display: grid;
  grid-template-columns: repeat(5, 2fr);
  gap: 15px;
}

.slideshow-grid img {
  width: 100%;
  height: 160px;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
}

.slideshow-grid img:hover {
  transform: scale(1.09);
}

.dot-container {
  text-align: center;
  padding: 20px 0;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #731819;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #adadad;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  display: block;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffe3;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.restaurant-opening {
  text-align: center;
  /* padding: 20px; */
  color: black;
  width: 90% !important;
  max-width: 1150px;
  margin-inline: 8%;
  /* background-color: #fcfcf4; */
  border-radius: 10px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.restaurant-heading {
  color: #731819;
  font-size: 38px;
  margin-bottom: 20px;
}

.info-text{
  color: #731819;
  font-size: 24px;
  font-weight: 600;

}


.restaurant-subheading {
  font-size: 22px;
  font-weight:500 ; 
  margin-bottom: 20px;
}

.restaurant-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.info-text {
  flex: 1;
  text-align: left;
  margin: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 17px;
}


.icon {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}



.book-button {
  background-color: #731819;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 6px;
  border: 2px solid #ffffe3;
}


.book-button:hover {
  background-color: #a31c00;
}

.info-image {
  flex: 1;
  margin: 10px;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.restaurant-footer {
  font-size: 16px;
  margin-top: 20px;
  font-size: 22px;
  font-weight: 700;
}

.image-container {
  flex: 0 0 40%;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 40px ;
}

.footer {
  background-color: #a47e3c;
  color: white;
  text-align: center;
  width: -webkit-fill-available;
  padding: 22px 0;
  font-size: 18px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}
.footer-content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 56px;
justify-content: center;
/* margin-inline: 23%; */
}


.footer-content p {
  margin: 5px 0;
}

.footer-content a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-content a:hover {
  text-decoration: underline;
}



.carousel-container {
width: 100%;
overflow: hidden;
box-sizing: border-box;
padding: 0 10px; 
}

.carousel {
display: flex;
width:100%; 
animation: scroll 20s linear infinite;
box-sizing: border-box;
}

.slidess {
flex: 0 0 calc(65% - 20px); 
margin: 0 10px;
box-sizing: border-box;
}

.slidess img {
width: 250px !important;
border-radius: 16px;
display: block;
}

@keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); } 
}

  
.table-container {
  padding: 0px !important;
  background-color: #ffffe3;
  width: 80% !important;
  width: -webkit-fill-available;
}
h2 {
  text-align: center;
  color: #731819;
  margin: 0 0 20px;
  position: relative;
}
.table-heading::before, .table-heading::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 15% !important;
  height: 1px;
  background-color: #731819;
}
h2::before {
  left: 0;
}
h2::after {
  right: 0;
}
table {
  border-collapse: collapse;
  width: 90% !important;
  margin-left: 20px !important;
}
th, td {
  border: 1px solid #b6b6b6b7;
  padding: 0px !important;
  text-align: center;
  font-size: 19px;
}
th {
  font-weight: bold;
  color: #731819;
  place-content: center;
  height: 100px;
  vertical-align: bottom;
}

.price {
  font-weight: bold;
  font-size: 18px !important;
  color: rgb(67, 67, 67);
  padding: 20px 10px !important;
}




.price-section {
  width: 80%;
 
  margin: 0px 20px 20px 20px;
  /* background-color: #f8f8e6; */
  border-radius: 10px;
  padding: 0px 20px 20px 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}



}



.navigation a:hover::after {
    width: 100%;
}

/* Button hover effects */
.btn, .contact-btn, .book-button {
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn:hover, .contact-btn:hover, .book-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active, .contact-btn:active, .book-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Welcome section animations */
.welcome-section h2 {
    animation: fadeInUp 0.8s ease-out;
}

.welcome-section p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.welcome-section .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dynamic section hover effect */
.dynamic-section {
    transition: transform 0.3s;
}

.dynamic-section:hover {
    transform: scale(1);
}

/* About us section animations */
.about-us-grid {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.about-us-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slideshow hover effects */
.slideshow-grid img {
    transition: transform 0.3s, box-shadow 0.3s;
}

.slideshow-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Restaurant section animations */
.restaurant-opening {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.restaurant-opening.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer animations */
.footer {
    animation: fadeInUp 0.5s ease-out;
}

/* Lightbox animations */
.lightbox {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffe3;
    width: auto;
    background-color: #f5f5dcb3;
}

.header {
    background-color: #731819;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.logo h1 {
    font-size: 1.5em;
    color: #ffffe3;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navigation a {
    text-decoration: none;
    color: #ffffe3;
    font-weight: bold;
}

.contact-btn {
    background-color: #731819;
    border: 2px solid #ffffe3;
    padding: 10px 15px;
    border-radius: 9px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #A00B0B;
}
.main-content {
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    align-items: center;
    /* background: url(../slideshow/slide_pic/index_1.jpg) no-repeat center center / cover; */
    text-align: center;
    /* backdrop-filter: grayscale(); */
    background-blend-mode: overlay;
    /* opacity: 96%; */
    /* backdrop-filter: blur(1px); */
    /* padding: 20px; */
}



.hero-background {
    position: relative;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    min-height: calc(90vh - 84px);
    background: url(../slideshow/slide_pic/index_1.jpg) no-repeat center center / cover;
}


/*  */


.btn {
    background-color: #C60F0F;
    color: #ffffe3;
    padding: 15px 25px;
    width: max-content;
    /* margin-top: 6%; */
    border-radius: 5px;
    border: 1px solid #ffffe3;
    /* outline: white; */
    stroke: #ffffe3;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}
.btn:hover {
    background-color: #A00B0B;
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity */
    z-index: 1;
}
.dynamic-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #721819;
    width: -webkit-fill-available;
    min-height: 120px;
    text-align: center;
    padding: 60px 0px 20px ;

}
.dynamic-section .overlay {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../pic/logo_stadthotel.png) no-repeat center center;
    background-size: 35%;
    opacity: 0.1;
    z-index: 1;
}

.table-heading::before, .table-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35% !important;
    height: 2px !important;
    background-color: #731819;
}

.dynamic-section h1 {
    color: #ffffe3;
    font-size: 2em;
    z-index: 2;
    margin-bottom: 20px;
}

.line-container {
    display: flex;
    align-items: center;
    z-index: 2;
}

.line {
    flex-grow: 1;
    height: 1px;
    background-color: #ffffe3;
}

.line-text {
    margin: 0 10px;
    color: #ffffe3;
    font-size: 1.2em;
}


.content-container {
    position: relative;
    z-index: 2;
    color: #ffffe3;
}

.content-container h2 {
    font-size: 2.5em;
    color: #ffffe3;
    margin-top: -80px;
}

.content-container hr {
    border: 0;
    height: 3px;
    background: #ffffe3;
    width: 50px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.content-container p {
    font-size: 1.2em;
    margin-top: 10px;
}


.stay-with-us {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px !important;
  flex-wrap: wrap;
  background-color: #f5f5dcb3;
  border-radius: 10px;
  max-width: 1200px;
  margin: 20px auto;
  /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
}

.content {
    flex: 1;
    text-align: left;
    padding: 40px 50px 40px 0px;
}

h2 {
    color: #ffffe3;
    font-size: 42px;
    margin: 0 0 10px;
}

.subtitle {
    color: #731819;
    font-size: 21px;
    margin: 0 0 10px;
    font-weight: 700;
}

.description {
    font-size: 19px;
    line-height: 1.3;
    color: #333;
    margin-bottom: 40px;
}
.book-button {
    background-color: #731819;
    color: #ffffe3;
    border: none;
    padding: 15px 35px;
    font-size: 19px;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #6c0b1c;
}

.image-container {
    flex: 0 0 40%;
    overflow: hidden;
    border-radius: 20px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.restaurant-footer {
    font-size: 16px;
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
}



.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.image-item {
  flex: 0 0 calc(20% - 10px); /* 5 images per row by default */
  max-width: calc(20% - 10px);
  box-sizing: border-box;
}

.image-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 10px;
  display: block;
}

.image-item img:hover {
  transform: scale(1.05);
}

/* Responsive breakpoints */
@media screen and (max-width: 1024px) {
  .image-item {
    flex: 0 0 calc(25% - 10px); /* 4 images per row */
    max-width: calc(25% - 10px);
  }
}

@media screen and (max-width: 768px) {
  .image-item {
    flex: 0 0 calc(33.33% - 10px); /* 3 images per row */
    max-width: calc(33.33% - 10px);
  }
}

@media screen and (max-width: 480px) {
  .image-item {
    flex: 0 0 calc(50% - 10px); /* 2 images per row */
    max-width: calc(50% - 10px);
  }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffe3;
    font-size: 40px;
    cursor: pointer;
}




.table-container {
    padding: 80px 80px !important;
    background-color: #ffffe3;
    /* padding: ; */
    width: -webkit-fill-available;
}
h2 {
    text-align: center;
    color: #731819;
    margin: 0 0 20px;
    position: relative;
}
.table-heading::before, .table-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #731819;
}
h2::before {
    left: 0;
}
h2::after {
    right: 0;
}
table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    border: 1px solid #b6b6b6b7;
    padding: 0px !important;
    text-align: center;
    font-size: 19px;
}
th {
    font-weight: bold;
    color: #731819;
    place-content: center;
    height: 100px;
    vertical-align: bottom;
}

.price {
    font-weight: bold;
    font-size: 26px;
    color: rgb(67, 67, 67);
}




.price-section {
    width: 80%;
   
    margin: 0px 20px 20px 20px;
    /* background-color: #f8f8e6; */
    border-radius: 10px;
    padding: 0px 20px 20px 20px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}



/* Mobile and Tablet Responsiveness */
@media (max-width: 768px) {
  .table-container {
    padding: 40px 10px !important;
    width: 100% !important;
  }

  h2 {
    font-size: 1.5em;
    margin: 0 0 10px;
  }

  table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  th, td {
    padding: 10px !important;
    font-size: 16px;
  }

  th {
    height: auto;
  }

  .rotate {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
  }

  /* Adjusting rotation for smaller screens */
  th .rotate {
    writing-mode: horizontal-tb;
    transform: rotate(0);
  }
}

/* Additional fine-tuning for very small screens (e.g., smartphones) */
@media (max-width: 480px) {
  .table-container {
    padding: 20px 5px !important;
  }

  th, td {
    padding: 5px !important;
    font-size: 14px;
  }

  h2 {
    font-size: 1.2em;
  }

  .price-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 20px;
}

.price-list {
  flex: 1;
  margin-right: 0px !important;
  place-items: center;
  align-self: center;
}

}


path{
    fill: transparent;
}

.price-header {
    text-align: center;
    margin-bottom: 20px;
    height: 152px;
    position: relative;
    
}

.curved-text-2{
    position: relative;
    top: -77px;


}
.curved-text {
    width: 100%;
    height: 100px;
}

.curved-text text {
    font-size: 10px;
    font-weight: 900;
    fill: #a6281e;
}

.price-header img {
    width: 74px;
    height: 64px;
    right: 46%;
    top: 52%;
    position: absolute;
    /* margin-top: -73px; */
}

.price-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.price-list {
    flex: 1;
    margin-right: 20px;
    place-items: center;
    align-self: center;
}

.price-item {
    background-color: #731819;
    color: #ffffe3;
    padding: 17px 30px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-image {
    flex: 1;
    text-align: center;
}

.price-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}



.footer {
    background-color: #a47e3c;
    color: #ffffe3;
    text-align: center;
    width: -webkit-fill-available;
    padding: 22px 0;
    font-size: 18px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 200px;
    height: auto;
}
.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 56px;
  justify-content: center;
  /* margin-inline: 23%; */
}

.footer-content2{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    /* margin-inline: 23%; */
}
.footer-content2 p{
    margin-block: 10px;
}


.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: #ffffe3;
    text-decoration: none;
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline;
}




.slider {
  overflow: hidden;
  width: 100vw;
  height: 80vh;
  position: relative;
 }
  
 .slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slider 12.5s infinite;
 }
  
 .slider .slide:nth-child(1) {
    background-image: url('../pic/zimmer_5.jpg');
    animation-delay: 0s;
 }
 
 .slider .slide:nth-child(2) {
    background-image: url('../pic/zimmer_4.jpg');
    animation-delay: -2.5s;
 }
 
 .slider .slide:nth-child(3) {
    background-image: url('../pic/zimmer_3.jpg');
    animation-delay: -5s;
 }
 
 .slider .slide:nth-child(4) {
    background-image: url('../pic/zimmer_2.jpg');
    animation-delay: -7.5s;
 }
 
 .slider .slide:nth-child(5) {
    background-image: url('../pic/zimmer_1.jpg');
    animation-delay: -10s;
 }
 
 @keyframes slider {
  0%, 16%, 100% {
    transform: translateX(0);
    animation-timing-function: ease;
  }
  20% {
    transform: translateX(-100%);
    animation-timing-function: step-end;
  }
  96% {
    transform: translateX(100%);
    animation-timing-function: ease;
  }
 }