/* General page layout */

@import url('https://fonts.googleapis.com/css2?family=Gotham:wght@400;700&display=swap');


html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Gotham', sans-serif; /* Using Gotham font */
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

hr {
    border: 1px solid black; 
    width: 50%; 
    margin: 5px auto;
}

.front-image {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    margin: 20px auto;       /* Center the image container and add top and bottom margin */
    max-width: 100%;         /* Prevent overflow on small screens */
}

/* Image itself */
.front-image img {
    width: 90%;               /* Make the image responsive, fills the container */
    max-width: 700px;        /* Limit the maximum width for larger screens */
    height: auto;             /* Maintain aspect ratio */
    max-height: 80vh;         /* Control vertical space taken up by the image */
    object-fit: cover;        /* Cover the container while cropping from the bottom */
    object-position: top;     /* Align the top of the image to be visible */
    border-radius: 10px;      /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a clean look */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover effect * /
.front-image img:hover {
    transform: scale(1.05);  /* Slight zoom on hover * /
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover 
}*/


/* Container */
.container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    flex-wrap: wrap; /* Allows wrapping on narrow screens */
    justify-content: space-between;
    max-width: 1200px;        /* Limits the maximum width of the content */
    margin: 0 auto;           /* Centers the container itself on the page */
    overflow-x: visible; /* Allows the image to overflow the container */
    text-align: center; /* Centers the content in the container */
}

.menu {
    display: flex; /* Use flexbox to align items */
    flex-wrap: wrap; /* Allows wrapping when the screen is narrow */
    justify-content: center; /* Centers the buttons horizontally */
    gap: 5px; /* Adds spacing between buttons */
    margin: 10px auto; /* Centers the menu on the page */
}

td.menu {
    display: flex; /* Enables flexbox for alignment */
    justify-content: flex-end; /* Aligns content to the right */
    text-align: right; /* Ensures text is aligned right inside the cell */
    margin: 20px auto; /* This margin centers the td element itself, but you can remove it if it's not needed */
    padding: 10px; /* Add padding if necessary for spacing */
    width: 100%; /* Ensures the td takes up the full width */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.menu a {
    font-family: 'Gotham', sans-serif; /* Using Gotham font */
    font-weight: 500; /* Bold for that strong, Gotham look */
    font-size: 12px; /* Medium-sized text */
    text-transform: uppercase; /* Gotham style often uses all caps */
    letter-spacing: 1px; /* Slight letter spacing for a modern look */
    text-decoration: none; /* Remove underline */
    color: #333333; /* Dark grey, modern feel */
    background-color: #f0f0f0; /* Light grey background for contrast */
    padding: 10px 15px; /* Padding to give it a button-like feel */
    border-radius: 5px; /* Subtle rounding for a clean edge */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
    margin:3px;
}

/* Hover and active state */
.menu a:hover {
    background-color: #333333; /* Darken background on hover */
    color: #ffffff; /* Change text to white on hover */
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover for a floating effect */
}

.menu a:active {
    background-color: #666666; /* Slightly lighter on active state */
    color: #ffffff; /* Keep text white */
    transform: scale(1); /* Return to normal scale on click */
}


.left, .right {
    flex: 1;
    margin: 10px;
    min-width: 300px; /* Ensures both divs stack if the screen is narrower than 600px */
}

/* Ensure div contents lean left/right */
.left {
    text-align: left;
}
.right {
    text-align: right;
}

@media (max-width: 600px) {
    .front-image img {
        max-height: 110vh;    /* Further limit the height on mobile */
        border-radius: 8px;  /* Slightly reduce border radius */
    }
    .container {
	flex-direction: column; /* Stacks divs on top of each other */
    }
    .left, .right {
	width: 100%;
	text-align: center; /* Aligns tables centered on small screens */
    }
    .full-width-image,
    .height-image {
        width: 120vw; /* Makes image 120% of the viewport width on small screens */
    }
}

/* Outer table layout */
.outer-table {
    width: 100%;  /* Full width of the container */
    max-width: 1200px;
    border-collapse: collapse;
    margin-bottom: 0px;
}

.outer-table-right {
    width: 100%;  /* Full width of the container */
    max-width: 1200px;
    border-collapse: collapse;
    margin-bottom: 0px;
    text-align: right;
            margin-left: auto;      /* Align the table to the right of the container */
}

.outer-table-right tr, .outer-table-right td{
    text-align: right;
}

.image-container {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    display: flex;          /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically (if necessary) */
}

.image-container-2 {
    width: 60px;
    position: relative;
    padding: 10px;
    margin: 10px;
    display: flex;          /* Flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically (if necessary) */
}

.full-width-image {
    width: 102%; /* Ensure the image takes up the full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline-block space around images */
    max-width: none; /* Prevents shrinking the image to the container size */
    margin-left: auto;
    margin-right: auto;
}

.height-image {
    width: 75%; /* Ensure the image takes up the full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline-block space around images */
    max-width: 600px; /* Prevents shrinking the image to the container size */
    margin-left: auto;
    margin-right: auto;
}

.height-image-2 {
    width: 300px; /* Ensure the image takes up the full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline-block space around images */
    max-width: none; /* Prevents shrinking the image to the container size */
    margin-left: auto;
    margin-right: auto;
}


/* Cocktails  */

/* Wrapper for all cocktail blocks */
.cocktail-wrapper {
    display: flex; /* Enables flexbox */
    flex-wrap: wrap; /* Allows the items to wrap onto the next row */
    justify-content: center; /* Center the cocktail blocks horizontally */
    align-items: center; /* Center the cocktail blocks vertically (if needed) */
    gap: 10px; /* Adds space between the cocktail blocks */
}

/* Individual cocktail block */
.cocktail-container {
    display: flex;
    flex-direction: column; /* Stack the logo and details vertically */
    align-items: center; /* Center align items in the block */
    width: 300px; /* Width of each cocktail block */
    /* border: 1px solid #ccc; Border for visualization */
    padding: 10px;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

/* Cocktail details */
.cocktail-details-cell {
    font-family: 'Gotham', sans-serif; /* Using Gotham font */
    text-align: center;
    padding-bottom: 5px;
    white-space: nowrap; /* Prevents text from breaking */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add "..." at the end of long text */
}

/* Logo cell */
.cocktail-logo-cell {
    text-align: center;
}

/* Image styling */
img.cocktail {
    width: 80px;
    height: auto;
    padding: 10px;
}

/* Optional hover effect */
.cocktail-details-cell:hover .full-text {
    display: block;
}


.cocktail-name {
    font-weight: bold;
    font-size: 1.4em; /* Slightly smaller to fit better */
    margin-bottom: 5px;
    text-transform: uppercase; /* Gotham style often uses all caps */
}

.cocktail-desc {
    font-size: 0.8em;
    color: #555;
    margin-top: 3px;
    text-transform: uppercase; /* Gotham style often uses all caps */
}

.cocktail-price {
    font-size: 1em;
    color: #555;
    margin-top: 10px;
}



/* Logo section */
.logo-cell {
    width: 70px;
    padding: 0px;
    text-align: left;
    vertical-align: bottom;
    margin-bottom: -8px;
}

.logo {
    width: 60px;
    height: auto;
    border-radius: 6px; /* Adjust the value for more or less rounding */
    overflow: hidden; /* Ensure that the content doesn't overflow the rounded corners */
    margin-bottom: -11px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for the pop-out effect */
}

/* Pop-out effect on hover */
.logo-cell:hover .logo {
    transform: scale(1.5); /* Enlarges the logo */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Adds a shadow for the pop-out effect */
    z-index: 10; /* Brings the logo above other content */
}

/* Modal for full-screen logo */
.logo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 20; /* Above everything else */
}

/* Full-screen logo */
.logo-modal img {
    max-width: 80%;
    max-height: 80%;
    transition: transform 0.3s ease-in-out;
}

/* Close button for modal */
.logo-modal .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.food-details-cell {
    font-family: 'Gotham', sans-serif; /* Using Gotham font */
    text-align: left;
    padding-left: 20px;
    padding-bottom: 5px;
    width: 100%;
    vertical-align: middle;
    white-space: normal; /* Allows text to wrap */
    overflow: visible;   /* Makes sure the text isn't clipped */
    text-overflow: clip; /* Disable "..." at the end of the text */
    position: relative;
}

.food-price {
    font-size: 1.1em; /* Reduced size slightly */
    font-weight: bold;
    padding-top: 5px;
    vertical-align: bottom;
}

.food-logo-cell {
    width: 140px;                   /* Fixed width for the logo cell */
    padding: 0px;                   /* No padding */
    text-align: center;             /* Center the image horizontally */
    vertical-align: middle;         /* Center the image vertically in the cell */
    margin-bottom: auto;            /* Automatic margin for spacing */
    overflow: hidden;               /* Ensure overflow is hidden */
    height: 130px;                  /* Set a specific height for the cell */
}

.food-logo {
    height: 100%;                   /* Fill the cell height */
    width: auto;                    /* Maintain aspect ratio */
    border-radius: 6px;             /* Rounded corners */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition */
}

/* Beer details section */
.details-cell {
    font-family: 'Gotham', sans-serif; /* Using Gotham font */
    text-align: left;
    padding-left: 20px;
    padding-bottom: 5px;
    width: 100%;
    vertical-align: bottom;
    white-space: nowrap; /* Prevent text from breaking lines */
    overflow: hidden;    /* Hide overflowing text */
    text-overflow: ellipsis; /* Add "..." at the end of long text */
    position: relative;
}

/* Hover text - expands outside the table */
.details-cell:hover .full-text {
    display: block;
}

.beer-name {
    font-weight: bold;
    font-size: 1.4em; /* Slightly smaller to fit better */
    margin-bottom: 5px;
}

.beer-type, .beer-desc {
    font-size: 0.9em;
    color: #555;
    margin-top: 3px;
}

/* Price section */
.space {
    width: 100%;
}

.price-cell {
    width: 80px;
    text-align: center;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
}

.amount {
    font-size: 0.9em; /* Adjusted size to be smaller */
    color: #555;
    text-align: right;
    padding-bottom: 3px;
}

.price {
    font-size: 1.1em; /* Reduced size slightly */
    font-weight: bold;
    text-align: right;
    padding-bottom: 3px;
}

/* Glass icons for different sizes */
.icon-small {
    width: 40px; /* Adjusted for 6 Oz */
    height: auto;
    vertical-align: bottom; /* Aligns icon with text */
    margin-left: -8px;
    padding: 0;
}

.icon-large {
    width: 53px; /* Adjusted for 12 Oz */
    height: auto;
    vertical-align: bottom;
    margin-bottom: -3px;
    margin-left: -12px;
    padding: 0;
}

.icon-matrix-cell {
    width: auto; /* Let the width adjust automatically */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    text-align: center;
    vertical-align: bottom;
}

table.icon-matrix {
    border-collapse: collapse; /* Eliminate space between cells */
    margin: 0;
    padding: 0;
}

img.icon_matrix {
    width: 25px; /* Adjusted icon size */
    height: 25px;
    margin: 0;
    padding: 0;
    display: block; /* Ensures no extra space as it's now block-level */
    border: none; /* Remove any default border */
}

table {
    border-collapse: collapse;
}
       
td {
    padding: 0; /* Ensure no padding between table cells */
    margin: 0;
    border: none; /* Ensure no border between table cells */
}

/* Table for individual glass sizes */
.price-cell table {
    width: 100px; /* Slightly adjusted for better fitting */
    text-align: center;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.price-cell td {
    margin: 0;
    padding-right: 7px;
    padding-left: 3px;
    vertical-align: bottom;
}
