:root {
  --bg-color: #F9F6E5;
  --card-white: #FEFDFB;
  --card-blue: #182f40;
  --text-black: #2d2d2d;
  --header-black: #1b1b20;
  --red-highlight: #df4a4a;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", "Verdana", sans-serif;
    font-weight: 400;
    text-decoration: none;
}

header {
    background-color: var(--header-black);
    color: #ffffff;
    height: 60px;
    width: 100%;
}

nav {
    text-align: center;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
nav ul {
    display: flex;
    list-style-type: none;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}
nav ul li {
    height: 100%;
    flex-grow: 1;
}
nav ul li a {
    font-size: 1.3em;
    font-family: "Cinzel Decorative", "Garamond", serif;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: var(--header-black);
    text-align: center;
    text-decoration: underline solid transparent 2px;
    text-underline-offset: 5px;
    transition: text-decoration .2s linear;
}
@media only screen and (max-width: 400px) {
    nav ul li a {
        font-size: 1.1em;
    }
}
li a:hover {
    background-color: #182f40;
    text-decoration: underline solid Currentcolor 2px;
    transition: background-color .2s linear;
}
li a#homeTile {
    text-decoration: underline solid Currentcolor 2px;
}

body {
    background-color: var(--bg-color);
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
div.hero {
    background-color: var(--card-blue);
    background:
        url(../images/torontoKnifeShowHero.avif),
        url(../images/torontoKnifeShowHero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
    width: 100%;
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    div.hero {
        background:
            url(../images/torontoKnifeShowHero-medium.avif),
            url(../images/torontoKnifeShowHero-medium.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
@media only screen and (max-width: 600px) {
    div.hero {
        background:
            url(../images/torontoKnifeShowHero-small.avif),
            url(../images/torontoKnifeShowHero-small.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
div.blue-hero {
    background: linear-gradient(135deg, var(--card-blue), #0f1f2a);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}
section.page {
    max-width: 900px;
    width: 94%;
    margin: 0 auto;
    padding: 0 0 20px 0;
}
section ul {
    padding-left: 20px;
    list-style-type: square;
}
section li {
    padding: 5px 0;
}
img {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 200px;
    filter: drop-shadow(0 0 0.3rem rgba(0, 0, 0, 0.6));
}
h1 {
    text-align: center;
    font-size: 2.4em;
    letter-spacing: 0.1em;
    font-weight: 400;
    font-family: "Cinzel Decorative", "Garamond", serif;
}
h2 {
    font-size: 2em;
    text-align: center;
    color: #182f40;
    margin-bottom: 16px;
    font-weight: 600;
}
h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #182f40;
    font-weight: 600;
    margin-bottom: 8px;
}
h4 {
    padding: 5px 0 0px 0;
    font-size: 1em;
    font-weight: 600;
}
h4.email p {
    display: none;
}
p {
    font-size: 1em;
    padding: 0.8em 0;
}
b {
    font-weight: 600;
}
div.card {
    border-radius: 8px;
    color: #2d2d2d;
    padding: 50px 40px;
    margin-bottom: 50px;
    background-color: var(--card-white);
    box-shadow: 1px 2px 8px rgba(24, 47, 64, 0.078);
}
div.text-section {
    margin: 0 auto 50px;
}
div.blue {
    background-color: var(--card-blue);
}
@media only screen and (max-width: 400px) {
    div.card {
        padding: 20px 20px;  
        margin-bottom: 10px;
    }
    div.text-section {
        margin: 0 auto 10px;
    }
}
@media only screen and (min-width: 401px) and (max-width: 600px) {
    div.card {
        padding: 30px 30px;  
        margin-bottom: 10px;
    }
    div.text-section {
        margin: 0 auto 30px;
    }
}

/* Intro section */
section div.intro {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 60px;
}
section div.intro h1 {
    font-size: 2.5rem;
    color: #182f40;
    font-weight: 700;
    max-width: 600px;
    margin: 20px auto;
}
section div.intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.7;
}
    
        
/* Review card */    
section div.card div.review-card {
    background: 
        url('https://photos.smugmug.com/photos/i-CjkJWtJ/0/LQw27NDvnGr9dvrTDM84DWp776m6SHqbgPKZ6ZN2m/XL/i-CjkJWtJ-XL.jpg'),
        linear-gradient(135deg, #182f40, #0f1f2a);
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    border-radius: 8px;
    color: white;
    text-align: center;
    box-shadow: 0 2px 4px rgba(24, 47, 64, 0.3);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section div.card div.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 47, 64, 0.3);
}    
section div.card div.review-card div.review-content-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    display: inline-block;
    max-width: 600px;
}
section div.card div.review-card div.review-content-box div {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 12px;
    font-weight: 500;
}
section div.card div.review-card div.review-content-box h2 {
    font-size: 1.8rem;
    margin: 8px;
    color: white;
}
section div.card div.review-card div.review-content-box p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 12px;
}
section div.card div.review-card div.review-content-box a.review-cta {
    background: white;
    color: #182f40;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-shadow: none;
    display: inline-block;
}
section div.card div.review-card div.review-content-box a.review-cta:hover {
    background: #F9F6E5;
    transform: scale(1.05);
}
section div.card div.review-card div.review-content-box a.review-cta::after {
    content: ' →';
    margin-left: 8px;
}
@media only screen and (max-width: 400px) {
    section div.card div.review-card div.review-content-box {
        padding: 20px 20px;
    }
}
@media only screen and (max-width: 600px) {
    section div.card div.review-card {
        padding: 0;
    }
}

        
/* Event details card */
.event-details {
    text-align: center;
}
.event-details {
    text-align: center;
}

section div div.grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    row-gap: 1rem;
    column-gap: 1rem;
    margin: 10px;
}
section div div div.grid-item {
    width: 100%;
}
div.grid-item div.detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #182f40;
    font-weight: 600;
    margin-bottom: 8px;
}
.detail-value {
    font-size: 1.3rem;
    color: #333;
    font-weight: 500;
}
.detail-subtext {
    font-size: 0.95rem;
    color: #666;
    margin-top: 4px;
}
@media only screen and (max-width: 600px) {
    section div div.grid {
        grid-template-columns: repeat(1, auto);
    }
}

/* Accomodations */
section div.text-section.accomidations div {
    text-align: center;
}
section div.text-section.accomidations a.booking {
    text-align: center;
    background-color: var(--red-highlight);
    border-color: var(--red-highlight);
    color: #ffffff;
    border-radius: 15px;
    padding: 10px 10px;
    margin: 15px auto;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    display: inline-block;
}
section div.text-section.accomidations a.booking:hover {
    transition-duration: 0.2s;
    background-color: #ff2222;
    border-color: #ff2222;
    transform: scale(1.05);
}

/* Mailing List */
div.mailing-list {
    background: linear-gradient(135deg, #182f40, #0f1f2a);
    color: white;
}
div.mailing-list h2 {
    color: white;
}
html body section.page div.card.mailing-list div.inline-container {
    background: #0000 !important;
    border-color: #0000;
    margin: auto;
}
html body section.page div.card.mailing-list div.inline-container div.eo-form-wrapper div.form-container 
div.emailoctopus-form-wrapper.emailoctopus-form-default form.emailoctopus-form div.main-form 
input.btn.w-100.btn-primary.mb-2 {
    box-shadow: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
html body section.page div.card.mailing-list div.inline-container div.eo-form-wrapper div.form-container 
div.emailoctopus-form-wrapper.emailoctopus-form-default form.emailoctopus-form div.main-form 
input.btn.w-100.btn-primary.mb-2:hover {
    background-color: #ff2222;
    border-color: #ff2222;
    transform: scale(1, 1.1);
}

/* Sponsors */
section div.text-section.sponsors h3 {
    text-align: center;
    font-size: 1.3rem;
}
section div.text-section.sponsors div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
}
section div.text-section.sponsors p {
    text-align: center;
}
section div.text-section.sponsors a.sponsor {
    display: block;
    text-align: center;
    margin: auto;
}
section div.text-section.sponsors a.sponsor img {
    max-height: 100px;
    max-width: 200px;
    width: auto;
    margin: 0;
    filter: none;
}
@media only screen and (max-width: 400px) {
    section div.text-section.sponsors div {
        flex-direction: column;
    }
    section div.text-section.sponsors a.sponsor {
        margin: 10px auto;
    }
}

/*Google Map*/
iframe {
    width: 100%;
    filter: drop-shadow(0 0 0.3rem rgba(0, 0, 0, 0.6));
}

/*Vendors Page*/
section.page.vendors div.card section.vendor {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
}
section.page.vendors div.card section.vendor section.sub-vendor {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    flex-grow: 1;
}
section.page.vendors div.card section.vendor section.sub-vendor h3 {
    padding-top: 0;
    font-family: "Cinzel", "Garamond", serif;
    margin-right: 8px;
}
section.page.vendors div.card section.vendor section.sub-vendor hr {
    border: none;
    border-top: 3px double #2d2d2d;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
    flex-grow: 1;
    margin: 1em 0 0 0;
}
section.page.vendors div.card section.vendor section.sub-vendor a {
    padding: 0px 4px;
    margin: 0 0 4px 8px;
    font-size: 1em;
    text-decoration: none;
    box-shadow: inset 0 -0.2rem 0 #2d2d2d;
    transition: box-shadow .3s linear;
    color: #2d2d2d;
    height: 1.4em;
}
section.page.vendors div.card section.vendor section.sub-vendor a:hover {
    color: #ffffff;
    box-shadow: inset 0 -3rem 0 #2d2d2d;
}
section.page.vendors div.card section.vendor section.sub-vendor p {
    font-size: 1em;
    padding: 0 0 30px 20px;
}

@media only screen and (max-width: 600px) {
    section.vendor {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 0;
    }
    section.sub-vendor {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        width: 100%;
    }
    section.page.vendors div.card section.vendor section.sub-vendor h3 {
        letter-spacing: normal;
    }
}

/*Gallery Page*/
section.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    flex-grow: 1;
    flex-direction: row;
    width: 90%;
    margin: auto;
    padding-bottom: 20px;
    justify-content: space-between;
}
section.gallery picture img {
    height: auto; 
    width: auto; 
    max-width: 100%; 
    max-height: 300px;
    margin: 5px;
    filter: drop-shadow(0 0 0.3rem rgba(0, 0, 0, 0.6));
    border-radius: 8px;
}


/*Contact Page*/
html body section.contact.page p {
    margin-top: 20px;
    text-align: center;
}
html body section.contact.page h4.email {
    text-align: center;
}
html body section.contact.page div.card div.inline-container {
    background: #0000 !important;
    border-color: #0000;
    margin: auto;
}
html body section.contact.page div.card div.inline-container div.eo-form-wrapper div.form-container 
div.emailoctopus-form-wrapper.emailoctopus-form-default form.emailoctopus-form div.main-form 
input.btn.w-100.btn-primary.mb-2 {
    box-shadow: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
html body section.contact.page div.card div.inline-container div.eo-form-wrapper div.form-container 
div.emailoctopus-form-wrapper.emailoctopus-form-default form.emailoctopus-form div.main-form 
input.btn.w-100.btn-primary.mb-2:hover {
    background-color: #ff2222;
    border-color: #ff2222;
    transform: scale(1, 1.1);
}

/*Footer*/
footer {
    padding-top: 10px;
    background-color: #1b1b20;
    text-align: center;
    filter: drop-shadow(0 0 0.3rem rgba(0, 0, 0, 0.6));
}

footer div.socials {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 300px;
    padding: 5px 0 5px 0;
}

footer div.socials img.facebook {
    height: 40px;
    width: auto;
    margin: 0 5px;
}

footer div.socials img.instagram {
    height: 34px;
    width: auto;
    margin: 3px 5px;
}

footer p {
    font-size: 0.8em;
    color: #ffffff;
    padding: 0;
}