/*
Theme Name: EK Link Share
Theme URI: https://www.emrekantarci.com.tr/
Author: Emre KANTARCI
Author URI: https://www.emrekantarci.com.tr/
Version: 1
Text Domain: eklinkshare
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Responsive */
@media (max-width: 576px) {
  .linktree-container {
      padding: 20px 15px;
  }
  .profile-image {
      width: 100px;
      height: 100px;
  }
}
.linktree-container {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.profile-image {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #e9ecef;
  transition: border-color 0.3s ease;
}
.link-button {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: white;
  background: #000000 !important;
}
.link-button:nth-child(odd) { background: radial-gradient(circle at 10% 20%, rgb(254, 158, 94) 0%, rgb(254, 94, 114) 94.3%); }
.link-button:nth-child(even) { background: radial-gradient(circle at 10% 20%, rgb(207, 37, 170) 0%, rgb(138, 12, 96) 94.3%); }
.link-button .default-text {
  transition: opacity 0.5s ease;
}
.link-button .hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.link-button:hover .default-text { opacity: 0; }
.link-button:hover .hover-text { opacity: 1; }

/* Footer */
.footer {
  margin-top: 30px;
  font-size: 14px;
  color: #6c757d;
}

/* Responsive */
@media (max-width: 576px) {
  .linktree-container {
      padding: 30px 20px;
  }
  .profile-image {
      width: 100px;
      height: 100px;
  }
}
/* =======================
 Dark Mode
======================= */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .linktree-container {
  background-color: #1e1e1e;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

body.dark-mode h1,
body.dark-mode p,
body.dark-mode .footer {
  color: #ffffff !important;
}

body.dark-mode .profile-image {
  border-color: #444;
}

body.dark-mode .link-button {
  color: #ffffff;
}

body.dark-mode .footer {
  color: #cccccc;
}
.dark-mode-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s ease;
}
body.dark-mode .dark-mode-toggle {
  color: #f8f9fa;
}
