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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #0066ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 8px 32px rgba(0, 212, 255, 0.1);
    --shadow-medium: 0 16px 64px rgba(0, 212, 255, 0.15);
    --shadow-heavy: 0 32px 128px rgba(0, 212, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #0066ff 100%);
    --gradient-secondary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.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: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-email {
    background: #ea4335;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-email:hover {
    background: #d32f2f;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(234, 67, 53, 0.4);
}

.btn-phone {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-phone:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-location {
    background: #8b5cf6;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-location:hover {
    background: #7c3aed;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Elegant Submit Button */
.btn-elegant {
    position: relative;
    overflow: hidden;
    min-height: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-clip: padding-box;
    color: white;
}

.btn-elegant .btn-content,
.btn-elegant .btn-loading {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-elegant .btn-content i {
    font-size: 1rem;
    animation: paper-plane-float 3s ease-in-out infinite;
}

@keyframes paper-plane-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.btn-elegant:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-elegant:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-elegant.loading .btn-content {
    opacity: 0;
    transform: translateY(-10px);
}

.btn-elegant.loading .btn-loading {
    opacity: 1;
    transform: translateY(0);
}

.btn-elegant:not(.loading) .btn-loading {
    opacity: 0;
    transform: translateY(10px);
}

.btn-elegant:not(.loading) .btn-content {
    opacity: 1;
    transform: translateY(0);
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-link.active i {
    opacity: 1;
    color: var(--primary-color);
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 153, 204, 0.15) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: shapeFloat1 18s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation: shapeFloat2 22s ease-in-out infinite;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation: shapeFloat3 16s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation: shapeFloat4 20s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 9s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

/* Hero Animations */
@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

@keyframes shapeFloat1 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

@keyframes shapeFloat2 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-40px) rotate(-180deg) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes shapeFloat3 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-25px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
}

@keyframes shapeFloat4 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-35px) rotate(-90deg) scale(1.2);
        opacity: 0.9;
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0);
    }
    40% { 
        transform: translateX(-50%) translateY(-10px);
    }
    60% { 
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: techScan 3s ease-in-out infinite;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--darker-bg);
}

/* Professional Portfolio Slider */
.portfolio-slider-container {
    position: relative;
    margin: 3rem auto;
    max-width: 800px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    z-index: 1;
}

.portfolio-slider {
    position: relative;
    display: flex;
    width: 100%;
    height: 500px;
}

.portfolio-slide {
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1;
}

.portfolio-slide.active {
    opacity: 1;
    transform: translateX(0%);
    pointer-events: all;
    z-index: 2;
}

.portfolio-slide:first-child {
    transform: translateX(0%);
    opacity: 1;
    z-index: 2;
}

.portfolio-slide .portfolio-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-slide .portfolio-image .image-placeholder {
    height: 100%;
    font-size: 5rem;
    background: var(--gradient-dark);
}

.portfolio-slide .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.portfolio-slide:hover .portfolio-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 100%);
    transform: translateY(-10px);
}

.portfolio-slide .portfolio-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.portfolio-slide .portfolio-overlay p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
    line-height: 1.6;
}

.portfolio-tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(20px);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    border: 2px solid rgba(0, 212, 255, 0.5);
    z-index: 15;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

.slider-nav-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-nav-btn:hover::before {
    opacity: 0.3;
}

.slider-nav-btn i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.slider-nav-btn:hover i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transform: scale(1.1);
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    border-color: var(--primary-color);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

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

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Portfolio Grid (Mobile Fallback) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-grid.mobile-only {
    display: none;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.portfolio-item .portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-item .portfolio-image .image-placeholder {
    height: 100%;
    font-size: 3rem;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .portfolio-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Elegant Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #0066ff);
    opacity: 0.8;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Form Elegant Header */
.form-elegant-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.form-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-form-container:hover .form-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.form-elegant-header h3 {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-elegant-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Elegant Form Styles */
.elegant-form {
    position: relative;
}

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

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    backdrop-filter: blur(15px);
    position: relative;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;
    padding-right: 2.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
}

.form-group select option {
    background-color: var(--darker-bg);
    color: var(--text-primary);
    padding: 0.5rem;
    border: none;
}

.form-group select:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-width: 2px;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Form Enhancement Styles */
.form-group select:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group select:active {
    transform: scale(0.98);
}

/* Form field enhancements */
.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}



/* Contact Methods */
.contact-methods {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #0066ff);
    opacity: 0.8;
}

.contact-methods:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Methods Header */
.methods-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.methods-header h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.methods-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    opacity: 0.8;
}

/* Method Cards */
.method-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.method-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Method Icon */
.method-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s ease;
}

.method-card.whatsapp .method-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.method-card.email .method-icon {
    background: linear-gradient(135deg, #ea4335, #d32f2f);
}

.method-card.phone .method-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.method-card.office .method-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Method Content */
.method-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.method-status {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Method Button */
.method-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Section */
.social-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}



/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.footer-logo-icon i {
    font-size: 1.3rem;
    color: white;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-main {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Footer Contact */
.footer-contact h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
}

.footer-contact-item:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes techScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulseGlow {
    0% { 
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    100% { 
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Ensure navigation buttons are visible on tablets */
    .slider-navigation {
        z-index: 20;
    }
    
    .slider-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta-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;
}

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

.nav-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.nav-cta-btn i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-menu {
        margin: 0 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .method-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-methods {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact-info {
        align-items: center;
    }

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

    /* Portfolio Slider Mobile Styles */
    .portfolio-slider-container {
        display: none;
    }

    .portfolio-grid.mobile-only {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item .portfolio-image {
        height: 200px;
    }

    .portfolio-item .portfolio-overlay {
        padding: 1.5rem;
    }

    .portfolio-item .portfolio-overlay h4 {
        font-size: 1.3rem;
    }

    .portfolio-item .portfolio-overlay p {
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-card,
    .contact-form-container,
    .contact-methods {
        padding: 1.5rem;
    }
    
    .form-elegant-header h3 {
        font-size: 1.8rem;
    }
    
    .methods-header h3 {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Smooth scroll animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
