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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    color: #32373c;
    line-height: 1.6;
    min-height: 100vh;
}

/* Password Protection Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.auth-container {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.auth-logo {
    width: 200px;
    max-width: 100%;
    margin-bottom: 2rem;
}

.auth-container h2 {
    font-size: 28px;
    margin-bottom: 0.5rem;
    color: #32373c;
}

.auth-container p {
    color: #666;
    margin-bottom: 1.5rem;
}

.auth-container input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.auth-container input:focus {
    outline: none;
    border-color: #f7c513;
}

.auth-container button {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    background: #f7c513;
    color: #32373c;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-container button:hover {
    background: #e0b310;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 197, 19, 0.3);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 0.5rem;
    min-height: 20px;
}

.hidden {
    display: none !important;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 3px solid #f7c513;
    margin-bottom: 3rem;
}

.header-logo {
    width: 250px;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

header h1 {
    font-size: 42px;
    color: #32373c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 20px;
    color: #666;
    font-weight: 300;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f7c513;
}

.project-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-content {
    padding: 2rem;
}

.project-content h2 {
    font-size: 28px;
    color: #32373c;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #13c8c2;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #f7c513;
    color: #32373c;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.project-link:hover {
    background: #e0b310;
    transform: translateX(5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

footer a {
    color: #f7c513;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    header h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 16px;
    }

    .project-content h2 {
        font-size: 24px;
    }

    .project-thumbnail {
        height: 200px;
    }
}
