/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Operation Hr Section */
.section-operation-hr {
    padding-top: 150px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding to the container */
}

.contact-content {
    display: flex;
    flex-wrap: nowrap; /* Ensures items stay side by side */
    gap: 20px; /* Adds space between the image and opening hours box */
    width: 100%;
}

.contact-image {
    flex: 0 0 70%;
    max-width: 70%;
}

.contact-image img {
    width: 100%;
    height: auto;
}

.opening-hours {
    flex: 0 0 30%;
    max-width: 30%;
    background-color: #c5a26e;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* Ensure positioning for the white box */
}

.opening-hours h5 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.opening-hours h5::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #fff;
    margin: 10px auto 0;
}

.opening-hours .white-box {
    position: absolute;
    top: 15px; /* 5px from the top of .opening-hours */
    left: 15px; /* 5px from the left of .opening-hours */
    width: calc(100% - 30px); /* 5px smaller on the left and right */
    height: calc(100% - 30px); /* 5px smaller on the top and bottom */
    border: 2px solid #fff; /* White border with 2px width */
    border-radius: 10px; /* Rounded corners */
    box-sizing: border-box; /* Include border in the box size calculation */
    background: transparent; /* Ensure background is transparent */
}

.opening-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left; /* Align text to the left */
    white-space: nowrap; /* Prevent line breaks within the item */
}

.opening-item .day {
    padding-right: 70px; /* Increase gap to 70px between day and time */
}

.opening-item .time {
    text-align: right; /* Align time to the right */
    margin-left: auto; /* Push time to the far right */
    white-space: nowrap; /* Prevent line breaks in time text */
}

.opening-item:last-child {
    border-bottom: none;
}

.opening-hours a.phone-number {
    color: #fff;
    margin-top: 20px;
    display: block;
    text-decoration: none;
    font-size: 24px; /* Large text for the phone number */
    transition: color 0.3s;
}

.opening-hours a.phone-number:hover {
    color: #f8f9fa;
}

.opening-hours i {
    margin-right: 10px;
}

@media (min-width: 480px) and (max-width: 768px) {
    /* Your styles for medium devices here */
        .opening-hours .white-box {
        position: absolute;
        top: 20px; /* 5px from the top of .opening-hours */
        left: 20px; /* 5px from the left of .opening-hours */
        width: calc(100% - 40px); /* 5px smaller on the left and right */
        height: calc(100% - 40px); /* 5px smaller on the top and bottom */
        border: 2px solid #fff; /* White border with 2px width */
        border-radius: 10px; /* Rounded corners */
        box-sizing: border-box; /* Include border in the box size calculation */
        background: transparent; /* Ensure background is transparent */
    }
}
/* Responsive Styles */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center; /* Center-align the content on mobile */
    }
    .contact-image {
        display: none; /* Hide the image on mobile */
    }
    .opening-hours {
        width: 90%; /* Adjust the width for mobile */
        max-width: 400px; /* Set a maximum width for the box */
        margin: 10px 0; /* Add margin around the box */
        position: relative; /* Ensure positioning for white box */
        padding: 30px; /* Adjust padding for mobile */
    }
    .opening-hours .white-box {
        position: absolute;
        top: 15px; /* 5px from the top of .opening-hours */
        left: 15px; /* 5px from the left of .opening-hours */
        width: calc(100% - 30px); /* 5px smaller on the left and right */
        height: calc(100% - 30px); /* 5px smaller on the top and bottom */
        border: 2px solid #fff; /* White border with 2px width */
        border-radius: 10px; /* Rounded corners */
        box-sizing: border-box; /* Include border in the box size calculation */
        background: transparent; /* Ensure background is transparent */
    }
    .opening-item {
        width: 100%; /* Make the item take full width on mobile */
        margin: 10px 0; /* Add margin between items */
        white-space: nowrap; /* Prevent line breaks within the item */
    }
    .opening-item .day {
        padding-right: 60px; /* Maintain a larger gap on mobile */
    }

    .section-operation-hr {
        padding-top: 150px;
        padding-bottom: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url('restaurant.jpg'); /* Set restaurant image as background */
        background-size: cover; /* Cover the entire section */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Prevent repeating the image */
    }
}



@media (min-width: 768px) and (max-width: 992px) {
    /* Your styles for medium devices here */
    .opening-item .day {
        padding-right: 20px; 
    }
    /* Your styles for medium devices here */
        .opening-hours .white-box {
        position: absolute;
        top: 20px; /* 5px from the top of .opening-hours */
        left: 20px; /* 5px from the left of .opening-hours */
        width: calc(100% - 40px); /* 5px smaller on the left and right */
        height: calc(100% - 40px); /* 5px smaller on the top and bottom */
        border: 2px solid #fff; /* White border with 2px width */
        border-radius: 10px; /* Rounded corners */
        box-sizing: border-box; /* Include border in the box size calculation */
        background: transparent; /* Ensure background is transparent */
    }
}
}

@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        align-items: center; /* Center-align the content on mobile */
    }
    .contact-image {
        display: none; /* Hide the image on mobile */
    }
    .opening-hours {
        width: 90%; /* Adjust the width for mobile */
        max-width: 400px; /* Set a maximum width for the box */
        margin: 10px 0; /* Add margin around the box */
        position: relative; /* Ensure positioning for white box */
        padding: 30px; /* Adjust padding for mobile */
    }
    .opening-hours .white-box {
        position: absolute;
        top: 5px; /* 5px from the top of .opening-hours */
        left: 5px; /* 5px from the left of .opening-hours */
        width: calc(100% - 10px); /* 5px smaller on the left and right */
        height: calc(100% - 10px); /* 5px smaller on the top and bottom */
        border: 2px solid #fff; /* White border with 2px width */
        border-radius: 10px; /* Rounded corners */
        box-sizing: border-box; /* Include border in the box size calculation */
        background: transparent; /* Ensure background is transparent */
    }
    .opening-item {
        width: 100%; /* Make the item take full width on mobile */
        margin: 10px 0; /* Add margin between items */
        white-space: nowrap; /* Prevent line breaks within the item */
    }
    .opening-item .day {
        padding-right: 40px; /* Maintain a larger gap on mobile */
    }

    .section-operation-hr {
        padding-top: 150px;
        padding-bottom: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url('restaurant.jpg'); /* Set restaurant image as background */
        background-size: cover; /* Cover the entire section */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Prevent repeating the image */
    }

}

@media (min-width: 992px) and (max-width: 1100px) {
    /* Your styles for medium devices here */
        .opening-item .day {
        padding-right: 20px; /* Maintain a larger gap on mobile */
    }

}


/* Extra large devices and up */
@media (min-width: 1200px) {

}

/* last one win */
@media (max-width: 375px) {
    .opening-item .day {
        padding-right: 40px; /* Maintain a larger gap on mobile */
    }
}

