* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.space-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.035), transparent 45%), #000;
}

.stars {
    position: absolute;
    inset: 0;
    opacity: .55;
    background-image:
        radial-gradient(1px 1px at 8% 14%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 18% 67%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 29% 32%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 42% 82%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 53% 21%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 66% 56%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 77% 13%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 88% 76%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 95% 39%, #fff 50%, transparent 100%);
    background-size: 100% 650px;
    animation: starDrift 45s linear infinite;
}

@keyframes starDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-250px); }
}

.twinkle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 9px 2px rgba(255,255,255,.45);
    animation: twinkle 4s ease-in-out infinite;
}

.twinkle.one {
    top: 18%;
    left: 17%;
}

.twinkle.two {
    top: 34%;
    right: 22%;
    animation-delay: 2s;
}

.twinkle.three {
    top: 70%;
    left: 38%;
    animation-delay: 1s;
}

.twinkle.four {
    top: 78%;
    right: 13%;
    animation-delay: 3s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: .12;
        transform: scale(.7);
    }

    50% {
        opacity: .9;
        transform: scale(1.6);
    }
}

.side-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0;
}

.glow-left {
    left: -260px;
    top: 15%;
    background: radial-gradient(circle, rgba(210,220,255,.16), rgba(160,175,220,.045) 40%, transparent 72%);
    animation: leftGlow 12s ease-in-out infinite;
}

.glow-right {
    right: -260px;
    top: 35%;
    background: radial-gradient(circle, rgba(255,255,255,.16), rgba(180,190,210,.04) 42%, transparent 72%);
    animation: rightGlow 12s ease-in-out infinite;
    animation-delay: 6s;
}

@keyframes leftGlow {
    0%, 15%, 100% { opacity: 0; }
    30%, 45% { opacity: 1; }
    60% { opacity: .15; }
}

@keyframes rightGlow {
    0%, 15%, 100% { opacity: 0; }
    30%, 45% { opacity: 1; }
    60% { opacity: .15; }
}

.reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.018) 38%, transparent 48%);
    transform: translateX(-100%);
    animation: reflectionMove 18s ease-in-out infinite;
}

@keyframes reflectionMove {
    0%, 20% { transform: translateX(-100%); }
    70%, 100% { transform: translateX(100%); }
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    transition: opacity 1s ease;
}

.intro.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-logo {
    position: relative;
    z-index: 2;
    font-size: clamp(34px, 7vw, 82px);
    font-weight: 600;
    letter-spacing: 14px;
    text-align: center;
    color: #fff;
    opacity: 0;
    animation: logoReveal 2.5s ease forwards;
    text-shadow:
        0 0 12px rgba(255,255,255,.35),
        0 0 35px rgba(255,255,255,.20),
        0 0 75px rgba(255,255,255,.10);
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#website {
    display: none;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

.site-content {
    position: relative;
    z-index: 2;
}

header {
    min-height: 85px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,.72);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
}

.brand {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255,255,255,.22);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,.65);
}

.hero {
    min-height: 78vh;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.08;
    letter-spacing: -3px;
    color: #fff;
    text-shadow:
        0 0 8px rgba(255,255,255,.25),
        0 0 22px rgba(255,255,255,.15),
        0 0 55px rgba(255,255,255,.09);
}

.hero p {
    max-width: 570px;
    margin-top: 30px;
    color: #bcbcbc;
    font-size: 16px;
    line-height: 1.9;
}

.hero-button {
    display: inline-block;
    width: fit-content;
    margin-top: 35px;
    padding: 15px 26px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(255,255,255,.025);
    transition: .3s;
}

.hero-button:hover {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255,255,255,.12);
}

.projects {
    padding: 100px 8% 120px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 43px);
    margin-bottom: 14px;
    text-shadow: 0 0 20px rgba(255,255,255,.12);
}

.section-heading p {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.project-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 48%, rgba(255,255,255,.035)),
        rgba(8,8,8,.88);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.08),
        0 20px 55px rgba(0,0,0,.45);
    backdrop-filter: blur(12px);
    transition: .5s ease;
    animation: cardFloat 7s ease-in-out infinite;
}

.project-card:nth-child(2) {
    animation-delay: -2s;
}

.project-card:nth-child(3) {
    animation-delay: -4s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 25px 65px rgba(0,0,0,.65);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center, rgba(255,255,255,.09), transparent 65%),
        linear-gradient(145deg, #151515, #050505);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.project-image img,
.project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.045);
}

.image-placeholder {
    color: rgba(255,255,255,.38);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.project-info {
    padding: 24px;
}

.project-info span {
    display: inline-block;
    color: #aaa;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.project-info h3 {
    font-size: 21px;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-info p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}

.contact {
    padding: 100px 8% 120px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 35px;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-intro h2 {
    font-size: clamp(32px, 4vw, 45px);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,255,255,.15);
}

.contact-intro p {
    color: #999;
    font-size: 15px;
    line-height: 1.9;
    max-width: 390px;
}

.about-box {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 55%, rgba(255,255,255,.035)),
        rgba(7,7,7,.88);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.08),
        0 20px 55px rgba(0,0,0,.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-label {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-box h3 {
    font-size: 27px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255,255,255,.15);
}

.about-description {
    color: #aaa;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.info-item {
    border-top: 1px solid rgba(255,255,255,.13);
}

.info-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.info-item summary {
    list-style: none;
    cursor: pointer;
    padding: 19px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e6e6e6;
    font-size: 14px;
    transition: .3s;
}

.info-item summary::-webkit-details-marker {
    display: none;
}

.info-item summary:hover {
    color: #fff;
}

.info-item summary::after {
    content: "+";
    color: #aaa;
    font-size: 22px;
    font-weight: 300;
    transition: transform .3s;
}

.info-item[open] summary::after {
    transform: rotate(45deg);
}

.info-answer {
    color: #999;
    font-size: 13px;
    line-height: 1.9;
    padding: 0 20px 20px 0;
    animation: answerOpen .3s ease;
}

@keyframes answerOpen {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-box {
    padding: 32px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 55%, rgba(255,255,255,.035)),
        rgba(7,7,7,.88);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.08),
        0 20px 55px rgba(0,0,0,.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    color: #c7c7c7;
    font-size: 13px;
    margin-bottom: 9px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 5px;
    outline: none;
    transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,.55);
    box-shadow: 0 0 15px rgba(255,255,255,.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #686868;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.send-button,
.gmail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.send-button:hover,
.gmail-button:hover {
    background: rgba(255,255,255,.16);
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255,255,255,.09);
}

.send-button:disabled {
    opacity: .6;
    cursor: wait;
}

.form-note {
    color: #777;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 15px;
}

footer {
    padding: 30px 8%;
    color: #777;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.55);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Tablet */
@media (max-width: 850px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Mobil */
@media (max-width: 600px) {
    header {
        padding: 0 5%;
        min-height: 75px;
    }

    .brand {
        font-size: 16px;
        letter-spacing: 2px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 11px;
    }

    .intro-logo {
        letter-spacing: 5px;
    }

    .hero {
        min-height: 75vh;
        padding: 80px 6%;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .projects,
    .contact {
        padding: 75px 6%;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 210px;
    }

    .contact-box,
    .about-box {
        padding: 22px;
    }

    footer {
        padding: 25px 6%;
        flex-direction: column;
    }

    .side-glow {
        width: 300px;
        height: 300px;
    }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .stars,
    .twinkle,
    .side-glow,
    .reflection,
    .project-card {
        animation: none;
    }
}

/* Tablet */
@media (max-width: 850px) {
    header {
        padding: 14px 6%;
        gap: 14px;
    }

    nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero {
        min-height: auto;
        padding: 84px 6% 64px;
    }

    .projects,
    .contact {
        padding: 84px 6% 96px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .about-box,
    .contact-box {
        padding: 26px;
    }
}

/* Telefon */
@media (max-width: 600px) {
    header {
        padding: 12px 5%;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .brand {
        font-size: 16px;
        letter-spacing: 2px;
        text-align: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 8px 14px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 12px;
        padding: 4px 2px;
    }

    .intro-logo {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: 5px;
        padding-inline: 16px;
    }

    .hero {
        min-height: auto;
        padding: 52px 6% 44px;
    }

    .hero h1 {
        font-size: clamp(32px, 8.8vw, 42px);
        line-height: 1.12;
        letter-spacing: -1px;
        max-width: 100%;
    }

    .hero p {
        margin-top: 16px;
        font-size: 14.5px;
        line-height: 1.75;
        max-width: 100%;
    }

    .hero-button {
        margin-top: 24px;
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        text-align: center;
    }

    .projects,
    .contact {
        padding: 60px 6% 68px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading h2,
    .contact-intro h2 {
        font-size: clamp(26px, 7.2vw, 34px);
        line-height: 1.18;
    }

    .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .project-image {
        height: 190px;
    }

    .project-info {
        padding: 18px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .contact-layout {
        gap: 22px;
    }

    .contact-box,
    .about-box {
        padding: 20px;
        border-radius: 10px;
    }

    .about-box h3 {
        font-size: 22px;
    }

    .info-item summary {
        padding: 15px 0;
        font-size: 13.5px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 13px 14px;
    }

    .send-button,
    .gmail-button {
        min-height: 48px;
        font-size: 14px;
    }

    footer {
        padding: 22px 6%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .side-glow {
        width: 260px;
        height: 260px;
    }
}