@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;

    background:
        radial-gradient(circle at 10% 20%, rgba(234,179,8,0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(202,138,4,0.12), transparent 40%),
        linear-gradient(135deg, #111111, #1c1c1c 50%, #0f0f0f 100%);

    background-attachment: fixed;
}


/* ================= HEADER ================= */

header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 80px;
    background: rgba(15,23,42,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color:  #584906;
}

/* Aktif Menü */
nav ul li a.active {
    color: #d4af37;
    font-weight: 600;
    position: relative;
}

nav ul li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #d4af37;
}

.cta-btn {
    padding: 8px 18px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 600;

    background: linear-gradient(-45deg,
        #0f172a,
        #0b1f3a,
        #3a2f00,
        #d4af37
    );

    background-size: 300% 300%;
    animation: gradient 10s ease infinite;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.1);
}
/* ================= HERO ================= */


.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;

    background: linear-gradient(-45deg,
        #0f172a,   /* siyahımsı */
        #0b1f3a,   /* koyu mavi */
        #3a2f00,   /* koyu sarı geçiş */
        #d4af37    /* altın */
    );

    background-size: 300% 300%;
    animation: gradient 10s ease infinite;
}


@keyframes gradient {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero p {
    margin-bottom: 30px;
    font-weight: 300;
    color: #e2e8f0;
}

.main-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: white;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.main-btn:hover {
    transform: translateY(-5px);
}

/* ================= FEATURES ================= */

.features {
    padding: 120px 20px;
    text-align: center;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.feature-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    background: #1e293b;
    width: 320px;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}


.feature .icon {
    font-size: 40px;
    margin-bottom: 25px;
}


/* ================= BLOG ================= */

.blog-section {
    padding: 120px 20px;
    text-align: center;
    background: #0f172a;
    min-height: 100vh;
}

.blog-title h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.blog-title p {
    color: #94a3b8;
    margin-bottom: 60px;
}

.blog-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-card {
    background: #1e293b;
    width: 320px;
    padding: 40px 30px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Blog icon */
.icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon svg {
    width: 30px;
    height: 30px;
}

/* ICON BACKGROUNDS */
.instagram-bg {
    background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.x-bg {
    background: black;
}

.linkedin-bg {
    background: #0A66C2;
}

.blog-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(45deg, #38bdf8, #6366f1);
    color: white;
    transition: 0.3s;
}

.blog-btn:hover {
    transform: scale(1.08);
}

/* ================= CONTACT ================= */

.contact-page {
    padding: 120px 20px;
    text-align: center;
    min-height: 100vh;
    background: #0f172a;
}

.contact-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-header p {
    color: #94a3b8;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-card {
    background: #1e293b;
    padding: 40px 30px;
    width: 280px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ================= ABOUT ================= */

.about-simple {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
}

.about-simple h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.about-simple p {
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ================= SCROLL ANIMATION ================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


/* ================= RESPONSIVE ================= */

@media(max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .feature-box {
        gap: 20px;
    }
}

/* ================= PROJECTS ================= */

.projects-page {
    min-height: 100vh;
    padding: 120px 20px;
    text-align: center;
}

.projects-page h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.projects-subtitle {
    color: #94a3b8;
    margin-bottom: 60px;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.project-card {
    width: 340px;
    padding: 40px 30px;
    border-radius: 20px;

    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(212,175,55,0.25);
    transition: 0.4s;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(212,175,55,0.3);
}

.project-card h3 {
    margin-bottom: 15px;
    color: #facc15;
}

.project-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

.project-list,
.project-olist {
    margin-top: 12px;
    text-align: left;
    color: #cbd5e1;
    line-height: 1.8;
    padding-left: 18px;
}

.project-list li {
    margin: 6px 0;
}

.project-note {
    margin-top: 14px;
    color: #94a3b8;
    font-style: italic;
}