/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff6b35;
    --accent-tertiary: #8c52ff;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #8c52ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-light: 0 4px 20px rgba(0, 212, 255, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 212, 255, 0.15);
    --shadow-heavy: 0 15px 40px rgba(0, 212, 255, 0.2);
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(140, 82, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

.nav-logo i {
    margin-right: 12px;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    transition: var(--transition);
}

.nav-profile-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(140, 82, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6)); }
}

.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.8)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 25px;
}

.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.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.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 5rem;
    position: relative;
}

.hero-visual i {
    animation: float 4s ease-in-out infinite;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.hero-visual i:nth-child(1) {
    animation-delay: 0s;
}

.hero-visual i:nth-child(2) {
    animation-delay: 1.3s;
}

.hero-visual i:nth-child(3) {
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    50% { 
        transform: translateY(-30px) rotate(5deg); 
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 80px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% { width: 100px; }
    50% { width: 150px; }
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(140, 82, 255, 0.05) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.skills {
    margin-top: 40px;
}

.skill {
    margin-bottom: 25px;
}

.skill-name {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.skill-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-progress {
    position: relative;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-small);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(140, 82, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.profile-image:hover::before {
    opacity: 1;
}

.image-placeholder {
    width: 350px;
    height: 350px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    animation: rotate 20s linear infinite;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-placeholder p {
    margin-top: 15px;
    font-size: 1.1rem;
    z-index: 2;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(140, 82, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.service-features li:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.service-features i {
    color: var(--accent-primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-tertiary);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 15px 30px;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    left: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(140, 82, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-within .portfolio-overlay {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-overlay .btn {
    margin-top: 18px;
    z-index: 3;
    pointer-events: auto;
}

.portfolio-overlay h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.portfolio-image img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,212,255,0.18);
}

/* Contact Section */
.contact {
    position: relative;
    z-index: 10;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-light);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    margin-right: 25px;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-item i::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
}

.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.social-icon i {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    z-index: 20;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-light);
    background: var(--bg-tertiary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-form {
    position: relative;
    z-index: 15;
}

.contact-form h3 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 15px;
    text-align: center;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-delay {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.animate-slide-in {
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 30px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-width: 160px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 2.2rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .profile-image {
        width: 280px;
        height: 280px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 2rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-filter {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .hero-visual {
        font-size: 3.5rem;
        gap: 25px;
    }
    
    .hero-visual i {
        font-size: 3rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .contact-icon-gradient {
        margin: 0 0 20px 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    section {
        padding: 80px 0;
    }
    
    .nav-logo {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 70px;
    }
    
    .nav-menu {
        top: 70px;
    }
    
    .nav-logo {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-visual {
        font-size: 2.8rem;
        gap: 20px;
    }
    
    .hero-visual i {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .portfolio-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        margin-bottom: 30px;
    }
    
    .contact-icon-gradient {
        width: 50px;
        height: 50px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-visual {
        font-size: 2.2rem;
        gap: 15px;
    }
    
    .hero-visual i {
        font-size: 2rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: 15px 20px;
    }
    
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .filter-btn {
        min-height: 44px;
    }
    
    .social-icon {
        min-width: 44px;
        min-height: 44px;
    }
    
    .portfolio-item {
        cursor: pointer;
    }
    
    .service-card {
        cursor: pointer;
    }
    
    /* Improve touch targets */
    .hamburger {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .bar {
        width: 25px;
        height: 3px;
    }
    
    /* Prevent text selection on interactive elements */
    .btn, .nav-link, .filter-btn, .social-icon {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve form inputs on mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: var(--border-radius-small);
    }
    
    /* Better hover states for touch devices */
    .portfolio-item:active,
    .service-card:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-container {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-visual {
        font-size: 2.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .hero-visual i {
        animation-duration: 3s;
    }
    
    .service-card::before,
    .service-card::after {
        animation-duration: 2s;
    }
    
    /* Optimize shadows for mobile */
    .service-card,
    .portfolio-item,
    .btn {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover,
    .portfolio-item:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* Reduce backdrop-filter usage on mobile */
    .navbar {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-menu {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Prevent layout shift on mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Improve loading performance */
.animate-on-scroll {
    will-change: transform, opacity;
}

/* Better focus states for accessibility */
.btn:focus,
.nav-link:focus,
.filter-btn:focus,
.social-icon:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Improved text selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

.portfolio-cta .btn {
    font-size: 1.2rem;
    padding: 18px 40px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.portfolio-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

.contact-icon-gradient {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #8c52ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    flex-shrink: 0;
}
.contact-icon-gradient i {
    color: #fff;
    font-size: 1.7rem;
} 