/* Reset basics + body */
body {
    font-family: "SN Pro", sans-serif !important;
    background-color: rgb(238, 238, 238) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    text-align: center;

    color: #212529;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Menu icon - make sure it's visible and clickable */
.menu-icon {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.menu-icon:hover,
.menu-icon.active {
    background: #555;
}

/* Sidebar - slide-in from left (reliable mobile/desktop) */
.sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #2c2c2c;
    color: white;
    transition: transform 0.35s ease;
    transform: translateX(0);
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
}

.sidebar.open {
    transform: translateX(320px);
}

/* Links in sidebar */
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    font-size: 1.05rem;
}

.sidebar a:hover {
    background: #444;
}

/* Main content spacing (so sidebar doesn't overlap text when open) */
main {
    padding-left: 20px;
    padding-right: 20px;
    transition: padding-left 0.35s ease;
}

.sidebar.open~main {
    padding-left: 300px;
    /* push content right when sidebar open */
}

/* Apply gold banner only to the page header */
.page-header {
    background-color: #4deaff !important;
    padding: 1.25rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

/* keep .container default behavior — removed global override */

/* ── Club Cards ──────────────────────────────────────── */
.club-card {
    background: #d8e4ff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.18s ease;
    height: 100%;
    /* makes cards same height in row */
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.club-card h3 {
    margin: 0 0 0.9rem 0;
    font-size: 1.45rem;
    color: rgb(58, 127, 255);
}

.club-card p {
    margin: 0.5rem 0;
    line-height: 1.45;
}



/* Banner carousel at top of index with text overlay */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* push down a bit so it isn't flush to the very top */
    margin-top: 60px;
}

.banner-carousel .carousel-inner {
    /* taller banner for more vertical space */
    height: 450px;
}

.banner-carousel .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(131, 170, 255, 0.5);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-align: center;
    color: black;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 85vw;
        max-width: 320px;
    }

    .sidebar.active {
        transform: translateX(85vw);
    }

    .sidebar.active~main {
        padding-left: 20px;
        /* less push on small screens */
    }

    /* Move carousel photos down on small screens */
    .banner-carousel {
        margin-top: 120px;
    }
}

/* uniform sizing for sam/teddy carousel images */
.card .carousel .carousel-item img {
    width: 100%;
    /* fill carousel width */
    height: 150px;
    /* base height for small screens */
    object-fit: cover;
    /* scale and crop to fit */
}

/* Scale image height on larger screens */
@media (min-width: 576px) {
    .card .carousel .carousel-item img {
        height: 180px;
    }
}

@media (min-width: 768px) {
    .card .carousel .carousel-item img {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .card .carousel .carousel-item img {
        height: 250px;
    }
}

@media (min-width: 1200px) {
    .card .carousel .carousel-item img {
        height: 300px;
    }
}

/* Expand images on large screens */
@media (min-width: 992px) {
    .card .carousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-lg {
        flex: 1;
    }

    .text-lg {
        flex: 1;
    }
}

/* Footer styling */
.site-footer {
    background: #f8f9fa;
    color: #333;
    font-size: 0.9rem;
}

.site-footer a {
    color: #007bff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer p {
    margin: 0.25rem 0;
}

/* carousel sizing: allow full width inside card and remove limits */
.carousel-wrapper .carousel {
    width: 100%;
    /* fill whatever space the card gives */
    max-width: none;
    /* no artificial cap */
}

/* images already fill their parent container */
.carousel-wrapper .carousel img {
    width: 100%;
    height: auto;
}

/* spacing around text content inside cards */
.text-wrapper {
    padding: 1rem 1.5rem;
}

.text-wrapper h3 {
    margin-bottom: 0.5rem;
}

.text-wrapper p {
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* Teddy card fixed size to match Sam's first carousel image on large screens */
@media (min-width: 992px) {

    /* lock Teddy's carousel wrapper size */
    #teddyCarousel {
        width: 360px;
        /* match Sam's first image width */
        height: 360px;
        /* match Sam's first image height */
        flex: 0 0 auto;
        /* prevent resizing */
    }

    #teddyCarousel .carousel-inner {
        width: 100%;
        height: 100%;
    }

    #teddyCarousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* fill the carousel without distortion */
    }

    /* maintain proper spacing with text content */
    .order-lg-2 {
        flex: 0 0 auto;
    }
}



.purchase-reviews-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .purchase-reviews-container {
        grid-template-columns: 1fr;
    }
}

.purchase-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.purchase-section h2 {
    margin-bottom: 1.5rem;
    color: rgb(58, 127, 255);
    font-weight: bold;
}

.venmo-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #37acff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.venmo-link:hover {
    background-color: #65b9f5;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgb(58, 127, 255);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    display: block;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}