/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/* ===== Profil Kartı (3DB) ===== */
#profile-card-3db {
  --brand-primary: #023A59; /* lacivert */
  --brand-accent: #E69835;  /* turuncu */
  --text: #23313a;
  --muted: #6b7a86;
  --card-bg: #ffffff;
  --ring: rgba(2,58,89,0.15);

  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1200px 700px at 50% -100px, rgba(230,152,53,0.18), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
}

#profile-card-3db .pc3-banner{
  width:100%;
  max-width:560px;
  height:84px;
  background-image: linear-gradient(135deg, var(--brand-primary), #034a72 60%);
  position:relative;
  border-radius:16px 16px 0 0;
}
#profile-card-3db .pc3-banner::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px; height:6px;
  background: var(--brand-accent);
  border-radius:0 0 16px 16px;
}

#profile-card-3db .pc3-content{
  width:100%;
  max-width:560px;
  background: var(--card-bg);
  border: 1px solid rgba(2,58,89,0.08);
  border-top:none;
  border-radius:0 0 16px 16px;
  box-shadow: 0 10px 30px rgba(2,58,89,0.12), 0 2px 10px rgba(0,0,0,0.04);
  padding:80px 28px 28px;
  position:relative;
}

/* WP bazı temalarda img max-width uygular; avatarı sabitle */
#profile-card-3db .pc3-avatar-wrap{
  position:absolute; top:-56px; left:50%; transform:translateX(-50%);
  width:112px; height:112px; border-radius:999px;
  background:#fff; padding:6px; box-shadow:0 6px 20px var(--ring);
}
#profile-card-3db .pc3-avatar{
  width:100% !important; height:100% !important;
  border-radius:999px; object-fit:cover; display:block;
  background: linear-gradient(180deg, #e8edf2, #f6f8fb);
}

#profile-card-3db .pc3-name{
  text-align:center; font-weight:800; font-size:1.8rem; letter-spacing:.2px;
  color:#0f2430; margin:0;
}
#profile-card-3db .pc3-title{
  text-align:center; color: var(--muted); margin-top:6px; font-size:1rem;
}

#profile-card-3db .pc3-socials{
  margin-top:18px; display:flex; justify-content:center; gap:14px; flex-direction:column; align-items:center;
}

/* Butonlar ve ikonlar — ikon görünmüyorsa sebep tema resetidir; burada zorla veriyoruz */
#profile-card-3db .pc3-icon-btn{
  width:44px; height:44px; display:grid; place-items:center; border-radius:12px;
  background:#fff; border:1px solid rgba(2,58,89,0.12); text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  color: var(--brand-primary); /* SVG 'currentColor' ile boyanır */
}
#profile-card-3db .pc3-icon-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(2,58,89,0.12);
  border-color: rgba(2,58,89,0.22);
}
#profile-card-3db .pc3-icon{
  display:block !important;
  width:22px !important; height:22px !important;
  fill: currentColor !important;
}

#profile-card-3db .pc3-actions{
  margin-top:22px; display:flex; justify-content:center;
}
#profile-card-3db .pc3-btn{
  display:inline-block; padding:12px 18px; border-radius:999px;
  background: linear-gradient(135deg, var(--brand-accent), #f2b060);
  color:#082133; font-weight:700; letter-spacing:.2px; font-size:1rem; text-decoration:none;
  box-shadow:0 6px 20px rgba(230,152,53,0.28), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
#profile-card-3db .pc3-btn:hover{ transform: translateY(-1px); box-shadow:0 10px 26px rgba(230,152,53,0.35); }

@media (prefers-color-scheme: dark){
  #profile-card-3db { background: linear-gradient(180deg,#0d141a,#111a22); }
  #profile-card-3db .pc3-content{ background:#0f1820; border-color:rgba(255,255,255,0.06); }
  #profile-card-3db .pc3-name{ color:#eaf2f9; }
  #profile-card-3db .pc3-title{ color:#9db0bd; }
  #profile-card-3db .pc3-icon-btn{ background:#0f1820; border-color:rgba(255,255,255,0.08); color:#cfe3f3; }
}
