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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for visibility */
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    width: 60px;
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: green;
t-weight: bold;
}

nav ul li a.comingsoon {
    color: #999;
}
nav ul li a.comingsoon:hover {
    color: #999;
}
.mobile-menu ul li a.comingsoon {
    color: #999;
}
.mobile-menu ul li a.comingsoon:hover {
    color: #999;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 40px;
    color: #333; /* Changed to dark color for visibility on white background */
    cursor: pointer;
}

.connect a, form button, a.button {
    display: inline-block; /* Makes it behave like a button */
    color: #fff; /* White text for contrast */
    background-color: green; /* Matches hover color for prominence */
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px 20px; /* Larger padding for button feel */
    border-radius: 5px; /* Rounded corners */
    border: 2px solid transparent; /* Border for hover effect */
    transition: all 0.3s ease; /* Smooth hover transition */
}

.connect a:hover, form button:hover {
    background-color: #fff; /* White background on hover */
    color: green; /* Green text on hover to match nav links */
    border-color: green; /* Green border on hover */
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #2c3e50;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
}

.mobile-menu ul li a:hover {
    color: #1abc9c;
}

/* Main Content */
main {
    margin-top: 70px;
    width: 100%;
    padding: 20px 0;
    background-color: #eee;
}

.section {
    display: flex;          /* Enables flexbox for centering */
    align-items: center;   /* Vertically centers content */
    justify-content: center; /* Horizontally centers content */
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.section-content {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 20px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.section p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.hero {
    background-size: cover;
    background-position: 50% calc(100% - 70px);
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 300px;
    margin: 0;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: transparent;
}

.hero .section-content {
    background-color: transparent; /* Remove white background for hero sections */
    box-shadow: none; /* Remove shadow for hero sections */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Space between logo and text */
}

.hero .section-content h1 {
    color: #fff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .section-content img {
    height: 140px;
    width: auto;
}


/* Lists */
.imageitem-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
}

.imageitem-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.imageitem-list .content {
    text-align: left;
    flex: 1;
}

.imageitem-list h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.imageitem-list p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.imageitem-list .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.imageitem-list a.button {
    display: inline-block;
    color: #fff;
    background-color: green;
    padding: 6px 12px; /* Smaller padding for smaller buttons */
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px; /* Smaller font size for buttons */
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.imageitem-list a.button:hover {
    background-color: #fff;
    color: green;
    border-color: green;
}

.imageitem-list .image {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 0;
    flex-shrink: 0;
}

.imageitem-list .image a {
    background-color: transparent;
    padding: 0;
    border: 0;
}

.imageitem-list .image img {
    width: 150px;
    height: auto;
    background-color: transparent;
    padding: 0;
    border: 0;
}

/* Gear item cards (gearlist CGI script only) */
.gear-item-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gear-item-list li {
    display: flex;
    align-items: stretch;
    gap: 16px;
    background-color: #fff;
    border: 1px solid #e6ddcc;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.gear-item-list .content {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.gear-item-list h3 {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.gear-item-list .gear-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.gear-item-list .gear-notes,
.gear-item-list .gear-tags {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.5;
}

.gear-item-list .gear-tags {
    font-style: italic;
}

.gear-item-list a.button {
    display: inline-block;
    align-self: flex-start;
    color: #fff;
    background-color: #c1652f;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    margin-top: auto;
    padding-top: 6px;
}

.gear-item-list a.button:hover {
    background-color: #a3521f;
}

.gear-item-list .image {
    display: block;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f6f1e9;
    cursor: zoom-in;
}

.gear-item-list .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: transparent;
    padding: 0;
    border: 0;
}


.tiles {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

form label {
    font-size: 16px;
    font-weight: bold;
}

form input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #333;
    border-radius: 5px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: green;
}

.tile {
    flex: 1;
    min-width: 460px;
    aspect-ratio: 16 / 9; /* Maintains 16:9 aspect ratio for videos */
    overflow: hidden;
}

.tile iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none; /* Ensures no extra borders interfere */
}
/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.6em;
}
footer p a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .hamburger {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-container {
        justify-content: space-between;
    }

    .tiles {
        flex-direction: column;
    }

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

/* Connect page */
.connect-hero {
    background: linear-gradient(135deg, #2d5a3d 0%, #1f4029 100%);
    padding: 90px 20px 60px;
    margin-top: 40px;
    text-align: center;
}

.connect-hero .section-content {
    max-width: 700px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.connect-hero h1 {
    color: #fff;
    font-size: 38px;
    margin-bottom: 14px;
}

.connect-hero-sub {
    color: #d9e8dd;
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.connect-signup-section {
    margin-top: -30px;
}

.connect-signup-card {
    max-width: 560px;
    text-align: center;
    border-top: 4px solid #c1652f;
    padding: 36px 32px;
}

.connect-signup-card h2 {
    margin-bottom: 10px;
}

.connect-signup-card p {
    text-align: center;
    color: #666;
}

.connect-signup-form {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin-top: 20px;
}

.connect-signup-form input[type="email"] {
    flex: 1 1 260px;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.connect-signup-form input[type="email"]:focus {
    outline: none;
    border-color: #2d5a3d;
}

.connect-signup-form button {
    background-color: #c1652f;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.connect-signup-form button:hover {
    background-color: #a3521f;
}

.connect-social-section .social-links {
    margin-top: 24px;
}

.connect-social-section .social-link {
    background-color: #f6f1e9;
    border: 1px solid #e6ddcc;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.connect-social-section .social-link:hover {
    background-color: #2d5a3d;
    border-color: #2d5a3d;
    color: #fff;
}

.gear-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 30px auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .gear-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gear-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #e6ddcc;
    border-radius: 10px;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.gear-cat-card:hover {
    background-color: #2d5a3d;
    border-color: #2d5a3d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.gear-cat-card svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #2d5a3d;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.gear-cat-card:hover svg {
    stroke: #fff;
}

.gear-cat-card span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

@media (max-width: 600px) {
    .connect-hero {
        padding: 80px 16px 50px;
    }

    .connect-hero h1 {
        font-size: 28px;
    }

    .connect-signup-form {
        flex-direction: column;
        align-items: stretch;
    }

    .connect-signup-form button {
        width: 100%;
    }
}
