<style type="text/css">
<!--

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

img {
    border-radius: 1em;
}

body {
    line-height: 1.5;
    height: 100%;
    width: 100%;
    background: #fff;
    font-family: 'Montserrat', serif;
    font-weight: 300;
    font-style: normal;
    font-size: medium;
    font-size: 110%;
    -webkit-font-smoothing: antialiased;
    color: #3b3b3b;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #355070;
}

a:visted {
    color: #355070;
}

a:hover {
    color: #6d597a;
}

a:active {
    color: #d9bd73;
}

header {
    width: 94%;
    height: 10vh;
    background: #fff;
    background: url("https://craigsmithmusic.co.uk/media/csm-lep-new-logo-black.png") no-repeat;
    background-size: contain;
    background-position: left center;
    margin: 1% 3%;
}

.menu-toggle {
    display : none;
}

nav {
    text-align: right;
    font-size: 120%;
    font-weight : 400;
}

.nav-item {
    list-style: none;
    display: inline-block;
    padding: 5.5vh 0;
    margin: 0 0 0 4%;
}

#homepage #homelink a, #biopage #biolink a, #venuespage #venuelink a, #packagespage #packageslink a, #mediapage #medialink a, #contactpage #contactlink a, #songspage #songslink a {
    font-weight: 600;
}

.banner {
    border-top: 1px solid #6d597a;
    border-bottom: 1px solid #6d597a;
    min-height: 90vh;
    width: 100%;
    background-color : #fff;
}

.banner-narrow {
    min-height: 60vh;
    border-top: 1px solid #6d597a;
    border-bottom: 1px solid #6d597a;
}

.fade-in, .banner, .banner-narrow . {
    -webkit-animation: fade-in 3s both;
    -mox-animation: fade-in 3s both;
    -o-animation: fade-in 3s both;
    animation: fade-in 3s both;
}

@-webkit-keyframes fade-in {
    0%{
        opacity: 0.1;
    }
    100%{
        opacity: 1;
    }
}

@-moz-keyframes fade-in {0%{
        opacity: 0.1;
    }
    100%{
        opacity: 1;
    }
}

@-o-keyframes fade-in {0%{
        opacity: 0.1;
    }
    100%{
        opacity: 1;
    }
}

@keyframes fade-in {0%{
        opacity: 0.1;
    }
    100%{
        opacity: 1;
    }
}

#home-banner {
    background: url("media/sandhole-oak-barn-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#bio-banner {
    background: url("media/eaves-hall-wedding-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#media-banner {
    background: url("media/wild-boar-wedding-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#packages-banner {
    background: url("media/river-barn-wedding-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#venues-banner, #faq-banner {
    background: url("media/wyreside-hall-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#contact-banner {
    background: url("media/armathwaite-hall-wedding-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#songs-banner {
    background: url("media/west-tower-wedding-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.banner-content {
    background: none;
    background-color: rgba(255,255,255,0.4);
    min-height: 90vh;
    padding : 0 5%;
}

.banner-narrow .banner-content {
    min-height : 60vh;
}

h1 {
    position: relative;
    top: 28vh;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 350%;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 0 #355070, -1px 1px 0 #355070, -1px -1px 0 #355070, 1px -1px 0 #355070;
    text-align: center;
    margin: 0;
}

.banner-title {
    position: relative;
    top: 28vh;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 350%;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 0 #355070, -1px 1px 0 #355070, -1px -1px 0 #355070, 1px -1px 0 #355070;
    text-align: center;
    margin: 0;
}

.banner-narrow .banner-title {
    top: 11vh;
}

.banner-copy {
    position: relative;
    top: 32vh;
    font-size: 250%;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 0 #355070, -1px 1px 0 #355070, -1px -1px 0 #355070, 1px -1px 0 #355070;
    text-align: center;
    margin: 0;
}

.banner-narrow .banner-copy {
    top: 15vh;
}

main {
    width: 88%;
    margin: 1em 6% 1em 6%;
    scroll-snap-type: y mandatory;
}

h2 {
    text-align: center;
    font-weight: 400;
    font-size: 200%;
    margin: 0.5em 0;
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-fade {
    opacity: 0;
    clip-path: inset(0 0 100% 0); /* Initially hide the bottom part of the element */
    transition: opacity 2s ease-out, clip-path 2s ease-out;
}

.testimonial {
    position: relative;
    width: 60%;
    margin: 1em 20% 1em 20%;
    background: #355070;
    border-radius: 5em;
    font-size: 200%;
    font-family: "Lora", serif;
    font-weight: 600;
    padding: 0.5em 3em;
    left: -3em;
    color: #fff;
    text-align: center;
}

.testimonial-small {
    position: relative;
    width: 60%;
    margin: 1em 20% 1em 20%;
    background: #355070;
    border-radius: 5em;
    font-size: 140%;
    font-family: "Lora", serif;
    font-weight: 600;
    padding: 0.5em 3em;
    left: -3em;
    color: #fff;
    text-align: center;
}

.recommended {
    position: relative;
    width: 60%;
    margin: 1em 20% 1em 20%;
    background: #355070;
    border-radius: 4em;
    font-size: 150%;
    font-family: "Lora", serif;
    font-weight: 600;
    padding: 0.5em 3em;
    left: -3em;
    color: #fff;
    text-align: center;
}

.reveal {
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.reveal.revealed {
    transform: scaleX(1);
    opacity: 1;
}


.portrait-right {
    float: right;
    margin: 0.5em 0 0.5em 3%;
    width: 25%;
    height: auto;
    opacity: 0;
    transform: translateX(50px); /* Start 50px from the right */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.portrait-right-small {
    display : none;
}

.portrait-right.half-visible {
    opacity: 1;
    transform: translateX(0); /* Move back to natural position */
}

.half-visible {
    opacity: 1;
    transform: translateX(0);
}

p {
    margin: 1em 0 0 0;
}

p:first-of-type {
    margin: 0;
}

.note {
    font-size: 80%;
}

.highlight {
    font-weight : bold;
}

.info {
    display: none;
}

.ldp {
    font-style: italic;
}

.para-bullets {
    margin-top: 0;
}

.faq-section, .index-box {
    background: white;
    border-radius: 1em;
    border: 4px solid #355070;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    margin: 1em 40% 5% 0;
    padding : 1em;
    box-sizing : border-box;
}

.index-box h {
    text-align: center;
    margin-top :0;
}

.index-bullets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.box  {
    margin: 0;
    padding: 0;
}

.box-row {
    display: flex;
    flex-direction: row;
    margin: 0 0 1em 0;
    border: 4px solid #355070;
    border-radius: 1em;
    overflow: hidden;
}

.packages-section, .songlist-section {
    width: 100%;
    margin: 1em 0 0 0;
    padding: 0;
}

.packages-block {
    width: 65%;
    min-width: 65%;
    height: auto;
    text-align: center;
    padding: 0 2em 1em 2em;
}

.packages-block .highlight {
    display: block;
}

.packages-photo {
    width: 35%;
    height: auto;
    z-index: -1;
}

.songlist {
    box-sizing : border-box;
    width : 48%;
    margin: 0 0.5% 1em 0.5%;
    padding : 0.5em 5%;
    border: 4px solid #355070;
    border-radius: 1em;
    text-align: center;
    display: inline-block;
}

.songlist ul, .songlist h3 {
    margin: 0;
}

.songlist li {
    list-style: none;
    margin-left: -40px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.gallery-tile {
    position: relative;
    flex: 0 0 calc((100% - (3 * 2%)) / 4);
    aspect-ratio: 3 / 2;
    border-radius: 1em;
    overflow: hidden;
    margin-bottom: 1em;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-tile h4 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #fff;
    text-align: center;
    pointer-events: none;
    font-size: 120%;
    text-shadow: 2px 2px 0 #355070, -1px 1px 0 #355070, -1px -1px 0 #355070, 1px -1px 0 #355070;
    font-family: "Lora", serif;
}

.tile-rm {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0.1rem 0;
    background : #355070;
    color: #fff;
    display: none;
}

.venue-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem 2rem;
    list-style: none;
    padding: 0;
    margin: 1em 0 0 0;
}

.venue-list li {
    break-inside: avoid;
    margin-bottom: 0.4rem;
}

.price {
    color : #355070;
    font-size : 120%;
    font-weight : 400;
}

#pkg1 {
    background: url("media/wild-boar-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#pkg2 {
    background: url("media/town-head-estate-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#pkg3 {
    background: url("media/hidden-river-barn-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#pkg4 {
    background: url("media/merewood-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#pkg5 {
    background: url("media/three-hills-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#pkg6 {
    background: url("media/inn-on-the-lake-wedding-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.form-container {
    background: white;
    border-radius: 1em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 70%;
    margin: 1em 40% 5% 0;
    padding : 1em;
}

#contact_form, #details_form, #quote_builder {
    width: 92%;
    overflow: hidden;
    padding : 1em 4% 1em 4%;
}

label {
    display: block;
    margin-bottom: 0.2em;
    font-weight: 600;
}

textarea, #form_button {
    box-sizing: border-box;
    width: 50%;
    min-width: 20em;
    padding: 0.2em 1em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 0.5em;
}

#form_button {
    background-color: #d9bd73;
    color: white;
    border: 1px solid #d9bd73;
}

#form_button:hover {
    background-color: #e0cb8f;
    border: 1px solid #e0cb8f;
    text-shadow: 1px 1px 0 #d9bd73, -1px 1px 0 #d9bd73, -1px -1px 0 #d9bd73, 1px -1px 0 #d9bd73;
}
}

.error, .success {
    color: #e74c3c;
    font-size: 120%;
    margin: 10px 0;
    text-align: center;
    font-weight : 600;
}

.success {
    color: #2ecc71;
}

.captcha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.captcha input {
    width: auto;
    padding: 0.2em 1em;
}

footer {
    text-align: center;
    width: 92%;
    margin: 0 4%;
}

#lakes-logo {
    text-align: center;
    width: 160px;
    height: auto;
    position: relative;
    left: 50%;
    margin-left: -80px;
}

.availability-button {
    text-align: center;
    padding-bottom: 1em;
    margin: 1em 0 0.7em 0;
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    padding: 0.3em 0.6em; /* Adjust initial padding for the button */
    height: 0;
    transition: opacity 0.6s ease-out, transform 1.2s ease-out, height 1.2s ease-out, padding 1.2s ease-out;
    overflow: hidden;
}

footer .availability-button {
    padding : 0;
}

.availability-button a {
    color: #fff;
    background: #d9bd73;
    font-size: 250%;
    padding: 0.3em 0.6em;
    border-radius: 1em;
}

.availability-button a:hover {
    background: #e0cb8f;
    text-shadow: 2px 1px 0 #d9bd73, -2px 1px 0 #d9bd73, -2px -1px 0 #d9bd73, 2px -1px 0 #d9bd73;
}

#contactpage .availability-button {
    display: none;
}

.video-container {
    display : inline-block;
    width : 31%;
    max-width : 31%;
    margin : 1em 1%;
    padding : 0;
    min-height : 45em;
    max-height : 45em;
    overflow-y : scroll;
    border-bottom : 1px solid #dbdbdb;
}

.instagram-media {
    background: #fff; 
    border-radius: 0.5em;
    margin: 1em; 
    max-width: 540px; 
    min-width: 326px; 
    padding: 0; 
    width:  99.375%; 
    width:-webkit-calc(100% - 2px); 
    width:calc(100% - 2px);
}

.copyright {
    font-size: 80%;
    padding: 1em 0;
}

#venue-banner {
    width: 100%;
    height: auto;
}

#base-panel {
    margin-top: 2%;
    border-top: 4px solid #355070;
}

.visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.availability-button.visible {
    opacity: 1;
    transform: translateY(0); /* Return to normal position */
    padding: 0.5em 1em; /* Normal padding when fully visible */
    height: auto; /* Let height expand naturally */
}

.mobile-only {
    display : none;
}

.socialmedia {
    margin-left : -40px;
}

.mediaicons li {
    list-style : none;
    display : inline-block;
    margin-left : -0.5em;
}

.mediaicon {
    border-radius : 0;
    margin : 0 0.5em;
}