/* CSS vars */
:root {
    --primary-start: #f1d26c;
    --primary-end: #f54d9f;
    --dark-color: #18182b;
    --light-bg: #f9f9f9;
    --text-color: #18182b;
    --btn-gradient: linear-gradient(
        90deg,
        var(--primary-start),
        var(--primary-end)
    );
}

.gradient-text {
    background: linear-gradient(
        90deg,
        var(--primary-start),
        var(--primary-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Globals */
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: var(--dark-color);
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
}
.menu-toggle {
    display: none;
}
/* Mobile hamburger menu stuff */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
    }
    .menu-toggle .bar {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #fff;
        transition: transform 0.4s ease, opacity 0.4s ease;
        transform-origin: center;
    }
    .menu-toggle .bar:nth-child(1) {
        top: 0;
    }
    .menu-toggle .bar:nth-child(2) {
        top: calc(50% - 1.5px);
    }
    .menu-toggle .bar:nth-child(3) {
        bottom: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header nav.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    header nav ul {
        flex-direction: column;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    header nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    header nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
}
header h1 {
    font-size: 1.8rem;
}
header nav {
    display: flex;
}
header nav ul {
    list-style: none;
    display: flex;
}
header nav ul li {
    margin-left: 20px;
}
header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}
header nav ul li a:hover {
    color: var(--primary-end);
}

/* Landing */
.landing-section {
    background-color: #fff;
    background-image: url("assets/court3.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}
.landing-content {
    text-align: center;
    color: var(--text-color);
    padding: 20px;
}
.landing-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.landing-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.landing-content button {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    background: var(--btn-gradient);
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
    transition: opacity 0.3s ease;
}
.landing-content button:hover {
    opacity: 0.85;
}

/* About */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
    text-align: center;
}
.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-section p {
    font-size: 1rem;
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    text-align: left;
}

/* Download */
.download-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
    position: relative;
    background-image: url("assets/pickleball_op.png");
    background-repeat: no-repeat;
    background-position: right calc(100% + 250px);
    background-size: 50vh auto;
}
.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.download-section p {
    font-size: 1rem;
    margin-bottom: 30px;
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.download-btn {
    padding: 12px 30px;
    background: var(--btn-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: opacity 0.3s ease;
}
.download-btn:hover {
    opacity: 0.85;
}

/* Members */
.members-section {
    padding: 80px 0;
    background: var(--light-bg);
    text-align: center;
}
.members-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.member {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: block;
}
.member img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.member h3 {
    margin: 10px 0;
}
.member p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.member-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.member-contact a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.member-contact a:hover {
    opacity: 0.85;
}
.email-btn {
    background: var(--btn-gradient);
    color: #fff;
}
.linkedin-btn {
    background: #b4b4b4;
    color: #fff;
}

/* Tutorial */
.tutorial-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}
.tutorial-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.tutorial-section p {
    font-size: 1rem;
    margin-bottom: 30px;
}
.tutorial-btn {
    padding: 12px 30px;
    background: var(--btn-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: opacity 0.3s ease;
}
.tutorial-btn:hover {
    opacity: 0.85;
}

/* Footer */
footer {
    background: var(--light-color);
    color: var(--dark-color);
    text-align: center;
    padding: 20px 0;
}
