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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00d4ff;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Home Page Styles */
.home-container {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.hero-text {
    z-index: 2;
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00d4ff;
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.workspace-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.workspace-img:not([src]),
.workspace-img[src=""],
.workspace-img[src="images/workspace.jpg"]:not([src*="data:"]) {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 1rem;
}

.workspace-img:not([src])::after,
.workspace-img[src=""]::after {
    content: "Add workspace.jpg image";
}

/* About Page Styles */
.about-container {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-email {
    font-size: 1rem;
    color: #00d4ff;
    margin-bottom: 2rem;
}

.about-description {
    margin-bottom: 3rem;
}

.about-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #cccccc;
}

.location {
    color: #cccccc;
}

.location p {
    margin-bottom: 0.5rem;
}

.portrait-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portrait-img:not([src]),
.portrait-img[src=""],
.portrait-img[src="images/portrait.jpg"]:not([src*="data:"]) {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 1rem;
}

.portrait-img:not([src])::after,
.portrait-img[src=""]::after {
    content: "Add portrait.jpg image";
}

/* Resume Page Styles */
.resume-container {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
}

.resume-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 2rem;
}

.resume-left,
.resume-right {
    padding: 1rem;
}

.resume-left h2,
.resume-right h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00d4ff;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 0.5rem;
}

/* Skills Section */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: #333333;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 100%);
    width: 0%;
    border-radius: 3px;
    transition: width 2s ease-in-out;
}

/* Languages Section */
.language-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-bar {
    width: 60%;
    height: 6px;
    background: #333333;
    border-radius: 3px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 100%);
    width: 0%;
    border-radius: 3px;
    transition: width 2s ease-in-out;
}

/* Experience Section */
.experience-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.experience-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}

.experience-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.experience-role {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Services and Skills Sections */
.services-section,
.design-skills-section {
    margin-bottom: 2rem;
}

.services-section p,
.design-skills-section p {
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

/* Hobbies Section */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hobby-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #cccccc;
}

.hobby-item i {
    color: #00d4ff;
}

/* Portfolio Page Styles */
.portfolio-container {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
}

.portfolio-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.portfolio-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #1a1a1a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item img:not([src]),
.portfolio-item img[src=""],
.portfolio-item img[src^="images/portfolio"]:not([src*="data:"]) {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 0.9rem;
}

.portfolio-item img:not([src])::after,
.portfolio-item img[src=""]::after {
    content: "Portfolio Image";
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-overlay p {
    color: #cccccc;
}

/* Fullscreen Toggle */
.fullscreen-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.fullscreen-toggle:hover {
    background: #00d4ff;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .resume-content {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-filter {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-content,
    .about-content,
    .resume-content,
    .portfolio-content {
        padding: 1rem;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .about-title,
    .portfolio-title {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}