/* Headings */
h2, h3, h4 {
    font-weight: bold;
}

p {
    font-size: 18px;
}

/* List Styling */
.list-unstyled {
    padding-left: 0;
}

.list-unstyled li {
    margin-bottom: 10px;
}

/* Section Padding */
.container {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* taproom image */
.taproom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two-column layout */
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}

/* Keep the text aligned properly */
.taproom-text {
    grid-column: 1;
    max-width: 600px;
}

.taproom-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px; /* Adjust for better scaling */
}

/* Main (background) image */
.main-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.3s ease-in-out, z-index 0.3s;
    z-index: 1; /* Initially behind */
}

/* Overlay (foreground) image */
.overlay-image {
    position: absolute;
    bottom: -40px;
    right: -50px;
    width: 60%;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: transform 0.3s ease-in-out, z-index 0.3s;
    z-index: 2; /* Initially in front */
}

/* When hovering over the main (background) image */
.main-image:hover {
    z-index: 3; /* Bring to front */
    transform: scale(1.05); /* Slight zoom effect */
}

/* When hovering over the overlay (foreground) image */
.overlay-image:hover {
    z-index: 3; /* Bring it to the front */
    transform: scale(1.1) rotate(0deg); /* Enlarge and reset rotation */
}
/* Rounded Google Map */
.map-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents any overflow */
}

.google-map-img {
    width: 100%;
    max-width: 900px; /* Adjust based on your layout */
    height: auto;
    border-radius: 8px; /* Optional for a rounded corner */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional for a shadow effect */
}

/* Background for the Jungle Menu */
.section-jungle {
    background-color: #F4C430; /* Jungle yellow */
    color: black;
    padding: 50px 0;
}

/* Navigation Tabs */
.nav-pills .nav-link {
    color: black;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 5px;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-pills .nav-link.active {
    background-color: black;
    color: white;
}

/* Menu Cards */
.menu-card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    color: black;
    max-width: 750px;
    margin: auto;
}

/* List Styling */
.menu-card ul {
    padding-left: 0;
}

.menu-card ul li {
    margin-bottom: 10px;
}
/* Carousel Image Styling */
.carousel-inner img {
    max-height: 350px;
    object-fit: cover;
}

/* Text Styling */
h5 {
    font-weight: bold;
}

/* CTA Booking Section */
.booking-section {
    background-color: white;
    padding: 50px 0;
    margin-bottom: 0; /* Prevents extra margin creating a gap */
}

.carousel-inner {
    height: 100%;
}

.cta-card {
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.cta-card img {
    width: 100%;
    border-radius: 8px;
}

/* Booking Section */
.booking-section {
    background-color: white;
    color: black;
}

/* Booking Card */
.cta-card {
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Carousel Image Styling */
.carousel-img {
    height: 350px; /* Increased height */
    object-fit: cover; /* Ensures images scale properly */
    border-radius: 8px;
}

/* Custom Carousel Buttons */
.custom-carousel-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6); /* Dark background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker hover effect */
}

/* Custom Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
    filter: invert(1); /* Makes arrows white */
}

/* -------------------------------- media queries */
/* Adjust for Extra-Large Screens (4K) */
@media (min-width: 2560px) { 
    .taproom-grid {
        grid-template-columns: 1fr 1.2fr; /* Make image column slightly bigger */
        gap: 50px;
        max-width: 1800px;
    }

    .taproom-text {
        max-width: 750px;
    }

    .taproom-image-wrapper {
        max-width: 700px;
    }

    .main-image {
        max-width: 700px;
        border-radius: 15px;
    }

    .overlay-image {
        width: 70%;
        bottom: -50px;
        right: -60px;
        transform: rotate(-2deg);
    }
}

/* 💻 Standard Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .taproom-grid {
        max-width: 1600px;
    }

    .taproom-text {
        max-width: 700px;
    }

    .taproom-image-wrapper,
    .main-image {
        max-width: 700px;
    }

    .overlay-image {
        width: 65%;
        bottom: -40px;
        right: -50px;
    }
}

/* 🖥 Large Laptop Screens (1300px - 1600px) */
@media (max-width: 1600px) and (min-width: 1300px) {
    .overlay-image {
        bottom: -20px;
        right: -30px;
        width: 60%; /* Maintain proportion */
        transition: all 0.3s ease-in-out; /* Smooth size transition */
    }
}

/* 📌 Medium Screens & Tablets (992px - 1299px) */
@media (max-width: 1299px) and (min-width: 992px) {
    .taproom-image-wrapper {
        max-width: 650px;
    }

    .main-image {
        max-width: 400px;
    }

    .overlay-image {
        width: 65%;
        bottom: -30px;
        right: -40px;
        transition: all 0.3s ease-in-out;
    }
}

/* 📱 Responsive Fixes for Small Screens (Up to 992px) */
@media (max-width: 992px) {
    .taproom-grid {
        grid-template-columns: 1fr; /* Make it a single-column layout */
        text-align: center;
    }

    .taproom-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Prevent overlay image from overlapping */
    .overlay-image {
        position: static !important;
        width: 80%;
        margin-top: -20px;
        transform: none;
        transition: all 0.3s ease-in-out;
    }

    /* 🌍 Location Section: Stack Text & Map */
    .location-section .row {
        flex-direction: column-reverse; /* Puts the map BELOW the text */
        text-align: center;
    }

    .map-container {
        margin-top: 20px; /* Adds space between text and map */
    }
}

/* 📱 Mobile & Small Tablets (Up to 768px) */
@media (max-width: 768px) {
    .menu-card {
        margin-bottom: 20px;
    }

    .overlay-image {
        width: 90%;
        margin-top: -10px;
        transition: all 0.3s ease-in-out;
    }

    .location-section .row {
        flex-direction: column-reverse; /* Puts the map BELOW the text */
        text-align: center;
    }
}