:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #dbdbdb;
    --text-accent: #888888;
    --accent-color: #3a3a3a;
    --accent-hover: #843486;
    --border-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #355838;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--text-primary);
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-info h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tagline {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    font-weight: 600;
    padding: 8px 16px;
    background-color: var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
}

.social-links a:hover {
    background-color: var(--accent-hover);
}

.tab-nav {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.tab-nav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: var(--accent-color);
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

.content-area {
    padding: 40px 0;
    min-height: 50vh;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--text-primary);
    padding-left: 15px;
}

.tab-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tab-content h6 {
    font-size: 0.7rem;
    color: var(--text-accent)
}


.text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.text-content p {
    margin-bottom: 20px;
}

.text-intro {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.text-intro p {
    margin-bottom: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.project-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.project-card h2 {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    margin-bottom: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.media-gallery img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: transform 0.2s;
}

.media-gallery img:hover {
    transform: scale(1.05);
}

.instagram-media {
    max-width: 100% !important;
    min-width: unset !important;
    width: 100% !important;
    margin: 0 !important;
}

.main-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    margin-top: auto;
}

@media (min-width: 768px) {
    .profile-section {
        flex-direction: row;
        text-align: left;
    }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 15px 10px;
        font-size: 0.9rem;
        flex: 1 1 50%;
    }
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s;
    object-fit: contain;
}

@keyframes zoomIn {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-btn {
    position: absolute;
    top: 15px;
    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;
}

.lightbox-trigger {
    cursor: zoom-in;
}

.lightbox-modal.active {
    display: flex;
}
