body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

header {
    background: #2e353e;
    padding: 50px 20px;
    text-align: center;
}

nav {
    background: #0f172a;
    padding: 15px;
    text-align: center;
}

nav a {
    color: #60a5fa;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: white;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 40px;
}

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

.card {
    background: #1f2937;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.card h3 {
    margin-top: 0;
}

.card:hover {
    transform: translateY(-5px);
}

h2 {
    border-bottom: 2px solid #374151;
    padding-bottom: 10px;
}

.button {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
}

.button:hover {
    background: #1d4ed8;
}

.hero {
    min-height: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

img {
    width: 100%;
    border-radius: 10px;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

footer {
    margin-top: 60px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #374151;
    background: #111827;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-icons a {
    color: #9ca3af;
    font-size: 2.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    color: #60a5fa;
    transform: translateY(-3px);
}

footer p {
    margin: 0;
    color: #9ca3af;
}

.expand-card {
    background: #1f2937;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.expand-card summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.expand-card summary::-webkit-details-marker {
    display: none;
}

.expand-card summary::after {
    content: "+";
    float: right;
    font-size: 1.5rem;
}

.expand-card[open] summary::after {
    content: "-";
}

.expand-content {
    padding: 0 20px 20px 20px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    width: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.project-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    padding: 10px 0;

    cursor: grab;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-gallery::-webkit-scrollbar {
    display: none;
}

.project-gallery.active {
    cursor: grabbing;
}

.project-gallery img {
    max-height: 250px;
    width: auto;

    flex-shrink: 0;

    border-radius: 10px;

    user-select: none;

    cursor: pointer;

    justify-content: center;

    align-items: center;
}

.project-gallery.scrolling {
    justify-content: flex-start;
}

.gallery-wrapper {
    display: flex;
    justify-content: center;
}