/* ========================================
   GENEL 
======================================== */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff8fa;
    color: #3d3538;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ========================================
   NAVBAR 
======================================== */

.navbar {
    width: 100%;
    height: 82px;
    padding: 0 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff8fa;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #3d3538;
}

.navbar-logo span {
    color: #c9879b;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #685b60;
    transition: .25s;
}

.nav-link:hover {
    color: #c9879b;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #d394a8;
    transition: .25s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-contact {
    padding: 11px 21px;
    border-radius: 25px;
    background: #d394a8;
    color: white;
}

.nav-contact:hover {
    background: #c68197;
    color: white;
}

.nav-contact::after {
    display: none;
}


/* ========================================
   HERO 
======================================== */

.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 9%;
    background: #fff8fa;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 5;
}

.hero-subtitle {
    margin: 0 0 28px 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #b47788;
    padding-top: 16px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(70px, 9vw, 140px);
    line-height: .88;
    letter-spacing: -6px;
    font-weight: 800;
    color: #3d3538;
}

.hero h1 span {
    color: #c9879b;
}

.hero-description {
    max-width: 560px;
    margin-top: 38px;
    color: #756b6f;
    font-size: 18px;
    line-height: 1.8;
}


/* ========================================
   BUTONLAR 
======================================== */

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-block;
    padding: 14px 27px;
    border-radius: 30px;
    font-weight: 600;
    transition: .25s;
}

.btn-primary {
    background: #d394a8;
    color: white;
}

.btn-primary:hover {
    background: #c68197;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    border: 1px solid #e6cbd3;
    color: #685b60;
}

.btn-secondary:hover {
    border-color: #d394a8;
    color: #b47788;
    transform: translateY(-2px);
}


/* ========================================
   HERO SAĞ TARAF
======================================== */

.hero-side {
    width: 430px;
    height: 520px;
    position: relative;
    flex-shrink: 0;
}


/* ========================================
   PEMBE DAİRE
======================================== */

.circle {
    width: 390px;
    height: 390px;
    position: absolute;
    top: 55px;
    right: 20px;
    border-radius: 50%;
    background: #f3d4df;
    z-index: 1;
}


/* ========================================
   PROFİL FOTOĞRAFI
======================================== */

.profile-image {
    width: 350px;
    height: 350px;
    position: absolute;
    top: 75px;
    right: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 20px 45px rgba(170, 100, 125, .15);
}


/* ========================================
   HERO KARTLARI
======================================== */

.hero-card {
    position: absolute;
    top: 115px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 30px;
    background: rgba(255, 255, 255, .96);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(120, 70, 85, .10);
    z-index: 3;
}

.hero-card span {
    color: #c9879b;
    font-size: 12px;
}

.hero-card strong {
    color: #4a3f43;
    letter-spacing: 2px;
}

.hero-card.second {
    top: 265px;
    right: 80px;
}


/* ========================================
   SECTIONS 
======================================== */

.about-section,
.projects-section {
    padding: 120px 9%;
}

.about-section {
    background: #fff;
}

.projects-section {
    background: #fff1f5;
}


/* ========================================
   BÖLÜM BAŞLIKLARI
======================================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 70px;
    padding-bottom: 20px;
    border-bottom: 1px solid #efdce2;
}

.section-title span {
    color: #c9879b;
    font-size: 13px;
    font-weight: 700;
}

.section-title h2 {
    margin: 0;
    font-size: 42px;
    color: #40363a;
}


/* ========================================
   HAKKIMDA
======================================== */

.about-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.big-text {
    margin: 0;
    font-size: 42px;
    line-height: 1.25;
    color: #493d42;
}

.about-content p:not(.big-text) {
    color: #756b6f;
    font-size: 17px;
    line-height: 1.9;
}


/* ========================================
   ANA SAYFA YUVARLAK FOTOĞRAFLARI
======================================== */

.section-photo {
    width: 430px;
    height: 430px;
    max-width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    box-shadow: 0 20px 45px rgba(140, 80, 100, .12);
    transition: .3s;
}

.section-photo:hover {
    transform: translateY(-6px);
}


/* ========================================
   PROJELER
======================================== */

.projects-layout {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 70px;
    align-items: center;
}

.projects-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-photo .section-photo {
    width: 400px;
    height: 400px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    min-height: 300px;
    padding: 35px;
    background: #fff;
    border: 1px solid #efdce2;
    border-radius: 18px;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(140, 80, 100, .10);
    border-color: #dfb5c2;
}

.project-card span {
    color: #c9879b;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.project-card h3 {
    margin-top: 60px;
    font-size: 29px;
    color: #493d42;
}

.project-card p {
    color: #7d7276;
    line-height: 1.7;
}

.project-card a {
    display: inline-block;
    margin-top: 20px;
    color: #b47788;
    font-weight: 600;
}

.project-card a:hover {
    color: #9f6478;
}


/* ========================================
   BLOG
======================================== */

.blog-page {
    min-height: 100vh;
    padding: 110px 9% 130px;
    background: #fff8fa;
}

.blog-header {
    max-width: 760px;
    margin-bottom: 80px;
}

.blog-header > span {
    color: #b47788;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.blog-header h1 {
    margin: 18px 0 25px;
    font-size: clamp(55px, 7vw, 95px);
    line-height: .95;
    letter-spacing: -4px;
    color: #3d3538;
}

.blog-header h1 strong {
    color: #c9879b;
}

.blog-header p {
    max-width: 580px;
    margin: 0;
    color: #756b6f;
    font-size: 18px;
    line-height: 1.8;
}


/* ========================================
   BLOG GRID
======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.blog-card {
    min-height: 330px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #efdce2;
    border-radius: 20px;
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: #dfb5c2;
    box-shadow: 0 20px 45px rgba(140, 80, 100, .10);
}

.blog-number {
    color: #d394a8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.blog-content {
    margin-top: 55px;
}

.blog-category {
    color: #c9879b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.blog-content h2 {
    margin: 15px 0;
    font-size: 29px;
    line-height: 1.2;
    color: #493d42;
}

.blog-content p {
    color: #7d7276;
    line-height: 1.7;
    font-size: 15px;
}

.blog-content a {
    display: inline-block;
    margin-top: 15px;
    color: #b47788;
    font-weight: 600;
}

.blog-content a:hover {
    color: #9f6478;
}


/* ========================================
   BLOG ARTICLE
======================================== */

.article-page {
    min-height: 100vh;
    padding: 110px 9% 130px;
    background: #fff8fa;
}

.article-header {
    max-width: 900px;
    margin-bottom: 70px;
}

.article-header > span {
    color: #b47788;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.article-header h1 {
    margin: 20px 0;
    font-size: clamp(50px, 7vw, 90px);
    line-height: .98;
    letter-spacing: -4px;
    color: #3d3538;
}

.article-date {
    color: #a58e96;
    font-size: 14px;
}

.article-content {
    max-width: 780px;
    padding: 50px;
    background: #fff;
    border: 1px solid #efdce2;
    border-radius: 20px;
}

.article-content p {
    color: #756b6f;
    font-size: 18px;
    line-height: 1.9;
}

.article-content h2 {
    margin-top: 45px;
    color: #493d42;
    font-size: 28px;
}

.back-blog {
    display: inline-block;
    margin-top: 45px;
    color: #b47788;
    font-weight: 600;
}

.back-blog:hover {
    color: #9f6478;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {

    .hero {
        padding: 70px 6%;
    }

    .hero-side {
        width: 360px;
        height: 450px;
        transform: scale(.85);
        transform-origin: center right;
    }

    .about-layout {
        gap: 45px;
    }

    .about-content {
        gap: 40px;
    }

    .projects-layout {
        gap: 40px;
    }

    .projects-photo .section-photo {
        width: 350px;
        height: 350px;
    }
}


/* ========================================
   TABLET / DAR EKRAN
======================================== */

@media (max-width: 900px) {

    .navbar {
        height: 75px;
        padding: 0 7%;
    }

    .navbar-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 95px 7% 40px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-side {
        display: block;
        width: 390px;
        height: 420px;
        margin: 40px auto 0;
        transform: none;
    }

    .circle {
        width: 350px;
        height: 350px;
        top: 25px;
        right: 20px;
    }

    .profile-image {
        width: 320px;
        height: 320px;
        top: 40px;
        right: 35px;
    }

    .hero-card {
        top: 90px;
        right: 0;
    }

    .hero-card.second {
        top: 235px;
        right: 50px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-photo {
        order: 1;
    }

    .about-content {
        order: 2;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-photo {
        width: 380px;
        height: 380px;
        max-width: 80vw;
    }

    .projects-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .projects-photo {
        order: 1;
    }

    .project-grid {
        grid-template-columns: 1fr;
        order: 2;
    }

    .projects-photo .section-photo {
        width: 380px;
        height: 380px;
        max-width: 80vw;
    }

    .about-section,
    .projects-section {
        padding: 90px 7%;
    }

    .blog-page {
        padding: 90px 7% 100px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   TELEFON
======================================== */

@media (max-width: 650px) {

    .navbar {
        height: 62px;
        padding: 0 6%;
        align-items: center;
        gap: 10px;
    }

    .navbar-logo {
        font-size: 20px;
    }

    .navbar-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-link {
        font-size: 11px;
    }

    .nav-contact {
        padding: 7px 12px;
    }


    /* HERO */

    .hero {
        padding: 90px 6% 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
        padding-top: 0;
    }

    .hero h1 {
        font-size: 64px;
        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-side {
        width: 330px;
        height: 370px;
        margin: 35px auto 0;
    }

    .circle {
        width: 300px;
        height: 300px;
        top: 20px;
        right: 15px;
    }

    .profile-image {
        width: 275px;
        height: 275px;
        top: 32px;
        right: 28px;
    }

    .hero-card {
        top: 75px;
        right: -5px;
        padding: 17px 21px;
    }

    .hero-card.second {
        top: 190px;
        right: 35px;
    }


    /* SECTIONS */

    .about-section,
    .projects-section {
        padding: 75px 6%;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .big-text {
        font-size: 32px;
    }

    .section-photo {
        width: 300px;
        height: 300px;
        max-width: 78vw;
    }

    .projects-photo .section-photo {
        width: 300px;
        height: 300px;
        max-width: 78vw;
    }

    .project-card {
        padding: 28px;
    }


    /* BLOG */

    .blog-page {
        padding: 70px 6% 80px;
    }

    .blog-header {
        margin-bottom: 55px;
    }

    .blog-header h1 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .blog-header p {
        font-size: 16px;
    }

    .blog-card {
        min-height: 300px;
        padding: 28px;
    }

    .blog-content h2 {
        font-size: 25px;
    }


    /* ARTICLE */

    .article-page {
        padding: 70px 6% 80px;
    }

    .article-header h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .article-content {
        padding: 28px;
    }

    .article-content p {
        font-size: 16px;
    }

    .article-content h2 {
        font-size: 24px;
    }
}


/* ========================================
   ÇOK KÜÇÜK TELEFONLAR
======================================== */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 56px;
    }

    .hero-side {
        width: 300px;
    }

    .circle {
        width: 270px;
        height: 270px;
    }

    .profile-image {
        width: 245px;
        height: 245px;
    }

    .hero-card {
        right: -10px;
        padding: 14px 17px;
    }

    .hero-card.second {
        right: 20px;
    }

    .section-photo,
    .projects-photo .section-photo {
        width: 270px;
        height: 270px;
    }
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    padding: 120px 9%;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-text h3 {
    margin: 0 0 25px;
    font-size: 48px;
    color: #493d42;
}

.contact-text p {
    max-width: 520px;
    margin: 0;
    color: #756b6f;
    font-size: 17px;
    line-height: 1.9;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff8fa;
    border: 1px solid #efdce2;
    border-radius: 16px;
    transition: .3s;
}

.contact-item:hover {
    transform: translateX(8px);
    border-color: #d394a8;
    box-shadow: 0 15px 35px rgba(140, 80, 100, .08);
}

.contact-item span {
    color: #c9879b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-item strong {
    color: #493d42;
    font-size: 17px;
}


/* ========================================
   CONTACT RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .contact-section {
        padding: 90px 7%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-text h3 {
        font-size: 40px;
    }
}


@media (max-width: 650px) {

    .contact-section {
        padding: 75px 6%;
    }

    .contact-text h3 {
        font-size: 34px;
    }

    .contact-text p {
        font-size: 16px;
    }

    .contact-item {
        padding: 22px;
    }
}


/* ========================================
   PAGE LOAD
======================================== */

body {
    opacity: 0;
    transition: opacity .8s ease;
}

body.page-loaded {
    opacity: 1;
}


/* ========================================
   SCROLL ANIMATION
======================================== */

.scroll-hidden {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity .9s ease,
        transform .9s ease;
}

.scroll-hidden.show {
    opacity: 1;
    transform: translateY(0);
}

.project-card.scroll-hidden {
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.contact-item.scroll-hidden {
    transition:
        opacity .8s ease,
        transform .8s ease;
}


/* ========================================
   PROJECT CARDS
======================================== */

.project-card {
    transition: .3s;
}


/* ========================================
   CONTACT ITEMS
======================================== */

.contact-item {
    transition: .3s;
}


/* ========================================
   SAYFA AÇILIŞ ANİMASYONU
======================================== */

.page-loader {
    position: fixed;
    inset: 0;
    background: #fff8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: loaderOut 0.8s ease 1.1s forwards;
}

.loader-logo {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #3d3538;
    opacity: 0;
    transform: translateY(20px);
    animation: logoIn 0.7s ease 0.15s forwards;
}

.loader-logo span {
    color: #c9879b;
}

@keyframes logoIn {

    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderOut {

    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
/* ========================================
   SCROLL KARAKTER
======================================== */

.scroll-character {
    position: fixed;
    top: 0;
    right: 35px;
    width: 90px;
    height: 100px;
    z-index: 1100;
    pointer-events: none;
}

/* İP */

.character-rope {
    position: absolute;
    top: 0;
    left: 44px;
    width: 2px;
    height: 60px;
    background: #6d5a5f;
}

/* KARAKTER */

.scroll-character img {
    position: absolute;
    top: 50px;
    left: 5px;
    width: 80px;
    height: 80px;
    object-fit: contain;
    transform-origin: top center;
    animation: characterSwing 2.5s ease-in-out infinite;
}

@keyframes characterSwing {

    0% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }

    100% {
        transform: rotate(-3deg);
    }
}


/* TELEFON */

@media (max-width: 650px) {

    .scroll-character {
        right: 8px;
    }

    .character-rope {
        left: 32px;
    }

    .scroll-character img {
        left: 2px;
        width: 60px;
        height: 60px;
    }
}