* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    width: 100%;
    background: #111;
    border-bottom: 1px solid rgba(0,212,255,0.15);
    box-shadow: 0 1px 10px rgba(0,212,255,0.08);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    position: relative;
}

header h1{
    margin:0;
    font-size:1.8rem;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#00d4ff;
    text-shadow:
        0 0 6px #00d4ff,
        0 0 18px rgba(0,212,255,0.6);
}

/* HAMBURGER */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #00d4ff;
    display: block;
}

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: #cfd8dc;
    font-size: 0.95rem;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0,212,255,0.7);
}

/* MAIN CONTENT */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 768px;
}

.tagline {
    font-weight: bolder;
    color: #00d4ff;
}

.loader {
    margin: 30px auto;
    width: 60px;
    height: 60px;
    border: 6px solid #1a1a1a;
    border-top: 6px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
    margin: 0 0 18px;
}

.project-image {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 20px auto;
}

.site-footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid rgba(0,212,255,0.15);
    background: #0a0a0a;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 220px;
        background: #0b0f14;
        border: 1px solid rgba(0,212,255,0.2);
        border-radius: 8px;
        padding: 10px 0;
        z-index: 1000;
    }

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

    .nav-menu a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }
}

/* SMALLER MOBILE SCREENS */
@media (max-width: 480px) {
    .header-bar {
        padding: 12px 16px;
    }

    header h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    main {
        padding: 30px 16px;
    }

    p {
        font-size: 1rem;
    }

    .loader {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .header-bar {
        padding: 12px 14px;
    }

    header h1 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 24px 12px;
    }

    .container {
        max-width: 100%;
    }

    .site-footer {
        padding: 14px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .project-image {
        width: 100%;
        max-width: 100%;
        margin: 16px auto;
    }
}