/* ================= VARIABLES ================= */
:root {
    --color-navy: #003366;          /* Header/nav */
    --color-teal: #0f7d13;          /* Buttons/steps accent */
    --color-text: #111111;          /* Main body text */
    --color-bg: #f7f7fb;            /* Light background */
    --color-light-link: #0f5912;    /* Dark green links */
    font-family: system-ui, Arial, sans-serif;
}

/* ================= GLOBAL ================= */
body {
    margin: 0;
    background: linear-gradient(to bottom, #e0f7fa, #ffffff);
    color: var(--color-text);
    font-family: var(--font-family);
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 15px;
}

/* ================= HEADER / NAV ================= */
header.site {
    background: var(--color-navy);
    padding: 12px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
}

.site-logo {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

a.link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
}

a.link:hover {
    background: rgba(255,255,255,0.1);
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: url('https://gsaqua.com/pages/assets/images/spam_cu.webp') center/cover no-repeat;
    border-radius: 14px;
    margin-bottom: 30px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 14px;
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
}

/* ================= CARD ================= */
.card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    margin-bottom: 20px;
}

.card h2, .card h3 {
    color: var(--color-navy);
}

/* ================= CTA BUTTON ================= */
.cta-button {
    background: var(--color-teal);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #38a8b1;
}

/* ================= PROCESS GRID ================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.process-step {
    background: #f7fbff;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--color-teal);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: bold;
}

/* ================= GALLERY ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ================= ABOUT HATCHERY ================= */
.about-hatchery {
    max-width: 860px;
    margin: auto;
    padding: 25px 20px;
    line-height: 1.6;
    color: #064e3b;
}

.about-hatchery h1 {
    text-align: center;
    margin-bottom: 15px;
    color: #0d6845;
}

.about-hatchery h3 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-hatchery figure {
    margin: 20px 0;
    text-align: center;
}

.about-hatchery img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.about-hatchery figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.about-hatchery blockquote {
    background: #e6f7f1;
    border-left: 5px solid #4DC4CC;
    padding: 15px 20px;
    margin: 25px 0;
    font-style: italic;
    color: #064e3b;
    border-radius: 6px;
}

/* ================= CONTACT FORM ================= */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-message.success {
    background: #e6ffe6;
    color: #008000;
    padding: 15px;
    border-radius: 8px;
}

.form-message.error {
    background: #ffe6e6;
    color: #d80000;
    padding: 15px;
    border-radius: 8px;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    color: #666;
    padding: 20px;
    background: #eee;
    margin-top: 30px;
}

/* ================= POPUP ================= */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-box {
    width: 100%;
    max-width: 460px;
    height: 620px;
    background: #fff;
    border-radius: 14px;
    position: relative;
    overflow: visible;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    transition: background 0.2s;
}

.popup-close:hover {
    background: #444;
}

.popup-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

    /* HERO */
    .hero {
        padding: 45px 20px;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .container {
        padding: 12px;
    }

    /* Hamburger menu */
    .menu-toggle {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        display: none !important;
        width: 100%;
        position: absolute;
        top: 72px;
        left: 0;
        background: var(--color-navy);
        padding-bottom: 10px;
    }

    .main-nav.show {
        display: flex !important;
    }

    .main-nav a {
        padding: 14px;
        border-top: 1px solid rgba(255,255,255,0.15);
        text-align: center;
    }

    /* ABOUT HATCHERY */
    .about-hatchery {
        padding: 15px 12px;
    }

    .about-hatchery h1 {
        font-size: 1.5rem;
    }

    .about-hatchery h3 {
        font-size: 1.1rem;
    }

    .about-hatchery blockquote {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* GALLERY IMAGES */
    .gallery-grid img {
        height: 140px;
    }
}
/* Language Buttons */
.lang-switch {
    text-align: center;
    margin: 20px 0;
}

.lang-btn {
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    margin-right: 5px;
    background: #1e3a8a;
}

.lang-btn:last-child {
    background: #4CAF50;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .lang-switch {
        display: none;
    }
}
/* ================= BODY / GENERAL ================= */
body {
    font-family: Arial, sans-serif;
    background: #eef2f7;
    margin: 0;
    padding: 0;
}

/* ================= LOGIN BOX ================= */
.login-box {
    max-width: 380px;
    width: 90%;
    background: #fff;
    margin: 80px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-box button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #67dbd9;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-box button:hover {
    background: #50c7c3;
}

/* ================= LINKS ================= */
.login-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.login-links a {
    color: #0a58ca;
    text-decoration: none;
    margin: 0 3px;
}

.login-links a:hover {
    text-decoration: underline;
}

/* LANGUAGE SWITCH */
.lang-switch {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap; /* wrap on very small screens */
}

.lang-btn {
    padding: 6px 12px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.lang-btn:hover {
    background: #163170;
}


/* ================= MODAL ================= */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    padding-top: 80px;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 380px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #67dbd9;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.modal-content button:hover {
    background: #50c7c3;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    .login-box, .modal-content {
        width: 95%;
        margin: 50px auto;
        padding: 20px;
    }

    .login-box input, .modal-content input {
        font-size: 0.95rem;
    }

    .login-box button, .modal-content button {
        font-size: 15px;
        padding: 8px;
    }

    .lang-btn {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

