/* GENEL RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background: #0b1220;
}

/* LİNKLER */
a {
    text-decoration: none;
    color: inherit;
}

/* HEADER & NAVBAR */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,18,35,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148,163,184,0.35);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, #38bdf8, #0ea5e9 40%, #1f2937 75%);
    box-shadow: 0 0 40px rgba(56,189,248,0.7);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text span {
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
    font-weight: 700;
}

.brand-text small {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* NAV DESKTOP */

.nav-desktop {
    display: flex;
    gap: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-desktop a {
    color: #e5e7eb;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease;
}

.nav-desktop a:hover {
    border-color: #38bdf8;
}

/* NAV MOBILE */

.nav-toggle {
    display: none;
    font-size: 22px;
    background: transparent;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #020617;
    border-top: 1px solid rgba(148,163,184,0.4);
}

.nav-mobile a {
    padding: 10px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(31,41,55,0.8);
}

.nav-mobile a:hover {
    background: #0b1120;
}

.nav-mobile.open {
    display: flex;
}

/* HERO */

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 56px;
    gap: 32px;
    align-items: center;
    color: #e5e7eb;
}

.hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: 0 28px 55px rgba(15,23,42,0.9);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(56,189,248,0.35), transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(34,197,94,0.35), transparent 55%);
    mix-blend-mode: soft-light;
}

/* HERO CONTENT */

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #38bdf8;
}

.hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #38bdf8;
}

.hero-content p {
    font-size: 14px;
    color: #cbd5f5;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin-top: 18px;
    font-size: 12px;
}

.hero-meta strong {
    display: block;
    color: #e5e7eb;
}

.hero-meta span {
    color: #9ca3af;
}

/* BUTTONS */

.btn {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(to right, #0ea5e9, #22c55e);
    color: #0b1120;
    font-weight: 600;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-ghost {
    background: transparent;
    border-color: rgba(148,163,184,0.8);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15,23,42,0.9);
}

/* GENEL SECTION YAPISI */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 16px;
    color: #e5e7eb;
}

.section-alt {
    background: radial-gradient(circle at top, #020617 0, #020617 100%);
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(148,163,184,0.35);
}

.section-header {
    max-width: 640px;
    margin-bottom: 28px;
}

.section-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #38bdf8;
}

.section-header h2 {
    font-size: 22px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.section-header p {
    font-size: 14px;
    color: #9ca3af;
}

/* ABOUT GRID */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
}

.about-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 10px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
}

.about-highlights strong {
    display: block;
    color: #e5e7eb;
}

.about-highlights span {
    color: #9ca3af;
}

/* ABOUT CARDS */

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.info-card {
    background: #020617;
    border-radius: 14px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(148,163,184,0.45);
}

.info-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.info-card p,
.info-card li {
    font-size: 13px;
    color: #d1d5db;
}

.info-card ul {
    padding-left: 18px;
}

/* PROJECTS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    background: #020617;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.5);
    display: flex;
    flex-direction: column;
}

.project-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.project-body {
    padding: 14px 14px 16px;
}

.project-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #38bdf8;
    margin-bottom: 6px;
}

.project-body h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.project-body p {
    font-size: 13px;
    color: #d1d5db;
    margin-bottom: 10px;
}

.project-body ul {
    font-size: 12px;
    color: #9ca3af;
    padding-left: 16px;
}

/* REFERENCES */

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ref-item {
    background: #020617;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.45);
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.ref-item img {
    max-height: 40px;
    object-fit: contain;
}

.ref-item span {
    font-size: 12px;
    color: #e5e7eb;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-block label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
}

.info-block p {
    font-size: 14px;
    color: #e5e7eb;
    margin-top: 4px;
}

.contact-form-card {
    background: #020617;
    border-radius: 16px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(148,163,184,0.45);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.form-group label {
    font-size: 12px;
    color: #e5e7eb;
}

input,
textarea {
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.7);
    background: #020617;
    padding: 8px 10px;
    font-size: 13px;
    color: #e5e7eb;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

textarea {
    resize: vertical;
}

/* BUTTON FULL */

.btn-full {
    width: 100%;
    margin-top: 6px;
}

.form-note {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(148,163,184,0.4);
    margin-top: 30px;
    padding: 16px 16px 18px;
    color: #9ca3af;
    background: #020617;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .hero-section {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 24px;
    }
    .hero-media {
        order: 2;
    }
    .hero-content {
        order: 1;
    }
    .hero-meta {
        grid-template-columns: minmax(0,1fr);
    }
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .about-highlights {
        grid-template-columns: minmax(0, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .references-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-desktop {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .hero-section {
        padding: 18px 14px 40px;
    }
    .section,
    .section-alt {
        padding: 40px 14px;
    }
    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .references-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-row {
        grid-template-columns: minmax(0,1fr);
    }
}
