body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f9f9f9;
}
main {
    margin: 3.5rem 2rem 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}
header {
    background: #173b0a;
    color: #fff;
    padding: 0.5rem 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    box-sizing: border-box;
}
header nav {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 1rem;
    margin-left: auto; 
}
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}
header nav ul li {
    display: inline;
    white-space: nowrap;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    transition: background-color 0.3s, transform 0.3s;
    white-space: nowrap;
    display: block;
}
header nav ul li a:hover {
    background-color: #0f2a06;
    transform: translateX(5px);
}
header #menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    margin: 0;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}
header #menu.visible {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
header h1 {
    margin: 0;
    font-size: 1.5rem;
    white-space: nowrap;
}

header .logo img {
    width: 75px !important;
    height: 75px !important;
}
header .title-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem; 
}

header .title-link:hover {
    text-decoration: none;
    color: #f0f0f0;
}

footer {
    background: #5a3e1b;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    position: static;
    width: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    transform: translateY(-2px);
}

.footer-link img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

copyright p {
    margin: 0;
}
.hero {
    position: relative;
    background: url('img/triangle.JPG') center center/cover no-repeat;
    min-height: 400px;
    border-radius: 0 0 16px 16px;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    color: #fff;
    font-size: 2.7rem;
    font-weight: bold;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    letter-spacing: 1px;
    margin: 0;
    z-index: 2;
    text-align: center;
}

.hero-tagline {
    position: absolute;
    bottom: 2.5rem;
    right: 5%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 0 32px 32px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    max-width: 350px;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero-tagline p {
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero {
        min-height: 220px;
    }
    .hero-title {
        font-size: 1.3rem;
    }
    .hero-tagline {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        bottom: 1rem;
        right: 4%;
        max-width: 90vw;
        border-radius: 0 18px 18px 18px;
    }
}
section {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem; 
    scroll-margin-top: 4rem; 
}
section.left {
    flex-direction: row;
}
section.right {
    flex-direction: row-reverse;
}
section img {
    width: 33%;
    max-width: 33%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
section .content-box {
    flex: 1; 
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
section h2 {
    margin: 0;
    font-size: 1.8rem;
}
section:first-of-type {
    padding-top: 2rem;
}
section.center {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

section.center img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

section.center .content-box {
    max-width: 600px;
    width: 100%;
}
footer p {
    margin: 0;
}
footer .social {
    margin-top: 0.5rem;
}
footer .social img {
    width: 20px;
    vertical-align: middle;
    margin-right: 0.5rem;
}
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem 1rem;
        position: fixed;
        top: 0;
        min-height: 3rem;
        align-items: center;
    }
    header nav {
        position: static;
        display: flex;
        align-items: center;
        margin-right: 0;
        width: 100%;
        justify-content: flex-end;
    }
    header h1 {
        text-align: center;
        font-size: 1rem;
        margin: 0 auto;
        position: absolute;
        left: 0;
        right: 0;
        padding: 0;
        top: 50%;
        transform: translateY(-50%);
    }

   header .logo img {
        width: 75px !important;
        height: 75px !important;
    }

    header #menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        padding: 0.3rem;
        font-size: 1.2rem;
    }
    header nav ul {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
    }
    header nav ul.visible {
        display: flex;
        position: fixed;
        top: 3.5rem;
        right: 1rem;
        background: #173b0a;
        padding: 0.8rem;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        min-width: 150px;
        z-index: 1002;
    }
    header nav ul.visible li {
        width: 100%;
    }
    header nav ul.visible li a {
        padding: 0.7rem 1rem;
        display: block;
        width: 100%;
        box-sizing: border-box;
        transform: none; 
    }
    header nav ul.visible li a:hover {
        background-color: transparent;
        transform: none;
    }
    header .title-link {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
    }
    section {
        flex-direction: column !important;
        margin: 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 0 0 1.5rem 0;
    }
    section img {
        width: 100%;
        max-width: none;
        height: 250px; /* Make images taller on mobile */
        object-fit: cover;
        margin: 0;
        border-radius: 8px 8px 0 0;
    }
    section .content-box {
        width: 100%;
        box-sizing: border-box;
        box-shadow: none;
        border-radius: 0 0 8px 8px;
        padding: 1.5rem;
    }
    .hero {
        margin: 1rem;
        width: auto;
        max-width: none;
        white-space: nowrap;
        padding: 0 0 1.5rem 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        scroll-margin-top: 4rem; 
    }
    .hero h1 {
        font-size: 1.8rem;
        padding: 1.5rem 1.5rem 0.5rem 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .hero p {
        font-size: 0.9rem;
        padding: 0 1.5rem;
        margin: 0.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }
    main {
        margin-top: 3.5rem;
        background: #f9f9f9;
        box-shadow: none;
    }
    .hero {
        margin: 1rem;
        width: auto;
        max-width: none;
        white-space: nowrap;
        padding: 1.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        scroll-margin-top: 4rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-link {
        width: 80%;
        justify-content: center;
    }
    
    .footer-link:hover {
        background-color: transparent;
        transform: none; 
    }
    section.center img {
        height: 200px;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
        margin-bottom: 0;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    header h1 {
        font-size: 1.3rem;
    }
    
    header nav ul {
        gap: 0.3rem;
    }
    
    header nav ul li a {
        padding: 0.5rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .hero {
        width: 90%;
        padding: 1.2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
}

.report-issue-item {
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s forwards;
    animation-delay: 0.25s;
}

.report-issue-item a {
    background-color: #c44536 !important; 
    color: white !important;
    border-radius: 4px;
}

.report-issue-item a:hover {
    background-color: #a63c2e !important;
    transform: translateX(5px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.report-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.report-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 80%;
    position: relative;
}

.report-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.report-modal-close:hover {
    color: #555;
}

.report-modal h3 {
    margin: 0 0 1rem 0;
    color: #c44536;
    font-size: 1.5rem;
}

.report-modal p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.report-btn {
    padding: 0.8rem 1.2rem;
    background-color: #c44536;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 1rem;
}

.report-btn:hover {
    background-color: #a63c2e;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    
    .report-issue-item {
        width: 100%;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .report-issue-item a {
        text-align: center;
        border-radius: 0;
    }
    
    .report-issue-item a:hover {
        background-color: #c44536 !important;
        transform: none;
    }
    
    .report-modal-content {
        margin: 20% auto;
        width: 90%;
        padding: 1.5rem;
    }
    
    .report-btn:hover {
        transform: none;
    }
}

.slackline-easter-egg {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: 20px;
    overflow: hidden;
}

.main-line {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transform-origin: center;
    animation: waveMain 4s ease-in-out infinite;

    box-shadow: 
        0 5px 0 white,
        0 10px 0 white,
        0 15px 0 white,
        0 20px 0 white;
    clip-path: ellipse(100% 200% at 50% -150%);
}

.backup-loop {
    position: absolute;
    width: 2px;
    background: black;
    border-radius: 1px;
    transform-origin: top center;
}

.backup-loop:nth-child(2) { 
    left: 12%; 
    top: 22px;
    height: 25px; 
    animation: waveLoop 3.8s ease-in-out infinite;
}
.backup-loop:nth-child(3) { 
    left: 18%; 
    top: 26px;
    height: 32px; 
    animation: waveLoop 4.2s ease-in-out infinite;
}
.backup-loop:nth-child(4) { 
    left: 25%; 
    top: 29px;
    height: 28px; 
    animation: waveLoop 3.6s ease-in-out infinite;
}
.backup-loop:nth-child(5) { 
    left: 33%; 
    top: 32px;
    height: 35px; 
    animation: waveLoop 4.4s ease-in-out infinite;
}
.backup-loop:nth-child(6) { 
    left: 40%; 
    top: 34px;
    height: 22px; 
    animation: waveLoop 3.9s ease-in-out infinite;
}
.backup-loop:nth-child(7) { 
    left: 47%; 
    top: 35px;
    height: 30px; 
    animation: waveLoop 4.1s ease-in-out infinite;
}
.backup-loop:nth-child(8) { 
    left: 54%; 
    top: 35px;
    height: 26px; 
    animation: waveLoop 3.7s ease-in-out infinite;
}
.backup-loop:nth-child(9) { 
    left: 61%; 
    top: 34px;
    height: 33px; 
    animation: waveLoop 4.3s ease-in-out infinite;
}
.backup-loop:nth-child(10) { 
    left: 68%; 
    top: 32px;
    height: 29px; 
    animation: waveLoop 3.8s ease-in-out infinite;
}
.backup-loop:nth-child(11) { 
    left: 75%; 
    top: 29px;
    height: 24px; 
    animation: waveLoop 4.0s ease-in-out infinite;
}
.backup-loop:nth-child(12) { 
    left: 82%; 
    top: 26px;
    height: 31px; 
    animation: waveLoop 3.9s ease-in-out infinite;
}
.backup-loop:nth-child(13) { 
    left: 88%; 
    top: 22px;
    height: 27px; 
    animation: waveLoop 4.2s ease-in-out infinite;
}

@keyframes waveMain {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    25% { 
        transform: translateY(-1px) rotate(0.2deg);
    }
    50% { 
        transform: translateY(-2px) rotate(0deg);
    }
    75% { 
        transform: translateY(-1px) rotate(-0.2deg);
    }
}

@keyframes waveLoop {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    25% { 
        transform: translateY(-1px) rotate(1deg);
    }
    50% { 
        transform: translateY(-2px) rotate(0deg);
    }
    75% { 
        transform: translateY(-1px) rotate(-1deg);
    }
}

/* Hide on mobile for performance */
@media (max-width: 768px) {
    .slackline-easter-egg {
        display: none;
    }
}