/* ================================================================
   SENA KERKEZKAYA – Portfolio Website CSS
   Designer & Animator | Kahramanmaraş, Türkiye
   ================================================================ */

/* ───── VARIABLES ───── */
:root {
    --pink:        #E8657A;
    --pink-light:  #F4A0B0;
    --pink-pale:   #FDE8ED;
    --pink-bg:     #FFF3F5;
    --green:       #5BAD6F;
    --green-pale:  #E8F5E9;
    --navy:        #1E2140;
    --navy-deep:   #171929;
    --dark:        #2D2D2D;
    --gray:        #5F5F5F;
    --gray-light:  #f7f7f7;
    --border:      #efefef;
    --white:       #ffffff;

    --shadow-sm:   0 2px 10px rgba(0,0,0,0.07);
    --shadow:      0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:   0 24px 64px rgba(0,0,0,0.14);
    --shadow-pink: 0 8px 28px rgba(232,101,122,0.35);

    --radius-sm:   10px;
    --radius:      16px;
    --radius-lg:   24px;
    --radius-xl:   32px;

    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --dur:         0.3s;

    --container:   1160px;
    --nav-h:       68px;
}

/* ───── RESET ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }
svg { display: block; }

/* ───── CONTAINER ───── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ───── KEYFRAMES ───── */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
@keyframes spin1 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes blobPulse {
    0%, 100% { border-radius: 61% 39% 52% 48% / 44% 57% 43% 56%; }
    50%       { border-radius: 42% 58% 38% 62% / 55% 40% 60% 45%; }
}
@keyframes shimmer {
    0%   { opacity: 0.7; }
    50%  { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ───── FADE-IN ───── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ───── SECTION TAG ───── */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.green-tag     { color: var(--green); }
.iletisim-tag  { color: #7dd4a0; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--dur) var(--ease);
}
.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.5s var(--ease);
    flex-shrink: 0;
    object-fit: contain;
}
.logo:hover .logo-icon { transform: rotate(180deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; justify-content: center; }
.logo-name    { font-size: 14px; font-weight: 700; color: var(--dark); }
.logo-tagline { font-size: 10.5px; font-weight: 400; color: var(--gray); }

/* Nav Links */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding-bottom: 2px;
    transition: color var(--dur) var(--ease);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--pink);
    border-radius: 2px;
    transition: width var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--pink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Primary CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    background: var(--pink);
    color: var(--white) !important;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid var(--pink);
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:hover {
    background: #d44f6a;
    border-color: #d44f6a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-pink);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.32s var(--ease), opacity 0.32s, width 0.32s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--nav-h);
    background: var(--white);
    overflow: hidden;
}

/* Organik blob arka plan */
.hero-blob {
    position: absolute;
    top: -80px;
    right: -90px;
    width: 460px;
    height: 460px;
    background: var(--pink-pale);
    border-radius: 61% 39% 52% 48% / 44% 57% 43% 56%;
    animation: blobPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - var(--nav-h));
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Hero metni */
.hero-title {
    font-size: clamp(30px, 4.2vw, 54px);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.07;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.dot-green { color: var(--green); }

.hero-sub {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* Hero butonları */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1.5px solid var(--pink);
    color: var(--pink);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-outline:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-pink);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1.5px solid #dedede;
    color: var(--dark);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: border-color var(--dur), color var(--dur), transform var(--dur);
}
.btn-ghost:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
}

/* Hero yelpaze görseli */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-pinwheel {
    width: 480px;
    height: 480px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(232,101,122,0.15));
    animation: floatY 6s ease-in-out infinite;
    transform-origin: center;
}

/* ================================================================
   HAKKINDA
   ================================================================ */
.hakkinda {
    padding: 100px 0;
    background: var(--white);
}
.hakkinda-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* Üst üste kartlar */
.hakkinda-images { display: flex; justify-content: center; }
.img-stack {
    position: relative;
    width: 270px;
    height: 330px;
    flex-shrink: 0;
}
.img-card {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.img-card:hover {
    transform: rotate(0deg) scale(1.03) !important;
    box-shadow: var(--shadow-lg);
    z-index: 10 !important;
}
.card-bg { display: block; width: 100%; height: 100%; }

/* Arka kart – seyahat/renk */
.back-card {
    width: 195px; height: 250px;
    bottom: 0; right: 0;
    z-index: 1;
    transform: rotate(7deg);
}
.card-travel {
    background: url('../img/project1.jpeg') center/cover no-repeat;
}

/* Orta kart */
.mid-card {
    width: 205px; height: 260px;
    top: 20px; left: 0;
    z-index: 2;
    transform: rotate(-7deg);
}
.card-book2 {
    background: url('../img/about2.jpeg') center/cover no-repeat;
}

/* Ön kart */
.front-card {
    width: 215px; height: 272px;
    top: 0; left: 22px;
    z-index: 3;
    transform: rotate(-1.5deg);
}
.card-book1 {
    background: url('../img/about1.jpeg') center/cover no-repeat;
}


/* Hakkında metin */
.hakkinda-title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 18px;
}
.hakkinda-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.9;
}

/* ================================================================
   PROJELER
   ================================================================ */
.projeler {
    padding: 40px 0 100px;
    background: var(--white);
}
.projeler-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.proje-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.proje-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.proje-bg {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.5s var(--ease);
}
.proje-card:hover .proje-bg { transform: scale(1.05); }

/* Hover bilgi etiketi */
.proje-hover-info {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.42) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.proje-card:hover .proje-hover-info { opacity: 1; }
.proje-label {
    background: rgba(255,255,255,0.92);
    color: var(--dark);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
    transform: translateY(8px);
    transition: transform var(--dur) var(--ease);
}
.proje-card:hover .proje-label { transform: translateY(0); }

/* ── Proje 1 – Kurumsal Kimlik ── */
.proje-city {
    background: url('../img/project1.jpeg') center/cover no-repeat;
}

/* ── Proje 2 – 3D Tasarım ── */
.proje-room {
    background: url('../img/project2.jpeg') center/cover no-repeat;
}

/* ── Proje 3 – Grafik Tasarım ── */
.proje-christmas {
    background: url('../img/project3.jpeg') center/cover no-repeat;
}

/* ================================================================
   HİZMETLER
   ================================================================ */
.hizmetler {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pink-pale) 0%, #f0fff4 100%);
}
.hizmetler-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 60px;
}
.hizmetler-left { padding-top: 8px; }
.hizmetler-title {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
}
.hizmetler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.hizmet-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 22px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    cursor: default;
}
.hizmet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 52px rgba(0,0,0,0.12);
}
.hizmet-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.icon-pink  { background: var(--pink-pale); }
.icon-green { background: var(--green-pale); }
.hizmet-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}

/* ================================================================
   İLETİŞİM
   ================================================================ */
.iletisim {
    position: relative;
    padding: 100px 0;
    background: var(--navy);
    overflow: hidden;
}

/* Dekoratif yelpaze sol altta */
.iletisim-deco {
    position: absolute;
    bottom: -80px;
    left: -70px;
    width: 360px;
    height: 360px;
    pointer-events: none;
    z-index: 0;
}
.footer-wheel { width: 100%; height: 100%; }

.iletisim-content-wrap {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.iletisim-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
}
.iletisim-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 38px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
}
.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--dur);
}
.contact-list li:hover .contact-icon { background: rgba(232,101,122,0.25); }

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

/* ── Large Tablet / Small Desktop ── */
@media (max-width: 1100px) {
    .hizmetler-inner { grid-template-columns: 1fr; gap: 28px; }
    .hizmetler-grid  { grid-template-columns: repeat(4, 1fr); }
}

/* ── Tablet ── */
@media (max-width: 900px) {
    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 56px;
    }
    .hero-actions { justify-content: center; }
    .hero-blob    { width: 320px; height: 320px; top: -40px; right: -60px; }

    /* Hakkında */
    .hakkinda-inner { grid-template-columns: 1fr; gap: 52px; }
    .hakkinda-images { order: -1; }

    /* Projeler */
    .projeler-grid { grid-template-columns: 1fr; gap: 16px; }
    .proje-card    { aspect-ratio: 16 / 9; }

    /* İletişim */
    .iletisim-deco { width: 260px; height: 260px; bottom: -50px; left: -50px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    /* Navbar */
    .hamburger     { display: flex; }
    .navbar-menu {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        padding: 16px 24px 24px;
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 40px rgba(0,0,0,0.10);
        gap: 0;
        overflow-y: auto;
        max-height: calc(100vh - var(--nav-h));
    }
    .navbar-menu.open { display: flex; }
    .nav-links    { flex-direction: column; gap: 0; width: 100%; }
    .nav-link     {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
        width: 100%;
        display: block;
    }
    .nav-links li:last-child .nav-link { border-bottom: none; }
    .navbar-menu .btn-primary {
        margin-top: 18px;
        text-align: center;
        padding: 13px;
        border-radius: var(--radius);
        font-size: 14px;
    }

    /* Hero */
    .hero-title { letter-spacing: -0.5px; }
    .hero-sub   { font-size: 14px; }
    .hero-blob  { width: 240px; height: 240px; }
    .hero-pinwheel { width: 320px; height: 320px; }

    /* Hakkında */
    .hakkinda { padding: 70px 0; }
    .img-stack   { width: 230px; height: 290px; }
    .back-card   { width: 170px; height: 220px; }
    .mid-card    { width: 180px; height: 232px; }
    .front-card  { width: 190px; height: 244px; }

    /* Projeler */
    .projeler { padding: 30px 0 70px; }

    /* Hizmetler */
    .hizmetler { padding: 70px 0; }
    .hizmetler-inner { grid-template-columns: 1fr; }
    .hizmetler-grid  { grid-template-columns: repeat(2, 1fr); }

    /* İletişim */
    .iletisim { padding: 70px 0; }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-title { font-size: 28px; }
    .hero-pinwheel { width: 260px; height: 260px; }
    .hizmetler-grid { gap: 12px; }
    .hizmet-card { padding: 24px 16px; }
    .hizmet-icon { width: 56px; height: 56px; }
    .img-stack { width: 210px; height: 265px; }
    .back-card  { width: 155px; height: 200px; }
    .mid-card   { width: 165px; height: 210px; }
    .front-card { width: 175px; height: 225px; }
    .contact-list li { font-size: 13px; }
    .iletisim-title { font-size: 28px; }
}
