@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Minimalist Black & White Theme */
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #f5f5f5;
    --border-color: #000000;
    --accent-color: #000000;
    /* Used for borders/hovers */
    --text-muted: #555555;

    /* Removed neon variables */
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-color: #ffffff;
        --card-bg: #111111;
        --border-color: #ffffff;
        --accent-color: #ffffff;
        --text-muted: #aaaaaa;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
    /* Removed background-image gradients */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-color);
    border-radius: 0;
    /* Square edges for simple look */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--bg-color);
    /* Solid background */
    border-bottom: 2px solid var(--border-color);
    /* Solid thick border */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        background: var(--bg-color);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s ease;
        border-bottom: 2px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 0;
    position: relative;
}

.profile-container {
    position: relative;
    margin-bottom: 30px;
}

.profile-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 0;
    /* Square for simple look */
    padding: 0;
    background: none;
    position: relative;
    box-shadow: 10px 10px 0 var(--border-color);
    /* Brutalist shadow */
    border: 2px solid var(--border-color);
    animation: none;
    /* Removed pulse */
    cursor: pointer;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    background-color: #ccc;
    border: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    /* Make it bolder instead */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    font-family: monospace;
    /* Tech vibe */
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .container {
        padding: 90px 20px 40px;
        /* Reduced top/side padding */
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* About Page Mobile */
    .about-content {
        padding: 20px;
        box-shadow: 6px 6px 0 var(--border-color);
        font-size: 0.95rem;
        /* Slightly smaller text for readability */
    }

    /* Gallery Page Mobile */
    .gallery-grid {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for better alignment */
    }

    .gallery-item {
        height: 180px;
        /* Proportionate height */
        box-shadow: 4px 4px 0 var(--border-color);
    }

    .gallery-item:hover {
        /* Subtler hover effect for touch devices */
        transform: translate(-2px, -2px);
        box-shadow: 8px 8px 0 var(--border-color);
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    /* Changed via JS to flex */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 0;
    /* Square */
    background: transparent;
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--border-color);
}

.social-icon:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--border-color);
    background: var(--text-color);
    color: var(--bg-color);
}

/* Simple Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Containers */
.container {
    padding: 120px 5% 50px;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    margin: 0 auto 40px;
    /* Center with auto margins */
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
    display: table;
    /* Allows width to fit content */
    padding-bottom: 10px;
    position: relative;
    /* Removed transform to avoid conflict with slide-up animation */
}

/* About Page */
.about-content {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    padding: 40px;
    border-radius: 0;
    backdrop-filter: none;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
    box-shadow: 10px 10px 0 var(--border-color);
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.gallery-item {
    height: 300px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 8px 8px 0 var(--border-color);
}

.gallery-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--border-color);
    border-color: var(--border-color);
    /* Stays black */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 3rem;
    flex-direction: column;
}

.gallery-placeholder span {
    font-size: 1rem;
    margin-top: 10px;
    font-family: monospace;
}