/* Animated Glow Property */
@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* 3D Card Properties */
@property --ratio-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --ratio-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --correction {
    syntax: "<percent>";
    inherits: true;
    initial-value: 0%;
}

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

:root {
    --primary-color: #ffffff;
    --primary-light: #f5f5f5;
    --primary-dark: #cccccc;
    --secondary-color: #888888;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-light: #cbd5e1;
    --text-dark: #1e293b;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-card: rgba(0, 0, 0, 0.7);
    --bg-glass: rgba(0, 0, 0, 0.7);
    --bg-glass-hover: rgba(0, 0, 0, 0.8);
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-hero: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: #000000;
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #010101;
    filter: url(#noiseFilter);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    animation: grainShift 12s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

@keyframes grainShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    33% {
        transform: translate(-1px, 1px) scale(1.005);
        opacity: 0.08;
    }
    66% {
        transform: translate(1px, -1px) scale(0.995);
        opacity: 0.15;
    }
}

@keyframes subtleGrain {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-0.5px, 0.5px);
        opacity: 0.9;
    }
}

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

/* Navigation Styles */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.4);
}

.navbar.glass-panel {
    border: none;
    border-bottom: 1px solid var(--border-glass);
}

.navbar.glass-panel:hover {
    background: var(--bg-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.008) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 1rem -1rem; /* En üstten 1cm uzat (1.5rem) */
    min-height: 80px; /* Navbar'ın minimum yüksekliği */
}

.nav-logo .logo-text {
    font-family: var(--font-hero);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.nav-logo .logo-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    animation: lightBeam 3s ease-in-out infinite;
}

.nav-logo .logo-text:hover {
    transform: scale(1.05);
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 1),
        0 0 25px rgba(255, 255, 255, 0.8),
        0 0 35px rgba(255, 255, 255, 0.6),
        0 0 45px rgba(255, 255, 255, 0.4);
}

@keyframes lightBeam {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo::after {
    content: 'Premium Digital Studio';
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-logo:hover::after {
    opacity: 1;
    transform: translateY(5px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.2);
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    position: relative;
    align-items: center;
    height: 100%;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -2rem;
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateY(-50%);
    animation: navSeparator 3s ease-in-out infinite;
}

@keyframes navSeparator {
    0%, 100% {
        opacity: 0.3;
        height: 20px;
    }
    50% {
        opacity: 1;
        height: 40px;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 1px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.015) 0%, transparent 60%);
    opacity: 0.4;
    z-index: 0;
    animation: heroGrain 15s ease-in-out infinite;
}

@keyframes heroGrain {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(2px, -1px) scale(1.01);
        opacity: 0.6;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 100;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-container {
        padding: 0 1.5rem;
        gap: 2.5rem;
        min-height: 95vh;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 90px 0.75rem 1.5rem;
        gap: 1.5rem;
    }
}

.hero-content {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateY(-18px);
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 1rem;
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        gap: 1rem;
        transform: translateY(0);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 0.85rem;
    }
}


.hero-title {
    font-size: 3.6rem; /* slightly smaller to compact layout */
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-greeting {
    display: block;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .hero-greeting {
        font-size: 0.95rem;
        letter-spacing: 0.25rem;
    }
}

@media (max-width: 768px) {
    .hero-greeting {
        font-size: 1.1rem;
        letter-spacing: 0.3rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-greeting {
        font-size: 1rem;
        letter-spacing: 0.25rem;
        margin-bottom: 0.5rem;
    }
}

.hero-name {
    display: block;
    font-family: var(--font-hero);
    font-size: 3.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f5f5f5, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 30px rgba(255, 255, 255, 0.2);
    margin-bottom: 0.3rem;
    letter-spacing: -0.03em;
    position: relative;
    max-width: calc(100% - 4cm);
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-name {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 4rem;
        max-width: 100%;
        overflow: visible;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 3.2rem;
        letter-spacing: -0.01em;
        margin-bottom: 0.4rem;
    }
}

.hero-name::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: slideInLeft 1.5s ease 2s both;
}

@media (max-width: 768px) {
    .hero-name::before {
        display: none;
    }
}

.hero-name::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: slideInRight 1.5s ease 2s both;
}

@media (max-width: 768px) {
    .hero-name::after {
        display: none;
    }
}

@keyframes slideInLeft {
    from { 
        left: -40px;
        opacity: 0;
    }
    to { 
        left: -20px;
        opacity: 1;
    }
}

@keyframes slideInRight {
    from { 
        right: -40px;
        opacity: 0;
    }
    to { 
        right: -20px;
        opacity: 1;
    }
}

.hero-tagline {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    color: #cccccc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .hero-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.3rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
}

.hero-description {
    font-size: 0.98rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.6s both;
}

@media (max-width: 1024px) {
    .hero-description {
        font-size: 0.95rem;
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.hero-description .highlight {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    position: relative;
}

.hero-description .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: underlineMove 3s ease-in-out infinite;
}

@keyframes underlineMove {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}


.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        gap: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1em;
    border: solid 1.25em transparent;
    border-image: 
        conic-gradient(
            from var(--glow-angle), 
            #669900, 
            #99cc33, 
            #ccee66, 
            #006699, 
            #3399cc, 
            #990066, 
            #cc3399, 
            #ff6600, 
            #ff9900, 
            #ffcc00, 
            #669900
        ) 1;
    filter: blur(0.75em);
    opacity: 1;
    animation: glow-rotate 4s linear infinite;
}

.btn:hover::before {
    opacity: 1;
    filter: blur(1em);
}

@keyframes glow-rotate {
    to { --glow-angle: 360deg; }
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--bg-glass);
    color: white;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px 0 rgba(0, 120, 212, 0.6), 0 0 30px rgba(0, 188, 242, 0.4);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 15px 50px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-6px) rotateX(10deg) scale(1.03);
}

.btn-secondary:hover::before {
    transform: translateZ(-1px) rotateX(10deg);
    background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
}

.btn-secondary:hover i {
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-visual {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        height: 450px;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 380px;
    }
}

#three-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    background: transparent;
}

@media (max-width: 768px) {
    #three-canvas {
        height: 450px !important;
    }
}

@media (max-width: 480px) {
    #three-canvas {
        height: 380px !important;
    }
}

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

/* Works Section */
.works {
    padding: 9rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.works-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.works-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.works-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.works-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.works-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.works-list li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.works-list li i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.works-gallery {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.works-phone-mockup {
    position: absolute;
    bottom: 0;
    left: 0px;
    right: auto;
    width: auto;
    height: 75%;
    max-height: 480px;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.works-gallery:hover .works-phone-mockup {
    transform: scale(1.05);
}

#gallery-canvas {
    width: 100%;
    height: 100%;
    display: block;
}


/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1.2);
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 0;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
}

.about-text {
    max-width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .about-text {
        text-align: center;
    }
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 1024px) {
    .about-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .about-text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.about-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .about-animation {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .about-animation {
        min-height: 350px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .about-animation {
        min-height: 300px;
    }
}

/* Bouncing Ball Animation */
.ball-phrase-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .ball-phrase-wrapper {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .ball-phrase-wrapper {
        gap: 1rem;
    }
}

.ball {
    --size: 6vmin;
    --interval: 0.65s;
    --duration: 2.6s;
    height: var(--size);
    width: var(--size);
    position: relative;
    margin: 0 auto;
    display: none;
}

@media (max-width: 768px) {
    .ball {
        --size: 8vmin;
    }
}

@media (max-width: 480px) {
    .ball {
        --size: 10vmin;
    }
}

.ball.splitting {
    display: block;
}

.ball,
.ball *,
.ball *:before {
    will-change: transform;
}

.ball {
    animation: bounce var(--interval, 0.65s) calc(var(--interval, 0.65s) / -2)
        cubic-bezier(0, 0, 0, 1) infinite,
      color var(--duration, 2.6s) calc(var(--interval, 0.65s) / -2) linear infinite;
}

@keyframes bounce {
    from,
    to {
        transform: translateY(-300%);
        animation-timing-function: cubic-bezier(0, 0, 1, 0), linear;
    }
    50% {
        transform: none;
    }
}

@keyframes color {
    from,
    to {
        --color: #2358e6;
    }
    25% {
        --color: #e58d2c;
    }
    50% {
        --color: #27c05f;
    }
    75% {
        --color: #df4b20;
    }
}

.ball:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color, #2358e6);
    border-radius: 50%;
}

.ball-top {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ball-top:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-left-radius: calc(var(--size, 6vmin) / 2);
    border-top-right-radius: calc(var(--size, 6vmin) / 2);
    background-color: var(--color, #2358e6);
    animation: anti-bounce var(--interval, 0.65s) calc(var(--interval, 0.65s) / -2)
      cubic-bezier(0, 0, 0, 1) infinite;
}

@keyframes anti-bounce {
    from,
    to {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 1, 0);
    }
    50% {
        transform: translateY(-100%);
    }
}

.phrase {
    font-size: 4.5vmin;
    text-align: center;
    display: grid;
    grid-template-areas: "layer";
    opacity: 0;
}

@media (max-width: 768px) {
    .phrase {
        font-size: 5.5vmin;
    }
}

@media (max-width: 480px) {
    .phrase {
        font-size: 6.5vmin;
    }
}

.phrase.splitting {
    opacity: 1;
}

.phrase .word {
    --delay: calc(var(--interval, 0.65s) * (var(--item-index, 0)));
    display: block;
    grid-area: layer;
    --transform: translateX(0);
}

.phrase .word.splitting {
    animation: word-reveal var(--duration, 2.6s) linear both infinite,
      word-bounce var(--duration, 2.6s) ease both infinite;
    animation-delay: var(--delay);
}

@keyframes word-reveal {
    0%,
    25%,
    100% {
        visibility: hidden;
    }
    1%,
    24% {
        visibility: visible;
    }
}

@keyframes word-bounce {
    from,
    30%,
    to {
        transform: var(--transform);
    }
    12.5% {
        transform: translateY(30%) var(--transform);
    }
}

.phrase .word.slide .char {
    animation: char-reveal var(--interval, 0.65s) cubic-bezier(0, 0, 0.2, 1) both
      infinite;
    animation-delay: var(--delay);
}

@keyframes char-reveal {
    0% {
        transform: translateX(calc(-0.5em * var(--distance-sine, 0)));
    }
    100% {
        transform: translateX(calc(0.25em * var(--distance-sine, 0)))
          translateY(50%);
    }
}

.phrase .word.smiley {
    --transform: rotate(90deg);
}

.phrase .word.smiley [data-char] {
    animation: none var(--interval, 0.65s) ease-in-out infinite;
    animation-delay: var(--delay);
}

.phrase .word.smiley [data-char=":"] {
    top: -0.06em;
    animation-name: blink;
}

@keyframes blink {
    0%,
    60% {
        transform: scaleX(1);
    }
    30% {
        transform: scaleX(0);
    }
}

.phrase .word.smiley [data-char=")"] {
    animation-name: smile;
    animation-timing-function: ease-out;
}

@keyframes smile {
    0% {
        transform: scale(0.7);
    }
    60% {
        transform: scale(1);
    }
}

.skills {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 480px;
    margin-top: 3rem;
    padding: 80px 30px; /* more horizontal padding for spacing */
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    position: absolute;
    overflow: hidden;
    width: 180px;
    height: 220px;
    cursor: pointer;
    top: 50%;
    background: var(--bg-secondary);
}

/* Ters hilal düzeni - container merkezinden yayılan */
.skill-item:nth-child(1) {
    left: 6%;
    --base-ty: calc(-50% + 50px);
    --hover-ty: calc(-50% - 0px);
    transform: translateX(0) translateY(calc(var(--base-ty) + var(--reveal-offset, 0px))) rotateZ(-10deg);
    z-index: 1;
}

.skill-item:nth-child(2) {
    left: 25%;
    --base-ty: calc(-50% + 20px);
    --hover-ty: calc(-50% - 30px);
    transform: translateX(0) translateY(calc(var(--base-ty) + var(--reveal-offset, 0px))) rotateZ(-5deg);
    z-index: 2;
}

.skill-item:nth-child(3) {
    left: 50%;
    --base-ty: calc(-50% + 0px);
    --hover-ty: calc(-50% - 50px);
    transform: translateX(-50%) translateY(calc(var(--base-ty) + var(--reveal-offset, 0px))) rotateZ(0deg);
    z-index: 3;
}

.skill-item:nth-child(4) {
    left: 75%;
    --base-ty: calc(-50% + 20px);
    --hover-ty: calc(-50% - 30px);
    transform: translateX(-100%) translateY(calc(var(--base-ty) + var(--reveal-offset, 0px))) rotateZ(5deg);
    z-index: 2;
}

.skill-item:nth-child(5) {
    left: 94%;
    --base-ty: calc(-50% + 50px);
    --hover-ty: calc(-50% - 0px);
    transform: translateX(-100%) translateY(calc(var(--base-ty) + var(--reveal-offset, 0px))) rotateZ(10deg);
    z-index: 1;
}

/* Hover - sadece yukarı hareket, pozisyon SABİT */
.skill-item:nth-child(1):hover {
    transform: translateX(0) translateY(calc(var(--hover-ty) + var(--reveal-offset, 0px))) rotateZ(-10deg) scale(1.1);
    z-index: 10;
}

.skill-item:nth-child(2):hover {
    transform: translateX(0) translateY(calc(var(--hover-ty) + var(--reveal-offset, 0px))) rotateZ(-5deg) scale(1.1);
    z-index: 10;
}

.skill-item:nth-child(3):hover {
    transform: translateX(-50%) translateY(calc(var(--hover-ty) + var(--reveal-offset, 0px))) rotateZ(0deg) scale(1.1);
    z-index: 10;
}

.skill-item:nth-child(4):hover {
    transform: translateX(-100%) translateY(calc(var(--hover-ty) + var(--reveal-offset, 0px))) rotateZ(5deg) scale(1.1);
    z-index: 10;
}

.skill-item:nth-child(5):hover {
    transform: translateX(-100%) translateY(calc(var(--hover-ty) + var(--reveal-offset, 0px))) rotateZ(10deg) scale(1.1);
    z-index: 10;
}

/* Inner Glow - Hero button ile tamamen aynı */
.skill-item::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1em;
    border: solid 1.25em transparent;
    border-image: 
        conic-gradient(
            from var(--glow-angle), 
            #669900, 
            #99cc33, 
            #ccee66, 
            #006699, 
            #3399cc, 
            #990066, 
            #cc3399, 
            #ff6600, 
            #ff9900, 
            #ffcc00, 
            #669900
        ) 1;
    filter: blur(0.75em);
    opacity: 1;
    animation: glow-rotate 4s linear infinite;
}

/* Her skill-item için farklı animasyon başlangıç noktası */
.skill-item:nth-child(1)::before {
    animation-delay: 0s;
}

.skill-item:nth-child(2)::before {
    animation-delay: -1s;
}

.skill-item:nth-child(3)::before {
    animation-delay: -2s;
}

.skill-item:nth-child(4)::before {
    animation-delay: -3s;
}

.skill-item:nth-child(5)::before {
    animation-delay: -0.5s;
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.skill-item .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
    text-align: center;
    max-width: 140px;
    line-height: 1.3;
    z-index: 2;
}

.skill-item span {
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-tertiary);
    position: relative;
}

/* Mobile Carousel - Hidden by default */
.services-mobile-carousel {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

.service-item {
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .service-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 1.25rem;
        border-radius: 15px;
    }
}

.service-item::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1em;
    border: solid 1.25em transparent;
    border-image: 
        conic-gradient(
            from var(--glow-angle), 
            #669900, 
            #99cc33, 
            #ccee66, 
            #006699, 
            #3399cc, 
            #990066, 
            #cc3399, 
            #ff6600, 
            #ff9900, 
            #ffcc00, 
            #669900
        ) 1;
    filter: blur(0.75em);
    opacity: 0;
    animation: glow-rotate 4s linear infinite;
    transition: opacity 0.4s ease;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 60px;
        height: 60px;
    }
}

.service-icon i {
    font-size: 2rem;
    color: #000000;
}

@media (max-width: 768px) {
    .service-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .service-icon i {
        font-size: 1.5rem;
    }
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .service-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-item h3 {
        font-size: 1.1rem;
    }
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .service-item p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .service-item p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
}

.service-item ul {
    list-style: none;
    text-align: left;
}

.service-item ul li {
    color: var(--text-light);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .service-item ul li {
        font-size: 0.9rem;
        padding: 0.2rem 0;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-item ul li {
        font-size: 0.85rem;
        padding-left: 1.15rem;
    }
}

.service-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

/* Mobile Carousel Styles */
.services-carousel-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-height: 600px;
    padding: 0 0.5rem 1rem;
}

.services-carousel-track .service-item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
    min-height: 500px;
}

.services-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.services-carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-carousel-indicators .indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Portfolio Section - Marquee Style */
.portfolio {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Marquee Container */
.wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 100vw;
    padding: 3rem 0;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    padding: 2rem 0;
    mask-image: linear-gradient(
        to right,
        hsl(0 0% 0% / 0),
        hsl(0 0% 0% / 1) 20%,
        hsl(0 0% 0% / 1) 80%,
        hsl(0 0% 0% / 0)
    );
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-x 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__group {
        animation-play-state: paused;
    }
}

.marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
}

@keyframes scroll-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Project Cards */
.project-card {
    display: grid;
    place-items: center;
    width: clamp(20rem, 1rem + 40vmin, 35rem);
    aspect-ratio: 16/10;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(0, 120, 200, 0.6);
    box-shadow: 0 20px 60px rgba(0, 120, 200, 0.4);
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

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

.team-member {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

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

.member-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social .social-link:hover {
    background: var(--bg-glass-hover);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.member-role {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-tertiary);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    border-radius: 16px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    padding: 2rem;
    border-radius: 20px;
}

.contact-form h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-glass);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.1);
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-glass);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 0 20px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
/* Tablet - iPad */
@media (max-width: 1024px) {
    .hero-container {
        padding: 130px 2rem 2rem 2rem;
        gap: 3rem;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    #three-canvas {
        height: 350px !important;
    }

    /* Works Section Tablet */
    .works {
        padding: 6rem 0;
    }

    .works-content {
        gap: 2.5rem;
    }

    .works-text h3 {
        font-size: 1.8rem;
    }

    .works-text p {
        font-size: 1rem;
    }

    .works-gallery {
        height: 400px;
    }

    .works-phone-mockup {
        height: 70%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 0.9rem 1.8rem;
        width: auto;
        max-width: 90%;
        text-align: center;
        border-radius: 12px;
        transition: all 0.3s ease;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid var(--border-glass);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--bg-glass-hover);
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
        padding: 120px 1.5rem 2rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        gap: 1.2rem;
    }

    .hero-greeting {
        font-size: 1.4rem;
        letter-spacing: 0.25rem;
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .hero-name {
        font-size: 5rem;
        max-width: 100%;
        overflow: visible;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-name::before,
    .hero-name::after {
        display: none;
    }

    .hero-tagline {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-direction: row;
        width: 100%;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        flex: 1;
        max-width: 180px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn span {
        white-space: nowrap;
    }

    .btn i {
        font-size: 1rem;
    }

    .hero-visual {
        height: 450px;
        margin-top: 0;
    }

    #three-canvas {
        height: 450px !important;
        margin-top: 0;
    }


    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Slider Responsive */
    .slider-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slider-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-arrow-left {
        left: 10px;
    }

    .slider-arrow-right {
        right: 10px;
    }

    .slider-content {
        padding: 2rem;
        min-height: auto;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .skills {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Works Section Mobile */
    .works {
        padding: 4rem 0;
    }

    .works-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .works-text {
        order: 2;
        text-align: center;
        padding: 0 1rem;
    }

    .works-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .works-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .works-list {
        max-width: 100%;
        text-align: left;
        margin: 0 auto;
    }

    .works-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }

    .works-gallery {
        height: 350px;
        order: 1;
    }

    .works-phone-mockup {
        height: 70%;
        max-height: 360px;
        left: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 100px 1rem 1.5rem 1rem;
        gap: 0.5rem;
    }

    .hero-content {
        gap: 1rem;
    }

    .hero-greeting {
        font-size: 1.2rem;
        letter-spacing: 0.2rem;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .hero-name {
        font-size: 4rem;
        max-width: 100%;
        overflow: visible;
        letter-spacing: -0.02em;
        padding: 0 0.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.75rem;
        margin-bottom: 1.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.9rem 1.75rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
    }

    .btn span {
        white-space: nowrap;
        font-weight: 600;
    }

    .btn i {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .hero-visual {
        height: 380px;
        margin-top: 0;
    }

    #three-canvas {
        height: 380px !important;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    /* Works Section Mobile */
    .works {
        padding: 3rem 0;
    }

    .works-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .works-text {
        order: 2;
        text-align: center;
        padding: 0 0.5rem;
    }

    .works-text h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .works-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .works-list {
        max-width: 100%;
        text-align: left;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .works-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        gap: 0.75rem;
    }

    .works-list li i {
        font-size: 1rem;
        width: 18px;
        height: 18px;
    }

    .works-gallery {
        height: 280px;
        order: 1;
    }

    .works-phone-mockup {
        height: 68%;
        max-height: 280px;
        left: 15px;
    }

} 