@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Poppins:wght@400;500&display=swap");

:root {
  --header-height: 70px;
  --main-color: #a82323;
  --bg-color: #feffd3;
  --secondary-color: #bcd9a2;
  --font-family: "Poppins", sans-serif;
  --display-font: "Playfair Display", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg-color);
  font-family: var(--font-family);
  overflow-x: hidden;
}
/* --- header section --- */
.header {
  height: var(--header-height);
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-left h1 {
  color: var(--bg-color);
  font-family: var(--display-font);
  font-style: italic;
  font-size: 20px;
}
.header-center {
  display: flex;
  gap: 25px;
}
.header-center a {
  text-decoration: none;
  color: var(--bg-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.header-center a:hover {
  color: var(--secondary-color);
}
/* --- dropdown section --- */
.dropdown {
  display: flex;
  gap: 20px;
}
.dropbtn {
  background-color: var(--bg-color);
  color: var(--main-color);
  padding: 8px 18px;
  font-family: var(--font-family);
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.dropbtn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 1;
  top: 110%;
  background-color: var(--main-color);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-content a {
  color: var(--bg-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.2s;
}
.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
/* --- hero section --- */
.head {
  padding: 50px 10px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.head-text {
  color: var(--main-color);
  font-family: var(--display-font);
  font-size: clamp(3rem, 8vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: flex;
  grid-column: 1 / 10;
  grid-row: 1;
  z-index: 2;
}
.head-description {
  color: var(--bg-color);
  background-color: var(--main-color);
  font-family: var(--font-family);
  padding: 30px;
  grid-column: 9 / 13;
  grid-row: 1;
  align-self: end;
  border-radius: 50px;
  z-index: 5;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: -30px;
  margin-left: -40px;
}
.img-area {
  grid-column: 6 / 13;
  grid-row: 1;
  z-index: 1;
}
.img-area img {
  width: 100%;
  border-radius: 150px 150px;
  object-fit: cover;
}

/* --- Mobile Responsive Settings (max-width: 768px) --- */
@media screen and (max-width: 768px) {
  .header {
    padding: 0 15px;
    flex-direction: column;
    height: auto;
    padding: 15px 10px;
    gap: 15px;
  }
  .header-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .header-center a {
    font-size: 11px;
  }

  /* Hero (Head) Section Düzenlemesi */
  .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 0;
  }

  .head-text {
    font-size: 3.5rem;
    grid-column: auto;
    grid-row: auto;
    order: 1;
    margin-bottom: 5px;
    line-height: 1;
  }

  .scroll-character {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: -20px auto 15px;
    padding: 0;
    grid-column: auto;
    grid-row: auto;
    transform: translateY(0);
    pointer-events: none;
    z-index: 10;
  }

  .scroll-character lottie-player {
    max-width: 200px;
    width: 100%;
    margin: 0;
    filter: drop-shadow(0 10px 15px rgba(168, 35, 35, 0.15));
  }

  .img-area {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    width: 90%;
    margin: 0 auto;
  }

  .img-area img {
    border-radius: 80px;
  }

  .head-description {
    grid-column: auto;
    grid-row: auto;
    order: 4;
    margin: -30px 0 0 0;
    width: 85%;
    font-size: 0.85rem;
    padding: 20px;
    border-radius: 30px;
    position: relative;
    z-index: 5;
  }
  .dropdown-content {
    right: 50%;
    transform: translateX(50%) translateY(10px);
  }

  .dropdown:hover .dropdown-content {
    transform: translateX(50%) translateY(0);
  }
}

@media screen and (max-width: 480px) {
  .head-text {
    font-size: 2.8rem;
  }

  .header-center {
    gap: 8px;
  }
}

.scroll-character {
  grid-column: 1 / 6;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  z-index: 10;
  transform: translateY(30px);
  opacity: 1;
  transition: transform 0.3s ease-out;
  width: 100%;
  pointer-events: none;
}

.scroll-character lottie-player {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.scrool-scills-section {
  background-color: var(--main-color);
  padding: 40px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 2px solid var(--bg-color);
  border-bottom: 2px solid var(--bg-color);
}

.scrool-scills-section p {
  font-family: var(--font-family);
  font-size: 4rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--bg-color);
  opacity: 0.5;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  user-select: none;
}

.scills-scrool {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}

.scills-scrool:last-child {
  animation: scroll-right 30s linear infinite;
  opacity: 0.8;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .scrool-scills-section {
    padding: 20px 0;
    gap: 10px;
  }
  .scrool-scills-section p {
    font-size: 2rem;
  }
  .scills-scrool {
    animation-duration: 15s;
  }
}
.about-section {
  display: flex;
  padding: 100px 6%;
  background-color: var(--bg-color);
  gap: 50px;
}

.about-header {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--main-color);
}

.about-content {
  flex: 3;
}

.main-text,
.sub-text {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: 40px;
  color: #1a1a1a;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 60px 20px;
    gap: 30px;
  }
  .main-text {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .sub-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
}
.experience-section {
  display: flex;
  padding: 120px 6%;
  background-color: var(--bg-color);
  gap: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* İçerik Alanı (Sol) */
.experience-content {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Başlık Alanı (Sağ) */
.experience-header {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.experience-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--main-color);
  writing-mode: vertical-rl;
}
.exp-item {
  max-width: 800px;
}

.exp-year {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--main-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.exp-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--main-color);
}

.exp-desc {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.highlight {
  font-style: italic;
}

.dim {
  color: var(--main-color);
  font-weight: 300;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
  .experience-section {
    flex-direction: column-reverse;
    padding: 60px 20px;
    gap: 40px;
  }
  .experience-content {
    gap: 40px;
  }
  .experience-header {
    writing-mode: horizontal-tb !important;
    justify-content: flex-start;
    position: static;
  }
  .experience-header h1 {
    writing-mode: horizontal-tb !important;
    padding: 0;
  }
  .exp-title {
    font-size: 1.6rem;
  }
  .exp-desc {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .exp-title {
    font-size: 1.4rem;
  }
  .exp-desc {
    font-size: 1rem;
  }
}
.edu-cert-section {
  padding: 100px 6%;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.item-title a {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.item-title a:hover {
  color: var(--main-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.item-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--main-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.item-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.item-detail {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #777;
}

@media (max-width: 768px) {
  .edu-cert-section {
    padding: 60px 20px;
  }
  .edu-cert-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .item-title {
    font-size: 1.4rem;
  }
  .item-detail {
    font-size: 0.95rem;
  }
}
.footer {
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 120px 6% 60px 6%;
  margin-top: 100px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  margin-bottom: 100px;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: -2px;
}

.footer-email {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: var(--bg-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid var(--bg-color);
  transition: opacity 0.3s;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(254, 255, 211, 0.2);
  padding-top: 40px;
}

.footer-socials {
  display: flex;
  gap: 30px;
}

.footer-socials a {
  color: var(--bg-color);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-info {
  text-align: right;
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-info p {
  margin-bottom: 5px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .footer {
    padding: 60px 20px 40px 20px;
    margin-top: 60px;
  }
  .footer-top {
    margin-bottom: 50px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-info {
    text-align: left;
    margin-top: 10px;
  }

  .footer-socials {
    flex-wrap: wrap;
    gap: 15px;
  }
}
