/* General Reset */
html {
    scroll-behavior: smooth;
}

body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    overflow-x:hidden;
}

p {
    font-family: "raleway", sans-serif;
font-weight: 400;
font-style: normal;
}

h1 {
    font-family: "goodlife-brush", sans-serif;
    font-weight: 400;
    font-size: 20em;
    line-height: 1em;
    font-style: normal;
}

h2 {
    font-family: "goodlife-sans-condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4em;
    line-height: 1em;
}

h3 {
    font-family: goodlife-sans-condensed, sans-serif;
font-weight: 400;
font-style: normal;
}

body {
    line-height: 1.6;
}

header {
    background-color: #ff7f50;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(to bottom, rgba(43, 43, 43, 0.75), rgba(0, 0, 0, 0));
    padding: 1rem 2rem;
    color: white;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    height: 50%;
}

nav {
    font-family: "goodlife-sans-condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    backdrop-filter: blur(1px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    box-sizing: border-box;
    position: fixed;
    top: 0; /* Distance from the top */
    width: 100%;
    color: white;
    padding: 1.5rem;
    z-index: 1000; /* Ensures it stays above other content */
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between image and links */
    font-size: 1.75rem;
}

nav img {
    height: 3rem; /* Adjust the image size */
}

nav .clickystuff {
    display: flex; /* Group links together */
}

nav a {
    font-size: 1.75rem;
    color: white;
    text-decoration: none;
    padding: 0 15px;
    border-right: 1px solid white; /* Adds a line to the right of each link */
    border-left: 1px solid white; /* Adds a line to the right of each link */
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

nav a:hover {
    color: rgb(0, 0, 0) ;
}

.hero {
    background-image: url(../img/empanada_background.png);
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .btn {
    background-color: #ff7f50;
    color: white;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero p {
    font-size: 2rem;
    margin: 1em;
}

.hero .btn:hover {
    background-color: #e67340;
}

.about, .contact {
    padding: 4rem 2rem;
    text-align: center;
}

.about {
    background-color: #ffcf68;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0)), #ffcf68;
}


.menu-category {
    padding: 30px;
    background-color: #fff;
    margin: 20px auto;
    width: 90%;
    max-width: 1000px; /* increased max-width for more space */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .menu-category h2 {
    text-align: center;
    font-size: 4em; /* Increased font size */
    color: #333;
  }

  .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px; /* Increased padding */
    border-bottom: 1px solid #ddd;
  }

  .menu-item-details {
    flex: 1;
  }

  .menu-item h3 {
    font-size: 2em; /* Increased font size */
    color: #444;
    margin: 0.015em;
  }

  .menu-item p {
    font-size: 1.2em; /* Increased font size */
  }

  .price {
    font-weight: bold;
    color: #d9534f;
  }

  /* Style for the images and the hover effect */
  .menu-item-image {
    position: relative;
    width: 200px; /* Increased width */
    height: 200px; /* Increased height */
  }

  .menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease-in-out;
  }

  .menu-item-image img.second-image {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
  }

  .menu-item-image:hover img.first-image {
    opacity: 0;
  }

  .menu-item-image:hover img.second-image {
    opacity: 1;
  }




.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact input, .contact textarea, .contact button {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.sticky-box {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the page */
    right: 20px;  /* Distance from the right of the page */
    padding: 10px 20px;
    background-color: rgba(163, 0, 0, 0.7); /* Semi-transparent black background */
    color: white;
    border-radius: 8px;
    font-size: 16px;
    z-index: 1000; /* Ensure the sticky box is above other elements */
  }

  nav p {
    font-family: "goodlife-brush", sans-serif;
  }

/* Responsive Styles */

/* General Mobile First Styles */
body {
    font-size: 16px;
}

.hero {
    height: 70vh;
    padding: 2rem;
}

.hero h1 {
    font-size: 4em;
}

/* Larger Screens (Tablet) */

@media (min-width: 768px) {
    nav a{
        font-size: 3rem;
    }

    .hero {
        height: 100vh;
    }
}

/* Desktop and Larger Screens */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 10em;
    }
}


.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }

    .about-text {
        flex: 2;
    }

    .about-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
