@font-face {
    font-family: 'MondeurRegular';
    src: url('fonts/mondeur-mondeur-regular-400.ttf') format('truetype');
}

@font-face {
    font-family: 'DejaVuSerifCondensed-Bold';
    src: url('fonts/DejaVuSerifCondensed-Bold.ttf') format('truetype');
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body, html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'MondeurRegular', serif !important;
    margin: 0;
    padding: 0;
    background-color: #dbccbcb3;
    color: #3b2a1b;
}

h1, h2, h3 {
    color: black;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    padding: 15px;
    background: linear-gradient(to top, rgba(1, 73, 1, 0), transparent), white;
    color: black;
    position: relative;
}

@media (max-width: 768px) {
    header {
        padding: 8px 15px; /* Reduced vertical padding */
    }
}

.logo-container {
    bottom: 2rem;
    margin-top: -2rem;
    margin-left: -2rem;
    flex: 1;
    height: auto;
    width: 10rem;
}

.logo {
    height: auto;
    width: 10rem;
}

.left-buttons, .right-buttons {
    display: flex;
    gap: 2.5rem; /* Increased gap to make buttons larger */
    align-items: center;
    margin-top: 25px; /* Adjust margin to move buttons higher */
}

.left-buttons {
    flex: 15;
    justify-content: right;
}

.right-buttons {
    flex: 5;
    justify-content: flex-end;
}

.nav-button {
    padding: 15px 25px; /* Increased padding to make buttons larger */
    background-color: white;
    color: black;
    text-decoration: none;
    font-size: 2rem; /* Increased font size */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-button.about-us {
    min-width: 140px; /* Set a minimum width to ensure text fits well */
}

.nav-button:hover {
    background-color: darkgreen;
    color: white;
}

.orders-button {
    padding: 15px 25px; /* Increased padding to make buttons larger */
    background-color: white;
    color: black;
    text-decoration: none;
    border: 2px solid darkgreen;
    font-size: 2rem; /* Increased font size */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.orders-button:hover {
    background-color: darkgreen;
    color: white;
    border-color: darkgreen;
}

.title {
    margin-top: -3rem;
    font-size: 6rem;
    font-family: "DejaVuSerifCondensed-Bold", serif !important;
    font-weight: bold;
    font-style: normal;
    text-align: right;
    color: darkgreen;
    position: absolute;
    bottom: 2rem;
    left: 22%;
    transform: translateX(-50%);
}

@media (max-width: 1500px) {
    .title {
        display: none;
    }
}

@media (max-width: 768px) {
    .title {
        display: block;
        margin-top: 0.5rem;
        font-size: 4rem;
        top: 1.1rem;
        margin-right: 4rem;
    }

    .logo-container {
        margin-top: -1.5rem;
        width: 5rem;
    }

    .logo {
        width: 7rem;
        margin-left: 0.5rem;
    }
}

/* Hide Navbar Menu on Desktop */
.navbar__menu {
    display: none;
}

/* Mobile Menu Toggle */
.navbar__toggle {
    max-width: 100vw;
    overflow: hidden;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 35px; 
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 1000;
    background-color: white; /* Fill the space with white */
    padding: 5px;
    border-radius: 0%; /* Circular shape */
    border: 2px solid white; /* White border */
}

.navbar__toggle .bar {
    width: 100%;
    height: 5px;
    background-color: rgb(34, 20, 2);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar__toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar__toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Big Image Section */
.big-image-section {
    width: 100%;
    height: 60vh;
    background-image: url('Pics/trailer1.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .big-image-section {
        background-size: 100% auto; 
        background-attachment: fixed;
        height: 10vh; 
        padding-top: 3rem;
    }
}

/* Image Buttons */
.image-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background-color: white;
    padding: 20px 0;
}

.image-button {
    position: relative;
    width: 20vw;
    height: 20vw;
    border-radius: 100%;
    overflow: hidden;
}

.image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: rotate(270deg);
}

.image-button:hover img {
    transform: rotate(270deg) scale(1.05);
}
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.menu-overlay {
    transform: translate(-50%, -50%);
}

.order-overlay {
    transform: translate(-50%, -50%);
}

.meet-us-overlay {
    transform: translate(-50%, -50%);
}

.image-button:hover .overlay-text {
    color: darkgreen;
}

@media (max-width: 768px) {
    .image-button {
        width: 40vw;
        height: auto;
        padding-top: 40vw; /* Forces square shape */
        border-radius: 100%;
        position: relative;
    }

    .image-button img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: rotate(270deg) scale(1.05);
        transition: transform 0.3s ease;
    }

    .image-button:hover img {
        transform: rotate(270deg) scale(1.15);
    }

    .order-overlay {
        font-size: 1.7rem;
    }
}

/* Location Section */
.location-section {
    text-align: center;
    padding: 40px 20px;
}

.locations {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.location-point {
    font-size: 2rem;
    max-width: 800px;
    display: flex;
    flex-direction: row; /* Horizontal layout on desktop */
    align-items: flex-start; /* Align image and text to the top */
    gap: 20px; /* Space between image and text */
}

.location-image {
    width: 28rem;
    height: auto;
    border-radius: 10px;
}

.location-text {
    margin-top: 1rem;
    display: flex;
    flex-direction: column; /* Keep text vertical relative to each other */
    justify-content: center;
    text-align: left;
    max-width: 350px;
    align-items: flex-start;
}

.location-text h3 {
    display: inline-flex;
    align-items: center; /* Ensure icon and text are vertically aligned */
    margin: 0 0 10px 0;
    font-size: 2.5rem;
}

.location-text i {
    margin-right: 10px;
    color: darkgreen;
}

.location-text p {
    margin: 0;
    font-size: 1.6rem;
}

.weber-image {
    height: auto;
    width: 20rem;
}

@media (max-width: 768px) {
    .locations {
        flex-direction: column; /* Stack locations vertically in mobile view */
    }

    .location-point {
        flex-direction: column; /* Stack image and text vertically on mobile */
        align-items: center; /* Center the items in mobile view */
    }

    .location-image {
        width: 80%; /* Adjust image size for mobile */
        margin-top: 0.2rem;
        margin-bottom: 0.5rem; /* Space between image and text */
    }

    .location-text {
        text-align: center; /* Align text to the center for mobile */
    }

    .location-text h3 {
        font-size: 1.4rem;
    }

    .location-text p {
        font-size: 1.2rem;
    }
}

/* Grid Section */
.grid-section {
    padding: 40px 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: rgb(46, 46, 46);
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-top: 0.3rem;
    height: auto;
    width: 5rem;
    align-items: center;
    border-radius: 100%;
}

.footer-icons {
    margin-top: 10px;
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.social-icon:hover {
    color: #dbccbcb3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-buttons, .right-buttons {
        display: none;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #131313;
        z-index: 999;
    }

    .navbar__toggle {
        display: flex;
    }

    .title {
        font-size: 3rem;
        bottom: 3.5rem; /* Move title 3rem higher in mobile mode */
        left: 25%;
        right: 4rem;
        transform: translateX(0);
    }

    .image-buttons {
        flex-direction: column;
        align-items: center;
    }

    .image-button {
        width: 80%;
        height: 40vw;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about {
    background-color: #f7f7f7;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b2a1b;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(34, 20, 2);
    margin-top: 10px;
    margin-bottom: 30px;
}

.team {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.team-member img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    margin-left: 2rem;
}

.team-text {
    width: 70%;
    margin-left: 2rem;
}

.team h3 {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: underline;
    color: darkgreen;
}

.team p {
    font-size: 2rem;
}

/* Logo Styling for About Page */
.about-page .logo-container {
    text-align: center;
    padding: 0px;
    margin-top: 2rem;
}

.about-page .logo {
    width: 10rem;
    height: auto; /* Maintain aspect ratio */
    display: inline-block;
    border-radius: 100%;
    margin-top: -1.6rem;
}

.about-page .byline {
    display: block;
    font-size: 1.7rem;
    color: #3b2a1b;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .about {
        padding: 20px 10px;
        margin: 0;
        max-width: 100%;
    }

    .about-container {
        max-width: 100%;
        padding: 0;
    }

    .about h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .about p {
        font-size: 1.5rem;
        margin-top: 5px;
        margin-bottom: 20px;
    }

    .team {
        flex-direction: column;
        gap: 0rem; /* Reduced gap between items */
    }

    .team-member {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0rem; /* Reduced gap between image and text */
        text-align: left;
        margin: 0;
    }

    .team-member img {
        width: 45%; /* Increase image size by 15% */
        height: auto;
        border-radius: 10px;
    }

    .team-text {
        width: 40%; /* Adjust width to balance text and images */
        font-size: 0.8rem; /* Reduce text size by 20% */
    }

    .team h3 {
        font-size: 1.4rem;
        font-weight: bold;
        text-decoration: underline;
        color: darkgreen;
    }

    .team p {
        font-size: 1.3rem;
    }

    .about-page .logo-container {
        text-align: center;
        padding: 0;
    }

    .about-page .logo {
        width: 8rem;
    }

    .about-page .byline {
        font-size: 1.3rem;
        margin-top: 30px;
    }
}

/* Mobile Menu Toggle */
.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 100%;
}

.navbar__toggle .bar {
    width: 100%;
    height: 5px;
    background-color: black;
    transition: all 0.3s ease;
}

.navbar__toggle.active {
    background: transparent;
}

.navbar__toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10.5px, 10.5px);
    background-color: white;
}

.navbar__toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(10.5px, -10.5px);
    background-color: white;
}

/* Mobile Navigation Menu */
.navbar__menu {
    display: flex;
    flex-direction: column; /* Change direction to column */
    align-items: center; /* Center align items */
    list-style: none;
    text-align: center;
    background: #131313; /* Background color to make it more visible */
    width: 100%; /* Full width */
}

.navbar__menu ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0 auto; /* Remove default margin */
    width: 100%;
}

.navbar__item {
    height: 80px;
    display: flex; /* Center items vertically */
    justify-content: center;
    align-items: center;
    margin-right: 60%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 80%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #3b2a1b;
    color: #fff;
    font-size: 1.5rem; /* Increase text size */
    margin: 0 auto;
}

.button:hover {
    background: darkgreen;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: darkgreen;
    transition: all 0.3s ease;
}

.navbar__menu .hero-link {
    color: #fff; /* Same as .navbar__links */
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* Match other links */
    padding: 10px 20px;
}

.navbar__menu .hero-link:hover {
    color: darkgreen; /* Match hover effect */
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-buttons, .right-buttons {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu.active {
        display: flex;
    }

    .navbar__menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #131313;
        z-index: 999;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        padding: 2rem;
        width: 100%;
        display: flex;
    }

    .navbar__btn {
        padding-bottom: 2rem;
        margin: 0 auto;
    }

    .button {
        width: 30%;
        height: 60px;
        margin: 0 auto;
        margin-bottom: 1rem;
    }
}

@media (min-width: 769px) {
    .navbar__menu {
        display: none; /* Hide menu on larger screens */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

