:root {
  --primary: #ff9800;
  --bg: #ffffff;
  --text-color: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--text-color);
}

#mode-toggle {
  background-color: #e0e0e0; /* Light background for the button */
  border: none; /* No border */
  padding: 10px 20px; /* Padding for the button */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 5px; /* Rounded corners */
  font-size: 16px; /* Font size */
  margin-left: 10px; /* Space from other elements */
}

#mode-toggle:hover {
  background-color: #d0d0d0; /* Slightly darker background on hover */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  font-style: italic;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: var(--text-color);
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: var(--text-color);
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../img/lukas-blazek-mcSDtbWXUZU-unsplash.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  -webkit-mask-image: linear-gradient(rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 0));
  mask-image: linear-gradient(rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 0));
}

.hero .content {
  padding: 1.4rem 7%;
  width: 100%;
  color: var(--text-color);
  text-align: center;
  position: fixed;
  top: 130px;
}

.hero .content h1 {
  font-size: 5em;
  color: var(--text-color);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: var(--text-color);
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* Menu Section CSS */
.menu {
  background-color: var(--bg);
  padding: 50px 20px;
  text-align: justify;
}

.menu h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
}

.menu h2 span {
  color: var(--primary);
}

.menu-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: left;
  transition: transform 0.3s;
  height: auto;
}

.menu-item:hover {
  transform: scale(1.05);
}

.menu-item h3 {
  text-align: justify;
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary);
}

.menu-item p {
  text-align: justify;
  font-size: 1em;
  color: var(--text-color);
  margin-bottom: 10px;
}

.menu-item img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 10px;
}

#provider {
  background-color: var(--bg);
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.provider-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.provider-item {
  width: calc(33.33% - 20px); /* Adjust width here */
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.provider-item img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.provider-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.provider-item p {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-color);
}

.provider-item label {
  font-weight: bold;
  color: var(--text-color);
}

.provider-item select, .provider-item textarea, .provider-item input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  color: var(--text-color);
}

.provider-item .send-whatsapp {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: justify;
  text-decoration: none;
  display: block;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
}

.provider-item .send-whatsapp:hover {
  background-color: #45a049;
}

@media (max-width: 768px) {
  .provider-item {
    width: 100%;
  }
}

/* about */
.about h2,
.menu h2,
.provider h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.provider h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.about .row .about-img {
  flex: 1 1 45rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem; /* Adds space below the image */
}

.about .row .about-img img {
  width: 300px;
  height: 300px;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover; /* Ensures the image covers the circle without distortion */
  border: 5px solid var(--primary); /* Adds a border around the image */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow for better visibility */
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
  text-align: justify; /* Centers the text */
}

.about .row .content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about .row .content p {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 100;
}
  /* Menu Section */
.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}

.menu p{
  text-align: justify;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
  font-weight: bold;
}

.contact h3{
  text-align: center;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.menu .row .menu-card {
  text-align: justify;
  padding-bottom: 4rem;
}

.menu .row .menu-card img {
  border-radius: 50%;
  width: 80%;
}

.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0; /* Optional: Adds some padding on top and bottom */
}

.map {
  width: 100vw; /* Full width */
  height: 400px; /* Set a fixed height */
  border: 2px solid #ccc; /* Optional: Adds a border around the map */
  border-radius: 10px; /* Optional: Adds rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for better visibility */
}

/* Footer */
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 2rem 0 4rem;
  margin-top: 3rem;
  color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  border-top: 2px solid #fff;
}

footer .socials {
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

footer .socials a {
  color: #fff;
  margin: 0 1rem;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer .socials a:hover {
  color: var(--bg);
  transform: scale(1.2);
}

footer .links {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

footer .links a:hover {
  color: var(--bg);
  background-color: #fff;
}

footer .credit {
  font-size: 0.9rem;
  margin-top: 2rem;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

footer .credit a:hover {
  text-decoration: underline;
}

/* Adding animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer .socials a,
footer .links a,
footer .credit {
  animation: fadeIn 1s ease-in-out;
}

footer .socials a {
  animation-delay: 0.2s;
}

footer .links a {
  animation-delay: 0.4s;
}

footer .credit {
  animation-delay: 0.6s;
}

/* Modal Box */
/* Item Detail */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
  position: relative;
  background-color: #fefefe;
  color: var(--text-color);
  margin: 15% auto;
  padding: 1.2rem;
  border: 1px solid #666;
  width: 80%;
  animation: animateModal 0.5s;
}

/* Modal Animation */
@keyframes animateModal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-container .close-icon {
  position: absolute;
  right: 1rem;
}

.modal-content {
  display: flex;
  flex-wrap: nowrap;
}

.modal-content img {
  height: 20rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.modal-content p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-top: 1.2rem;
}

.modal-content a {
  display: flex;
  gap: 1rem;
  width: 12rem;
  background-color: var(--primary);
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 1.6rem;
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -50%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--text-color);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
    font-weight: bold;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }

  .modal-content {
    flex-wrap: wrap;
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
  }
  .navbar .navbar-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    font-style: italic;
    display: flex;
    flex-direction: column;
  }
  
  .navbar .navbar-logo span {
    color: var(--primary);
  }
}

/* Mini Phone */
@media (max-width: 350px) {
  html {
    font-size: 45%;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid #ccc;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }
}

