.kutucuklar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 30px;
}
.modern-desc-text {
    margin-top: 18px;
    color: #f0f4f8;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    background: rgba(0, 198, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px 12px 18px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.08);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}
/* Modern Kutucuk Stili */
.modern-box {
    position: relative;
    width: 260px;
    height: 120px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid var(--glass-border);
    margin: 30px 0;
    overflow: visible;
    z-index: 10;
}
.modern-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
    z-index: 2;
    transition: var(--transition);
}
.modern-desc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 198, 255, 0.97);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-radius: 18px;
}

:root {
    --bg-dark: #070B14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #0072ff;
    --secondary: #00c6ff;
    --accent: #FF3366;
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

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

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

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 60px;
}

.line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--secondary);
    color: #000;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.hover-effect {
    transition: var(--transition);
}

.hover-effect:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 198, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* Background Abstract Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #4B0082;
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--secondary);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links .btn-outline {
    padding: 8px 20px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #070B14 60%, #00c6ff 100%);
    background-image: url('../anasayfaarka.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.visual-card {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.code-line {
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }
.w-40 { width: 40%; }
.w-70 { width: 70%; }
.w-50 { width: 50%; }

/* About Section */
.about-grid {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

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

.about-text strong {
    color: var(--secondary);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    padding: 40px;
}

.stat {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.15), inset 0 0 20px rgba(0, 198, 255, 0.05);
    background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 198, 255, 0.2);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
    border-color: transparent;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: #fff;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.service-card:hover h3 {
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.service-link-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 1.2rem;
    color: var(--secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.service-card:hover .service-link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* References Section */
.references-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.ref-card {
    width: 180px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ref-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.ref-card:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    padding: 50px;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #0d1527;
    color: var(--text-main);
}

.form-group select option:disabled {
    color: var(--text-muted);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.form-btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    margin-top: 50px;
}

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

.footer-logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: url('../mobilarka.png');
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-visual {
        justify-content: center;
        margin-top: 40px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav-links {
        display: none; /* simple mobile menu implementation for now */
    }
    .mobile-menu-btn {
        display: block;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
