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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.main-container, .about-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-container {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation */
.navigation {
    text-align: center;
    padding: 24px 0;
    color: #d1d5db;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-active {
    color: white;
}

.nav-divider {
    margin: 0 8px;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 8px 0;
}

/* Projects Container */
.projects-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.projects-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

/* Project Tiles */
.project-tile {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-large {
    height: 192px;
    border-radius: 22px;
}

.project-medium {
    height: 176px;
    border-radius: 20px;
}

.project-small {
    height: 160px;
    border-radius: 18px;
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
    transition: all 0.3s ease;
}

.project-tile:hover .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent, transparent);
}

.project-title {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
}

.project-title h3 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Text Tile */
.project-text {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    height: 160px;
    border-radius: 18px;
}

.text-date {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.text-title {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* About Page Styles */
.about-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 32px 16px;
}

.about-header {
    text-align: center;
    margin-bottom: 32px;
}

.about-title {
    color: white;
    font-size: 96px;
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.about-subtitle {
    color: #e5e7eb;
    font-size: 20px;
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.about-card {
    background: rgba(137, 153, 175, 0.3);
    backdrop-filter: blur(4px);
    padding: 32px;
    border-radius: 22px;
}

.card-title {
    color: #a7b1c0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.card-content {
    color: #c0c5cd;
    line-height: 1.6;
}

.card-content p {
    margin-bottom: 16px;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-category-title {
    color: #c0c5cd;
    font-weight: 500;
    margin-bottom: 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 4px 12px;
    background: #f3f4f6;
    /* color: #a7b1c0; */
    font-size: 14px;
    border-radius: 8px;
}

.contact-section {
    text-align: center;
}

.contact-title {
    color: white;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: 0.025em;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.contact-button {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding-bottom: 32px;
}

.footer-copyright {
    color: white;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 8px;
}

.footer-subtitle {
    color: #9ca3af;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Coming Soon Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-header h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #111827;
}

.popup-body {
    padding: 16px 24px;
    text-align: center;
}

.popup-body p {
    margin: 0 0 12px 0;
    color: #374151;
    line-height: 1.5;
}

.popup-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.popup-btn {
    background: #111827;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-btn:hover {
    background: #374151;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-container {
        padding: 0 16px;
    }
    
    .projects-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .project-large,
    .project-medium,
    .project-small {
        height: 200px;
    }
    
    .about-content {
        padding: 0 16px 16px;
    }
    
    .about-title {
        font-size: 48px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-card {
        padding: 24px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navigation {
        font-size: 12px;
        padding: 16px;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .contact-title {
        font-size: 28px;
    }
}