* {
  font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Life Savers', serif;
  margin: 0px;
  line-height: 1.6;
}
.cv-name { 
  font-weight: 600 !important;
   color:#6e6e6e !important;
   margin-bottom: 0px !important;

}
h2 {
  font-size: 28px;
  font-weight: 200 !important;
}

body {
  text-align: center;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, white 0%, white 50%, #F0F8E8 50%, #F0F8E8 100%);
  min-height: 100vh;
}

body.open {
  background-color: white;
}

/* Base Typography */
p {
  color: #333333;
  font-size: 18px;
  font-weight: 400 !important;
  line-height: 180%;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0%;
}

strong {
  font-weight: 700;
  color: #333;
}

.p-big {
  font-size: 22px;
  font-weight: 500 !important;
}

.p-medium {
  font-size: 20px;
  font-weight: 400 !important;
}

.p-small {
  color: #4a4a4a;
  font-size: 18px;
  font-weight: 400 !important;
}
.location-text {
  color:#6e6e6e !important;
}
a {
  text-decoration: none;
  color: #6e6e6e !important;
}

a:hover {
  color: palevioletred !important;
  text-decoration: none !important;
}

.emoji-size {
  font-size: 20px;
}

/* Section Title Styles - Outfit font with coordinated colors */
.h2--Ed,
.h2--Pe,
.h2--Ce,
.h2--Sk,
.h2--La,
.h2--Ex,
.h2--In {
  font-family: 'Outfit', sans-serif;
}

.h2--Ed { color: #5A8A9A; } /* Professional Summary - darker blue */
.h2--Ex { color: #9A6A8A; } /* Experience - darker lavender/mauve */
.h2--Sk { color: #B86A8A; } /* Technical Skills - darker pink-purple */
.h2--Ce { color: #B89A5A; } /* Education - darker peach/gold */
.h2--La { color: #5AB86A; } /* Languages - darker mint/green */
.h2--In { color: #8AB85A; } /* Additional Information - darker yellow-green */

.h2--Pe {
  text-align: left;
  color: #333;
}

/* Education Section */
.education-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding:0 10% 2% 10%;
}

.education-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.education-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.education-degree {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  color: #333;
}

.education-faculty {
  font-size: 1rem;
  color: #555;
  font-weight: 400;
  display: block;
}

.education-university {
  font-size: 1rem;
  font-weight: 400;
  display: block;
  color: #555;
}

.education-details {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  display: block;
}

/* Skills Section */
.skills-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding:0 10% 2% 10%;
  
}

.skill-category {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.skill-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.skill-title {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.skill-list {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  display: block;
  line-height: 1.5;
}

/* Languages Section */
.languages-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding:0 10% 2% 10%;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-text {
  font-size: 1rem;
  font-weight: 400;
}

/* Experience Section */
.experience-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding:0 10% 2% 10%;
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.experience-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
 // margin-bottom: 1.5rem;
}

.experience-title {
  font-size: 22px;
  font-weight: 600;
  color: #333333;
  display: block;
}

.experience-company {
  font-size: 20px;
  font-weight: 500;
  color: #4a5568;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.experience-company:hover {
  color: #667eea;
}

.experience-date {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #718096;
  display: block;
  margin-bottom: 0.5rem;
}

.experience-description {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  color: #333333;
}

.experience-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.experience-list li {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.experience-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #333333;
}

.experience-tech {
  font-size: 15px;
  font-weight: 400;
  color: #a0aec0;
  font-style: italic;
  display: block;
  margin-top: 0.5rem;
}

.experience-link {
  font-size: 1rem;
  font-weight: 400;
  color: #667eea;
  text-decoration: none;
  display: inline-block;
}

.experience-link:hover {
  text-decoration: underline;
}

/* Interests Section */
.interests-section {
  padding:0 10% 2% 10%;

}

.interests-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* Lava Lamp Background */
.lava-lamp {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: -1;
}

/* Top Image */
.top--img {
  padding-top: 2%;
  padding-left: 10%;
  display: flex;
  justify-content: flex-start;
  position: relative;
}

.top--img img {
  min-height: 400px;
}

/* Shake Animation */
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.top--img img.shake {
  animation: shake 0.5s;
  animation-fill-mode: forwards;
}

.top--img img {
  display: block;
  transform: translate(0, 0);
}

@keyframes fadeUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

/* Inline Arrow Buttons */
span.button {
  font-family: Outfit, sans-serif;
  font-weight: 400 !important;
  margin-left: 4px;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

span.button::before {
  content: "⌄";
  transition: opacity 0.3s ease;
  font-size: 20px;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
  top: -6px;
}

span.button.open::before {
  content: "⌃";
  font-size: 18px;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
  top: 2px;
}

/* Container Styles */
.container1--title:hover,
.container2--expand:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 5px;
}

.container1--title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.container2--expand {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.container--text {
  text-align: left;
  color: #333;
}

/* Hide collapsible sections by default */
#container2 .container--text,
#container3 .container--text,
#container4 .container--text,
#container5 .container--text,
#container6 .container--text,
#container7 .container--text {
  display: none;
}

.title {
  padding: 2%;
  padding-left: 5%;
  color: #333;
}

.container1 {
  background-color: transparent;
}

/* Container Background Colors - Soft Pastel Rainbow */
.container2 { background-color: #E8F4F8; margin: 0; } /* Professional Summary - soft blue */
.container6 { background-color: #F0E8F4; } /* Experience - soft lavender */
.container4 { background-color: #F8E8F0; } /* Technical Skills - soft pink-purple */
.container3 { background-color: #F8F0E8; } /* Education - soft peach */
.container5 { background-color: #E8F8F0; } /* Languages - soft mint */
.container7 { background-color: #F0F8E8; } /* Additional Information - soft yellow-green */

/* Custom Arrow Colors - Soft Pastel Rainbow Theme */
.container2 .button::before { color: #5a9fb5; } /* Professional Summary - blue */
.container6 .button::before { color: #9d7db5; } /* Experience - lavender */
.container4 .button::before { color: #c785a8; } /* Technical Skills - pink-purple */
.container3 .button::before { color: #d4a574; } /* Education - peach */
.container5 .button::before { color: #6bb592; } /* Languages - mint */
.container7 .button::before { color: #a5b56a; } /* Additional Information - yellow-green */

.emoji {
  font-size: 20px;
  font-weight: 400 !important;
}

.bullet-point {
  font-size: 28px;
  font-weight: 400;
  color: #4a5568;
  margin-right: 10px;
  vertical-align: middle;
}

/* ============================================
   DESKTOP LAYOUT (min-width: 801px)
   ============================================ */
@media screen and (min-width: 801px) {

 
  /* Add padding to paragraph containers */
  p {
    padding-left: 10%;
  }

  .container6 p,
  .container7 p {
    padding-right: 10%;
  }

  .container2 .container--text,
  .container3 .container--text,
  .container4 .container--text,
  .container5 .container--text,
  .container6 .container--text,
  .container7 .container--text {
    padding-left: 15%;
    padding-right: 10%;
  }

  .container2 .container--text p,
  .container3 .container--text p,
  .container4 .container--text p,
  .container5 .container--text p,
  .container6 .container--text p,
  .container7 .container--text p {
    padding-left: 0;
  }

  .container1 {
    display: flex;
    flex-direction: column;
  }

  .container1--title {
    width: 100%;
  }

  .desktop-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 5%;
    padding-right: 10%;
    flex: 1;
    padding-top: 80px;
    margin-bottom: 2%;
    font-weight: 300;
  }

  .name-title-desktop {
    font-size: 28px;
    font-weight: 400 !important;
    margin-bottom: 5px;
    color: #333;
  }

  .personal-details-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #333;
    font-weight: 300 !important;
    line-height: 180%;
  }

  .personal-details-row h1 {
    font-size: 48px;
    font-weight: 300 !important;
    margin-bottom: 20px;
    color: #2e2e2e;
    font-family: 'Outfit', sans-serif !important;
  }

  .personal-details-row div {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    display: flex;
    align-items: center;
  }

  .personal-details-row a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .personal-details-row a:hover {
    color: #5568d3;
    text-decoration: underline;
  }

  .personal-details-row .p-big {
    font-size: 20px;
    font-weight: 400 !important;
    margin-bottom: 5px;
  }

  .social-links-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }

  .social-links-row a {
    padding: 10px 16px;
    border-radius: 22px;
    text-decoration: none;
    border: 1px solid #6e6e6e;;
    color: #6e6e6e;;
    font-weight: 400 !important;
    background: radial-gradient(circle at 50% 50%, #e8fff3bc, #ffe5ea7d, #f0f8ff, #fff9f0);
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: ;
    text-align: center;
  }

  .social-links-row a:hover {
    color: #667eea;
  }

  .personal-info-mobile,
  .mobile-social-links {
    display: none;
  }

  .container1 .container--text {
    display: flex;
    align-items: center;
    gap: 0;
    flex-direction: row;
    padding: 0;
    margin: 0;
  }

  .container1 .container--text p {
    flex: 1;
    max-width: none;
    padding-left: 0;
  }

  .top--img {
    flex-shrink: 0;
    width: 400px !important;
    min-width: 400px;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 5% !important;
    position: relative;
    margin: 0;
  }

  .top--img img {
    width: 400px !important;
    height: auto !important;
    max-height: 400px;
    max-width: none !important;
    backface-visibility: hidden;
    shape-rendering: crispEdges;
    image-rendering: -webkit-optimize-contrast;
    transform: translate3d(0, 0, 0);
  }

  .container1 .question-mark {
    position: absolute;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

/* ============================================
   TABLET LAYOUT (801px - 1327px)
   ============================================ */
@media screen and (min-width: 801px) and (max-width: 1327px) {
  .container1 .container--text {
    padding: 0;
    position: relative;
    padding-bottom: 100px;
  }

  .desktop-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding-left: 5%;
    padding-right: 10%;
  }

  .personal-details-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .personal-details-row h1 {
    font-size: 36px !important;
  }

  .social-links-row {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================================
   MOBILE LAYOUT (max-width: 800px)
   ============================================ */
@media screen and (max-width: 800px) {
  /* Remove desktop padding on mobile */
  p {
    padding-left: 0;
    padding-right: 0;
  }

  .container3 p,
  .container4 p,
  .container6 p,
  .container7 p {
    padding-left: 5%;
    padding-right: 5%;
  }

  .title {
    padding-left: 5%;
    padding-right: 5%;
  }

  .title h2 {
    font-size: 22px;
    font-weight: 200;
  }

  /* Mobile emojis and bullets */
  .emoji-size {
    font-size: 1.5rem;
  }

  .bullet-point {
    font-size: 24px;
  }

  /* Mobile button arrows */
  span.button::before {
    font-size: 18px;
  }

  span.button.open::before {
    font-size: 16px;
  }

  /* Mobile personal info */
  .personal-info-mobile {
    margin-top: 0px;
    padding: 0 10%;
    text-align: center;
    align-items: center;
    margin:auto;
  }

  .mobile-name-title {
    font-size: 36px !important;
    font-weight: 400 !important;
    margin-top: 0px;
    margin-bottom:0px;
    color: #2e2e2e;
    font-family: 'Life Savers', serif;
    line-height: 1.3;
  }

  .mobile-bio {
    font-size: 16px !important;
    line-height: 1.8 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    white-space: normal !important;
    margin: 0 !important;
    color: #555;
    font-weight: 400 !important;
  }

  .mobile-bio a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-bio a:hover {
    color: #5568d3;
    text-decoration: underline;
  }

  /* Remove gaps under sections */
  .container2,
  .container3,
  .container4,
  .container5,
  .container6,
  .container7 {
    margin-bottom: 0;
  }

  .container2 .container--text,
  .container3 .container--text,
  .container4 .container--text,
  .container5 .container--text,
  .container6 .container--text,
  .container7 .container--text {
    margin-bottom: 0 !important;
  }

  /* Touch targets */
  .container2--expand,
  .container1--title {
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 15px 5%;
  }

  /* Mobile social links */
  .mobile-social-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0px 0px 0 0px !important;
    margin: 5% auto ;
    
  }

  .mobile-social-links a {
    color: #2e2e2e;
    background-color: rgba(250, 255, 109, 0) ;
    border: 1px solid #2e2e2e;
    padding: 10px 10px;
  
    
    border-radius: 20px;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    transition: all 0.3s ease;
  
    text-align: center;
  }

  .mobile-social-links a:hover {
    color: #667eea;
  }

  /* Line breaks before @ symbols on mobile */
  .container6 a[href*="soundboost.ai"]:before,
  .container6 a[href*="topaloglu.art"]:before,
  .container6 a[href*="psinossa"]:before,
  .container6 a[href*="khas.edu.tr"]:before {
    content: "\A";
    white-space: pre;
  }

  .mobile-break {
    display: inline;
  }

  /* Mobile image handling */
  .container1 {
    padding-right: 0;
  }

  .container1 .container--text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0;
  }

  .container1 .top--img {
    display: none;
  }

  .container1 .top--img img {
    display: none;
  }

  .container1 .top--img {
    background-image: url('../images/welcomewelcome_mobile.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 280px !important;
    height: 280px;
  }

  /* Menu open state */
  body.menu-open .lava-lamp,
  body.menu-open .container1,
  body.menu-open .container2,
  body.menu-open .container3,
  body.menu-open .container4,
  body.menu-open .container5,
  body.menu-open .container6,
  body.menu-open .container7,
  body.menu-open .top--img {
    display: none;
  }

  .desktop-layout {
    display: none;
  }
}