/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 39, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 10px;
    border: 2px solid rgba(10, 14, 39, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00cc6a 0%, #00ff88 100%);
}

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

/* Header */
header {
    background: rgba(10, 14, 39, 0.95);
    padding: 20px 0;
    border-bottom: 2px solid #00ff88;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.logo h1 span {
    color: #ffffff;
}

.admin-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #0a0e27;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(26, 31, 58, 0.5) 100%);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.hero p {
    font-size: 1.3rem;
    color: #b0b0b0;
}

/* Projects Section */
.projects {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ff88;
}

.project-info p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid #00ff88;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 255, 136, 0.3);
}

.admin-panel {
    max-width: 800px;
    max-height: 90vh;
}

.close, .close-admin {
    color: #00ff88;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover, .close-admin:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #00ff88;
    margin-bottom: 30px;
    text-align: center;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="password"],
input[type="url"] {
    padding: 12px;
    border: 2px solid #00ff88;
    border-radius: 5px;
    background: rgba(26, 31, 58, 0.8);
    color: #ffffff;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="url"]:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

button[type="submit"] {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #0a0e27;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

/* Admin Panel Styles */
.admin-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 10px;
    border: 1px solid #00ff88;
}

.admin-section h3 {
    color: #00ff88;
    margin-bottom: 20px;
}

.admin-projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(10, 14, 39, 0.8);
    border-radius: 8px;
    border: 1px solid #00ff88;
}

.admin-project-info {
    flex: 1;
}

.admin-project-info h4 {
    color: #00ff88;
    margin-bottom: 5px;
}

.admin-project-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.delete-btn {
    background: linear-gradient(135deg, #ff0055 0%, #cc0044 100%);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5);
}

.logout-btn {
    background: linear-gradient(135deg, #ff0055 0%, #cc0044 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.5);
}

/* Footer */
footer {
    background: rgba(10, 14, 39, 0.95);
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #00ff88;
    margin-top: 60px;
}

footer p {
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Made with Bob */
