/* Base Styles & Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #000;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Outer Wrappers for Max-Width Constraint */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header / Navbar */
header {
    background-color: #0d0d0d;
    height: 60px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /*padding: 0 20px;*/
}

.brand-logo {
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding-left: 1em;
}

.brand-logo strong {
    font-weight: 800;
    padding-right: 8px;
    border-right: 1px solid #444;
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
}

nav a {
    color: #d1d1d1;
    text-decoration: none;
    padding: 0 16px;
    font-size: 0.95rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

nav a:hover {
    color: #ffffff;
}

.nav-rsvp-btn {
    background-color: #81c244;
    color: #ffffff;
    font-weight: 600;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-rsvp-btn:hover {
    background-color: #6aab37;
}

/* Hero Section with Background */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 40px 20px;
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
    z-index: 1;
    padding: 0 1em;
}

.hero_bg {
    background-image: url(/img/hero.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    position: absolute;
    z-index: 0;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    opacity: 0.9;
}

/* Left Content Column */
.left-content {
    max-width: 480px;
    width: 100%;
}

/* Logo Placeholder Styling */
.logo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 220px;
    /*border: 2px dashed rgba(255, 255, 255, 0.4);*/
    /*border-radius: 12px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    background-image: url(/img/pick_logo2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Title Graphic Text */
.title-green {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #81c244;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #91d355 0%, #63a031 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    background-color: #81c244;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cta-btn:hover {
    background-color: #6aab37;
}

/* Right Content Column (Countdown Timer) */
.right-content {
    text-align: center;
    margin-bottom: 20px;
}

.timer-title {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.timer-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #81c244;
    line-height: 1;
}

.timer-label {
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 1px;
    margin-top: 6px;
    font-weight: 500;
}

.timer-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Event Details Section */
.event-details-bar {
    background-color: #0d0d0d;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 30px 20px;
}

.details-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 60px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.detail-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2em;
    top: 0;
    bottom: 0;
    width: 1px;
    height: 100px;
    background-color: #436d23;
}

.detail-icon img {
    width: 38px;
    height: 38px;
    color: #81c244;
    flex-shrink: 0;
}

.detail-icon-img img {
    width: 38px;
}

.detail-text h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.detail-text p {
    color: #d1d1d1;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Rally & Schedule Section */
.rally-schedule-section {
    background-color: #000000;
}

.rally-schedule-container {
    display: flex;
    min-height: 400px;
}

.rally-box {
    flex: 1;
    padding: 50px 110px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(/img/tournament_background.jpg);
    background-size: cover;
    background-position: center;
}

.rally-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.rally-title span {
    color: #81c244;
}

.rally-list {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rally-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.15rem;
    color: #81c244;
    font-weight: 600;
}

.check-icon img {
    width: 32px;
    height: 32px;
    color: #81c244;
    flex-shrink: 0;
}

.outline-btn {
    display: inline-block;
    align-self: flex-start;
    border: 2px solid #81c244;
    color: #ffffff;
    background: transparent;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.outline-btn:hover {
    background-color: #81c244;
    color: #000000;
}

.schedule-box {
    flex: 1;
    background-color: #050505;
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 35px;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 20px;
}

.timeline-line {
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: #81c244;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-node {
    position: absolute;
    left: -15px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #81c244;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-time {
    width: 110px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #81c244;
    flex-shrink: 0;
}

.timeline-desc {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Highlights Section */
.highlights-section {
    background-color: #ffffff;
    padding: 50px 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-icon img {
    width: 70px;
    height: 70px;
    color: #000000;
    margin-bottom: 16px;
}

.highlight-title {
    color: #81c244;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 70 Years Section */
.years-section {
    background-color: #121212;
    padding: 60px 20px;
    color: #ffffff;
}

.years-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.years-text-col {
    flex: 0 0 300px;
}

.years-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.years-title span {
    color: #81c244;
}

.years-desc {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
}

.years-slider-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide-card {
    flex: 0 0 calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-card .image-placeholder {
    width: 100%;
    height: 150px;
    background-color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.slide-card .image-placeholder img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.slide-year {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.slider-btn {
    background: rgba(0,0,0,0.6);
    border: 1px solid #ffffff;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.slider-btn svg {
    width: 22px;
    height: 22px;
}

.slider-btn:hover {
    border-color: #81c244;
    color: #81c244;
}

.prev-btn {
    margin-right: 15px;
}

.next-btn {
    margin-left: 15px;
}

.story-btn-wrapper {
    margin-top: 35px;
}

.story-btn {
    padding: 10px 40px;
}

/* Comprehensive Responsive Rules */
@media (max-width: 900px) {
    nav a:not(.nav-rsvp-btn) {
        display: none;
    }

    .hero_bg {
        background-position: top;
        opacity: 0.4;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .right-content {
        margin-top: 20px;
        width: 100%;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
        display: grid;
    }

    .detail-item:not(:last-child)::after {
        right: 2em;
    }

    .detail-item:nth-child(2)::after {
        display: none;
    }

    .rally-schedule-container {
        flex-direction: column;
    }

    .schedule-box {
        padding: 40px 20px;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .years-container {
        flex-direction: column;
    }

    .years-text-col {
        flex: 100%;
    }

    .slide-card {
        flex: 0 0 calc(50% - 10px);
    }

    .guest-row.grid-responsive-3 {
        display: block;
    }

    .guest-row.grid-responsive-3 .form-group {
        margin-bottom: 1em;
    }

}

@media (max-width: 550px) {
    .title-green {
        font-size: 2.8rem;
    }

    .timer-number {
        font-size: 2.2rem;
    }

    .timer-grid {
        gap: 10px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-item {
        padding: 0;
    }

    .detail-item::after {
        display: none !important;
    }

    .rally-box {
        padding: 40px 20px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .slide-card {
        flex: 0 0 80%;
    }

    .prev-btn {
        margin-right: 5px;
    }

    .next-btn {
        margin-left: 5px;
    }

}

.venue {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.venue_bg {
    background-image: url(https://images.prismic.io/electric-pickle-www/Z31we5bqstJ99JNM_DroneHero2.jpg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    max-width: 1200px;
    position: absolute;
    z-index: 0;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    opacity: 0.6;
}

.venue_logo {
    width: 300px;
}

.venue_map {    
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    margin: 0 auto;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.4;
}

.venue_map p {
    margin-top: 0.8em;
}

.venue_map div {
    padding: 3em;
}

.venue_map div.map_address div {
    padding: 0 0 2em;
}

.venue_map .map_address {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.venue_map .map_address iframe {
    border-radius: 15px;
    box-shadow: 4px 4px 8px #36363633;
}

.venue_map .map_address .map {
     width: 100%;
     max-width: 760px;
     height: 550px;
}

@media (max-width: 900px) {
    .venue_map .map_address {
        display: block;
    }
}

#Event_Details,
#Schedule,
#Tournament,
#RSVP_Now,
#ZT1953 {
    scroll-margin-top: 60px;
}


