/* ==========================================================================
   Bermuda Medya Ajansı — site stilleri
   Renk ve yazı tipi WordPress tema ayarlarından (BeTheme "betheme" seçenekleri)
   alınmıştır: tema rengi #87499e, başlık moru #5A2D80, metin #626262, Quicksand.
   ========================================================================== */
:root {
  --mor: #87499e;
  --mor-koyu: #5a2d80;
  --metin: #626262;
  --baslik: #444444;
  --cizgi: #ebebeb;
  --zemin-acik: #f7f7f7;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--metin);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--mor); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mor-koyu); }
h1, h2, h3, h4, h5, h6 { color: var(--baslik); font-weight: 600; line-height: 1.25; margin: 0 0 15px; }
h2 { font-size: 30px; }
h4 { font-size: 20px; }
p { margin: 0 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.spacer { display: block; }
.alignleft { float: left; margin: 0 14px 6px 0; }
.alignright { float: right; margin: 0 0 6px 14px; }
.aligncenter { display: block; margin: 0 auto; }

/* ---------------- Header ---------------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header-inner {
  max-width: 1640px; margin: 0 auto; padding: 25px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  transition: padding .3s;
}
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 189px; height: auto; display: block; }
.logo .logo-dark { display: none; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 12px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: #000000;
}
.main-nav > ul > li > a.active,
.main-nav > ul > li > a:hover { color: var(--mor); }
.sub-toggle { display: none; }
.sub-menu {
  list-style: none; margin: 0; padding: 10px 0; min-width: 260px;
  position: absolute; top: 100%; left: 10px;
  background: #f2f2f2; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 22px; color: #5f5f5f; font-size: 14px; font-weight: 600; }
.sub-menu a:hover { color: #2e2e2e; background: #e9e9e9; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; margin: 5px 0; background: var(--mor); border-radius: 2px; transition: .3s; }

/* Kayınca: beyaz zemin + mor logo (temadaki "sticky header: white") */
.site-header.is-sticky { position: fixed; background: #ffffff; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); animation: inmek .35s ease; }
.site-header.is-sticky .header-inner { padding-top: 10px; padding-bottom: 10px; }
.site-header.is-sticky .logo-light { display: none; }
.site-header.is-sticky .logo-dark { display: block; width: 150px; }
@keyframes inmek { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------------- Hero ---------------- */
.hero-slider { position: relative; height: min(62.5vw, 100vh); min-height: 520px; overflow: hidden; background: #2b1838; }
.hero-slider .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; display: flex; align-items: center;
}
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.slide-content { padding: 6% 0 0 5%; max-width: 980px; color: #ffffff; }
.slide-title { color: #ffffff; font-size: clamp(36px, 4.2vw, 80px); font-weight: 700; line-height: 1.1; margin: 0; }
.slide-dash { display: block; width: 46px; height: 4px; background: #ffffff; margin: 26px 0 22px 2px; }
.slide-content p { font-size: clamp(15px, 1.05vw, 20px); line-height: 1.6; margin: 0; }
.slide.active .slide-title { animation: fadeInLeft 1s both; }
.slide.active .slide-content p, .slide.active .slide-dash { animation: fadeInUp 1s .3s both; }
.slider-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #ffffff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button.active { background: #ffffff; }

.page-banner { line-height: 0; background: #f4eef7; }
.page-banner img { width: 100%; height: auto; display: block; min-height: 180px; object-fit: cover; }

/* ---------------- Builder bölümleri ---------------- */
.mcb-section { position: relative; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; align-items: flex-start; }
.wrap { display: flex; flex-wrap: wrap; align-content: flex-start; }
.col { padding: 0 1%; margin-bottom: 30px; }
.wrap > .col.w-1-1 { width: 100%; }
.w-1-1 { width: 100%; } .w-1-2 { width: 50%; } .w-1-3 { width: 33.3333%; } .w-2-3 { width: 66.6666%; }
.w-1-4 { width: 25%; } .w-3-4 { width: 75%; } .w-1-5 { width: 20%; } .w-2-5 { width: 40%; }
.w-3-5 { width: 60%; } .w-4-5 { width: 80%; } .w-1-6 { width: 16.6666%; } .w-5-6 { width: 83.3333%; }
.col > .spacer:last-child { margin-bottom: -30px; }
.wrap > .col:has(> .spacer) { margin-bottom: 0; }

.img-frame { display: block; }
.img-frame.align-center { text-align: center; }
.img-frame img { display: inline-block; }
.img-frame a { display: inline-block; transition: opacity .2s, transform .3s; }
.img-frame a:hover { opacity: .92; }

.line-sep { border: 0; border-top: 1px solid #ececec; margin: 0; }

.fancy-heading { text-align: center; max-width: 1000px; margin: 0 auto; }
.fancy-heading .title { font-size: 30px; font-weight: 400; color: var(--mor-koyu); margin-bottom: 6px; }
.fancy-heading .inside { color: var(--mor-koyu); }
.fancy-heading.fh-line .title::after { content: ""; display: none; }

.icon-box { text-align: center; padding: 10px 25px 20px; height: 100%; }
.icon-box.has-border { border-right: 1px solid #ececec; }
.icon-box .icon { margin-bottom: 18px; min-height: 91px; }
.icon-box .title { font-size: 19px; color: var(--baslik); margin-bottom: 12px; }
.icon-box .desc { font-size: 14px; line-height: 1.7; }

.hover-box { position: relative; text-align: center; line-height: 0; }
.hover-box img { width: 100%; transition: opacity .35s; }
.hover-box .hidden { position: absolute; inset: 0; opacity: 0; }
.hover-box:hover .hidden { opacity: 1; }
.hover-box:hover .visible { opacity: 0; }

/* Hizmet sayfaları: özellik kutuları */
.page-content h2 { color: var(--baslik); }
.page-content strong img.alignleft { margin-top: 2px; }

/* ---------------- Blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.blog-card { background: #ffffff; box-shadow: 0 4px 24px rgba(90, 45, 128, .08); display: flex; flex-direction: column; }
.blog-thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #f4eef7; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-body time { font-size: 13px; color: #a8a8a8; margin-bottom: 8px; }
.blog-body h3 { font-size: 19px; margin-bottom: 10px; }
.blog-body h3 a { color: var(--baslik); }
.blog-body h3 a:hover { color: var(--mor); }
.blog-body p { flex: 1; }
.read-more { font-weight: 700; color: var(--mor); }

.blog-single { gap: 50px; flex-wrap: nowrap; }
.blog-sidebar { flex: 0 0 300px; }
.blog-sidebar h4 { font-size: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--mor); }
.recent-posts { list-style: none; margin: 0; padding: 0; }
.recent-posts li { border-bottom: 1px solid var(--cizgi); }
.recent-posts a { display: flex; gap: 12px; padding: 12px 0; color: var(--metin); }
.recent-posts img { width: 72px; height: 54px; object-fit: cover; flex: 0 0 72px; }
.recent-posts strong { display: block; font-size: 14px; line-height: 1.35; color: var(--baslik); }
.recent-posts a:hover strong { color: var(--mor); }
.recent-posts time { font-size: 12px; color: #a8a8a8; }
.blog-article { flex: 1; min-width: 0; }
.blog-article h1 { font-size: 34px; color: var(--mor-koyu); margin-bottom: 8px; }
.blog-article > time { display: block; color: #a8a8a8; margin-bottom: 20px; }
.blog-cover { margin-bottom: 28px; }
.blog-cover img { width: 100%; }
.blog-content { font-size: 16px; line-height: 1.8; }
.blog-content img { margin: 10px 0; }
.blog-back { margin-top: 30px; font-weight: 700; }

/* ---------------- Form ---------------- */
.teklif-form fieldset { background: #f0f0f0; border: 1px solid #e2e2e2; margin: 0 0 18px; padding: 18px 20px 20px; }
.teklif-form legend { float: left; width: 100%; font-size: 20px; color: var(--mor); padding: 0 0 10px; margin-bottom: 14px; border-bottom: 1px solid #d9d9d9; }
.teklif-form .form-row { display: flex; gap: 16px; clear: both; }
.teklif-form .form-row .form-group { flex: 1; }
.teklif-form .form-group { margin-bottom: 14px; clear: both; }
.teklif-form label { display: block; font-size: 13px; font-weight: 700; color: #444444; margin-bottom: 4px; }
.teklif-form .req { color: #c00; }
.teklif-form input, .teklif-form textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--cizgi); background: #ffffff;
  font: inherit; color: var(--metin); outline: none;
}
.teklif-form input:focus, .teklif-form textarea:focus { border-color: #d5e5ee; background: #e9f5fc; color: #1982c2; }
.teklif-form .captcha { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.teklif-form .captcha label { width: 100%; }
.teklif-form .captcha input { max-width: 120px; }
.teklif-form .yenile { width: 38px; height: 38px; border: 1px solid var(--cizgi); background: #ffffff; color: var(--mor); cursor: pointer; font-size: 18px; }
.btn-stroke { background: transparent; border: 2px solid var(--mor); color: var(--mor); padding: 9px 26px; font: inherit; font-weight: 700; cursor: pointer; transition: .2s; }
.btn-stroke:hover { background: var(--mor); color: #ffffff; }
.form-msg { margin-top: 12px; font-weight: 600; color: var(--mor); }
.form-msg.is-error { color: #b42318; }

/* İletişim haritası */
.page-content iframe { width: 100%; display: block; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #5a2d80 url(../uploads/2019/01/bermuda-footer.png) no-repeat center top;
  background-size: cover; color: #ffffff; text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 110px 20px 30px; }
.footer-logo img { width: 189px; }
.footer-address { margin: 18px 0 6px; }
.footer-contact a { color: #ffffff; }
.footer-contact span { margin: 0 10px; opacity: .6; }
.footer-social { list-style: none; margin: 30px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.footer-social a { color: #ffffff; display: inline-flex; align-items: center; gap: 10px; }
.footer-social a:hover { color: #e6d3f0; }
.footer-copy { padding: 22px 20px 28px; font-size: 14px; color: #efefef; }

/* ---------------- Duyarlı düzen ---------------- */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; z-index: 60;
    background: #ffffff; padding: 90px 0 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
  }
  .nav-open .main-nav { transform: none; }
  .nav-open .nav-toggle { position: fixed; right: 20px; top: 20px; z-index: 70; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li { border-bottom: 1px solid #f0f0f0; }
  .main-nav > ul > li > a { padding: 14px 26px; }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: block; width: 50px; border: 0; background: transparent; cursor: pointer; position: relative; }
  .sub-toggle::before { content: "+"; font-size: 22px; color: var(--mor); }
  .sub-open .sub-toggle::before { content: "–"; }
  .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 10px; }
  .sub-open .sub-menu { display: block; }
  .header-inner { padding: 18px 20px; }
}
@media (max-width: 991px) {
  .w-1-2, .w-1-3, .w-2-3, .w-1-4, .w-3-4, .w-2-5, .w-3-5, .w-4-5 { width: 100%; }
  .wrap > .col.w-1-3 { width: 50%; }
  .w-1-5 { width: 33.3333%; }
  .icon-box.has-border { border-right: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-single { flex-direction: column-reverse; }
  .blog-sidebar { flex: none; width: 100%; }
  .page-content div[style*="margin-left"] { margin-left: 0 !important; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .wrap > .col.w-1-3, .wrap > .col.w-1-2 { width: 100%; }
  .w-1-5 { width: 50%; }
  .blog-grid { grid-template-columns: 1fr; }
  .teklif-form .form-row { flex-direction: column; gap: 0; }
  .page-content span[style*="font-size:48px"] { font-size: 32px !important; }
  .page-content span[style*="font-size:32px"] { font-size: 24px !important; }
  .hero-slider { min-height: 460px; }
  .logo img { width: 140px; }
}
