:root {
    --font-logo: 'Cinzel', serif;
    --font-strapline: 'Montserrat', sans-serif;
    --color-background: #000000;
    --color-gold: #F1E7BF;
}

html,
body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: block;
    background-color: var(--color-background);
    background-image: url('images/template/blackcoral-background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: var(--font-strapline);
    font-size: 16px;
    box-sizing: border-box;
    color: var(--color-gold);
}

a:link,
a:hover,
a:visited {
    text-decoration: none;
    color: var(--color-gold)
}

a.homepage-enter-link:link {
    text-decoration: none;
}

a.homepage-enter-link:hover {
    color: var(--color-background);
}

.center-wrapper {
    display: flex;
    flex-direction: column; /* stack children vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5em; /* spacing between elements */
    margin: 0 auto;
    width:100vw;
    max-width:1000px;
    overflow:hidden;
}
    
/* Style the logo */
.homepage-logo {
    height: 40vh;
    max-height: 600px;
    width: auto;
    margin: 2vw;
    opacity: 0;
    transform: scale(0.9);
    animation: logoFadeIn 5s forwards;
        animation-delay: 0.5s;
    max-width: 80vw;
    object-fit: contain;
    display: block;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.homepage-blackcoral {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 8vw, 5rem);
    text-transform: uppercase;
    margin: 0;
    min-width: 1000px;
    overflow:hidden;
    /* Animation styles */
    opacity: 0;
    letter-spacing: 20px;
    animation: logoTitleFadeIn 5s forwards;
    animation-delay: 0.5s;
}

@keyframes logoTitleFadeIn {
  to {
    opacity: 1;
    letter-spacing: 0px;
  }
}

.homepage-strapline,
.homepage-enter {
    font-family: var(--font-strapline);
    font-size: clamp(10px, 2vw, 16px);
    text-transform: uppercase;
    margin: 0;
    min-width: 1000px;
    overflow:hidden;
    /* Animation styles */
    opacity: 0;
    letter-spacing: 20px;
    animation: logoStraplineFadeIn 5s forwards;
    animation-delay: 0.5s;
}

@keyframes logoStraplineFadeIn {
  to {
    opacity: 1;
    letter-spacing: clamp(3px, 0.8vw, 10px);
  }
}

.homepage-enter {
    position: relative;
    top: -8vh;
    padding: 10px clamp(5px, 1vw, 8px) 10px clamp(10px, 2vw, 16px);
    border-radius: 10px;
    border: 1px solid var(--color-gold);
    min-width: 100px;
    /* Animation styles */
    background-color: transparent;
    transition: background-color 1s ease-in-out, color 1s ease-in-out;
}

.homepage-enter:hover {
    color: var(--color-background);
    background-color: var(--color-gold);
}

.social-button {
    width: 30px;
    opacity: 0;
    cursor: pointer;
    margin: 0 5px;
    transform: scale(0.5);
    animation: socialsFadeIn 1s ease-out forwards;
    transition: transform 0.3s ease, opacity 0.3s ease; /* for hover effect */
}
  
    .social-button:nth-child(1) { animation-delay: 2.3s; }
    .social-button:nth-child(2) { animation-delay: 2.6s; }
  
    .footer a:nth-child(1) .social-button { animation-delay: 1s; }
    .footer a:nth-child(2) .social-button { animation-delay: 1.3s; }

    @keyframes socialsFadeIn {
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

.exit-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.content-wrapper {
    width: 80vw;
    max-width: 1000px;
    margin: 80px auto 0px auto;
    padding-bottom: 100px;
    /* to style page-column */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.page-title,
.section-title {
    text-align: left;
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: solid 1px var(--color-gold);
}

.page-title {
    width: 100%;
    font-size: 40px;
    margin-bottom: 0px;
}

.page-column {
    flex: 1 1 calc(50% - 10px);
}

    @media (max-width: 768px) {
        .page-column {
        flex: 1 1 100%;
        }
    }

.body-text {
    color: white;
    text-align: left;
}

img {
    width: 100%;
}

li {
    padding: 5px 0px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
  
/* Shared animation style */
.animate-on-load {
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

/* Staggered delay (optional) */
.animate-delay-1 {
    animation-delay: 0.2s;
}
.animate-delay-2 {
    animation-delay: 0.4s;
}
.animate-delay-3 {
    animation-delay: 0.6s;
}
.animate-delay-4 {
    animation-delay: 0.8s;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    background: #000000;
}

/* Menu button wrapper */
.menu-button {
    width: 80vw;
    max-width: 1000px;
    text-align: right;
    margin: 20px auto 0px auto;
}
  
/* Menu items container (hidden by default) */
.nav-menu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s ease-in-out;
    text-align: right;
    margin-top: 20px;
}
  
.nav-menu a p {
    color: var(--color-gold);
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px 0px;
}

/* Show when expanded */
.nav-menu.open {
    max-height: 320px; /* or whatever height fits all links */
}

.footer {
    position: fixed;
    bottom: 0px;
    background-color: black;
    width: calc(100% - 40px);
    text-align: center;
    padding: 20px;
}
  
.enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    animation: fadeOutOverlay 2s ease-in-out forwards;
}

.exit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-in-out;
}
  
@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* z-index layers */

.enter-overlay {
    z-index: 0;
}

.content-wrapper,
.footer {
    z-index: 1;
}

.navigation,
.footer {
    z-index: 2;
}

.exit-overlay {
    z-index: 3;
}