/* Reset defaults for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #e0e0e0;
    background: radial-gradient(circle at top, #001f3f, #000814);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar navigation */
#sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgba(0, 10, 30, 0.95);
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 1000;
}

    #sidebar ul {
        list-style: none;
        padding: 0;
    }

        #sidebar ul li {
            margin: 20px 0;
        }

            #sidebar ul li a {
                color: #00f7ff;
                text-decoration: none;
                font-size: 1.2em;
                display: block;
                padding: 10px 20px;
                transition: color 0.3s ease, text-shadow 0.3s ease;
            }

                #sidebar ul li a:hover {
                    color: #fff;
                    text-shadow: 0 0 10px #00f7ff;
                }

/* Hamburger button */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1100;
    width: 50px;
    height: 50px;
    border: 2px solid #00f7ff;
    border-radius: 50%;
    background: rgba(0, 10, 30, 0.6);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
    transition: all 0.3s ease;
    display: block;
    padding: 10px;
}

    .hamburger:hover {
        background: rgba(0, 247, 255, 0.1);
        box-shadow: 0 0 15px #00f7ff;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background: #00f7ff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

/* Hero section with shark overlay */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: left;
    position: relative;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 45%;
        left: 55%;
        width: 120%;
        height: 120%;
        background: url("../images/shark-silhouette.png") no-repeat center;
        background-size: contain;
        opacity: 0.02; /* very subtle */
        transform: translate(-40%, -50%);
        pointer-events: none;
        z-index: 0;
        filter: brightness(120%) contrast(40%) blur(4px);
    }

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}

.hero-text h1 {
    font-size: 3em;
    color: #fff;
}

.hero-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.neon {
    color: #00f7ff;
    text-shadow: 0 0 5px #00f7ff, 0 0 10px #00f7ff;
}

.btn-neon {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border: 2px solid #00f7ff;
    color: #00f7ff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-neon:hover {
        background: #00f7ff;
        color: #000814;
        box-shadow: 0 0 15px #00f7ff;
    }

/* General page padding */
.page-content {
    padding: 100px 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #aaa;
    background: #000814;
    margin-top: 50px;
    font-size: 0.9em;
}

/* Sidebar active state */
#sidebar.active {
    left: 0;
}

/* Hamburger animation */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
    transition: all 0.3s ease;
}

/* Contact form */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 25px;
    background: rgba(0, 20, 40, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
    color: #fff;
}

    .form-container h1 {
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #00f0ff;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    background: #001020;
    color: white;
    font-size: 14px;
}

    form input:focus,
    form textarea:focus {
        outline: none;
        border-color: #00eaff;
        box-shadow: 0 0 8px #00eaff;
    }

form small {
    display: block;
    margin-top: 6px;
    color: #9be9ff;
    opacity: 0.9;
    font-size: 0.9em;
}

form input::placeholder,
form textarea::placeholder {
    color: #8bb6c4;
    opacity: 0.7;
}

form input:invalid,
form textarea:invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.4);
}

input[type="date"] {
    color-scheme: dark;
}

/* Buttons */
.btn {
    margin-top: 20px;
    background: transparent;
    border: 2px solid #00f0ff;
    padding: 10px 20px;
    border-radius: 25px;
    color: #00f0ff;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
}

    .btn:hover {
        background: #00f0ff;
        color: #001020;
    }

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Confirmation page section */
#confirmation {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 24px;
    background: rgba(0, 20, 40, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(0, 200, 255, 0.25);
}

    #confirmation p {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 10px 18px;
        align-items: start;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 240, 255, 0.12);
        margin: 0;
    }

        #confirmation p strong {
            color: #9be9ff;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        #confirmation p:last-child {
            border-bottom: none;
        }

/* Mobile adjustments */
@media (max-width: 640px) {
    .form-container {
        margin: 30px 14px;
        padding: 18px;
    }

    #confirmation {
        margin: 24px 14px 0;
        padding: 18px;
    }

        #confirmation p {
            grid-template-columns: 1fr;
            gap: 6px;
        }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

/* Keyboard focus outline */
:focus-visible {
    outline: 2px dashed #00f7ff;
    outline-offset: 2px;
}
/* ---------------------------------------------------
   Assignment 5 – Spirograph Checkbox Alignment Fix
--------------------------------------------------- */

#spiroForm .checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
}

    /* Align label text properly next to checkbox */
    #spiroForm .checkbox-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #00f0ff;
        font-weight: 500;
        line-height: 1.4;
        white-space: normal;
        width: auto; /* prevents label from pushing text to the right */
        text-align: left;
    }

/* Restrict checkbox width so it doesn’t stretch full width */
#spiroForm input[type="checkbox"] {
    width: auto !important; /* override global 100% rule */
    margin: 0 8px 0 0;
    accent-color: #00f0ff;
    transform: scale(1.1);
    flex-shrink: 0;
}

    /* Optional: glowing cyan when hovered or checked */
    #spiroForm input[type="checkbox"]:hover,
    #spiroForm input[type="checkbox"]:checked {
        box-shadow: 0 0 6px #00f0ff;
    }

/* Keep consistent spacing above the Start button */
#spiroForm .btn {
    margin-top: 18px;
}

