* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  padding: 0px;
  margin: 0px;
  padding-top: 50px;
  font-family: 'Lato', sans-serif;
  color: #4e342e;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #e3d5ca;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  color: #3e302b;
}

.nav-link {
  color: #3e302b !important;
  font-weight: 600;
}

.nav-link:hover {
  color: #8b5e3c !important;
  text-decoration: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-load {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.hero {
  background-color: #f4ede7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 1rem;
}

.hero-content {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #6d4c41;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.btn-hero {
  padding: 0.8rem 1.6rem;
  background-color: #6d4c41;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 25px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn-hero:hover {
  background-color: #5d4037;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
}

.menu {
  background-color: #ede0d4;
  padding: 4rem 1rem;
  border-top: 2px solid #c7a17a;
  border-bottom: 2px solid #c7a17a;
}

.menu h2 {
  font-family: "Satisfy" , cursive;
  color: #6d4c41;
  text-align: center;
  margin-bottom: 2rem;
}

.menu-category {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.category {
  background-color: #d7ccc8;
  padding: 1rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.category:hover,
.category.active {
  background-color: #a1887f;
  color: #fff;
}

.coffee-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.coffee-item {
  width: 250px;
  text-align: center;
  background-color: #d2beae;
  padding: 1rem;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.coffee-item:hover{
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.coffee-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.about {
  background-color: #f4ede7;
  padding: 4rem 1rem;
}

.about h2 {
  font-family: "Satisfy" , cursive;
  color: #6d4c41;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about p {
  text-align: justify;
  line-height: 1.8;
  background-color: #e3d5ca;
  padding: 1.5rem;
  border-radius: 15px;
  max-width: 800px;
  margin: auto;
}

#open-hours {
  background-color: #ede0d4;
  padding: 60px 20px;
  border-top: 2px solid #c7a17a;
  border-bottom: 2px solid #c7a17a;
}

#open-hours h2 {
  font-family: "Satisfy" , cursive;
  color: #6d4c41;
  margin-bottom: 30px;
  text-align: center;
}

.table-wrapper {
  display: flex;
  justify-content: center;
}

.table-open-hours {
  width: 80%; 
  max-width: 1000px; 
  border-collapse: collapse;
  background-color: #fff8f0;
  box-shadow: 0 0 10px rgba(109, 76, 65, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table-open-hours caption {
  caption-side: top;
  text-align: center;
  font-weight: bold;
  color: #6d4c41;
  padding: 10px;
  font-size: 1.1rem;
}

.table-open-hours th,
.table-open-hours td {
  padding: 15px;
  text-align: left;
  color: #4e342e;
}

.table-open-hours tbody tr {
  background-color: #e3d5ca;
  border-bottom: 1px solid #5d4037;
  color: #3e2723;
}

.table-open-hours thead {
  background-color: #a1887f;
  color: #ffffff;
}
.table-open-hours th {
  font-weight: bold;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .table-open-hours table,
  .table-open-hours thead,
  .table-open-hours tbody,
  .table-open-hours th,
  .table-open-hours td,
  .table-open-hours tr {
    display: block;
    width: 100%;
  }

  .table-open-hours thead {
    display: none;
  }

  .table-open-hours tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #d7ccc8;
  }

  .table-open-hours td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .table-open-hours td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: bold;
    color: #6d4c41;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .btn-hero {
    font-size: 0.95rem;
  }

  .menu-category {
    flex-direction: column;
    align-items: center;
  }

  .coffee-items {
    flex-direction: column;
    align-items: center;
  }

  .coffee-item {
    width: 90%;
  }
}
section {
  transition: background-color 0.3s ease;
}
