html {
  scroll-behavior: smooth;
  font-family:Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f7cfdf;
}

body.intro-locked {
  height: 100vh;
  overflow: hidden;
}

main {
  padding: 0;
}


.logo img {
  display: block;
  width: auto;
  height: 4rem;
}




@keyframes logo-arrive {

  from {
    opacity: 0;

    transform:
      scale(0.88);
  }

  to {
    opacity: 1;

    transform:
      scale(1);
  }

}


@keyframes float-object {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    /*
      px yerine frame boyutuna göre çok küçük hareket.
      Böylece animasyon da ekranlar arasında benzer.
    */

    translate: 0 -6px;
  }

}

/* ANA SAYFA KATMANI */
.home-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff9fb;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .85s cubic-bezier(.65,0,.2,1), visibility 0s linear .85s;
}

.home-layer--open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .85s cubic-bezier(.65,0,.2,1), visibility 0s;
}
.home-banner{
    width:100%;
    margin:90px 0 0;
    overflow:hidden;
}

.home-banner img{

    display:block;

    width:100%;
    height:500px;

    object-fit:cover;

    opacity:.50;

    filter:
        grayscale(20%)
        brightness(1.05);

    transition:.35s;
}

.home-banner img:hover{

    opacity:.70;

    transform:scale(1.02);

}

.home-layer--direct {
  position: relative;
  inset: auto;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  transform: none;
  visibility: visible;
}

.home-content {
  width: 100%;
  background: #fff9fb;
}

.home-card-section{
    display:flex;
    justify-content:center;
    align-items:center;

    padding:0;
}
.bubble-toggle {
  display: none;
}
.giriscard{
    display:block;
    width:100%;
    height:auto;

}

/* SEÇME SAYILAR */
.featured-magazines {
  width: 100%;
  padding: 90px 8% 100px;
  text-align: center;
  background: #fff9fb;
}

.featured-title h2 {
  margin: 0;
  color: #c95682;
  font-size: 3rem;
}

.featured-title p {
  margin-top: 10px;
  color: #86626f;
  font-size: 1.1rem;
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 55px;
  margin-top: 50px;
}

.featured-card {
  color: #8f4964;
  text-decoration: none;
  transition: transform .25s ease;
}

.featured-card img {
  display: block;
  width: auto;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.featured-card span {
  display: block;
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 600;
}

.featured-card:hover {
  transform: translateY(-10px) scale(1.04);
}

.archive-button {
  display: inline-block;
  margin-top: 55px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #d86b95;
  color: #fff;
  text-decoration: none;
}

.magazine-archive {
  min-height: 100vh;
  padding: 60px 8%;
  background: #f8d8e5;
}

.archive-top {
  margin-bottom: 50px;
  text-align: center;
}

.archive-top h1 {
  margin: 0;
  color: #c95682;
  font-size: 48px;
}

.archive-top p {
  color: #9b6478;
}

.shelves {
  width: 100%;
  padding: 50px 55px 65px;
  border: 10px solid rgba(201,86,130,.5);
  border-radius: 30px;
  background: rgba(255,245,249,.45);
  box-shadow: 0 18px 40px rgba(144,52,88,.2), inset 0 0 30px rgba(255,255,255,.45);
}

.shelf-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  column-gap: 20px;
  min-height: 220px;
  padding: 0 15px;
}

.shelf-board {
  width: 100%;
  height: 14px;
  margin-bottom: 38px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #ffd7e5, #e98eae 30%, #c95e86 55%, #efabc2 75%, #fff1f6);
  box-shadow: 0 7px 10px rgba(113,36,67,.2);
}

.magazine-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 210px;
  color: #8f4964;
  text-decoration: none;
  transition: transform .25s ease, filter .25s ease;
}

.magazine-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 175px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 18px rgba(101,34,61,.25);
}

.magazine-item span {
  min-height: 20px;
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
}

.magazine-item:hover {
  filter: brightness(1.04);
  transform: translateY(-10px) scale(1.03);
}

.about-bubbles{
    width:min(1100px,90%);
    margin:80px auto;

    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:50px;
}

.bubble-column{
    flex:1;

    display:flex;
    flex-direction:column;
    gap:35px;
}

.about-bubble{
    position:relative;

    padding:28px 32px;

    background:white;

    border-radius:28px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.about-bubble:hover{

    transform:translateY(-8px);

}

.bubble-left{

    transform:rotate(-3deg);

}
.bubble-left::after{
    content:"";

    position:absolute;

    left:-16px;
    top:35px;

    width:28px;
    height:28px;

    background:white;

    clip-path:polygon(100% 0,100% 100%,0 50%);
}

.bubble-right{

    transform:rotate(3deg);

}
.bubble-right::after{
    content:"";

    position:absolute;

    right:-16px;
    top:35px;

    width:28px;
    height:28px;

    background:white;

    clip-path:polygon(0 0,100% 50%,0 100%);
}

.about-bubble h3{

    margin-top:0;

    color:#a54168;

    font-family:Georgia,serif;

    font-size:28px;

}
.bubble-column .about-bubble:nth-child(2){
    margin-top:20px;
}

.about-bubble p{

    margin-bottom:0;

    color:#6e5560;

    line-height:1.8;

}
.about-content span{
font-weight: bold ;
}
.about-page{

    min-height:100vh;

    padding:70px 7% 100px;

    background:
    radial-gradient(circle at top,
    #fff9fb,
    #f8d6e3);

}

.about-hero{

    max-width:850px;

    margin:0 auto 55px;

    text-align:center;

}

.about-kicker{

    margin-bottom:10px;

    color:#c95682;

    font-size:14px;
    font-weight:700;

    letter-spacing:3px;

}

.about-hero h1{

    margin:0;

    color:#a54268;

    font-family:Georgia,serif;

    font-size:clamp(42px,5vw,70px);

}

.about-subtitle{

    margin-top:18px;

    color:#7b626d;

    font-size:18px;

    line-height:1.7;

}

.about-box{

    width:min(100%,1100px);

    margin:auto;

    padding:55px;

    border:1px solid rgba(201,86,130,.18);

    border-radius:28px;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(14px);

    box-shadow:
    0 18px 45px rgba(145,60,92,.15);

}

.about-content{

    color:#67535d;

    font-size:17px;

    line-height:2;

}

.about-content p{

    margin:0 0 28px;

}

.about-content h2{

    margin:55px 0 18px;

    color:#b54d75;

    font-family:Georgia,serif;

    font-size:32px;

}



/* GİRİŞ / KAYIT */
.auth-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  min-height: calc(100vh - 120px);
  padding: 60px 8%;
  background: #fff7fa;
}

.auth-box {
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(157,67,104,.15);
}

.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-box input {
  padding: 13px 15px;
  border: 1px solid #e7bdd0;
  border-radius: 12px;
  font-size: 15px;
}

.auth-box button {
  margin-top: 12px;
  padding: 13px;
  border: 0;
  border-radius: 999px;
  background: #dd769d;
  color: #fff;
  cursor: pointer;
}


.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;

  background: rgba(30, 18, 24, 0.45);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* MENÜ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;

  display: flex;
  flex-direction: column;

  width: min(85vw, 380px);
  height: 100dvh;

  padding: 25px;

  background:
    linear-gradient(
      145deg,
      #fff9fb,
      #f9dce7
    );

  box-shadow:
    -15px 0 40px rgba(85, 31, 53, 0.2);

  transform: translateX(100%);

  transition:
    transform 0.35s
    cubic-bezier(0.65, 0, 0.2, 1);
}

.mobile-menu.show {
  transform: translateX(0);
}


/* MENÜ ÜSTÜ */

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom:
    1px solid #efcbd9;
}

.mobile-menu-logo {
  width: 120px;
  height: auto;
}

.mobile-menu-close {
  width: 42px;
  height: 42px;

  border: none;
  background: transparent;

  color: #b7547c;
  font-size: 34px;
  line-height: 1;

  cursor: pointer;
}


/* KULLANICI */

.mobile-user-info {
  display: flex;
  flex-direction: column;

  margin-top: 25px;
  padding: 18px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.65);
}

.mobile-user-info span {
  color: #96737f;
  font-size: 13px;
}

.mobile-user-info strong {
  margin-top: 3px;

  color: #b64f77;
  font-size: 18px;
}


/* LİNKLER */

.mobile-nav {
  display: flex;
  flex-direction: column;

  margin-top: 25px;
}

.mobile-nav a {
  padding: 17px 3px;

  border-bottom:
    1px solid rgba(190, 99, 134, 0.15);

  color: #5c4650;

  font-family: Georgia, serif;
  font-size: 22px;

  text-decoration: none;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.mobile-nav a:hover {
  color: #c95682;
  padding-left: 8px;
}


/* ALT KISIM */

.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 25px;
}

.mobile-login,
.mobile-logout {
  display: block;

  width: 100%;
  padding: 14px;

  border-radius: 999px;

  background: #d86b95;

  color: white;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}


/* Menü açıkken body kaymasın */

body.mobile-menu-open {
  overflow: hidden;
}


.form-error { color: #b3264e; }
.form-success { color: #46835c; }

.magazine-card {
  display: inline-block;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.magazine-card img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.mobile-issue-navigation {
  display: none;
}

/* MOBİL */
@media (max-width: 900px), (pointer: coarse) {
 

  .mobile-issue-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin: 25px 0 45px;
  }

  .mobile-issue-navigation a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(201, 86, 130, 0.35);
    border-radius: 50%;

    background: white;
    color: #b64f77;

    font-size: 16px;
    text-decoration: none;
  }

  .mobile-issue-navigation a:hover {
    background: #d86b95;
    color: white;
  }

  .shelves {
    display: flex;
    flex-direction: column;

    gap: 70px;

    padding: 30px 18px;

    border: none;
    background: transparent;
    box-shadow: none;
  }

  .shelf-row {
    display: contents;
  }

  .magazine-item {
    position: relative;

    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    scroll-margin-top: 90px;
  }
.site-footer{
  display:grid;
}
  .magazine-item img {
    width: min(70vw, 260px);
    height: auto;

    object-fit: contain;

    box-shadow:
      0 16px 28px rgba(101, 34, 61, 0.22);
  }

  .magazine-item span {
    margin-top: 12px;
    font-size: 15px;
  }

  .magazine-item::after {
    content: "";

    width: min(90%, 420px);
    height: 15px;

    margin-top: 10px;

    border-radius: 4px;

    background:
      linear-gradient(
        to bottom,
        #fff0f6 0%,
        #f5b5cd 25%,
        #dc789d 50%,
        #bd5078 70%,
        #efabc2 100%
      );

    box-shadow:
      0 8px 12px rgba(91, 32, 57, 0.18);
  }

  .shelf-board {
    display: none;
  }

  .navbar {
    gap: 1rem;
  }

  .navbar a {
    font-size: 1rem;
  }

  .logo img {
    height: 5rem;
  }

  .auth-page {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

  .featured-magazines {
    padding: 60px 20px 80px;
  }

  .featured-card img {
    max-width: 75vw;
    height: auto;
  }

  .shelves {
    padding: 35px 20px;
  }

  .shelf-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .prev-btn {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    visibility: visible;
    padding: 8px 12px;
    border-radius: 20px;
    background: #2b2118;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
  }
  
  .desktop-nav,
  .desktop-user {
    display: none;
  }

  

  .logo img {
    height: 4rem;
  }

  .home-banner{
    margin-top:50px;
  }

  .home-banner img{
    width:100%;
    height:180px;

    object-fit:cover;
    object-position:center;

    opacity:.35;
  }

  .about-bubbles {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .bubble-column {
    width: 100%;
  }

  .about-bubble {
    width: 100%;
  }

  .bubble-text {
    margin: 0;

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-height: 1.6;
  }

  .about-bubble.open .bubble-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .bubble-toggle {
    display: inline-block;

    margin-top: 12px;
    padding: 0;

    border: none;
    background: transparent;

    color: #c95682;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
  }



}



