/*GLOBAL*/
:root {
    --image-blur: rgba(0, 0, 0, 0.5);
    --bar-width: 30px;
    --bar-height: 3px;
    --bar-spacing: 5px;
    --bar-color: white;
    --transition-duration: 0.3s ease-in-out;
    --header-height: 5rem;
    --shadow-title: 5px;
    --shadow-tagline: 1px;
}

/*FONTS*/
@font-face {
    font-family: 'Escape';
    src: url("fonts/Escape.ttf") format("truetype");
}

@font-face {
    font-family: 'Obra Letra';
    src: url("fonts/ObraLetraRegular.ttf") format("truetype");
}

body {
    background-image: url("images/parchment-texture.png");
    color: black;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    top: 0;
    position: relative;
    font-size: 16px;
    border: none;
    outline: none;
    text-decoration: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Obra Letra", serif;
}

/*HEADER*/
header {
    display: flex;
    justify-content: end;
    background-color: transparent;
    width: 100%;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
    left: 0;
    right: 0;
    top: 0;
    padding: 2rem;
    position: fixed;
    height: var(--header-height);
}

nav {
    display: flex;
    align-items: center;
    position: relative;
    width: auto;
    justify-content: flex-end;
    background-color: transparent;
}

nav a {
    color: white;
    font-weight: 300;
    transition: 0.5s ease;
    text-decoration: none;
    font-size: 2rem;
    display: block;
}


nav a:hover {
    color: red;
    text-decoration: underline;
    transform: scale(1.06)
}

.menu-btn {
    display: none;
}

#nav-toggle {
    display: none;
}

.nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    transform: scaleX(0); /*Scale Y to drop down, Scale X to slide across*/
    transform-origin: right; /*Transform 'top' to drop down, transform 'right' to slide across*/
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: calc(100vh - 5rem);
    width: 50vw; /*This is an important aspect of how it looks*/
    max-height: 50vh; /*This is another key property that can be tweaked*/
    box-sizing: border-box;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5em;
    border-radius: 1rem;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: var(--bar-spacing);
    position: relative;
    cursor: pointer;
    width: max-content;
}

.menu-btn span {
    display: block;
    height: var(--bar-height);
    width: var(--bar-width);
    background-color: var(--bar-color);
    border-radius: 3px;
    transition: all var(--transition-duration) ease; /* Added 'all' for smoother transition */
    transform-origin: center;
}

.menu-btn input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
}

#nav-toggle:checked ~ label span:first-of-type {
    transform: translateY(calc(var(--bar-spacing) + var(--bar-height))) rotate(45deg);
}

#nav-toggle:checked ~ label span:nth-of-type(2) {
    opacity: 0;
}

#nav-toggle:checked ~ label span:last-of-type {
    transform: translateY(calc(-1 * (var(--bar-spacing) + var(--bar-height)))) rotate(-45deg);
}

#nav-toggle:checked ~ .nav-links {
    transform: scaleY(1);
    opacity: 1;
}

header:has(#nav-toggle:checked) {
    border-bottom: none;
}

/*HERO SECTIONS*/
.hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    height: 70vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(1rem, 5vw, 6rem);
}

.site {
    background-image: url("images/lostsouls.webp");
}

.site-title {
    font-family: 'Escape', serif;
    font-size: clamp(3rem, 7rem, 10rem);
    line-height: 1.5em;
    margin: 2rem;
    color: white;
    letter-spacing: 0.1em;
    text-wrap: wrap;
    text-transform: capitalize;
    position: relative;
    padding: 10px;
    text-shadow:
            -3px -3px 0 black,
            3px -3px 0 black,
            -3px  3px 0 black,
            3px  3px 0 black;
}

.site-tagline {
    font-family: 'Obra Letra', serif;
    font-size: clamp(2rem, 1vw + 1rem, 4rem);
    letter-spacing: 0.1em;
    color: white;
    text-shadow:
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px  1px 0 black,
            1px  1px 0 black;
}

.site-name {
    font-family: 'Escape', serif;
    font-size: clamp(1rem, 3rem, 4rem);
    line-height: 1.5em;
    letter-spacing: 0.1em;
    text-wrap: wrap;
    text-transform: capitalize;
    position: relative;
    padding: 10px;
}

.cocktails {
    background-image: linear-gradient(var(--image-blur), var(--image-blur)), url("images/cocktails.jpg");
}

.beer {
    background-image: linear-gradient(var(--image-blur), var(--image-blur)), url("images/beer-pour.jpg");
}

.spirits {
    background-image: linear-gradient(var(--image-blur), var(--image-blur)), url("images/spirits.jpg");
}

.menu {
    background-image: linear-gradient(var(--image-blur), var(--image-blur)), url("images/lost-souls.jpg");
    font-size: 4rem;
    font-family: "Escape", serif;
    letter-spacing: 0.2em;
    color: white;
    text-shadow:
            -5px -5px 0 black,
            5px -5px 0 black,
            -5px  5px 0 black,
            5px  5px 0 black;
}

/*BAR AWARDS*/
.home-page-section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    width: 100%;
    padding: 2rem;
}

/*HOME SECTIONS*/
.home-banner {
    display: flex;
    flex-direction: row;
}

/*MENU PAGES*/
.heading {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: clamp(20rem, 90vw, 40rem);
    height: auto;
    aspect-ratio: 1/1;
    color: white;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px hsl(0, 0%, 20%);
    font-size: 3rem;
    margin: 2rem 0;
    text-decoration: none;
    font-family: "Obra Letra", serif;
}

.break {
    border: none;
    border-top: 1px solid #000000;
    margin: 1rem auto;
    overflow: visible;
    text-align: center;
    width: 40%;
    max-width: 800px;
    height: 5px;
}

h1 {
    text-transform: uppercase;
}

.karaoke {
    text-transform: uppercase;
    font-size: 1rem;
}

.pinball {
    font-size: 1rem;
}

.jams {
    font-size: 1rem;
    text-transform: uppercase;
}

.live-music {
    font-size: 1rem;
}

.hellraiser {
    font-size: 1rem;
    text-transform: uppercase;
}

.menu-items h2 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    line-height: 1em;
}

.menu-items p {
    font-size: clamp(1rem, 2vw + 1rem, 4rem);
    line-height: 1em;
}



/*IMAGES*/
.home-page-img {
    width: 100%;
    height: auto;
}

#content-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: clamp(20rem, 90vw, 40rem);
    height: auto;
    aspect-ratio: 1/1.4142;
    cursor: pointer;
    margin: 2rem;
    border-radius: 5%;
    box-shadow: 0 0 10px black;
}

.bar-awards {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    width: 100%;
    padding: 1rem;
}

.awards-heading {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.bar-mag-logo {
    max-width: 3rem;
}

.bar-magazine {
    font-family: "Obra Letra", serif;
    text-wrap: balance;
    margin: 2rem;
}

.awards-body {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    height: fit-content;
    padding: 1rem;
}

.awards-bubble {
    flex-direction: column;
    justify-content: space-evenly;
    border: 2px solid red;
    border-radius: 30px;
    padding: 1rem;
    margin: 1rem;
    gap: 2rem;
    min-width: 12rem;
    height: 4.5rem;/*Figure out the exact height*/
    position: relative;
    background-color: white;
    transition: 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.awards-bubble::after {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: -1;
    border: 10px solid transparent;
    border-top-color: red;
    border-right-color: red;
    border-radius: 30px;
    width: 12.5rem;
    height: 5.4rem;
    transition: 0.3s ease;
}

/*.awards-bubble:hover {*/
/*    transform: scale(1.1);*/
/*    box-shadow: 0 0 10px black;*/
/*}*/

.awards-year {
    font-family: "Obra Letra", serif;
    font-size: small;
}

.awards-nom {
    font-family: "Obra Letra", serif;
    font-size: medium;
}

.open-hours {
    font-size: xxx-large;
}

.hours {
    line-height: 0.1em;
    font-size: large;
}

.diamond {
    font-size: 1rem;
    vertical-align: middle;
    position: relative;
    top: -0.2em;
    color: white;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    width: 100vw;
    padding: 2rem;
    background-color: white;
    font-family: "Obra Letra", serif;
    font-size: 1rem;
}

.break {
    border: none;
    border-top: 3px double #333;
    color: #333;
    text-align: center;
    width: 100%;
    height: 5px;
    margin: 2rem auto;
    font-size: 1rem;
}

.social-media {
    text-align: center;
    padding: 20px 0;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid black;
    border-radius: 50%;
    font-size: 2rem;
    margin: 1rem;
    color: black;
    transition: 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: black;
    color: white;
    box-shadow: 0 0 10px black;
}

.booking-btn {
    border: black;
    text-decoration: none;
    border-radius: 2rem;
    color: white;
    font-family: 'Obra Letra', serif;
    font-size: 1rem;
    background-color: black;
    padding: 1rem;
    margin: 1rem;
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.booking-btn:hover {
    transform: scale(1.1);
}

.map {
    width: 80vw;
    height: calc(0.75 * 80vw);
    padding: 0.3rem;
    border: 1px solid black;
    box-shadow: 0 0 10px black inset;
}

#exclusive-hire {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: clamp(20rem, 90vw, 40rem);
    height: auto;
    aspect-ratio: 1/1;
    cursor: pointer;
    margin: 2rem;
    border-radius: 5%;
    box-shadow: 0 0 10px black;
}


/*COLLAPSIBLE SECTIONS*/
.wrapper {
    display: flex;
    padding-top: 50px;
    justify-content: center;
}

.collapsible {
    max-width: 450px;
    overflow: hidden;
    font-weight: 500;
    width: clamp(20rem, 90vw, 40rem);
    /*position: relative;*/
    /*margin: 1rem;*/
    /*background: #f0f0f0;*/
    /*border: 1px solid #ddd;*/
    /*padding: 10px 20px;*/
    /*border-radius: 20px;*/
    /*cursor: pointer;*/
    /*width: 100%;*/
    /*text-align: left;*/
}

.collapsible input {
    display: none;
}

.collapsible label {
    position: relative;
    font-weight: 600;
    background: transparent;
    /*box-shadow: 5px 0 30px hsl(0, 0%, 40%);*/
    color: black;
    display: block;
    margin: 1rem;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px hsl(0, 0%, 40%);
    /*width: clamp(20rem, 90vw, 40rem);*/
    /*z-index: 1;*/
    /*width: 100%;*/
    /*text-align: left;*/
}

.collapsible label::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 12px;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.collapsible input:checked + label::after {
    transform: rotate(90deg);
}

.collapsible-text p {
    max-height: 1px;
    overflow: hidden;
    border-radius: 4px;
    line-height: 2;
    position: relative;
    top: -100%;
    opacity: 0.5;
    transition: all 0.3s ease;
    /*display: none;*/
    /*background: white;*/
    /*border: 1px solid #ddd;*/
    /*border-radius: 10px;*/
    /*padding: 15px;*/
    /*margin-top: 10px;*/
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}

.collapsible input:checked ~ .collapsible-text p {
    padding-bottom: 25px;
    background: transparent;
    box-shadow: 0 0 10px hsl(0, 0%, 40%);
    opacity: 1;
    top: 0;
    margin: 1rem;
    text-wrap: balance;
    max-height: fit-content;
    border-radius: 5px;
}

.collapsible-text p {
    margin-bottom: 10px;
    padding: 15px 15px 0;
}

.collapsible-text br {
    margin-bottom: 1em;
}


.collapsible.active::after {
    transform: rotate(180deg);
}
