/* Global Styles */
:root {
    --primary-color: #ff0080;
    --secondary-color: #ff5ebd;
    --accent-color: #ff8ad8;
    --text-color: #e2e8f0;
    --light-color: #f3f4f6;
    --dark-color: #0f172a;
    --darker-color: #020617;
    --cyber-pink-glow: 0 0 8px #ff0080, 0 0 16px rgba(255, 0, 128, 0.3);
    --winter-bg: linear-gradient(135deg, #0a1122 0%, #1e293b 100%);
    --typing-cursor-color: #ffffff;
    --highlight-text-color: #ff0080;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--winter-bg);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typing Animation and Text Styling */
.typing-animation {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
    border-right: 2px solid var(--typing-cursor-color);
    white-space: nowrap;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
    margin-bottom: 1rem;
}

.white-text {
    color: white;
}

.pink-text {
    color: var(--highlight-text-color);
    text-shadow: var(--cyber-pink-glow);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--typing-cursor-color) }
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: var(--cyber-pink-glow);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 10px #ff0080, 0 0 20px rgba(255, 0, 128, 0.4);
    border-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.3);
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.section-subtitle h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 0, 128, 0.2);
    letter-spacing: 0.5px;
}

.underline {
    height: 3px;
    width: 80px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: var(--cyber-pink-glow);
}

section {
    padding: 80px 0;
    position: relative;
}

/* No Snow Animation */

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

nav.scrolled {
    padding: 3px 5%;
    background: rgba(15, 23, 42, 0.95);
}

.logo {
    position: relative;
    z-index: 1;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, rgba(255, 0, 128, 0) 90%);
    filter: blur(8px);
    z-index: -1;
    animation: glowPulse 5s infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}


.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 0, 128, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 0, 128, 0.3);
}

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

.menu-toggle {
    display: none;
    font-size: 1rem;
    cursor: pointer;
    background: var(--primary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--cyber-pink-glow);
}

.menu-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0;
    background-color: var(--darker-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background/IMG_0745.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    filter: blur(5px) brightness(0.7) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 0 8px var(--primary-color), 0 0 16px rgba(255, 0, 128, 0.3);
    letter-spacing: 1px;
}

.animated-text {
    animation: fadeInUp 1.2s ease-out, glowPulse 3s infinite alternate;
}

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

.hero h2 {
    font-size: 2.3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.hero p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    background: var(--dark-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.skill-card {
    background: var(--darker-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.skill-card p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.skill-progress-container {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background: var(--darker-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-progress-container h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.skill-progress {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill-name {
    width: 150px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.expert {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.intermediate {
    width: 70%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.beginner {
    width: 30%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 6px rgba(255, 0, 128, 0.3);
}

.skill-level {
    width: 100px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.software-skills h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.software-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.software {
    text-align: center;
}

.software i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.software p {
    font-weight: 500;
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-card {
    background: var(--darker-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    opacity: 0.05;
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Work Section */
.work {
    background: var(--dark-color);
}

.work-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.work-item {
    background: var(--darker-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.work-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (default) */
    overflow: hidden;
    background-color: var(--darker-color);
    border-radius: 10px 10px 0 0;
}

.reel-ratio {
    padding-top: 177.78%; /* 9:16 Aspect Ratio for vertical reels */
}

.work-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--darker-color);
    cursor: pointer;
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.work-info p {
    color: var(--text-color);
}

/* Contact Section */
.contact {
    background: var(--dark-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info {
    background: var(--darker-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.cv-download {
    margin-bottom: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--darker-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.contact-direct h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-direct p {
    margin-bottom: 25px;
}

.contact-direct .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background: var(--darker-color);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 70px;
    margin: 0 auto;
    filter: drop-shadow(0 0 6px rgba(255, 0, 128, 0.1));
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(255, 0, 128, 0.2));
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-text {
        flex: none;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--darker-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        transition-delay: calc(0.1s * var(--i, 0));
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .work-container {
        grid-template-columns: 1fr;
    }
}

/* Animation styles */
.skill-card, .service-card, .work-item, .about-image {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.skill-card.animated, .service-card.animated, .work-item.animated, .about-image.animated {
    opacity: 1;
    transform: translateY(0);
}