* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Starfield Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform: rotate(-45deg);
    z-index: -1;
}

.star {
    --star-color: rgba(255, 255, 255, 0.3);
    --star-tail-length: 4em;
    --star-tail-height: 1px;
    --star-width: calc(var(--star-tail-length) / 6);
    --fall-duration: 15s;
    --tail-fade-duration: var(--fall-duration);

    position: absolute;
    top: var(--top-offset);
    left: 0;
    width: var(--star-tail-length);
    height: var(--star-tail-height);
    color: var(--star-color);
    background: linear-gradient(45deg, currentColor, transparent);
    border-radius: 50%;
    filter: drop-shadow(0 0 2px currentColor);
    transform: translate3d(104em, 0, 0);
    animation: fall var(--fall-duration) var(--fall-delay) linear infinite, 
               tail-fade var(--tail-fade-duration) var(--fall-delay) ease-out infinite;
}

/* Generate random values for each star - Slower and more subtle */
.star:nth-child(1) { --star-tail-length: 3.5em; --top-offset: 76vh; --fall-duration: 18s; --fall-delay: 3s; }
.star:nth-child(2) { --star-tail-length: 4.2em; --top-offset: 12vh; --fall-duration: 22s; --fall-delay: 5s; }
.star:nth-child(3) { --star-tail-length: 3.1em; --top-offset: 47vh; --fall-duration: 16s; --fall-delay: 7s; }
.star:nth-child(4) { --star-tail-length: 2.9em; --top-offset: 54vh; --fall-duration: 20s; --fall-delay: 2s; }
.star:nth-child(5) { --star-tail-length: 3.4em; --top-offset: 31vh; --fall-duration: 19s; --fall-delay: 9s; }
.star:nth-child(6) { --star-tail-length: 4.0em; --top-offset: 83vh; --fall-duration: 17s; --fall-delay: 4s; }
.star:nth-child(7) { --star-tail-length: 3.7em; --top-offset: 3vh; --fall-duration: 21s; --fall-delay: 1s; }
.star:nth-child(8) { --star-tail-length: 3.2em; --top-offset: 93vh; --fall-duration: 15s; --fall-delay: 12s; }
.star:nth-child(9) { --star-tail-length: 4.1em; --top-offset: 18vh; --fall-duration: 23s; --fall-delay: 6s; }
.star:nth-child(10) { --star-tail-length: 3.8em; --top-offset: 85vh; --fall-duration: 18s; --fall-delay: 8s; }
.star:nth-child(11) { --star-tail-length: 3.3em; --top-offset: 66vh; --fall-duration: 16s; --fall-delay: 10s; }
.star:nth-child(12) { --star-tail-length: 4.3em; --top-offset: 32vh; --fall-duration: 20s; --fall-delay: 11s; }
.star:nth-child(13) { --star-tail-length: 3.6em; --top-offset: 51vh; --fall-duration: 24s; --fall-delay: 3s; }
.star:nth-child(14) { --star-tail-length: 2.8em; --top-offset: 72vh; --fall-duration: 19s; --fall-delay: 14s; }
.star:nth-child(15) { --star-tail-length: 3.5em; --top-offset: 23vh; --fall-duration: 17s; --fall-delay: 13s; }
.star:nth-child(16) { --star-tail-length: 4.2em; --top-offset: 14vh; --fall-duration: 25s; --fall-delay: 15s; }
.star:nth-child(17) { --star-tail-length: 3.4em; --top-offset: 41vh; --fall-duration: 16s; --fall-delay: 7s; }
.star:nth-child(18) { --star-tail-length: 4.0em; --top-offset: 88vh; --fall-duration: 21s; --fall-delay: 9s; }
.star:nth-child(19) { --star-tail-length: 4.1em; --top-offset: 30vh; --fall-duration: 18s; --fall-delay: 5s; }
.star:nth-child(20) { --star-tail-length: 3.0em; --top-offset: 65vh; --fall-duration: 22s; --fall-delay: 8s; }
.star:nth-child(21) { --star-tail-length: 3.7em; --top-offset: 6vh; --fall-duration: 19s; --fall-delay: 2s; }
.star:nth-child(22) { --star-tail-length: 3.4em; --top-offset: 78vh; --fall-duration: 20s; --fall-delay: 6s; }
.star:nth-child(23) { --star-tail-length: 4.0em; --top-offset: 36vh; --fall-duration: 17s; --fall-delay: 12s; }
.star:nth-child(24) { --star-tail-length: 3.9em; --top-offset: 49vh; --fall-duration: 23s; --fall-delay: 4s; }
.star:nth-child(25) { --star-tail-length: 3.2em; --top-offset: 21vh; --fall-duration: 18s; --fall-delay: 16s; }
.star:nth-child(26) { --star-tail-length: 3.6em; --top-offset: 92vh; --fall-duration: 21s; --fall-delay: 10s; }
.star:nth-child(27) { --star-tail-length: 4.4em; --top-offset: 7vh; --fall-duration: 16s; --fall-delay: 17s; }
.star:nth-child(28) { --star-tail-length: 3.4em; --top-offset: 64vh; --fall-duration: 24s; --fall-delay: 3s; }
.star:nth-child(29) { --star-tail-length: 3.7em; --top-offset: 35vh; --fall-duration: 17s; --fall-delay: 9s; }
.star:nth-child(30) { --star-tail-length: 3.0em; --top-offset: 59vh; --fall-duration: 20s; --fall-delay: 13s; }
.star:nth-child(31) { --star-tail-length: 4.3em; --top-offset: 22vh; --fall-duration: 18s; --fall-delay: 5s; }
.star:nth-child(32) { --star-tail-length: 3.9em; --top-offset: 90vh; --fall-duration: 22s; --fall-delay: 15s; }
.star:nth-child(33) { --star-tail-length: 3.2em; --top-offset: 44vh; --fall-duration: 19s; --fall-delay: 6s; }
.star:nth-child(34) { --star-tail-length: 3.8em; --top-offset: 17vh; --fall-duration: 21s; --fall-delay: 11s; }
.star:nth-child(35) { --star-tail-length: 4.2em; --top-offset: 81vh; --fall-duration: 16s; --fall-delay: 8s; }
.star:nth-child(36) { --star-tail-length: 3.3em; --top-offset: 52vh; --fall-duration: 25s; --fall-delay: 18s; }
.star:nth-child(37) { --star-tail-length: 4.0em; --top-offset: 28vh; --fall-duration: 15s; --fall-delay: 2s; }
.star:nth-child(38) { --star-tail-length: 3.1em; --top-offset: 75vh; --fall-duration: 22s; --fall-delay: 14s; }
.star:nth-child(39) { --star-tail-length: 3.9em; --top-offset: 9vh; --fall-duration: 18s; --fall-delay: 4s; }
.star:nth-child(40) { --star-tail-length: 4.1em; --top-offset: 63vh; --fall-duration: 20s; --fall-delay: 10s; }
.star:nth-child(41) { --star-tail-length: 3.4em; --top-offset: 37vh; --fall-duration: 17s; --fall-delay: 17s; }
.star:nth-child(42) { --star-tail-length: 3.7em; --top-offset: 86vh; --fall-duration: 23s; --fall-delay: 7s; }
.star:nth-child(43) { --star-tail-length: 4.3em; --top-offset: 19vh; --fall-duration: 19s; --fall-delay: 14s; }
.star:nth-child(44) { --star-tail-length: 3.2em; --top-offset: 68vh; --fall-duration: 20s; --fall-delay: 5s; }
.star:nth-child(45) { --star-tail-length: 3.9em; --top-offset: 42vh; --fall-duration: 16s; --fall-delay: 13s; }
.star:nth-child(46) { --star-tail-length: 3.5em; --top-offset: 15vh; --fall-duration: 24s; --fall-delay: 9s; }
.star:nth-child(47) { --star-tail-length: 4.2em; --top-offset: 79vh; --fall-duration: 18s; --fall-delay: 3s; }
.star:nth-child(48) { --star-tail-length: 3.5em; --top-offset: 26vh; --fall-duration: 21s; --fall-delay: 18s; }
.star:nth-child(49) { --star-tail-length: 3.3em; --top-offset: 71vh; --fall-duration: 17s; --fall-delay: 11s; }
.star:nth-child(50) { --star-tail-length: 3.7em; --top-offset: 48vh; --fall-duration: 25s; --fall-delay: 7s; }

.star::before, .star::after {
    position: absolute;
    content: '';
    top: 0;
    left: calc(var(--star-width) / -2);
    width: var(--star-width);
    height: 100%;
    background: linear-gradient(45deg, transparent, currentColor, transparent);
    border-radius: inherit;
    animation: blink 4s ease-in-out infinite;
}

.star::before {
    transform: rotate(45deg);
}

.star::after {
    transform: rotate(-45deg);
}

@keyframes fall {
    to {
        transform: translate3d(-30em, 0, 0);
    }
}

@keyframes tail-fade {
    0%, 50% {
        width: var(--star-tail-length);
        opacity: 1;
    }
    70%, 80% {
        width: 0;
        opacity: 0.4;
    }
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    position: relative;
}

.logo-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff3b59, #4a9eff);
    transition: width 0.3s ease;
}

.logo-link:hover::after {
    width: 100%;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff3b59, #4a9eff);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 40px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Glass Card Base Styles - Based on css.glass */
.glass-card {
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    position: relative;
    overflow: hidden;
}


.glass-card > * {
    position: relative;
    z-index: 2;
}

.main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px;
}

.text-column {
    position: relative;
}

.greeting {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #ffffff;
}

.highlight {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}


@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

.role {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
}


.description {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 400;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #ff3b59, #ff6b59);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 59, 89, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 59, 89, 0.4);
    background: linear-gradient(135deg, #ff2d4a, #ff5a4a);
}

.cta-btn.secondary {
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    border: 2px solid #333;
}

.cta-btn.secondary:hover {
    transform: translateY(-3px);
    border-color: #4a9eff;
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.2);
    color: #4a9eff;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-btn:hover .cta-icon {
    transform: translateX(3px);
}

.photo-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-image:hover {
    transform: scale(1.02);
}

.photo-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid #ff3b59;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

.photo-decoration::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4a9eff, #00d4ff);
    border-radius: 8px;
    transform: rotate(15deg);
    opacity: 0.8;
}

.contact-section {
    text-align: center;
    position: relative;
    padding: 60px;
}

.contact-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 20px 30px;
    border: 2px solid #333;
    border-radius: 50px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 59, 89, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    border-color: #ff3b59;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 59, 89, 0.2);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    border-color: #0077b5;
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.2);
}

.linkedin-btn::before {
    background: linear-gradient(90deg, transparent, rgba(0, 119, 181, 0.1), transparent);
}

.linkedin-btn:hover .contact-icon {
    color: #0077b5;
}

/* Portfolio Section */
.portfolio-section {
    margin-bottom: 100px;
    text-align: center;
    padding: 60px;
}

.portfolio-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.portfolio-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.portfolio-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #444;
    color: #b0b0b0;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    border-color: #666;
    color: #ffffff;
}

.filter-btn.active {
    background: #ff3b59;
    border-color: #ff3b59;
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-card {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: #555;
}

.card-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .project-image {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    z-index: 2;
    position: relative;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 59, 89, 0.1) 0%, rgba(74, 158, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-card:hover .image-overlay {
    opacity: 1;
}

.card-content {
    padding: 25px;
    text-align: left;
}

.project-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: #4a9eff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-link:hover {
    color: #ff3b59;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-section {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .text-column {
        order: 2;
    }
    
    .photo-column {
        order: 1;
    }
    
    .role::before {
        display: none;
    }
    
    .description {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-section {
        margin-bottom: 80px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 15px 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .logo-link {
        font-size: 1.3rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 12px 20px;
        display: block;
        border-radius: 8px;
        margin: 0 20px;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .container {
        padding: 100px 20px 40px;
    }
    
    .main-section {
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .photo-container {
        width: 250px;
        height: 250px;
    }
    
    .contact-btn {
        padding: 18px 25px;
        gap: 10px;
    }
    
    .contact-buttons {
        gap: 20px;
    }
    
    .greeting {
        font-size: 0.8rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .portfolio-header {
        margin-bottom: 40px;
    }
    
    .portfolio-filters {
        margin-bottom: 40px;
    }
    
    .cta-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-link {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 65px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px;
        margin: 0 15px;
    }
    
    .photo-container {
        width: 200px;
        height: 200px;
    }
    
    .photo-decoration {
        width: 80px;
        height: 80px;
        top: -15px;
        right: -15px;
    }
    
    .photo-decoration::before {
        width: 40px;
        height: 40px;
        top: -30px;
        left: -30px;
    }
    
    .contact-btn {
        padding: 16px 22px;
        gap: 8px;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 18px;
        height: 18px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        min-width: 160px;
        justify-content: center;
    }
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.greeting {
    animation: fadeInUp 0.8s ease-out;
}

h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.role {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.photo-container {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.portfolio-header {
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.portfolio-filters {
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.portfolio-card:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.portfolio-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 1.7s both;
}

.portfolio-card:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.portfolio-card:nth-child(4) {
    animation: fadeInUp 0.8s ease-out 1.9s both;
}

.contact-section {
    animation: fadeInUp 0.8s ease-out 2s both;
}