/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0b0b0e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-orange: #ff6b00;
    --orange-glow: rgba(255, 107, 0, 0.35);
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('image2/arkplan.png') center center / cover no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 11, 14, 0.55) 0%, rgba(11, 11, 14, 0.78) 45%, rgba(11, 11, 14, 0.92) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    backdrop-filter: blur(16px);
    background: rgba(11, 11, 14, 0.55);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    animation: navSlideDown 0.8s ease forwards;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Butonlar */
.btn-primary {
    background: var(--primary-orange);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--orange-glow);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-orange);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 180px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(255, 107, 0, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, rgba(11, 11, 14, 0.35) 0%, rgba(11, 11, 14, 0.65) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 107, 0, 0.35);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #ff6b00 0%, #ff9a4d 50%, #ff6b00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.highlight {
    color: var(--primary-orange);
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 36px auto;
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    gap: 10px;
}

.btn-primary.btn-hero {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-primary.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-primary.btn-hero:hover i {
    transform: translateX(4px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.hero-tags span i {
    color: var(--primary-orange);
    font-size: 0.8rem;
}

.hero-tags span:hover {
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--text-white);
    background: rgba(255, 107, 0, 0.08);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1;
    transition: color 0.3s ease;
}

.scroll-indicator i {
    animation: bounce 2s ease infinite;
}

.scroll-indicator:hover {
    color: var(--primary-orange);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Hero giriş animasyonları */
.hero-animate {
    opacity: 0;
    transform: translateY(35px);
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate.delay-1 { animation-delay: 0.15s; }
.hero-animate.delay-2 { animation-delay: 0.35s; }
.hero-animate.delay-3 { animation-delay: 0.55s; }
.hero-animate.delay-4 { animation-delay: 0.75s; }
.hero-animate.delay-5 { animation-delay: 1s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator.hero-animate {
    transform: translateX(-50%) translateY(35px);
}

.scroll-indicator.hero-animate {
    animation-name: heroFadeUpScroll;
}

@keyframes heroFadeUpScroll {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards (Cam / Glassmorphism Yapısı) */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 50px;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px var(--orange-glow);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hakkımızda Bölümü */
.about {
    padding: 100px 0;
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-orange);
}

.about-text h2 {
    font-size: 2.2rem;
    margin: 20px 0;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-orange);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(16px);
    text-align: center;
}

.build-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

/* Portfolio Bölümü */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        transparent 30%,
        transparent 70%,
        var(--primary-orange) 100%
    );
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
    filter: blur(6px);
}

.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 0 var(--orange-glow);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow:
        0 0 20px rgba(255, 107, 0, 0.3),
        0 0 40px rgba(255, 107, 0, 0.15);
}

.portfolio-card:hover::before {
    opacity: 0.7;
}

.portfolio-card:hover::after {
    box-shadow:
        inset 0 0 25px rgba(255, 107, 0, 0.2),
        inset 0 0 50px rgba(255, 107, 0, 0.08);
}

.portfolio-img {
    position: relative;
    z-index: 1;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-info {
    position: relative;
    z-index: 1;
    padding: 18px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(11, 11, 14, 0.85);
}

.portfolio-info p {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* İletişim Formu */
.contact {
    padding: 100px 0;
}

.contact-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(16px);
}

.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px var(--orange-glow);
}

/* Footer */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(11, 11, 14, 0.5);
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 90px;
    }

    .nav-links {
        gap: 16px;
        font-size: 0.85rem;
    }

    .nav-links .btn-primary {
        padding: 8px 16px;
    }

    .hero {
        padding: 150px 0 70px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
    }

    .hero-tags span {
        font-size: 0.78rem;
        padding: 8px 14px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
}