@font-face {
    font-family: 'Capture it';
    src: url('fonts/Capture it.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overscroll-behavior: none;
    background-color: #000;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overscroll-behavior: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #c90901;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.fixed-header .container {
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.fixed-header h1 {
    color: white;
    font-family: 'Capture it', Arial, sans-serif;
    font-weight: normal;
    font-size: 24px;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
    height: 400px;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: none;
}

.hero-membership img {
    object-position: center 20%;
}

.hero-landing img {
    object-position: center top;
}

.hero-tournaments img {
    object-position: center top;
}

.hero-text {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-text h2 {
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    white-space: nowrap;
}

/* Welcome Section */
.welcome {
    background-color: white;
    padding: 60px 0;
}

.welcome h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.welcome p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

/* Recruiting Banner */
.recruiting-banner {
    text-align: center;
    margin: 20px 0;
}

.recruiting-banner h3 {
    font-size: 20px;
    font-weight: bold;
    color: #c90901;
    margin: 0;
    display: inline;
}

/* Red Highlight for inline text */
.red-highlight {
    font-weight: bold;
    color: #c90901;
}

/* Sessions Title */
.sessions-title {
    font-size: 32px;
    text-align: center;
    color: #333;
    margin: 40px 0 20px 0;
    scroll-margin-top: 100px;
}

/* Sessions Container */
.sessions-container {
    display: flex;
    gap: 30px;
    margin: 20px 0 40px 0;
}

/* Individual Session Box */
.session-box {
    flex: 1;
    padding: 25px 20px;
    border: 3px solid #c90901;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.session-type {
    font-size: 22px;
    color: #c90901;
    margin-bottom: 12px;
    font-weight: bold;
}

.session-info {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.session-map {
    margin-bottom: 15px;
    position: relative;
}

.session-map a.map-overlay {
    display: block;
    position: relative;
    cursor: pointer;
}

.session-map a.map-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.session-map iframe {
    display: block;
}

.get-involved-btn {
    background-color: #c90901;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.get-involved-btn:hover {
    background-color: #a00d25;
}

/* Contact Fizz Section */
.contact-fizz-section {
    text-align: center;
    margin: 40px 0;
}

.contact-fizz-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.contact-fizz-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-fizz-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #c90901;
    transition: transform 0.2s, color 0.2s;
}

.contact-fizz-icon-link:hover {
    transform: scale(1.1);
    color: #a00d25;
}

.contact-fizz-icon {
    width: 40px;
    height: 40px;
}

.contact-fizz-label {
    font-size: 14px;
    font-weight: 500;
}

/* Membership Options */
.membership-options {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.membership-card {
    flex: 1;
    min-width: 200px;
    padding: 30px 20px;
    border: 3px solid #c90901;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.membership-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.membership-card .price {
    font-size: 36px;
    color: #c90901;
    font-weight: bold;
    margin-bottom: 5px;
}

.membership-card .price-detail {
    font-size: 16px;
    color: #666;
}

/* Info Section */
.info-section {
    margin-top: 30px;
    margin-bottom: 10px;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 4px solid #c90901;
    border-radius: 4px;
}

.info-section p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #666;
}

.info-section p:last-child {
    margin-bottom: 0;
    font-weight: bold;
    color: #333;
}

/* Tournament Table */
.tournament-table-container {
    margin: 40px 0;
    overflow-x: auto;
}

.tournament-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.tournament-table thead {
    background-color: #c90901;
    color: white;
}

.tournament-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

.tournament-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.tournament-table tbody tr:hover {
    background-color: #f9f9f9;
}

.tournament-table tbody tr.super-sunday {
    background-color: #fff8f8;
}

.tournament-table tbody tr.super-sunday:hover {
    background-color: #ffebeb;
}

/* Rules List */
.rules-list {
    margin: 30px 0;
    padding-left: 30px;
}

.rules-list li {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* Standout Line */
.standout-line {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 40px 0;
}

/* Popup Link */
.popup-link {
    color: #c90901;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.popup-link:hover {
    color: #a00d25;
}

/* Back to Home */
.back-home {
    margin-top: 50px;
    text-align: center;
}

.back-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c90901;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: #a00d25;
}

/* Contact Options */
.contact-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    display: block;
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 18px 15px;
    border: 2px solid #c90901;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.contact-item span {
    color: #c90901;
    font-size: 16px;
}

/* Contact Fizz box with icons */
.contact-fizz {
    cursor: default;
}

.contact-fizz:hover {
    transform: none;
}

.fizz-icons {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 15px;
}

.fizz-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #c90901;
    transition: transform 0.2s, color 0.2s;
    flex: 1;
}

.fizz-icon-link:hover {
    transform: scale(1.1);
    color: #a00d25;
}

.fizz-icon {
    width: 32px;
    height: 32px;
}

.icon-label {
    font-size: 13px;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 3px solid #c90901;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c90901;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.contact-form button {
    background-color: #c90901;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #a00d25;
}

.contact-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin: 0 0 15px 0;
}

.privacy-notice {
    font-size: 14px;
    color: #666;
    font-style: italic;
    line-height: 1.3;
    margin: 10px 0 20px 0;
    transform: scale(0.85);
    transform-origin: left top;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message p {
    font-size: 22px;
    color: #c90901;
    font-weight: bold;
    margin: 0;
}

/* Carousel Section */
.carousel-section {
    background-color: #252525;
    padding: 20px 0 0 0;
}

.carousel-section .container {
    padding-bottom: 15px;
}

.carousel-section h2 {
    font-size: 32px;
    text-align: center;
    color: #fff;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #252525;
    padding: 20px 0 30px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    will-change: transform;
    position: relative;
}

.carousel-image {
    flex-shrink: 0;
    width: calc((100% - 80px) / 5);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top right;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.carousel-image:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 20px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #c90901;
}

.footer-link .icon {
    width: 28px;
    height: 28px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .fixed-header {
        padding: 15px 0;
    }

    .header-content {
        justify-content: space-between;
        gap: 0;
        min-height: 32px;
    }

    .fixed-header h1 {
        font-size: 20px;
        flex: 1;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #c90901;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hero {
        margin-top: 40px;
        height: 300px;
    }

    .hero-text {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

    .hero-text h2 {
        font-size: 38px;
        white-space: normal;
    }

    .welcome h2 {
        font-size: 24px;
    }

    .welcome p {
        font-size: 16px;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .recruiting-banner h3 {
        font-size: 22px;
    }

    .sessions-container {
        flex-direction: column;
        gap: 20px;
    }

    .sessions-title {
        font-size: 26px;
    }

    .membership-options {
        flex-direction: column;
    }

    .info-section {
        padding: 20px;
    }

    .info-section p {
        font-size: 16px;
    }

    .rules-list li {
        font-size: 16px;
    }

    .standout-line {
        font-size: 20px;
    }

    .carousel-image {
        width: calc((100% - 40px) / 3);
    }

    .carousel-section h2 {
        font-size: 24px;
    }

    .session-box {
        padding: 15px 15px;
    }

    .membership-card {
        padding: 5px 10px;
    }

    .membership-card h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .membership-card .price {
        font-size: 20px;
        margin-bottom: 0px;
    }

    .membership-card .price-detail {
        font-size: 12px;
    }

    .tournament-table {
        font-size: 13px;
    }

    .tournament-table th,
    .tournament-table td {
        padding: 8px 10px;
    }

    .tournament-table th {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }

    .hero {
        height: 250px;
    }

    .hero-text {
        width: 95%;
    }

    .hero-text h2 {
        font-size: 30px;
    }

    .welcome {
        padding: 40px 0;
    }

    .carousel-image {
        width: calc((100% - 20px) / 2);
    }

    .carousel-section {
        padding: 20px 0 0 0;
    }
}
