.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    display: flex;
    align-items: flex-start;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    gap: 12px;
    transition: transform 0.3s ease-in-out;
}
.site-header.hide {
    transform: translateY(-100%); 
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-left: auto;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin: 0; 
    padding: 0;
    line-height: 1.2;
}


.logo {
    width: 120px;         
    height: auto;        
    object-fit: contain;   
    max-height: none;     
    display: block;
}

.tagline {
    margin: 0;
    padding: 0;
    color: white;
}

.site-title {
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Playfair Display', serif;
}


.overlay, .overlay p, .overlay h1, .overlay .status {
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('/images/Fisherman.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    text-align: center;
    padding-top: 120px;
}

.site-title {
    font-size: 1.5rem;
    color: white;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.overlay {
    background: transparent;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tagline, .mission {
    padding: 1rem;
    border-radius: 8px;
    color: white;
    text-shadow: none;
    margin-bottom: 1rem;
}

.mission {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.4);
}
.mission-section {
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 8px;
    color: white;
    line-height: 1.6;
}

.mission-heading {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #fcb900;
    font-family: 'Playfair Display', serif;
}
.mission-carousel {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    min-height: 280px; 
}

.mission-slide {
    display: none;
    color: white;
    animation: fadeIn 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.mission-slide.active {
    display: block;
    position: relative;
}

.mission-heading {
    font-size: 1.5rem;
    color: #fcb900;
    font-family: 'Playfair Display', serif;
    margin-top: 0;
    margin-bottom: 1rem;
}

.mission-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

    .mission-arrow:hover {
        background: rgba(0,0,0,0.8);
    }

    .mission-arrow.left {
        left: 0;
    }

    .mission-arrow.right {
        right: 0;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

input[type="email"] {
    padding: 0.9rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    width: 100%;
}

button {
    padding: 0.9rem;
    font-size: 1rem;
    background-color: #fcb900;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #e6a600;
    }

.status {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.gallery-wrapper {
    position: relative;
    margin-top: 2rem;
    max-width: 100vw;
    width: 100%;
    margin: 2rem auto;
    overflow: hidden;
}

.scroll-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 3rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: max-content; 
    min-width: 100%;
}

.gallery-item {
    flex: 0 0 312px; 
    max-width: 312px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    scroll-snap-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 75%;
    display: block;
    border-bottom: 1px solid #ccc;
}

.gallery-item p {
    font-weight: 400; 
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 1);
    margin-top: 0.5rem;
    text-align: center;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.scroll-gallery::-webkit-scrollbar {
    display: none;
}

.scroll-gallery {
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: 95vw;
    margin: 2rem auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.scroll-button:hover {
    background: rgba(0,0,0,0.8);
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}
.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.email-row {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
}

.email-row input[type="email"] {
    flex: 1;
}

button[type="submit"] {
    white-space: nowrap;
}

.consent-container {
    font-size: 0.9rem;
    color: white;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: white;
    color: black;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 15% auto;
    width: 80%;
    max-width: 400px;
    text-align: center;
}
@media (max-width: 600px) {
    .mobile-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 30px;
        background: none;
        border: none;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        z-index: 1000;
    }

    .site-header {
        top: 0;
        position: relative;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        justify-content: space-between;
        transition: all 0.3s ease;
    }


    /* When collapsed, hide logo and header text */
    .site-header.collapsed .logo,
    .site-header.collapsed .header-text {
        display: none;
    }

    /* Optionally reduce padding when collapsed */
    .site-header.collapsed {
        padding: 10px 20px;
    }
    
    .logo {
        width: 100px;
        margin-bottom: 0.5rem;
    }

    .header-text {
        align-items: center;
    }

    .tagline {
        padding: 0 1rem;
        text-align: center;
    }

    .site-title {
        font-size: 1.2rem;
    }

    .mission-carousel {
        padding: 1rem 1rem;
        min-height: 360px;
    }

    .mission-arrow {
        width: 30px;
        height: 50px;
        font-size: 1.5rem;
    }

    .email-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .email-row input[type="email"],
    .email-row button {
        width: 100%;
    }

    .consent-container {
        font-size: 0.85rem;
        text-align: left;
        padding: 0.5rem;
    }

    .gallery-wrapper {
        padding: 0 1rem;
    }

    .scroll-gallery {
        padding: 0 2rem;
    }

    .gallery-item {
        flex: 0 0 260px;
        max-width: 260px;
    }

    .modal-content {
        margin: 40% auto;
        width: 90%;
    }
}

