/* General Styles */
:root {
    --bs-primary: #002b82 !important;
    --bs-primary-rgb: 0, 43, 130 !important;
}

body {
    font-family: "Roboto", sans-serif;
}

/* Top Navigation Bar */
.top-bar {
    background-color: #002b82 !important;
    color: white;
}

.top-bar a {
    color: white !important;
    margin-right: 15px;
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: #ffffff !important;
}

.navbar-brand img {
    height: 50px;
}

/* Navbar Dropdown Hover Effect */
.nav-item.dropdown:hover {
    background-color: #dddddd !important;
}

.nav-item.dropdown:hover > a {
    color: #fcfcfc !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 0 !important;
}

/* Hero Section with Background Video */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-section .overlay h1 {
    font-family: "Cardo", serif !important;
    font-size: 200px;
    font-weight: normal;
}

@media (max-width: 1024px) {
    .hero-section .overlay h1 {
        font-size: 15vw;
    }
}

/* Navbar Underline Animation */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #969696;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.navbar-nav .nav-item:hover::after {
    width: 100%;
}

.navbar-nav .nav-item:not(:hover)::after {
    width: 0;
}

/* Player Development Section */
.playerdevelopment-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.playerdevelopment-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 130, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.playerdevelopment-section h2 {
    font-size: 32px;
    font-weight: bold;
}

.playerdevelopment-section p {
    font-size: 18px;
    max-width: 800px;
    margin: auto;
}

/* Player Development Philosophy Section */
.player-development-philosophy {
    padding: 50px 0;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.player-development-philosophy h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.player-development-philosophy .intro-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.player-development-philosophy h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.development-list {
    padding-left: 20px;
}

.development-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .player-development-philosophy {
        padding: 30px 20px;
    }

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

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

/* Additional Styles for Player Development Page */
.playerdevelopment-content {
    padding: 50px 0;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.playerdevelopment-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.playerdevelopment-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.playerdevelopment-content ul {
    text-align: left;
    padding-left: 20px;
}

.playerdevelopment-content ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .playerdevelopment-content {
        padding: 30px 20px;
    }
}


/* Affiliates Section */
.affiliates {
    background-color: #f8f9fa;
}

.affiliates img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin: 10px;
}

/* Buttons */
.btn {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #000 !important;
    display: inline-block !important;
}

.btn-light,
.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: #ffffff !important;
    border: 1px solid #000 !important;
    color: #000000 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    display: inline-block !important;
}

/* Ensure MVLA TeamSnap LOGIN button text is black */
a.btn-light {
    color: #000000 !important;
}

/* Primary Background Color Fix */
.bg-primary {
    background-color: #002b82 !important;
    background: #002b82 !important;
}

/* Footer */
footer {
    background-color: #002b82 !important;
    padding: 20px 0;
    color: white;
}

footer .container {
    padding: 15px 0;
}

footer .link-container {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 75%;
    margin: 0 auto;
}

footer a {
    color: white !important;
    margin: 0 10px;
    text-decoration: none;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    margin: 20px auto;
}

.social-icons a {
    color: white !important;
    font-size: 30px;
    margin: 0 10px;
}

/* Ensures content is 2/3 width and centered */
.content-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Ensures content inside overlays is 2/3 of the width */
.content-container {
    width: 66.6%; /* 2/3 of the page */
    max-width: 1200px; /* Prevents excessive stretching */
    text-align: center;
    margin: auto;
}

/* Make sure overlay stretches full width but content stays centered */
.overlay {
    width: 100%; /* Full width */
    text-align: center;
}

/* Conduct Block Styling */
.conduct-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conduct-image {
    width: 199px;
    height: 133px;
    object-fit: cover;
}

.conduct-text {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Responsive Design for Mobile */
@media (max-width: 1024px) {
    .content-container {
        width: 90%; /* Slightly wider for better readability on small screens */
    }
}


/* Staff Section */
.staff-section {
    padding: 50px 0;
    text-align: center;
}

.staff-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.tryout-section {
    background-color: #0d6efd;
    padding: 80px 0;
    height: auto;
    min-height: 800px; /* Ensures enough space for tall images */
}
.tryout-flyer {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.staff-member-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 250px;
}

.staff-member {
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.staff-member:hover {
    transform: scale(1.05);
}

.staff-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #002b82;
}

.staff-member h3 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
}

.staff-member p {
    font-size: 14px;
    color: gray;
    margin-bottom: 5px;
}

.staff-member a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    color: #0077B5;
    font-weight: bold;
}

.staff-member a i {
    font-size: 20px;
    margin-right: 5px;
}

/* Remove underlines for visited links */
.staff-member-link:visited {
    text-decoration: none !important;
    color: inherit !important;
}


/* Responsive Design */
@media (max-width: 768px) {
    .staff-grid {
        flex-direction: column;
        align-items: center;
    }
}


/* Code of Conduct Section */
.code-of-conduct {
    padding: 50px 0;
    text-align: left;
    max-width: 800px;
    margin: auto;
}

.code-of-conduct h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.code-of-conduct .intro-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.code-of-conduct h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.code-of-conduct p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.conduct-list {
    padding-left: 20px;
}

.conduct-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .code-of-conduct {
        padding: 30px 20px;
    }
}

/* Coach Bio */
.coaching-experience {
    list-style-type: none; /* Removes default bullet points */
    padding: 0;
    margin: 0;
}

.coaching-experience li {
    background-color: #f8f8f8; /* Light gray background */
    padding: 12px;
    margin-bottom: 8px;
    border-left: 5px solid #0073e6; /* Adds a blue highlight on the left */
    font-size: 16px;
    line-height: 1.5;
}

.coaching-experience li strong {
    color: #333; /* Darker text for emphasis */
}

/* Competitive Info Section */
.competitive-info-section {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Adjust Bootstrap Row */
.competitive-info-section .row {
    gap: 30px; /* Adds space between blocks */
}

/* Each Block */
.competitive-block {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 20px;
}

/* Overlay for transparency */
.competitive-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* Logo/Image Sizing */
.competitive-icon {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

/* Section Header */
.competitive-block h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Text Formatting */
.competitive-block p {
    font-size: 16px;
    max-width: 80%;
    margin: auto;
    text-align: left;
}

/* List Styling */
.competitive-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.competitive-list li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

/* Bullet Styling */
.competitive-list li::before {
    content: "•";
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Buttons */
.competitive-btn {
    margin-top: 20px;
    background-color: #002b82 !important;
    color: white !important;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    text-transform: uppercase;
}

.competitive-btn:hover {
    background-color: #001a5e !important;
    color: white !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .competitive-info-section {
        padding: 60px 0;
    }

    .competitive-block {
        height: 400px;
    }

    .competitive-block p, .competitive-list {
        font-size: 14px;
        max-width: 90%;
    }

    .competitive-btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    .competitive-icon {
        width: 55px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .competitive-block {
        width: 90%; /* Stacks blocks on mobile */
        margin: auto;
    }
}



/* WORK ON THIS TOMOORROW*?
/* Container for the communication protocol accordion */
.comm-protocol-accordion {
    max-width: 600px; /* Limits the width of the accordion */
    margin: auto; /* Centers the accordion on the page */
    background: #fff; /* Sets the background color */
    border-radius: 5px; /* Rounds the corners */
    overflow: hidden; /* Prevents content from overflowing */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

/* Individual accordion item */
.comm-protocol-item {
    border-bottom: 1px solid #ddd; /* Adds a border between items */
}

/* Header of each accordion item */
.comm-protocol-header {
    background: #f7f7f7; /* Light gray background for the header */
    padding: 15px; /* Adds spacing inside the header */
    cursor: pointer; /* Changes cursor to indicate clickability */
    display: flex; /* Aligns title and arrow in a row */
    justify-content: space-between; /* Spaces the text and arrow */
    align-items: center; /* Centers text and arrow vertically */
    font-weight: bold; /* Makes the text bold */
}

/* Changes background color when hovering over the header */
.comm-protocol-header:hover {
    background: #ececec; /* Slightly darker gray on hover */
}

/* Content area inside each accordion item */
.comm-protocol-content {
    display: none; /* Initially hides the content */
    padding: 15px; /* Adds padding for readability */
    background: white; /* White background for content */
    color: #333; /* Dark gray text color */
}

/* Rotating arrow when item is expanded */
.comm-protocol-arrow {
    transition: transform 0.3s ease; /* Smooth rotation effect */
}

/* Active state for accordion item */
.comm-protocol-item.active .comm-protocol-arrow {
    transform: rotate(180deg); /* Rotates arrow downward when expanded */
}

/* Displays content when accordion item is active */
.comm-protocol-item.active .comm-protocol-content {
    display: block;
}
