@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@400;600&display=swap');

:root {
    --bg: #0d0d0d;
    --text: #f0f0f0;
    --font-primary: 'Poppins', sans-serif;
    --font-title: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--accent);
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.menu a {
    color: var(--text);
    text-decoration: none;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -4px;
    transition: width .3s;
}

.menu a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), transparent);
    mix-blend-mode: screen;
}

.hero-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.card {
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform .3s, box-shadow .3s;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform .3s;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--accent);
    text-align: center;
}

.detail {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.detail-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.detail-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: fadeIn .8s ease;
}

.detail-content {
    line-height: 1.7;
    font-size: 1.1rem;
}

.admin-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
}

.admin-form h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    color: var(--accent);
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    background: #1a1a1a;
    color: var(--text);
}

.admin-form button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s;
}

.admin-form button:hover {
    background: #5a1a9a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.about-section h2 {
    font-family: var(--font-title);
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.gallery-section {
    padding: 5rem 2rem;
}

.gallery-section h2 {
    font-family: var(--font-title);
    color: var(--accent);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--accent);
    z-index: 2;
    position: relative;
}

.footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.starfield {
    position: fixed;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><circle cx="0.5" cy="0.5" r="0.5" fill="white"/></svg>') repeat;
    animation: moveStars 60s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

@keyframes moveStars {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 10000px 10000px;
    }
}