/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

/* HERO */
.hero {
    text-align: cente/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Background */
body {
    background: #000;
    color: white;
    overflow-x: hidden;
}

/* Lightning veins */
body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    background:
        repeating-linear-gradient(120deg, transparent 0, transparent 80px, rgba(255,80,0,0.1) 82px),
        repeating-linear-gradient(-60deg, transparent 0, transparent 100px, rgba(255,0,120,0.08) 102px);
    animation: move 12s linear infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes move {
    100% { transform: translate(-200px, -200px); }
}

/* Loader */

/* Hero */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
                url("images/cover.jpg") center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
}

/* Grid */
.grid {
    column-count: 3;
    column-gap: 15px;
}

.photo {
    position: relative;
    margin-bottom: 15px;
}

.photo img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.photo img:hover {
    transform: scale(1.03);
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: 0.3s;
}

.photo:hover .overlay {
    opacity: 1;
}

/* Like button */
.overlay button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Viewer */
#viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.85);

    display: none;
    justify-content: center;
    align-items: center;

    padding: 40px;

    z-index: 9999;
}

/* Viewer image */
#viewer img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;

    transition: none !important; /* no drag lag */

    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

/* Close button */
#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
}

#prev { left: 20px; }
#next { right: 20px; }

/* Filters */
.filters {
    margin-bottom: 20px;
}

.filters button {
    margin: 5px;
    padding: 8px 15px;
    border: none;
    background: #222;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filters button:hover {
    background: #ff4d00;
}

/* Upload Panel */
#upload {
    background: #111;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}

#upload input,
#upload select,
#upload button {
    margin: 5px;
    padding: 8px;
    border-radius: 5px;
    border: none;
}

#upload button {
    background: #ff4d00;
    color: white;
    cursor: pointer;
}

/* About & Contact */
#about, #contact {
    background: #111;
    margin: 20px;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .grid {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .grid {
        column-count: 1;
    }
}
/* 🔥 ADMIN PANEL UPGRADE */

/* Bigger, glowing heading */
.admin-panel h3 {
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px #ff4d00, 0 0 20px #ff0066;
}

/* Bigger inputs */
.admin-panel input,
.admin-panel select {
    font-size: 16px;
    padding: 12px;
}

/* Glow focus */
.admin-panel input:focus,
.admin-panel select:focus {
    outline: none;
    box-shadow: 0 0 10px #ff4d00, 0 0 20px #ff0066;
}

/* Bigger glowing buttons */
.admin-panel button {
    font-size: 16px;
    padding: 12px;
    margin-top: 10px;

    background: linear-gradient(45deg, #ff4d00, #ff0066);
    border: none;
    border-radius: 8px;
    color: white;

    cursor: pointer;

    box-shadow: 0 0 10px rgba(255,77,0,0.6);
    transition: 0.3s;
}

/* Hover glow effect */
.admin-panel button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff4d00, 0 0 40px #ff0066;
}

/* Panel glow */
.admin-panel {
    box-shadow:
        0 0 20px rgba(255,77,0,0.4),
        0 0 40px rgba(255,0,120,0.2);
}

/* Password text bigger */
#password {
    font-size: 16px;
}r;
    padding: 60px 20px;
    background: #111;
}

.hero h1 {
    font-size: 40px;
    margin: 0;
}

.hero p {
    opacity: 0.7;
}

/* ADMIN MENU */
.admin-menu {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* PORTFOLIO */
#portfolio {
    padding: 40px 20px;
    text-align: center;
}

.filters button {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    background: #222;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.photo {
    position: relative;
}

.photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

/* DELETE BUTTON */
.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
}

/* ADMIN PANEL */
.admin-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    display: none;
    z-index: 999;
}

.admin-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #111;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
}

/* VIEWER */
#viewer {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
}

#viewer.active {
    display: flex;
}

#viewer img {
    max-width: 90vw;
    max-height: 90vh;
    cursor: grab;
}

.nav-btn {
    position: absolute;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

#prev { left: 20px; }
#next { right: 20px; }

#close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}
