/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    will-change: auto;
}

/* Enhanced smoothness for all transitions */
*,
*::before,
*::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
    /* Light Theme Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(20, 14.3%, 4.1%);
    --muted: hsl(60, 4.8%, 95.9%);
    --muted-foreground: hsl(25, 5.3%, 44.7%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(20, 14.3%, 4.1%);
    --border: hsl(20, 5.9%, 90%);
    --primary: hsl(195, 100%, 50%);
    --primary-foreground: hsl(211, 100%, 99%);
    --secondary: hsl(60, 4.8%, 95.9%);
    --secondary-foreground: hsl(24, 9.8%, 10%);
    
    /* Custom Portfolio Colors */
    --electric-blue: hsl(195, 100%, 50%);
    --dark-bg: hsl(0, 0%, 3.9%);
    --light-gray: hsl(0, 0%, 10.2%);
    --medium-gray: hsl(0, 0%, 16.5%);
    --text-gray: hsl(0, 0%, 53.3%);
}

body.dark {
    --background: hsl(0, 0%, 3.9%);
    --foreground: hsl(0, 0%, 98%);
    --muted: hsl(0, 0%, 15.9%);
    --muted-foreground: hsl(0, 0%, 64.9%);
    --card: hsl(0, 0%, 3.9%);
    --card-foreground: hsl(0, 0%, 98%);
    --border: hsl(0, 0%, 15.9%);
    --secondary: hsl(0, 0%, 15.9%);
    --secondary-foreground: hsl(0, 0%, 98%);
}

body {
    font-family: 'Metal Mania', 'Rock Salt', cursive, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

/* Particles */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 24px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.signature {
    font-family: 'Rock Salt', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--electric-blue), hsl(195, 100%, 40%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-btn {
    padding: 12px;
    border-radius: 50%;
    border: 1px solid hsla(195, 100%, 50%, 0.2);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: hsla(195, 100%, 50%, 0.5);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-line {
    width: 28px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
}

.hamburger.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.hamburger.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--background);
    backdrop-filter: blur(20px);
    border-left: 1px solid hsla(195, 100%, 50%, 0.2);
    z-index: 40;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.slide-menu.active {
    right: 0;
}

.menu-content {
    padding: 120px 40px 40px;
    height: 100%;
}

.menu-nav ul {
    list-style: none;
}

.menu-nav li {
    margin: 24px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.slide-menu.active .menu-nav li {
    opacity: 1;
    transform: translateX(0);
}

.menu-nav li:nth-child(1) { transition-delay: 0.1s; }
.menu-nav li:nth-child(2) { transition-delay: 0.2s; }
.menu-nav li:nth-child(3) { transition-delay: 0.3s; }
.menu-nav li:nth-child(4) { transition-delay: 0.4s; }
.menu-nav li:nth-child(5) { transition-delay: 0.5s; }
.menu-nav li:nth-child(6) { transition-delay: 0.6s; }
.menu-nav li:nth-child(7) { transition-delay: 0.7s; }

.menu-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(195, 100%, 50%, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link:hover {
    color: var(--primary);
    background: hsla(195, 100%, 50%, 0.05);
    transform: translateX(8px);
}

/* Popup Navigation */
.popup-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-nav.visible {
    opacity: 1;
}

.popup-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid hsla(195, 100%, 50%, 0.3);
    background: hsla(var(--background), 0.9);
    backdrop-filter: blur(20px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.popup-btn:hover {
    border-color: hsla(195, 100%, 50%, 0.6);
    background: hsla(195, 100%, 50%, 0.1);
    transform: scale(1.1);
}

/* Common Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 64px;
    text-align: center;
    background: linear-gradient(135deg, var(--electric-blue), hsl(195, 100%, 40%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.magnetic-element {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn {
    padding: 18px 36px;
    border-radius: 60px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(195, 100%, 40%) 100%);
    color: var(--primary-foreground);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, hsl(195, 100%, 40%) 0%, hsl(195, 100%, 35%) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4), 0 5px 15px rgba(0, 212, 255, 0.2);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: hsla(195, 100%, 50%, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
    border-color: hsl(195, 100%, 40%);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsla(195, 100%, 50%, 0.05) 0%, transparent 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 20;
    max-width: 1000px;
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--primary);
    margin-bottom: 32px;
    opacity: 0.5;
    min-height: 24px;
}

.hero-title {
    font-family: 'Metal Mania', cursive;
    font-size: 6.5rem;
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 4px 20px rgba(0, 212, 255, 0.3));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-name {
    display: block;
    color: var(--foreground);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-surname {
    display: block;
    background: linear-gradient(135deg, var(--electric-blue) 0%, hsl(195, 100%, 40%) 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 80px;
    left: 40px;
    width: 80px;
    height: 80px;
    background: hsla(195, 100%, 50%, 0.1);
}

.floating-2 {
    bottom: 128px;
    right: 64px;
    width: 64px;
    height: 64px;
    background: hsla(195, 100%, 50%, 0.2);
    animation-delay: 2s;
}

.floating-3 {
    top: 50%;
    left: 25%;
    width: 32px;
    height: 32px;
    background: hsla(195, 100%, 50%, 0.3);
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Titles */
.section-title {
    font-family: 'Metal Mania', cursive;
    font-size: 4rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: 0.05em;
    line-height: 1;
    position: relative;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 70%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff6b6b);
    border-radius: 2px;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(255, 107, 107, 0.4);
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* About Section */
.about-section {
    padding: 128px 0;
    position: relative;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 64px;
    justify-content: center;
}

.about-photo {
    flex-shrink: 0;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px hsla(195, 100%, 50%, 0.3);
}

.about-title-section {
    text-align: center;
}

.about-title-section h2 {
    margin-bottom: 16px;
}

.current-role {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    background: hsla(195, 100%, 50%, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 32px;
}

.about-text {
    space-y: 24px;
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-text p {
    margin-bottom: 24px;
}

.about-info {
    margin-top: 48px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.info-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-glow {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 128px;
    height: 128px;
    background: hsla(195, 100%, 50%, 0.2);
    border-radius: 50%;
    filter: blur(40px);
}

/* Skills Section */
.skills-section {
    padding: 128px 0;
    position: relative;
}

.skills-content {
    text-align: center;
}

.folder-container {
    margin-bottom: 64px;
}

.skill-folder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    background: hsla(195, 100%, 50%, 0.1);
    border-radius: 16px;
    border: 2px solid hsla(195, 100%, 50%, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.skill-folder:hover {
    border-color: hsla(195, 100%, 50%, 0.5);
}

.skill-folder i {
    font-size: 4rem;
    color: var(--primary);
}

.folder-text {
    margin-top: 16px;
    color: var(--muted-foreground);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.skills-grid.active {
    opacity: 1;
    pointer-events: auto;
}

.skill-logo {
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(0);
}

.skill-logo.animate {
    transform: scale(1);
}

.skill-logo i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.skill-logo[data-skill="java"] i { color: #f89820; }
.skill-logo[data-skill="react"] i { color: #61dafb; }
.skill-logo[data-skill="nodejs"] i { color: #68a063; }
.skill-logo[data-skill="python"] i { color: #ffde57; }
.skill-logo[data-skill="javascript"] i { color: #f7df1e; }
.skill-logo[data-skill="git"] i { color: #f14e32; }
.skill-logo[data-skill="mongodb"] i { color: #4db33d; }
.skill-logo[data-skill="spring"] i { color: #6db33f; }

.skill-logo p {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Projects Section */
.projects-section {
    padding: 128px 0;
    position: relative;
}

.projects-book-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.projects-book {
    perspective: 1000px;
    cursor: pointer;
}

.book-cover {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.projects-book:hover .book-cover {
    transform: rotateY(-15deg) rotateX(5deg);
}

.book-spine {
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: linear-gradient(180deg, 
        hsl(195, 100%, 45%) 0%, 
        hsl(195, 100%, 35%) 100%);
    border-radius: 4px 0 0 4px;
    transform: rotateY(-90deg);
    transform-origin: right;
}

.book-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--card) 0%, 
        hsla(195, 100%, 50%, 0.1) 100%);
    border: 2px solid hsla(195, 100%, 50%, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.book-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.book-front h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--foreground);
}

.book-front p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.book-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        hsla(195, 100%, 50%, 0.1) 50%, 
        transparent 70%);
    transform: rotate(-45deg);
    animation: bookShine 3s ease-in-out infinite;
}

@keyframes bookShine {
    0%, 100% { transform: translateX(-100%) rotate(-45deg); }
    50% { transform: translateX(100%) rotate(-45deg); }
}

/* Modal Styles */
.projects-modal, .certificates-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.projects-modal.active, .certificates-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 80vh;
    background: var(--card);
    border-radius: 20px;
    margin: 50px auto;
    overflow: hidden;
    border: 1px solid hsla(195, 100%, 50%, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.projects-modal.active .modal-content,
.certificates-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid hsla(195, 100%, 50%, 0.2);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: hsla(195, 100%, 50%, 0.1);
    color: var(--primary);
}

.projects-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.project-card-modal {
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid hsla(195, 100%, 50%, 0.2);
    transition: all 0.3s ease;
}

.project-card-modal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.project-card-modal img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--foreground);
}

.project-info p {
    color: var(--muted-foreground);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tags span {
    padding: 4px 12px;
    background: hsla(195, 100%, 50%, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    color: var(--primary);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: hsl(195, 100%, 40%);
}

.project-card-modal.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: linear-gradient(135deg, hsla(195, 100%, 50%, 0.1), hsla(195, 100%, 50%, 0.05));
    border: 2px dashed hsla(195, 100%, 50%, 0.3);
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.coming-soon-content p {
    color: var(--muted-foreground);
}

.project-content {
    position: relative;
    z-index: 10;
}

.project-content img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-content p {
    color: var(--muted-foreground);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tags span {
    padding: 4px 8px;
    background: hsla(195, 100%, 50%, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    color: var(--primary);
    font-size: 1.125rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: hsl(195, 100%, 40%);
}

.projects-footer {
    text-align: center;
}

/* Experience Section */
.experience-section {
    padding: 128px 0;
    position: relative;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--electric-blue), transparent);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    left: -4px;
    top: 8px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.company {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.period {
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Certifications Section */
.certifications-section {
    padding: 128px 0;
    position: relative;
}

.certificates-display {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.certificate-stack {
    perspective: 1000px;
    cursor: pointer;
}

.certificate-preview {
    width: 350px;
    height: 250px;
    background: linear-gradient(135deg, 
        #fff 0%, 
        #f8f9fa 100%);
    border: 3px solid #d4af37;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    transition: transform 0.6s ease;
}

body.dark .certificate-preview {
    background: linear-gradient(135deg, 
        var(--card) 0%, 
        hsla(195, 100%, 50%, 0.05) 100%);
}

.certificate-stack:hover .certificate-preview {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
}

.cert-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    width: 100px;
    height: 30px;
    background: #d4af37;
    transform: rotate(45deg);
}

.cert-ribbon::before {
    content: 'CERTIFIED';
    position: absolute;
    top: 6px;
    left: 15px;
    font-size: 0.6rem;
    font-weight: bold;
    color: white;
    transform: rotate(-45deg);
}

.cert-main-icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.certificate-preview h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--foreground);
}

.certificate-preview p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.cert-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(212, 175, 55, 0.1) 50%, 
        transparent 70%);
    transform: rotate(-45deg);
    animation: certShine 4s ease-in-out infinite;
}

@keyframes certShine {
    0%, 100% { transform: translateX(-100%) rotate(-45deg); }
    50% { transform: translateX(100%) rotate(-45deg); }
}

.certificates-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.certificate-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.dark .certificate-card {
    background: var(--background);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.cert-border {
    border: 4px solid #d4af37;
    padding: 24px;
    position: relative;
}

.cert-border::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid #d4af37;
    pointer-events: none;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cert-icon {
    font-size: 2.5rem;
}

.cert-icon.fab.fa-java { color: #f89820; }
.cert-icon.fab.fa-css3-alt { color: #1572b6; }
.cert-icon.fas.fa-globe { color: #28a745; }
.cert-icon.fas.fa-brain { color: #8b5cf6; }

.cert-badge {
    background: #d4af37;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.cert-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--foreground);
}

.cert-issuer {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.cert-description {
    color: var(--muted-foreground);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-date {
    padding: 6px 16px;
    background: hsla(195, 100%, 50%, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cert-seal {
    color: #d4af37;
    font-size: 1.5rem;
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid hsla(195, 100%, 50%, 0.2);
    text-align: center;
}

.linkedin-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Metal Mania', cursive;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-cert-link:hover {
    background: linear-gradient(135deg, #005582 0%, #003d5c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.linkedin-cert-link i {
    font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
    padding: 128px 0;
    position: relative;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--card);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.contact-card:hover {
    background: hsla(var(--card), 0.8);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: hsla(195, 100%, 50%, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    transition: background 0.3s ease;
}

.social-link:hover {
    background: hsla(195, 100%, 50%, 0.3);
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid hsla(195, 100%, 50%, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-content p {
    color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .slide-menu {
        width: 100%;
        right: -100%;
    }
    
    .about-header {
        flex-direction: column;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-content h2 {
        text-align: center;
    }
    
    .book-cover {
        width: 250px;
        height: 320px;
    }
    
    .certificate-preview {
        width: 280px;
        height: 200px;
    }
    
    .projects-grid-modal {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .certificates-grid-modal {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 85vh;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-nav {
        right: 20px;
    }
    
    .popup-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .navigation {
        padding: 16px;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .book-cover {
        width: 200px;
        height: 280px;
    }
    
    .book-front {
        padding: 24px;
    }
    
    .book-icon {
        font-size: 3rem;
    }
    
    .certificate-preview {
        width: 240px;
        height: 180px;
        padding: 20px;
    }
    
    .cert-main-icon {
        font-size: 3rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 10px auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .projects-grid-modal,
    .certificates-grid-modal {
        padding: 16px;
        gap: 16px;
    }
    
    .popup-nav {
        right: 15px;
    }
    
    .popup-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}