/* ================================================
   LOKUP TEKNOLOJİ - SaaS Gradient Style
   Modern Web Sitesi Tasarımı
   ================================================ */

/* ================================================
   CSS VARIABLES & RESET
   ================================================ */
:root {
    /* Renk Paleti - Enerjik Turuncu-Pink */
    --primary-color: #FF2E93;
    --secondary-color: #FF6B35;
    --accent-color: #FFE5EC;
    --accent-purple: #9D4EDD;
    --bg-color: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-color: #1A1A2E;
    --text-muted: #6B7280;
    --border-color: rgba(255, 46, 147, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF2E93 100%);
    --gradient-secondary: linear-gradient(135deg, #FF2E93 0%, #9D4EDD 100%);
    --gradient-full: linear-gradient(-45deg, #FF6B35, #FF2E93, #9D4EDD, #FF6B35);
    --gradient-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 46, 147, 0.1) 100%);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 46, 147, 0.08);
    --glass-shadow: 0 8px 32px rgba(255, 46, 147, 0.1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(255, 46, 147, 0.08);
    --shadow-md: 0 8px 24px rgba(255, 46, 147, 0.12);
    --shadow-lg: 0 16px 48px rgba(255, 46, 147, 0.15);
    --shadow-glow: 0 0 60px rgba(255, 46, 147, 0.3);

    /* Spacing */
    --nav-width: 280px;
    --nav-width-collapsed: 80px;
    --container-max: 1200px;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0F0F1A;
        --bg-white: #1A1A2E;
        --text-color: #F5F5F5;
        --text-muted: #9CA3AF;
        --glass-bg: rgba(26, 26, 46, 0.85);
        --glass-border: rgba(255, 46, 147, 0.15);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ================================================
   SIDE NAVIGATION
   ================================================ */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 30px 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 0.1;
}

.nav-menu a span {
    position: relative;
    z-index: 1;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 30px 0 12px 18px;
}

.nav-apps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.nav-apps a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.nav-apps a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.nav-apps .app-icon {
    font-size: 1.2rem;
}

/* ================================================
   MOBILE MENU TOGGLE
   ================================================ */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   MAIN CONTENT AREA
   ================================================ */
.main-content {
    margin-left: var(--nav-width);
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.gradient-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.gradient-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.gradient-blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #9D4EDD 0%, #FF6B35 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
    }
}

.hero-content h1 {
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-content p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
}

/* ================================================
   BUTTONS
   ================================================ */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 46, 147, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ================================================
   SECTIONS
   ================================================ */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ================================================
   SERVICES SECTION - 3D CARDS
   ================================================ */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    perspective: 1000px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.icon-box {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    line-height: 1.8;
}

/* ================================================
   PORTFOLIO SECTION
   ================================================ */
.portfolio {
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-normal);
    display: block;
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.portfolio-card:hover::before {
    opacity: 0.1;
}

.portfolio-card > * {
    position: relative;
    z-index: 1;
}

.portfolio-card .app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition-normal);
}

.portfolio-card:hover .app-icon {
    transform: scale(1.1) rotate(-5deg);
}

.portfolio-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.portfolio-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.portfolio-card .app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.portfolio-card:hover .app-link {
    gap: 12px;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-circle {
    width: 320px;
    height: 320px;
    position: relative;
}

.tech-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.tech-shapes {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20px;
    right: 40px;
    animation-delay: 0s;
}

.shape-2 {
    width: 50px;
    height: 50px;
    bottom: 60px;
    left: 30px;
    animation-delay: -2s;
}

.shape-3 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 0;
    animation-delay: -4s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
    background: var(--bg-white);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 46, 147, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-brand h3 {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-color);
    background: var(--accent-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================================
   ANIMATIONS
   ================================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Trigger */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --nav-width: var(--nav-width-collapsed);
    }

    .side-nav {
        padding: 20px 12px;
    }

    .nav-logo span,
    .nav-menu a span,
    .nav-section-title,
    .nav-apps span {
        display: none;
    }

    .nav-menu a {
        justify-content: center;
        padding: 14px;
    }

    .nav-apps a {
        justify-content: center;
        padding: 12px;
    }

    .main-content {
        margin-left: var(--nav-width-collapsed);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .side-nav {
        transform: translateX(-100%);
    }

    .side-nav.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: 80px;
    }

    :root {
        --nav-width: 100%;
    }

    .side-nav {
        width: var(--nav-width);
    }

    .nav-logo span,
    .nav-menu a span,
    .nav-section-title,
    .nav-apps span {
        display: block;
    }

    .nav-menu a {
        justify-content: flex-start;
        padding: 14px 18px;
    }

    .nav-apps a {
        justify-content: flex-start;
        padding: 10px 18px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card,
    .portfolio-card {
        padding: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Large Desktop (> 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
    .side-nav,
    .mobile-menu-toggle,
    .hero-buttons {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
