/*
Theme Name: İzmir Dijital Tasarım
Theme URI: https://izmirdijitalpazarlama.com
Author: Antigravity AI
Author URI: https://izmirdijitalpazarlama.com
Description: İzmir Dijital Pazarlama için özel kurumsal ajans teması. Dönüşüm ve hız odaklı.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: izmirdijital
*/

/* Reset & Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e3a8a;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-main); color: var(--text-dark); background-color: var(--bg-white); line-height: 1.6; overflow-x: hidden; }

a { text-decoration: none; color: var(--primary-color); transition: all 0.3s ease; }
a:hover { color: var(--secondary-color); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 9999; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; max-width: 1200px; margin: 0 auto; position: relative; }
.site-branding { flex: 1; display: flex; align-items: center; gap: 12px; }
.site-logo { font-size: 24px; font-weight: 800; color: #1e3a8a; text-decoration: none; white-space: nowrap; }

.main-navigation { flex: 2; display: flex; justify-content: center; }
.main-navigation ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation a { color: #4b5563; font-weight: 600; font-size: 16px; padding: 10px 0; }
.main-navigation a:hover { color: #f55000; }

.main-navigation .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 8px; width: 280px; padding: 10px 0; flex-direction: column; z-index: 1000; border: 1px solid rgba(0,0,0,0.05); }
.main-navigation .menu-item-has-children:hover .sub-menu { display: flex; }
.main-navigation .sub-menu a { padding: 10px 20px; font-size: 14px; font-weight: 500; border-bottom: 1px solid #f3f4f6; }
.main-navigation .sub-menu a:hover { background: #f9fafb; color: #f55000; padding-left: 25px; }

.header-cta { flex: 1; display: flex; justify-content: flex-end; }
.header-cta .btn { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff !important; padding: 12px 30px; border-radius: 50px; font-weight: bold; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); white-space: nowrap; }

.mobile-menu-toggle { display: none; font-size: 32px; background: none; border: none; cursor: pointer; color: #1f2937; margin-left: auto; }

@media (max-width: 1024px) {
    .header-cta { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
    .main-navigation.show-mobile { display: block !important; }
    .main-navigation ul { flex-direction: column; gap: 0; }
    .main-navigation li { width: 100%; border-bottom: 1px solid #f3f4f6; }
    .main-navigation .sub-menu { position: static; width: 100%; box-shadow: none; border: none; background: #f9fafb; }
    .main-navigation .sub-menu.show-submenu { display: flex !important; }
}

/* PREMIUM UI OVERHAUL */
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.hero-section { background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%) !important; padding: 100px 20px !important; text-align: center; }
.hero-section h1 { 
    font-size: clamp(38px, 6vw, 68px) !important; 
    background: linear-gradient(90deg, #1f2937, #2563eb); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 900 !important;
}

.trust-section { background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important; border-radius: 16px; margin: -60px auto 60px auto !important; max-width: 1000px; width: 90%; padding: 40px !important; position: relative; z-index: 10; color: #fff; }
.trust-section h3 { 
    background: linear-gradient(135deg, #60a5fa, #3b82f6); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 16px; padding: 35px 25px; transition: all 0.4s ease; text-align: center; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.service-card .btn-outline { display: inline-block; border: 2px solid #3b82f6; color: #3b82f6 !important; padding: 10px 25px; border-radius: 50px; font-weight: 700; margin-top: 20px; }
.service-card .btn-outline:hover { background: #3b82f6; color: #fff !important; }

/* MOBILE MIRRORING */
@media (max-width: 768px) {
    .trust-section { width: 95%; margin-top: -40px !important; padding: 30px 20px !important; }
    .hero-section { padding-top: 60px !important; }
    .site-logo { font-size: 18px; }
}

/* FOOTER */
.site-footer { background: #fff; border-top: 1px solid #e5e7eb; padding: 60px 0 20px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1 1 200px; }
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 10px; position: relative; padding-left: 20px; }
.footer-links-list li::before { content: '›'; position: absolute; left: 0; color: #10b981; font-size: 18px; font-weight: bold; }
.footer-links-list a { color: #4b5563; font-size: 14px; }
.footer-links-list a:hover { color: #2563eb; }

@media (max-width: 640px) {
    .footer-col { flex: 1 1 100%; text-align: left; }
    .footer-inner { flex-direction: column; }
}

/* 💎 ELİT BLOG GÖRSEL & LAYOUT OPTİMİZASYONU */
.entry-content img, 
.wp-block-image img,
.post-content img {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-bottom: 30px !important;
    margin-top: 15px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.entry-content img:hover,
.wp-block-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}

/* Masaüstü için görsel boyut dengeleme */
@media (min-width: 1024px) {
    .entry-content img.aligncenter,
    .wp-block-image.aligncenter img {
        max-width: 90% !important;
    }
}

/* Mobil için tam genişlik ve odaklanma */
@media (max-width: 768px) {
    .entry-content img,
    .wp-block-image img {
        border-radius: 8px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
}

/* Blog CTA Extra Style */
.blog-extra-cta a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-extra-cta a:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}





/* Hakkimizda sayfasi - v2 premium layout */
body.page-id-642 {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(800px 360px at 100% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #f8fafc 46%, #ffffff 100%);
}

body.page-id-642 .site-main {
  padding: 34px 18px 90px;
}

body.page-id-642 .site-main > .container {
  max-width: 1220px !important;
  padding: 0 20px !important;
}

body.page-id-642 .entry-header {
  position: relative;
  max-width: 1100px;
  margin: 0 auto -34px;
  padding: 34px 28px 72px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 28%),
    linear-gradient(135deg, #1e3a8a 0%, #2563eb 58%, #0ea5e9 100%);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.20);
  text-align: center;
}

body.page-id-642 .entry-header::before {
  content: "IZMIR MERKEZLI BUTIK AJANS";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.page-id-642 .entry-title {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(34px, 5.2vw, 58px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

body.page-id-642 .entry-content {
  position: relative;
  z-index: 2;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 44px 38px 46px !important;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

body.page-id-642 .entry-content::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 70%);
  pointer-events: none;
}

body.page-id-642 .about-page {
  position: relative;
  z-index: 1;
}

body.page-id-642 .about-page > p:first-of-type {
  font-size: 21px;
  line-height: 1.8;
  color: #0f172a;
  margin-bottom: 20px;
}

body.page-id-642 .about-page > p:nth-of-type(2) {
  font-size: 18px;
  line-height: 1.82;
  color: #334155;
  margin-bottom: 12px;
}

body.page-id-642 .about-page h2 {
  position: relative;
  margin: 46px 0 18px;
  padding-top: 18px;
  color: #0f172a;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

body.page-id-642 .about-page h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
}

body.page-id-642 .about-page h3 {
  margin: 24px 0 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  color: #0f172a;
  font-size: 23px;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.06);
}

body.page-id-642 .about-page h3 + p {
  margin-top: 10px;
  padding-left: 18px;
  border-left: 3px solid rgba(37, 99, 235, 0.18);
}

body.page-id-642 .about-page p {
  color: #334155;
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 18px;
}

body.page-id-642 .about-page ul {
  list-style: none;
  margin: 16px 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-id-642 .about-page li {
  position: relative;
  min-height: 100%;
  padding: 16px 18px 16px 52px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  color: #334155;
  line-height: 1.72;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body.page-id-642 .about-page li::before {
  content: "✓";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

body.page-id-642 .about-page strong {
  color: #0f172a;
}

body.page-id-642 .about-page a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

body.page-id-642 .about-page a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

body.page-id-642 .about-cta {
  margin-top: 40px;
  padding: 30px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #2563eb 100%);
  box-shadow: 0 24px 55px rgba(30, 58, 138, 0.20);
}

body.page-id-642 .about-cta p {
  margin-bottom: 14px;
  color: #dbeafe;
}

body.page-id-642 .about-cta p:last-child {
  margin-bottom: 0;
}

body.page-id-642 .about-cta strong {
  color: #fff;
}

body.page-id-642 .about-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #052e16;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.24);
}

body.page-id-642 .about-cta a:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px) {
  body.page-id-642 .entry-header {
    margin-bottom: -20px;
    padding: 24px 18px 46px;
    border-radius: 24px;
  }

  body.page-id-642 .entry-content {
    padding: 28px 20px 32px !important;
    border-radius: 24px;
  }

  body.page-id-642 .about-page p,
  body.page-id-642 .about-page > p:first-of-type,
  body.page-id-642 .about-page > p:nth-of-type(2) {
    font-size: 17px;
  }

  body.page-id-642 .about-page h3 {
    font-size: 20px;
  }

  body.page-id-642 .about-page ul {
    grid-template-columns: 1fr;
  }
}
