@font-face {
  font-family: A1;
  src: url(fonts/Lato-Black.ttf);
  
}

@font-face {
  font-family: A2;
  src: url(fonts/Lato-BlackItalic.ttf);
  
}
@font-face {
  font-family: A3;
  src: url(fonts/Lato-LightItalic.ttf);
  
}
@font-face {
  font-family: A4;
  src: url(fonts/Lato-Hairline.ttf);
  
}
@font-face {
  font-family: A5;
  src: url(fonts/Lato-Heavy.ttf);
  
}
@font-face {
  font-family: A6;
  src: url(fonts/Lato-Italic.ttf);
  
}

@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

body{
  padding: 0;
  margin: 0;
  background-color: #d9d9da;
  transition: all 0.3s ease;
}

/* Menü açıkken body scroll kontrolü */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Mobile Hamburger Menü Stilleri */
.home-mobile {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
}

.mobile-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.mobile-video-background video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: blur(3px) brightness(0.5) contrast(1.4) saturate(1.2);
    transform: scale(1.05);
}

.mobile-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(6, 32, 49, 0.8) 25%,
        rgba(19, 82, 131, 0.7) 50%,
        rgba(7, 73, 99, 0.8) 75%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(2px);
    box-shadow: 
        inset 0 0 150px rgba(0, 0, 0, 0.6),
        inset 0 0 50px rgba(6, 32, 49, 0.4);
    z-index: 2;
}

.mobile-hero-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 3;
    text-align: center;
}

.mobile-hero-content .profile-mobile {
    position: relative;
    margin-bottom: 30px;
}

.mobile-hero-content .profile-mobile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 80px rgba(6, 32, 49, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.mobile-hero-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        3px 3px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(6, 32, 49, 0.6);
    backdrop-filter: blur(1px);
}

.mobile-hero-content .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(6, 32, 49, 0.5);
    backdrop-filter: blur(1px);
}

.mobile-hero-content .cta-button {
    background: linear-gradient(135deg, rgba(6, 32, 49, 0.9), rgba(19, 82, 131, 0.9));
    color: white;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-profile {
    margin-bottom: 40px;
}

.mobile-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 5px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.mobile-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-name {
    font-family: A1;
    font-size: 32px;
    color: white;
    letter-spacing: 8px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.mobile-title {
    font-family: A3;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    margin: 0 0 25px 0;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
}

.mobile-description {
    margin-bottom: 40px;
}

.mobile-description p {
    font-family: A3;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 250px;
}

.mobile-portfolio-btn,
.mobile-contact-btn {
    padding: 15px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: A3;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.mobile-portfolio-btn:hover,
.mobile-contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Desktop'ta mobile home'u gizle */
@media (min-width: 769px) {
    .home-mobile {
        display: none !important;
    }
}

/* Mobile'da desktop home'u gizle ve mobile home'u göster */
@media (max-width: 768px) {
    .home {
        display: none !important;
    }
    
    .home-mobile {
        display: block !important;
    }
}

.hamburger-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1001;
    background: rgba(6, 32, 49, 0.9);
    border: 1px solid rgba(6, 32, 49, 0.3);
    border-radius: 6px;
    cursor: pointer;
    padding: 10px;
    display: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger-btn:hover {
    background: rgba(6, 32, 49, 1);
    border-color: rgba(6, 32, 49, 0.5);
    transform: scale(1.02);
}

.hamburger-btn.active {
    background: rgba(6, 32, 49, 0.95);
    border-color: rgba(6, 32, 49, 0.6);
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .2s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
    transform-origin: left center;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
    transform-origin: left center;
}

.hamburger-btn.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: -1px;
    left: 3px;
}

.hamburger-btn.active .hamburger-icon span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.hamburger-btn.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 17px;
    left: 3px;
}

.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 32, 49, 0.95);
    backdrop-filter: blur(20px);
    transition: left 0.25s ease;
    overflow-y: auto;
    z-index: 999;
}

.nav.active {
    left: 0;
}

.nav ul {
    list-style: none;
    padding: 250px 0 0 0;
    margin: 0;
    height: 100%;
}

.nav ul li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav ul li:last-child {
    border-bottom: none;
}

.nav ul li a {
    display: block;
    padding: 25px 30px;
    color: white;
    text-decoration: none;
    font-family: A3;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    position: relative;
    text-transform: uppercase;
    font-weight: 300;
    text-align: center;
}

.nav ul li a:hover {
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.nav ul li a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 1px;
    width: 0;
    background: white;
    transition: width 0.2s ease;
    transform: translateX(-50%);
}

.nav ul li a:hover::before {
    width: 60px;
}

.nav ul li a::after {
    content: '';
    display: none;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Desktop'ta hamburger menüyü gizle */
@media (min-width: 769px) {
    .home-mobile,
    .hamburger-btn {
        display: none !important;
    }
}

/* Mobile görünümde hamburger menüyü göster */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
    
    .home-mobile {
        display: block;
    }
    
    /* Ana navigasyonu gizle */
    .navigation {
        display: none !important;
    }
}

.up a{
  bottom: 200px;
  right: -10px;
  transform:rotate(270deg);
  display: flex;
  background-color: #062031;
  color: white;
  font-size: 15px;
  position:fixed;
  width: 50px;
  height: 30px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  transition: all 0.5s;
  box-shadow:
  0 0 20px rgba(0, 0, 0, 0.9  ),
  0 0 40px rgba(0, 0, 0, 0.6);
}

.up a{
  color: white;
  text-decoration: NONE;
}

.up i{
  transform: translateY(10px) translateX(20px);
  position: absolute;
  text-align: center;
  transition: all 0.5s;
}

.up a:hover{
  bottom: 180px;
  right: 13px;
  height: 75px;
  transform:rotate(270deg);
}

.up:hover i{
  font-size: 25px;
  transform: translateX(15px) translateY(30px) rotate(90deg);
}

/*Ana Bölüm Başlangıç*/

.home{
  width: 100%;
  height: 100vh;
 
}

.main-content{
  margin: 0;
  position: absolute;
  width: 1200px;
  height: 600px;
  background-color: aliceblue;
  box-shadow:
  0 0 20px rgba(0, 0, 0, 0.9),
  0 0 40px rgba(0, 0, 0, 0.8);
  left: 360px;
  top: 195px;
}

.left-section{
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(to right, #062031, #135283, #074963);

}

.right-section{
  z-index: 5;
  top: 1px;
  left: 600px;
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(to right, #ebebec, #cec7c7, #f0f6fc);
  
}

.navigation{
  position: absolute;
}

.navigation ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.navigation ul li{
  margin: 50px;
}

.a_line{
  letter-spacing: 10px;
}

.g_line{
  letter-spacing: 14.6px;
}

.navigation a {
  position: relative;
  display: inline-block; 
  text-decoration: none;
  color: black;
  padding-bottom: 5px;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color:white;
  transition: width 0.4s ease;
}

.navigation a:hover{
  opacity: 100%;
}

.navigation a:hover::after {
  width: 100%;
}

.p_line{
  letter-spacing: 13.2px;
}

.s_line{
  letter-spacing: 7.5px;
}

.c_line{
  letter-spacing: 11.3px;
}

.navigation ul li a{
  opacity: 60%;
  font-size: 20px;
  font-family: A3;
  text-decoration: none;
  color: white;
  transition: all 0.5s;
}

tion a:hover::after {
  width: 100%;
}

.profile-image{
  z-index: 10;
  position: absolute;
  left: 350px;
}

.profile-image img{
  object-fit: cover;
  width: 500px;
  height: 600px;
  filter: grayscale(80%) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.60));
  transition: all 0.5s;
}

.profile-image img:hover{

 filter: grayscale(20%) drop-shadow(0 20px 40px rgba(0, 0, 0, 1));
  transition: filter 0.3s ease;
}

.profile-info{
  position: absolute;
  color: white;
  top: 500px;
  left: 25px;
  font-family: A3;
  
}

.profile-info .name{
  position: absolute;
  width: 270px;
  opacity: 60%;
  left: 2px;
  transition: all 0.5s;
  cursor: pointer;
}

.profile-info .name span{
  letter-spacing: 10px;
}

.profile-info .title{
  top: 35px;
  width: 280px;
  position: absolute;
  letter-spacing: 5.8px;
}

.profile-info .name:hover{
  opacity: 100%;
}

.sosyal-medya{
  top: 250px;
  z-index: 8;
  position: absolute;
  left: 1070px;
}
.insta a, .fac a, .x a, .tiktok a{
  color: #062031;
  opacity: 50%;
  font-size: 35px;
  transition: all 0.5s;
}

.insta a:hover, .fac a:hover, .x a:hover, .tiktok a:hover{
  opacity: 100%;
}


.insta i, .fac i, .x i, .tiktok i{
  margin: 25px;
}

.sosyal{
  transform: rotate(90deg);
  width: 400px;
  position: absolute;
  right: -210px;
  bottom: 95px;
  letter-spacing: 6px;

}

.portfolio-btn{
  background:none;
  border-radius: none;
  border: none;
  position: absolute;
  top: 150px;
  font-size: 15px;
  letter-spacing: 2px;
}

.button1{
  top: 90px;
  width: 400px;
  position: absolute;
  left: 150px;
}

.button2{
  width: 400px;
  position: absolute;
  left: 150px;
}

.arrow{
  z-index: 4;
  position: absolute;
 width: 35px;
 height: 35px;
  background-color: black;
  border-radius: 25px;
  right: -55px;
  top: -9px;
}

#arrow{
  z-index: 2;
  position: absolute;
  font-size: 20px;
  color: white;
  top: 8px;
  right: 8px;
  transition: all 0.5s;
}

#arrow:hover{
  transform: rotate(90deg);
}

.message-btn{
  position: absolute;
  background: none;
  border-radius: none;
  caret-color: none;
  border: none;
  letter-spacing: 8.3px;
}

.plus{
  z-index: 4;
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: black;
  border-radius: 25px;
  right: -50px;
  top:-9px;
}

#plus{
  top: 8px;
  right: 1px;
  z-index: 2;
  position: absolute;
  color: white;
  font-size: 20px;
  transition: all 0.5s;
}

#plus:hover{
  transform: rotate(60deg);
  right: 3px;
  top:10px;
}

.number-continer{
  opacity: 50%;
  color: rgb(175, 174, 174);
  font-size: 25px;
  position: absolute;
  top: 150px;
  left: 150px;
}

.footer-text{
  position: absolute;
  top: 900px;
  left: 480px;
  letter-spacing: 10px;
}

.year{
  position: absolute;
  left: 300px;
  font-size: 25px;
  color: gray;
  opacity: 60%;
  letter-spacing: 15px;
  top: 50px;
}

.line{
  position: absolute;
  top:500px;
  left: 50px;
  transform: rotate(270deg);
  font-size: 25px;
  letter-spacing: 25px;
  color: gray;
}

.web-design-text{
  position: absolute;
  right: -150px;
  top: 500px;
  font-size: 25px;
  color: gray;
  letter-spacing: 20px;
  transform: rotate(90deg);
}

.metin{
  top: 150px;
  right: 350px;
  position: absolute;
  font-size: 15px;
  letter-spacing: 5px;
color: gray;
}
/*Anasayfa son*/

/*galeri Başlangıç*/
.gallery-section {
  width: 100%;
  min-height: 100vh;
  background-color: #d9d9da;
  padding: 0;
  position: relative;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-title {
  font-size: 50px;
  letter-spacing: 20px;
  color: #062031;
  margin-bottom: 20px;
  font-family: A3;
}

.gallery-subtitle {
  font-size: 18px;
  color: #666;
  letter-spacing: 5px;
  font-family: A3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
  margin-bottom: 60px;
  justify-content: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  width: 100%;
  max-width: none;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 32, 49, 0.9), transparent);
  padding: 30px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: white;
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-family: A3;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 2px;
  font-family: A3;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 0;
  margin-top: 20px;
}

/* Desktop filter buttons */
.desktop-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Mobile filter toggle button - başlangıçta gizli */
.mobile-filter-toggle {
  display: none;
  background: #062031;
  border: 2px solid #062031;
  color: white;
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: A3;
  border-radius: 5px;
  width: 200px;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-filter-toggle:hover {
  background-color: #083044;
  transform: translateY(-2px);
}

.mobile-filter-toggle i {
  transition: transform 0.3s ease;
}

.mobile-filter-toggle.active i {
  transform: rotate(180deg);
}

/* Mobile dropdown menu */
.mobile-filter-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #062031;
  border: 2px solid #062031;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  width: 200px;
  margin-top: 5px;
  overflow: hidden;
}

.mobile-filter-dropdown.active {
  display: block !important;
  animation: dropdownSlide 0.3s ease forwards;
}

.mobile-filter-option {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: A3;
  text-align: left;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-filter-option:last-child {
  border-bottom: none;
}

.mobile-filter-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-filter-option.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.filter-btn {
  background: none;
  border: 2px solid #062031;
  color: #062031;
  padding: 12px 30px;
  font-size: 14px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: A3;
  border-radius: 5px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #062031;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(6, 32, 49, 0.3);
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-content: center;
  }
  
  .gallery-item {
    height: 280px;
    width: 100%;
    max-width: none;
  }
  
  .gallery-title {
    font-size: 36px;
    letter-spacing: 12px;
  }
  
  .filter-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  /* Desktop butonları gizle */
  .desktop-filter-buttons {
    display: none;
  }
  
  /* Mobile toggle göster */
  .mobile-filter-toggle {
    display: flex;
  }
  
  .gallery-filter {
    margin-bottom: 30px;
    padding: 0 ;
  }
  
  /* Galeri konteyner */
  .gallery-section {
    padding: 0;
  }
  
  .gallery-container {
    max-width: 100%;
    padding: 0;
  }
  
  /* Galeri başlık */
  .gallery-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .gallery-title {
    font-size: 24px;
    letter-spacing: 6px;
    margin-bottom: 10px;
  }
  
  .gallery-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
    justify-content: center;
  }
  
  /* Galeri öğeleri - mobile'da dar */
  .gallery-item {
    height: 250px;
    border-radius: 12px;
    width: 300px;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
  }
  
  .gallery-item img,
  .gallery-item video {
    border-radius: 12px;
  }
  
  /* Galeri overlay */
  .gallery-overlay {
    padding: 15px;
  }
  
  .gallery-overlay h3 {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  
  .gallery-overlay p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 480px) {
  .gallery-section {
    padding:0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 0 5px;
  }
  
  .gallery-title {
    font-size: 20px;
    letter-spacing: 4px;
  }
  
  .gallery-subtitle {
    font-size: 13px;
  }
  
  .gallery-item {
    height: 220px;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .gallery-overlay h3 {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .gallery-overlay p {
    font-size: 11px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}

/* Modal Popup Başlangıç */
.gallery-modal {
  display: none !important;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
  display: flex !important;
}

.gallery-modal.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.modal-content {
  background-color: #fefefe;
  margin: 50px auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
  position: relative;
}

.modal-image {
  width: 60%;
  height: 600px;
  object-fit: cover;
}

/* Modal video container özel stilleri */
#modalVideoContainer {
  width: 60%;
  height: 600px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#modalVideoContainer video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.modal-close {
  color: #062031;
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  transform: rotate(90deg);
}

.modal-info {
  width: 40%;
  padding: 40px;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-title {
  font-size: 28px;
  color: #062031;
  letter-spacing: 5px;
  margin-bottom: 20px;
  font-family: A3;
}

.modal-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
  letter-spacing: 1px;
  font-family: A3;
}

.modal-details {
  margin-bottom: 30px;
}

.modal-details > div {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.detail-label {
  font-weight: bold;
  color: #062031;
  margin-right: 10px;
  font-size: 14px;
  letter-spacing: 2px;
  font-family: A3;
}

.modal-details span:not(.detail-label) {
  color: #666;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: A3;
}

.modal-long-description {
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.modal-long-description p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  letter-spacing: 0.5px;
  font-family: A3;
}

.modal-buttons {
  display: flex;
  gap: 15px;
}

.modal-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: A3;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-btn {
  background-color: #062031;
  color: white;
}

.live-btn:hover {
  background-color: #0a3a5a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(6, 32, 49, 0.3);
}

.github-btn {
  background-color: #333;
  color: white;
}

.github-btn:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Modal */
@media (max-width: 768px) {
  /* Modal genel ayarlar */
  .gallery-modal {
    padding: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: fixed !important;
  }
  
  .modal-content {
    width: calc(100vw - 30px) !important;
    max-width: 500px !important;
    margin: 15px auto !important;
    flex-direction: column !important;
    max-height: calc(100vh - 30px) !important;
    overflow-y: auto !important;
    border-radius: 15px !important;
    position: relative !important;
    z-index: 10001 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  
  /* Modal görsel/video */
  .modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  #modalVideoContainer {
    width: 100% !important;
    height: 250px !important;
    border-radius: 15px 15px 0 0;
  }
  
  /* Modal kapatma butonu - hamburger menüden daha yüksek z-index */
  .modal-close {
    right: 15px !important;
    top: 15px !important;
    font-size: 28px !important;
    color: white !important;
    background: rgba(0,0,0,0.8) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    position: absolute !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  
  .modal-close:hover {
    background: rgba(255,0,0,0.9) !important;
    transform: scale(1.1) !important;
    color: white !important;
  }
  
  /* Modal açıkken hamburger menüyü gizle */
  .gallery-modal.active ~ .hamburger-btn {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Modal bilgi alanı */
  .modal-info {
    width: 100% !important;
    padding: 20px !important;
    background-color: #f8f8f8 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
  }
  
  .modal-title {
    font-size: 18px !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    color: #062031 !important;
    font-weight: 600 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .modal-description {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    line-height: 1.5 !important;
    color: #666 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Modal detaylar */
  .modal-details {
    margin-bottom: 20px !important;
    background: white !important;
    padding: 15px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .modal-details > div {
    margin-bottom: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
  }
  
  .modal-details > div:last-child {
    border-bottom: none !important;
  }
  
  .detail-label {
    font-size: 11px !important;
    letter-spacing: 1px !important;
    margin-bottom: 5px !important;
    margin-right: 0 !important;
    color: #062031 !important;
    font-weight: 600 !important;
    text-align: left !important;
    width: 100% !important;
    display: block !important;
  }
  
  .modal-details span:not(.detail-label) {
    font-size: 13px !important;
    text-align: left !important;
    color: #555 !important;
    width: 100% !important;
    display: block !important;
  }
  
  /* Modal uzun açıklama */
  .modal-long-description {
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: white !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .modal-long-description p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    color: #555 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  /* Modal butonlar */
  .modal-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .modal-btn {
    padding: 15px 20px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .modal-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  }
}

/* Tablet modal responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .modal-content {
    width: 90%;
    margin: 30px auto;
  }
  
  .modal-image,
  #modalVideoContainer {
    height: 400px;
  }
  
  .modal-title {
    font-size: 24px;
    letter-spacing: 4px;
  }
  
  .modal-description {
    font-size: 15px;
  }
}

/* Küçük mobil cihazlar modal */
@media (max-width: 480px) {
  .gallery-modal {
    padding: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: fixed !important;
  }
  
  .modal-content {
    width: calc(100vw - 20px) !important;
    max-width: 400px !important;
    margin: 10px auto !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 10001 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
  }
  
  .modal-image,
  #modalVideoContainer {
    height: 200px !important;
  }
  
  .modal-close {
    right: 12px !important;
    top: 12px !important;
    font-size: 24px !important;
    width: 45px !important;
    height: 45px !important;
    z-index: 99999 !important;
    background: rgba(0,0,0,0.9) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.6) !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    cursor: pointer !important;
    border-radius: 50% !important;
  }
  
  .modal-close:hover {
    background: rgba(255,0,0,0.9) !important;
    transform: scale(1.1) !important;
    color: white !important;
  }
  
  .modal-info {
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
  }
  
  .modal-title {
    font-size: 16px !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .modal-description {
    font-size: 12px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .detail-label {
    font-size: 10px !important;
    text-align: left !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 3px !important;
  }
  
  .modal-details span:not(.detail-label) {
    font-size: 11px !important;
    text-align: left !important;
    width: 100% !important;
    display: block !important;
  }
  
  .modal-long-description p {
    font-size: 11px !important;
    text-align: left !important;
    width: 100% !important;
  }
  
  .modal-btn {
    font-size: 10px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

/* Video koruma stilleri */
#modalVideoContainer video {
  pointer-events: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#modalVideoContainer video::-webkit-media-controls-download-button {
  display: none;
}

#modalVideoContainer video::-webkit-media-controls-fullscreen-button {
  display: none;
}

#modalVideoContainer video::-webkit-media-controls-picture-in-picture-button {
  display: none;
}

/* Galeri videolarına koruma */
.gallery-item video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
}

.gallery-item video::-webkit-media-controls-download-button {
  display: none;
}

.gallery-item video::-webkit-media-controls-fullscreen-button {
  display: none;
}

.gallery-item video::-webkit-media-controls-picture-in-picture-button {
  display: none;
}

/* Video sağ tık koruması */
video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Video ekran koruması */
video::-webkit-media-controls-start-playback-button {
  opacity: 0;
}

/* Video kaydetmeyi engelle */
video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

/* Modal video responsive */
@media (max-width: 768px) {
  #modalVideoContainer {
    width: 100% !important;
    height: 250px !important;
  }
}
/* Modal Popup Son */

/*Hakımda Başlangıç*/
.about-section{
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color:#d9d9da;
}

.about-profile-section{
  transform: translateX(-500px) translateY(-100px);
  position: relative;
  border-radius: 25px;
  float: right;
  width: 400px;
  height: 700px;
  background: linear-gradient(to right, #092e47, #074963);
  box-shadow:
  0 0 20px rgba(0, 0, 0, 0.9),
  0 0 40px rgba(0, 0, 0, 0.8);
  left: 360px;
  top: 195px;
}

.about-profile-image{
  transform: translateX(85px) translateY(-105px); 
  background-color: #d9d9da;
  width: 230px;
  height: 230px;
  border-radius: 120px;
  position: absolute;
  transition: all 0.5s;
  border: 3px solid rgb(0, 69, 134); 
  margin: 0;
  padding: 0;
  filter:drop-shadow(0 5px 10px rgba(0, 0, 0, 1));
  transition: filter 0.3s ease;
  transition: all 0.5s;
}

.about-profile-image img{
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 110px;
  object-fit:cover;
  transition: all 0.5s;
}

.about-profile-image img:hover{
  object-fit: cover;
 filter:drop-shadow(0 5px 10px rgba(0, 0, 0, 1));
  transition: filter 0.3s ease;
  transition: all 0.5s;
}

.about-name{
  position: relative;
  color: white;
  letter-spacing: 30px;
  transform: translateX(120px) translateY(150px);
  font-size: 30px;
}

.about-title{
  position: relative;
  color: white;
  letter-spacing: 10px;
  transform: translateY(140px) translateX(105px);
  font-size: 15px;
}

.about-info-item{
  color: white;
  position: relative;
  letter-spacing: 8px;
  transform: translateY(400px) translateX(60px);
  margin: 10px;
}

.about-info-item span{
  font-size: 17px;
}

.about-info-item .email{
  letter-spacing: 4.4px;
}

.about-info-item .konum{
  letter-spacing: 9.9px;
}

.about-year{
  position: relative;
  color: #1e8eda;
  font-size:50px;
  letter-spacing: 20px;
  transform: translateX(35%) translateY(100px);
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.about-content-section{
  color: rgb(0, 0, 0);
  transform: translateX(90%) translateY(150px);
  position: relative;
  width: 600px;
  height: 700px;
  font-size: 20px;

}

.about-section-title{
  position: relative;
  transform: translateX(100px) translateY(-50px); 
  letter-spacing: 10px;
}

.about-intro{
  width: 700px;
  letter-spacing: 2px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.about-description{
  width: 700px;
  letter-spacing: 2px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.about-experience-section{
  position: relative;
  transform: translateX(300px) translateY(-215px);
}

.about-skills-section .about-sub-title{
  letter-spacing: 3px;
}

.about-experience-section .about-sub-title{
  letter-spacing: 5px;
}

.about-cta-section{
  position: relative;
  transform: translateY(-360px) translateX(-300px);
}

.about-cta-btn {
  margin: 5px;
  width: 200px;
  height: 40px;
  background: none;
  border: 2px solid rgb(8, 40, 70);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-cta-btn i {
  font-size: 20px;
  transform: translateX(10px) translateY(2px);
  transition: transform 0.5s;
}

.about-cta-btn:hover i {
  transform: rotate(60deg);
}

.about-cv-btn {
  margin: 5px;
  width: 200px;
  height: 40px;
  background: none;
  border: 2px solid rgb(8, 40, 70);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-cv-btn i {
  font-size: 20px;
  transform: translateX(10px) translateY(2px) rotate(0deg);
  transition: all 0.9s;
}

.about-cv-btn:hover i {
   transform: translateX(10px) translateY(2px) rotate(360deg);
}

.about-left-section h2{
  transform: translateX(10px);
  font-size: 22px;
  letter-spacing: 8px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
  
}
.about-left-section h3{
  transform: translateX(10px);
  font-size: 20px;
  letter-spacing: 8px;
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sosyal-medya-about a{
  position: absolute;
  color: white;
  display: block;
}

.insta2{
  font-size: 50px;
  position: relative;
  transform: translateY(250px) translateX(60px);
  transition: all 0.5;
}

.insta2 i{
  transition: all 0.5s;
}

.insta2:hover i{
  transform:rotate(360deg);
}

.fac2{
  font-size: 50px;
  position: relative;
  transform: translateY(250px) translateX(140px);
  transition: all 0.5;
}

.fac2 i{
  transition: all 0.5s;
}

.fac2:hover i{
  transform:rotate(360deg);
}

.x2{
  font-size: 50px;
  position: relative;
  transform: translateY(250px) translateX(220px);
  transition: all 0.5;
}

.x2 i{
  transition: all 0.5s;
}

.x2:hover i{
  transform:rotate(360deg);
}


.tiktok2{
  font-size: 50px;
  position: relative;
  transform: translateY(250px) translateX(300px);
  transition: all 0.5;
}

.tiktok2 i{
  transition: all 0.5s;
}

.tiktok2:hover i{
  transform:rotate(360deg);
}


/* Video thumbnail stilleri */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail-container:hover img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-thumbnail-container:hover .video-play-overlay {
    background: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay i {
    color: white;
    font-size: 20px;
    margin-left: 3px;
    pointer-events: none;
}

/* Video oynatma kontrolü için */
.gallery-item video {
    transition: opacity 0.3s ease;
}

.gallery-item video:hover {
    opacity: 0.9;
}

.gallery-item video.playing {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.gallery-item video.paused {
    opacity: 0.7;
}

/* Video oynatma durumu göstergesi */
.video-status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-status-indicator.hidden {
    opacity: 0;
}

/* Responsive video control */
@media (max-width: 768px) {
    .video-play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .video-play-overlay i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .video-play-overlay {
        width: 45px;
        height: 45px;
    }
    
    .video-play-overlay i {
        font-size: 14px;
    }
}

/* SlideIn animasyonu */
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Touch cihazlar için özel ayarlar */
@media (hover: none) and (pointer: coarse) {
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  
  .video-thumbnail-container:hover img {
    transform: none;
  }
  
  .video-thumbnail-container:hover .video-play-overlay {
    transform: translate(-50%, -50%);
  }
}

/* Galeri öğeleri için dokunmatik cihaz optimizasyonu */
@media (max-width: 768px) {
  .gallery-item {
    position: relative;
  }
  
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  }
  
  .gallery-overlay h3,
  .gallery-overlay p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  }
}

@media (max-width:768px){
.home{
  display: none;
}

.home-mobile{
  display: block;
  width: 100%;
  height: 100vh;
  background-color: #d9d9da;
}

.about-section{
  display: block;
}

.gallery-section{
  display: block;
  padding: 0;
}

/* Galeri mobile özel ayarları */
.gallery-container {
  max-width: 100%;
  padding: 0;
}

.gallery-grid {
  grid-template-columns: 1fr !important;
  gap: 15px;
  padding: 0;
  margin-bottom: 25px;
}

.gallery-item {
  width: 85%;
  height: 300px;
  margin: 0 auto;
}

.nav{
  background-color: #062031;
  width: 100%;
  height: 100vh;
  position: fixed;
  flex-direction: column;  
  justify-content: center; 
  align-items: center;     
}

.up{
  display: none;
}
}

/* Mobile nav açıkken gallery filter'ı gizle */
.nav.active ~ .gallery-section .gallery-filter {
  display: none !important;
}

/* Hamburger menü açıkken gallery filter'ı gizle */
body.menu-open .gallery-filter {
  display: none !important;
}

/* ABOUT SECTION MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .about-section {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: white;
    }
    
    .about-container {
        flex-direction: column !important;
        gap: 30px !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        margin: 0 !important;
    }
    
    .about-decorative {
        order: -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .about-year {
     position: relative;
     font-size: 40px;
     transform: translateY(50px);
     text-align: center;
    }
    
    .about-main-content {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    /* Profile Section Mobile */
    .about-profile-section {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        width: 100% !important;
        order: 1 !important;
        transform: none !important;
        position: static !important;
        float: none !important;
        left: auto !important;
        top: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        height: auto !important;
        display: flex !important;
    }
    
    .about-profile-image {
        width: 160px !important;
        height: 160px !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        transform: none !important;
        position: static !important;
        background-color: transparent !important;
        border: 3px solid #135283 !important;
        filter: none !important;
    }
    
    .about-profile-image img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        border: none !important;
        object-fit: cover !important;
    }
    
    .about-profile-info {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Profile section'ı yeniden düzenle */
    .about-profile-section {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        width: 100% !important;
        order: 1 !important;
        transform: none !important;
        position: static !important;
        float: none !important;
        left: auto !important;
        top: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        height: auto !important;
        display: flex !important;
    }
    
    /* Profile info elementlerinin sıralaması */
    .about-name {
        order: 1 !important;
    }
    
    .about-title {
        order: 2 !important;
    }
    
    .sosyal-medya-about {
        order: 3 !important;
    }
    
    .about-contact-info {
        order: 4 !important;
        margin-top: 30px !important;
    }
    
    .about-name {
        font-size: 2.2rem !important;
        margin-bottom: 10px !important;
        letter-spacing: 20px !important;
        transform: none !important;
        position: static !important;
        color: #135283 !important;
    }
    
    .about-title {
        font-size: 1.1rem !important;
        margin-bottom: 20px !important;
        color: #666 !important;
        letter-spacing: 20px !important;
        transform: none !important;
        position: static !important;
    }
    
    /* Social Media Mobile */
    .sosyal-medya-about {
        justify-content: center !important;
        gap: 15px !important;
        margin: 20px 0 !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .sosyal-medya-about > div {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #135283, #064031);
        transition: all 0.3s ease;
    }
    
    .sosyal-medya-about > div:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(19, 82, 131, 0.4);
    }
    
    .sosyal-medya-about i {
        color: white;
        font-size: 1.2rem;
    }
    
    /* Social Media Individual Icons Mobile Fix */
    .insta2, .fac2, .x2, .tiktok2 {
        position: static !important;
        transform: none !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, #135283, #064031) !important;
        transition: all 0.3s ease !important;
    }
    
    .insta2 a, .fac2 a, .x2 a, .tiktok2 a {
        position: static !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
    }
    
    .insta2 i, .fac2 i, .x2 i, .tiktok2 i {
        color: white !important;
        font-size: 1.2rem !important;
        transition: all 0.3s ease !important;
    }
    
    /* Contact Info Mobile */
    .about-contact-info {

        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 40px !important;
        width: 100% !important;
        display: none !important;
        order: 10 !important;
        text-align: center !important;
    }
    
    .about-info-item {
      display: none;
        text-align: center !important;
        padding: 0 !important;
        background: rgba(19, 82, 131, 0.1) !important;
        border-radius: 20px !important;
        border: 15px solid transparent !important;
        background-clip: padding-box !important;
        transform:translateY(-200px) translateX(18%);
        position: relative;
        color: #333 !important;
        margin: 5px 0 !important;
        max-width: 300px !important;
        width: auto !important;
        box-sizing: border-box !important;
        min-height: 40px !important;
        line-height: 40px !important;
    }
    
    .about-info-item span {
      display: none;
        font-size: 0.9rem !important;
        color: #333 !important;
        letter-spacing: 1px !important;
        font-weight: 500 !important;
    }
    
    /* Content Section Mobile */
    .about-content-section {
        order: 2 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        position: static !important;
        height: auto !important;
        font-size: 16px !important;
    }
    
    .about-text {
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    .about-section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
        letter-spacing: 3px !important;
        color: #135283 !important;
        transform: none !important;
        position: static !important;
    }
    
    .about-intro,
    .about-description {
      position: relative;
      transform: translateX(20px);
        font-size: 1rem !important;
        line-height: 1.6 !important;
        color: #555 !important;
        margin: 15px 10px !important;
        text-align: center !important;
        padding: 0 !important;
        width: calc(100% - 50px) !important;
        letter-spacing: 1px !important;
        font-family: inherit !important;
        box-sizing: border-box !important;
        text-indent: 10px !important;
    }
    
    /* Skills & Experience Mobile */
    .about-skills-experience {
        flex-direction: column !important;
        gap: 30px !important;
        display: flex !important;
    }
    
    .about-skills-section,
    .about-experience-section {
        width: 100% !important;
        text-align: center !important;
        transform: none !important;
        position: static !important;
    }
    
    .about-sub-title {
        font-size: 1.3rem !important;
        margin-bottom: 20px;
        letter-spacing: 2px;
        color: #135283;
    }
    
    .about-skills-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .about-skill {

        color: rgb(14, 12, 49);
        padding: 0 !important;
        margin: 5px !important;
        border-radius: 20px;
        border: 1px solid darkblue;
        background-clip: padding-box !important;
        font-size: 0.8rem;
        letter-spacing: 1px;
        font-weight: 500;
        transition: all 0.3s ease;
        min-height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 60% !important;
        box-sizing: border-box !important;
    }
    
    .about-skill:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(19, 82, 131, 0.3);
    }
    
    .about-experience-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .about-exp-item {
        background: rgba(19, 82, 131, 0.05);
        padding: 0 !important;
        margin: 10px 0 !important;
        border-radius: 15px;
        border: 15px solid transparent !important;
        border-left: 4px solid #135283 !important;
        background-clip: padding-box !important;
        text-align: left;
        position: relative;
        transform: translateX(25px);
        width: 90%;
        min-height: 150px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .about-exp-year {
        font-size: 0.9rem !important;
        color: #135283;
        font-weight: 600;
        margin: 10px;
        letter-spacing: 1px;
    }
    
    .about-exp-title {
        font-size: 1rem !important;
        color: #333;
        font-weight: 600;
        margin: 10px;
        letter-spacing: 1px;
    }
    
    .about-exp-desc {
        font-size: 0.85rem !important;
        color: #666;
        line-height: 1.4;
        margin: 10px;
    }
    
    /* CTA Buttons Mobile */
    .about-cta-section {
      position: relative;
      transform: translateY(-10px);
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        margin-top: 30px !important;
        width: 100% !important;
        position: static !important;
        display: flex !important;
    }
    
    .about-cta-btn,
    .about-cv-btn {
        width: calc(100% - 20px) !important;
        max-width: 260px !important;
        padding: 0 !important;
        margin: 10px !important;
        border: 1px solid darkblue !important;
        background-clip: padding-box !important;
        font-size: 0.9rem !important;
        letter-spacing: 2px !important;
        border-radius: 25px !important;
        color: rgb(14, 10, 65) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        height: 50px !important;
        min-height: 50px !important;
        box-sizing: border-box !important;
    }
    
    .about-cta-btn:hover,
    .about-cv-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(19, 82, 131, 0.4);
    }
    
    .about-cta-btn i,
    .about-cv-btn i {
        font-size: 1.1rem;
    }
    
    /* Decorative Lines Mobile - Hide or Simplify */
    .about-decorative-lines {
        display: none;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .about-section {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .about-year {
        font-size: 2rem !important;
        letter-spacing: 2px;
    }
    
    .about-name {
        font-size: 1.8rem !important;
        letter-spacing: 3px;
    }
    
    .about-section-title {
        font-size: 1.5rem !important;
        letter-spacing: 2px;
    }
    
    .about-intro,
    .about-description {
        font-size: 0.9rem !important;
        padding: 0 !important;
        margin: 10px 0 !important;
    }
    
    .about-profile-image {
        width: 100px;
        height: 100px;
    }
    
    .sosyal-medya-about > div {
        width: 40px;
        height: 40px;
    }
    
    .sosyal-medya-about i {
        font-size: 1rem;
    }
    
    .about-exp-item {
        padding: 0 !important;
        margin: 8px 0 !important;
        min-height: 70px !important;
    }
}

/* Mobile Modal Override - Final Fix */
@media screen and (max-width: 768px) {
  .gallery-modal.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
  }
  
  .gallery-modal.active .modal-content {
    position: relative !important;
    width: calc(100% - 30px) !important;
    max-width: 500px !important;
    margin: 15px auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    border-radius: 15px !important;
    max-height: calc(100vh - 30px) !important;
    overflow-y: auto !important;
  }
  
  .gallery-modal.active .modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 99999 !important;
    background: rgba(0,0,0,0.9) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    font-size: 28px !important;
    line-height: 1 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
  }
}

@media screen and (max-width: 480px) {
  .gallery-modal.active .modal-content {
    width: calc(100% - 20px) !important;
    max-width: 400px !important;
    margin: 10px auto !important;
    max-height: calc(100vh - 20px) !important;
  }
  
  .gallery-modal.active .modal-close {
    width: 45px !important;
    height: 45px !important;
    font-size: 24px !important;
    top: 12px !important;
    right: 12px !important;
  }
}
