/* ========================================
   RESET
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Bebas Neue', sans-serif;
    scroll-behavior: smooth;
}
/* ========================================
   HERO SECTION
======================================== */

@keyframes kenburns {
    0% {
        background-size: 100% auto;
        background-position: center;
    }
    100% {
        background-size: 110% auto;
        background-position: 30% 30%;
    }
}
.hero {
    position: relative;
    min-height: 150vh;
    background-image: url("../images/golf-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* KEY */
    display: flex;
    align-items: flex-start;
    padding-left: clamp(1rem, 6vw, 6rem);
    animation: kenburns 20s ease-out infinite alternate;
}
.svmbc-logo{
	position:fixed;
	right:1%;
	top:1%;
	z-index: 10;
}
.svmbc-logo img{
	width:150px;
}
.logo250 {
    position: fixed;
    left: 1%;
    top: 1%;
    z-index: 10;
}
.logo250 img {
    width: 350px;
    max-width: 42vw;
    height: auto;
}
@media (max-width: 768px) {
    .svmbc-logo {
        left: auto;
        right: 10px;
        transform: none;
        top:10px;
    }
    .svmbc-logo img {
        width: 100px;
    }
    .logo250 {
        left: 10px;
        top: 10px;
    }
    .logo250 img {
        width: 230px;
        max-width: calc(100vw - 130px);
    }
    .hero {
        animation: none;
    }
    .top-text {
        top: 105px !important;
    }
    .ribbon-yellow, .ribbon-red, .ribbon-white {
         margin-top: 0 !important;
    }
    .feature-one,.feature-two,.feature-three,.feature-four,.feature-five{
        margin-top: 0 !important;
    }  
    .top-text{
        width: calc(100% - 2rem) !important;
        max-width: 520px;
    }
    .top-title {
        font-size: clamp(1.35rem, 7vw, 2.25rem);
        line-height: 1.05;
        margin-bottom: 8px;
    }
    .event-date{
        font-size: clamp(0.82rem, 3.6vw, 1.12rem);
        line-height: 1.2;
        padding: 5px 10px !important;
        letter-spacing: 0 !important;
    }
}

/* Titles */
.top-text{
    position: fixed;
    left: 50%;
    top: 3%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    font-family:
    "Century Gothic",
    CenturyGothic,
    AppleGothic,
    sans-serif;
    width:75%;
    text-transform: uppercase;
    text-align: center;
}

.top-title {
    font-size: clamp(1.6rem, 2.8vw, 3.25rem);
    line-height: 1;
    font-weight: 700;
    color:#011c47;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.event-date{
    font-size: clamp(.9rem, 1.5vw, 1.6rem);
    line-height: 1.15;
    color: #0f1d03;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    padding: 5px 30px;
    letter-spacing: 1.5px;
}

.and-more {
    font-style: italic;
}
/* ========================================
   RIBBON GROUP
======================================== */
.ribbon-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
/* ========================================
   RIBBON GROUP
======================================== */
.ribbons {
	display: flex;
    flex-direction: column;
    gap: 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
    align-items: center;
    text-align: center;
    cursor: default;
}
/* ========================================
   BASE RIBBON
======================================== */
.ribbon {
    position: relative;
    color: white;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), 0 18px 34px rgba(0, 0, 0, 0.2);
    display: inline-block;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    transform: rotate(-10deg);
    transform-origin: center;
    padding:
    clamp(0.7rem, 1.2vw, 1.2rem)   /* Top */
    clamp(2.8rem, 7vw, 4.5rem)     /* Right */
    clamp(0.2rem, 0.4vw, 0.5rem)    /* Bottom */
    clamp(2.8rem, 7vw, 4.5rem);    /* Left */
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease;
}
.ribbon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
    transform: translateX(-130%);
    transition: transform .45s ease;
    pointer-events: none;
}
.ribbon span {
    display: block;
    padding: 0;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .3s ease;
}
/* ========================================
   INDIVIDUAL RIBBONS
======================================== */
/* BLUE */
.ribbon-blue {
    background: #011C47;
    background: linear-gradient(180deg,rgba(1, 28, 71, 1) 0%, rgba(1, 28, 71, 1) 100%);
}
.ribbon-blue span{
    font-size: clamp(1.7rem, 4.7vw, 5rem);
    transform: scaleY(1.3); /* Stretches height to 150% */
  transform-origin: center; /* Optional: keeps top aligned */
}
/* RED */
.ribbon-red {
background: #E12420;
background: linear-gradient(180deg, rgba(225, 36, 32, 1) 0%, rgba(173, 29, 16, 1) 100%);
    /* margin-left: 2rem; */
    margin-top: -2px;
}
.ribbon-red span {
    font-size: clamp(1.5rem, 4vw, 4rem);
        transform: scaleY(1.3); /* Stretches height to 150% */
  transform-origin: center; /* Optional: keeps top aligned */
}
/* YELLOW */
.ribbon-yellow {
background: #FAC60C;
background: linear-gradient(180deg, rgba(250, 198, 12, 1) 0%, rgba(222, 176, 9, 1) 100%);
    color: #000;
    /* margin-left: 4rem;*/ 
       margin-top: -2px; 
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), 0 18px 34px rgba(0, 0, 0, 0.2);
}
.ribbon-yellow span {
    font-size: clamp(1.5rem, 4vw, 4rem);
        transform: scaleY(1.3); /* Stretches height to 150% */
  transform-origin: center; /* Optional: keeps top aligned */
}
/* WHITE */
.ribbon-white {
    background: white;
    color: #c62828;
    /* margin-left: 5rem; */
    margin-top: -2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), 0 18px 34px rgba(0, 0, 0, 0.16);
    padding:
    clamp(0.2rem, 0.4vw, 0.5rem)    /* top */
    clamp(1.8rem, 3vw, 1.8rem)   /* Right */
    clamp(0.2rem, 0.4vw, 0.5rem)    /* Bottom */
    clamp(1.8rem, 3vw, 1.8rem);    /* Left */    
}
.ribbon-white span {
    font-size: clamp(1.9rem, 4vw, 3.8rem);
}
/* Script text */
.script-text {
    font-family: "Brush Script MT", cursive !important;
    text-transform: none !important;
}

.event-feature {
    position: fixed;   /* change from absolute */
    right: 2%;
    bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 5;
}

.feature-golf {
    margin-bottom: 0.85rem;
}

.feature-golf a {
    display: block;
    width: fit-content;
    margin-left: auto;
    cursor: pointer;
}

.feature-golf img {
    display: block;
    width: clamp(120px, 16vw, 150px);
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
    border:4px solid #fff;
    border-radius:6px;
    background: #fff;
    padding:4px;
    transition: transform .28s ease, filter .28s ease, box-shadow .28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .feature-golf a:hover img {
        transform: scale(1.04);
        filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.32));
    }
}

.feature-one,
.feature-two,
.feature-three,
.feature-four,
.feature-five {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(0.2rem, 0.4vw, 0.4rem) clamp(1.2rem, 2.5vw, 2.8rem) clamp(0.2rem, 0.4vw, 0.4rem) clamp(4rem, 6vw, 6rem);
    width: fit-content;
    min-height: clamp(30px, 8vw, 40px);
    margin-top: -2px;
    overflow: visible;
    z-index: 1;
    cursor: default;
    animation: feature-slide 3.2s ease-in-out infinite;
}

.feature-one {
    animation-delay: 0s;
}

.feature-two {
    animation-delay: 0.4s;
}

.feature-three {
    animation-delay: 0.8s;
}

.feature-four {
    animation-delay: 1.2s;
}

.feature-five {
    animation-delay: 1.6s;
}

.feature-five .feature-title {
    font-size: clamp(1rem, 2vw, 2rem);    
    color: #000;
}

.feature-one::before,
.feature-two::before,
.feature-three::before,
.feature-four::before,
.feature-five::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
    clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 12% 100%);
}

.feature-one::before {
    background: #011c46;
}

.feature-two::before {
    background: #d32118;
}

.feature-three::before {
    background: #078804;
}

.feature-four::before {
    background: #0b4875;
}

.feature-five::before {
    background: #ffffff;
}

.feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: clamp(0.4rem, 0.8vw, 0.8rem);
    flex-shrink: 0;
    z-index: 1;
}

.feature-image img {
    width: clamp(30px, 5vw, 30px);
    height: auto;
}

.feature-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1rem, 2vw, 2rem);    
    color: white;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 1;
}

@keyframes feature-slide {
    0%, 100% {
        transform: translateX(0);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }

    35% {
        transform: translateX(-10px);
        filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
    }
}



/* animation */
.hero-inner {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(92vw, 900px);
}

/* RIBBONS */

.ribbons {

    position: relative;
    z-index: 2;

    transition:
        opacity .55s ease,
        transform .55s ease;

}

/* AGENDA */

.agenda-panel {

    position: absolute;

    top: 0;
    left: 0;

    width: min(100%, 580px);

    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.2vw, 1.8rem);
    border-radius: 18px;
    background: rgba(1, 28, 71, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    transform: translateX(40px);

    transition:
        opacity .55s ease,
        transform .55s ease;

    z-index: 1;
}

/* WHEN SCROLLED */

.hero.scrolled .ribbons {

    opacity: 0;
    transform: translateX(-40px) scale(.88);

}

@media (hover: hover) and (pointer: fine) {
    .ribbons:hover .ribbon {
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
        filter: saturate(1.06) brightness(1.03);
    }

    .ribbons:hover .ribbon::after {
        transform: translateX(130%);
    }

    .ribbons:hover .ribbon-blue {
        transform: rotate(-8deg) translate3d(10px, -6px, 0);
    }

    .ribbons:hover .ribbon-red {
        transform: rotate(-9deg) translate3d(16px, -2px, 0);
    }

    .ribbons:hover .ribbon-yellow {
        transform: rotate(-11deg) translate3d(22px, 2px, 0);
    }

    .ribbons:hover .ribbon-white {
        transform: rotate(-9deg) translate3d(14px, 6px, 0);
    }

    .ribbons:hover .ribbon span {
        transform: translateY(-1px);
    }

    .ribbons:hover .ribbon-blue span,
    .ribbons:hover .ribbon-red span,
    .ribbons:hover .ribbon-yellow span {
        transform: scaleY(1.3) translateY(-1px);
    }
}

.hero.scrolled .agenda-panel {

    opacity: 1;
    transform: translateX(0);

}

.agenda-title {
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    color: white;
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.agenda-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agenda-item-with-sub {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agenda-panel {
    pointer-events: none;
}

.hero.scrolled .agenda-panel {
    pointer-events: auto;
}

.time {
    color: #FAC60C;
    min-width: 62px;
    font-size: clamp(0.95rem, 1.7vw, 1.3rem);
    letter-spacing: 0.04em;
}

.text {
    color: white;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-size: clamp(0.86rem, 1.2vw, 1rem);
    font-weight: 600;
    line-height: 1.15;
    min-width: 0;
    overflow-wrap: anywhere;
}

.agenda-sub {
    color: rgba(255, 255, 255, 0.82);
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    margin: 0 0 0.8rem 80px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    line-height: 1.4;
    max-width: 48ch;
}

.mobile-agenda-section {
    display: none;
}

.mobile-agenda-panel {
    width: min(100%, 680px);
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.2vw, 1.8rem);
    border-radius: 18px;
    background: rgba(1, 28, 71, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 769px) and (max-height: 820px) {
    .hero-inner {
        top: 50%;
    }

    .agenda-panel {
        width: min(100%, 540px);
        max-height: calc(100vh - 3rem);
        padding: 0.9rem 1.2rem;
        overflow-y: auto;
    }

    .agenda-title {
        font-size: clamp(1.55rem, 2vw, 2.1rem);
        margin-bottom: 0.55rem;
    }

    .agenda-item {
        gap: 10px;
        margin-bottom: 4px;
        padding-bottom: 4px;
    }

    .time {
        min-width: 56px;
        font-size: 0.95rem;
    }

    .text {
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .agenda-sub {
        margin-left: 66px;
        margin-bottom: 0.55rem;
        padding-bottom: 0.55rem;
        font-size: 0.76rem;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: y mandatory;
    }

    body {
        overflow-y: auto;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
        height: 100svh;
        min-height: 100svh;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 6rem;
        background-attachment: scroll;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .hero-inner {
        width: min(100%, 380px);
        z-index: 6;
        top: 46%;
    }

    .agenda-panel {
        display: none;
    }

    .agenda-item {
        align-items: flex-start;
        gap: 10px;
    }

    .time {
        min-width: 54px;
        flex-shrink: 0;
    }

    .text {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .agenda-sub {
        margin-left: 0;
        max-width: none;
        font-size: 0.8rem;
    }

    .event-feature {
        position: absolute;
        right: 12px;
        bottom: 12px;
        margin: 0;
        width: min(100%, 320px);
        align-items: flex-end;
        z-index: 6;
    }

    .feature-golf {
        margin-bottom: 0.55rem;
    }

    .feature-golf a,
    .feature-golf img {
        margin-left: auto;
    }

    .feature-golf img {
        width: 88px;
    }

    .feature-one,
    .feature-two,
    .feature-three,
    .feature-four,
    .feature-five {
        animation: none;
        align-self: flex-end;
        padding: 0.2rem 1.1rem 0.2rem 3.35rem;
        min-height: 34px;
    }

    .feature-title {
        font-size: clamp(0.82rem, 3vw, 1rem);
        letter-spacing: 0.03em;
    }

    .feature-image {
        margin-right: 0.3rem;
    }

    .feature-image img {
        width: 22px;
    }

    .ribbon {
        padding:
        clamp(0.62rem, 1.1vw, 0.78rem)
        clamp(2.2rem, 5.4vw, 2.8rem)
        clamp(0.18rem, 0.34vw, 0.3rem)
        clamp(2.2rem, 5.4vw, 2.8rem);
    }

    .ribbon-blue span {
        font-size: clamp(1.8rem, 5.4vw, 1.85rem);
    }

    .ribbon-red span,
    .ribbon-yellow span {
        font-size: clamp(1.48rem, 4.5vw, 1.48rem);
    }

    .ribbon-white {
        padding: 0.18rem 1.2rem;
    }

    .ribbon-white span {
        font-size: clamp(1.8rem, 5.2vw, 1.8rem);
    }

    .mobile-agenda-section {
        display: block;
        position: relative;
        min-height: 100vh;
        padding: 7.5rem 1rem 2rem;
        background-image: url("../images/golf-bg.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .mobile-agenda-panel {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        padding: 1.1rem;
        border-radius: 18px;
    }
}
