@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-image:  linear-gradient(to right top, #850c0c, #670a16, #470d17, #270d12, #000000);;
  background-repeat: no-repeat;      
  background-size: cover;            
  background-position: center;       
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
   height: auto;  
   min-height: 100vh; /* ekran yüksekliğinden küçük olmasın */
  overflow-y: auto; 
  padding: 0 70px;
    transition: opacity 0.5s ease;
}

body.fade-out {
  opacity: 0;
}



.profile-image img {       
  width: 70%;             
  height: 90vh;            
  border-radius: 20px;
  object-fit: cover;      
  background-color: #000;
  box-shadow:
    0 0 20px rgba(255, 204, 0, 0.15), 
    0 0 40px rgba(186, 24, 27, 0.5),  
    0 0 80px rgba(186, 24, 27, 0.3);  
  transition: all 0.4s ease-in-out; 
}


.profile-image img:hover {
  box-shadow:
    0 0 25px rgba(255, 204, 0, 0.25),
    0 0 60px rgba(186, 24, 27, 0.7),
    0 0 100px rgba(186, 24, 27, 0.5);
  transform: scale(1.02); 
}

.icon-email {
  width: 32px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  filter: invert(17%) sepia(96%) saturate(7485%) hue-rotate(356deg) brightness(97%) contrast(101%);
}

.name-container {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 10px;
}

.nickname-line {
  display: flex;
  align-items: center; 
  gap: 15px; 
}

.line {
  width: 30px; 
  height: 4px; 
  background-color: #ba181b; 
  border-radius: 2px;
}
.profile-content {
  max-width: 600px;
  margin-right: 200px;
}

.nickname {
  font-size: 62px;
  color: #ba181b;
  font-weight: 700;
  letter-spacing: 1px;
}

.fullname {
  font-size: 62px;
  font-weight: 800;
  margin: 0;
  margin-left: 50px; 
}
.description {
    margin-top: 20px;
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 30px;
}

.follow-btn {
  background-color: #a4161a;
  border: none;
  padding: 14px 40px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.follow-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: 0;
}

.follow-btn:hover::before {
  left: 120%;
}
.follow-btn a{
  color: #fff;
  text-decoration: none;
}
.follow-btn:hover {
  background-color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(230, 184, 0, 0.6);
  animation: bounce 0.4s ease;
}


@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.top-header {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 10;
}

.top-header .logo {
  font-size: 24px;
  font-weight: 800;
  color: #ffcc00;
  text-decoration: none;
}


.status-btn {
  margin-bottom: 20px;      
  font-size: 1.5rem;
  padding: 8px 24px;
  border-radius: 20px;
  border: 0.5px solid currentColor;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px; 
  justify-content: center; 
  position: relative;
  transition: transform 0.3s, color 0.3s, box-shadow 0.3s;
}


.status-btn::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: box-shadow 0.3s, background-color 0.3s;
}


.status-btn.online {
  color: #fff;
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.3);
}
.status-btn.online::before {
  background-color: #28a745; 
}


.status-btn.offline {
  color: #fff;
  border-color: #ba181b;
  background: rgba(186, 24, 27, 0.3);
}
.status-btn.offline::before {
  background-color: #ba181b; 
}


.status-btn.online:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #28a745, 0 0 30px rgba(40,167,69,0.5);
}
.status-btn.online:hover::before {
  box-shadow: 0 0 8px #28a745, 0 0 15px rgba(40,167,69,0.7);
}

.status-btn.offline:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ba181b, 0 0 30px rgba(186,24,27,0.5);
}
.status-btn.offline:hover::before {
  box-shadow: 0 0 8px #ba181b, 0 0 15px rgba(186,24,27,0.7);
}



.status-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
/* Dotlar */
.desktop-side-dots {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
}

.desktop-side-dots .dot {
  position: relative;
  width: 50px;
  height: 50px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Aktif dot rengi */
.desktop-side-dots .dot.active,
.desktop-side-dots .dot:hover {
  background-color: #a4161a;
}

.desktop-side-dots .dot img {
  width: 24px;
  height: 24px;
}

/* Tooltip */
.desktop-side-dots .dot::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 15%; 
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
  background-color: #a4161a;
  color: #000;
  font-weight: bold;
  padding: 16px 25px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.desktop-side-dots .dot:hover::after {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}


.overlay-menu{display: none;}

@media (min-width:0px) and (max-width: 767px) {

  body {
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    height: auto;
  }

.side-dots {
  position: fixed;
  top: 25px;
  right: 25px;
  flex-direction: column;
  gap: 5px;
  z-index: 100;
  cursor: pointer;
  display: flex; 
}

.dot {
  width: 25px;
  height: 3px;
  background-color: #a4161a;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #ffcc00;
}


.overlay-menu {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background-color: rgba(0,0,0,0.95);
  display:none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index:9999;
}
.overlay-menu.active { display:flex; }

.overlay-nav {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 30px; 
}

.overlay-nav a {
  color:#fff;
  text-decoration:none;
  font-size:1.5rem;
  transition: color 0.3s;
}
.overlay-nav a:hover { color:#ba181b; }
.overlay-nav a.active { color:#ba181b; font-weight:bold; }

.close-overlay {
  position:absolute;
  top:20px;
  right:30px;
  font-size:3rem;
  color:#fff;
  cursor:pointer;
}
  .profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 70px;
    margin-left:10px;
    margin-bottom: 20px;
    object-fit: cover;
  }

  .profile-content {
    margin-right: 0;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
  }

  .nickname {
    font-size: 32px;
    margin-left: 15px; 
  }

  .fullname {
    font-size: 32px;
    margin: 0;
    margin-left: 0; 
  }

  .line {
    display: none; 
  }

  .description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .follow-btn {
    padding: 10px 30px;
    font-size: 14px;
  }

  .status-btn {
    font-size: 1.2rem;
    padding: 6px 20px;
    gap: 8px; 
  }

  .desktop-side-dots { display:none; }
}




@media (min-width: 768px) and (max-width: 1444px) {

  body {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: auto;
  }
  .side-dots { display:none; } 
  .profile-image img {
    width: 80%;       
    height: 90vh;
    border-radius: 20px;
    object-fit: cover;
  }

  .profile-content {
    max-width: 50%;   
    margin-right: 0;
    display: flex;
    margin-right: 50px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .nickname-line {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .nickname {
    font-size: 48px;
    margin-left: 0;
  }

  .fullname {
    font-size: 48px;
    margin-left: 0;
  }

  .line {
    width: 25px;
    height: 3px;
  }

  .description {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .follow-btn {
    padding: 12px 35px;
    font-size: 16px;
  }

  .status-btn {
    font-size: 1.3rem;
    padding: 6px 18px;
    gap: 8px;
  }

  .desktop-side-dots {
    right: 20px;
    gap: 15px;
  }
}
@media (min-width: 1445px) {
  body {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px; /* istediğin padding */
    height: auto;
  }
  
  .profile-image img {
    width: 70%;       /* maksimum genişlik */
    height: 90vh;       /* yükseklik korunsun */
  }

  .profile-content {
    max-width: 600px;   
    margin-right: 100px;
  }

  .desktop-side-dots {
    right: 30px;
    gap: 20px;
  }
  
  

}
