/* Sarpedon Global – Qwery temasının görünümünü taklit eden temel stiller */
:root {
  --bg: #F9F9F9;
  --bd: #DDDDDD;
  --text: #707376;
  --text-light: #A5A6AA;
  --dark: #1F242E;
  --link: #009adf;
  --link-hover: #0081bd;
  --input-bd: #E2E2E2;
  --font-body: "DM Sans", sans-serif;
  --font-head: "Kumbh Sans", sans-serif;
  --page-width: 1290px;
  --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.66em;
  letter-spacing: -0.16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color .3s; }
a:hover { color: var(--link-hover); }
p { margin: 0 0 1.57em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5em; margin: 0 0 1.57em; }
li { margin-bottom: .2em; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
td, th { border: 1px solid var(--bd); padding: .6em .9em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--dark);
  font-weight: 700;
  margin: 0 0 .5em;
}
h1 { font-size: 3.353em; line-height: 1em; letter-spacing: -1.3px; }
h2 { font-size: 2.765em; line-height: 1.021em; letter-spacing: -1px; }
h3 { font-size: 2.059em; line-height: 1.086em; letter-spacing: -.7px; }
h4 { font-size: 1.647em; line-height: 1.071em; letter-spacing: -.5px; }
h5 { font-size: 1.412em; line-height: 1.208em; letter-spacing: -.5px; }
h6 { font-size: 1.118em; line-height: 1.474em; letter-spacing: -.5px; }
.elementor-widget-text-editor h1, .elementor-widget-text-editor h2, .elementor-widget-text-editor h3,
.elementor-widget-text-editor h4, .elementor-widget-text-editor h5, .elementor-widget-text-editor h6 { margin-top: 1em; }
.elementor-widget-text-editor > .elementor-widget-container > *:first-child { margin-top: 0; }
.elementor-widget-text-editor ul { list-style: disc; }

.sg-container { max-width: var(--page-width); margin: 0 auto; padding: 0 30px; }
.sg-plain { padding-top: 60px; padding-bottom: 80px; }
.sg-page-title { text-align: center; margin-bottom: 1em; }
.sg-classic { color: var(--text); }
.sg-main { min-height: 50vh; }
.elementor-section.elementor-section-boxed > .elementor-container { padding-left: 0; padding-right: 0; }

/* ---------- Buttons ---------- */
.sg-btn, .sc_button, input[type=submit], button.wpcf7-submit, .wpcf7-submit {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-size: 16px; line-height: 21px; font-weight: 700;
  color: #fff; background: var(--link); border: 0; border-radius: 0;
  padding: 1.1em 2.2em; cursor: pointer; transition: background .3s, color .3s;
}
.sg-btn:hover, .sc_button:hover, input[type=submit]:hover, .wpcf7-submit:hover { background: var(--dark); color: #fff; }
.sc_button_wrap { text-align: inherit; }
.sc_button .sc_button_icon, .sc_button .sc_button_text { display: inline-flex; }
.sc_align_center, .sc_button_wrap.sc_align_center { text-align: center; }

/* ---------- Header ---------- */
.sg-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(249, 249, 249, .97);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.sg-header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; max-width: 1440px; }
.sg-logo img { display: block; max-height: 51px; width: auto; }
.sg-nav { display: flex; align-items: center; gap: 6px; }
.sg-menu, .sg-sub { list-style: none; margin: 0; padding: 0; }
.sg-menu { display: flex; align-items: center; }
.sg-menu > li { position: relative; margin: 0; }
.sg-menu-link {
  display: block; cursor: pointer;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.5em;
  color: var(--dark); padding: 1.9em 1em; white-space: nowrap;
}
.sg-menu > li > .sg-menu-link { position: relative; }
.sg-menu > li > .sg-menu-link::after {
  content: ""; position: absolute; left: 1em; right: 1em; bottom: 1.4em; height: 2px;
  background: var(--link); transform: scaleX(0); transition: transform .3s;
}
.sg-menu > li:hover > .sg-menu-link::after, .sg-menu > li:focus-within > .sg-menu-link::after { transform: scaleX(1); }
.sg-menu a.sg-menu-link:hover { color: var(--dark); }
.sg-sub-toggle { display: none; }

.sg-sub {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 1.2em 0; display: none;
}
@keyframes sgFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sg-sub .sg-sub { top: -1.2em; left: 100%; }
.sg-menu li:hover > .sg-sub, .sg-menu li:focus-within > .sg-sub { display: block; animation: sgFade .25s; }
.sg-sub li { position: relative; margin: 0; }
.sg-sub .sg-menu-link {
  font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--text);
  padding: .45em 2.2em .45em 1.6em; white-space: normal; line-height: 1.4em;
}
.sg-sub .sg-menu-link:hover, .sg-sub li:hover > .sg-menu-link { color: var(--dark); }
.sg-sub li.has-sub > .sg-menu-link::after {
  content: "\203A"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%); font-size: 18px;
}
/* derin alt menüler sağa sığmazsa sola aç */
.sg-menu > li:nth-last-child(-n+3) .sg-sub .sg-sub { left: auto; right: 100%; }
.sg-sub-3 { min-width: 330px; }

.sg-lang { position: relative; }
.sg-lang-current {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--dark); padding: 1em .6em;
}
.sg-lang-list {
  position: absolute; right: 0; top: 100%; list-style: none; margin: 0; padding: .6em 0; min-width: 160px;
  background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.sg-lang:hover .sg-lang-list, .sg-lang:focus-within .sg-lang-list { opacity: 1; visibility: visible; }
.sg-lang-list a { display: flex; align-items: center; gap: 8px; padding: .4em 1.2em; color: var(--text); font-size: 15px; }
.sg-lang-list a:hover { color: var(--dark); }

.sg-header-right { display: flex; align-items: center; gap: 14px; }
.sg-socials { display: flex; gap: 14px; }
.sg-socials a { color: var(--dark); font-size: 14px; }
.sg-socials a:hover { color: var(--link); }
.sg-burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.sg-burger span { display: block; height: 2px; background: var(--dark); margin: 5px 0; transition: transform .3s, opacity .3s; }
.sg-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sg-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.sg-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1279px) {
  .sg-menu-link { padding-left: .7em; padding-right: .7em; }
  .sg-socials { display: none; }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .sg-burger { display: block; }
  .sg-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; align-items: stretch; overflow-y: auto; padding: 10px 0 40px;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .sg-nav.is-open { transform: none; visibility: visible; }
  .sg-menu { flex-direction: column; align-items: stretch; }
  .sg-menu li { border-bottom: 1px solid #eee; }
  .sg-menu-link, .sg-sub .sg-menu-link { padding: .9em 60px .9em 24px; white-space: normal; }
  .sg-menu > li > .sg-menu-link::after, .sg-sub li.has-sub > .sg-menu-link::after { display: none; }
  .sg-sub, .sg-sub .sg-sub {
    position: static; box-shadow: none; animation: none !important;
    padding: 0 0 0 14px; display: none !important; min-width: 0; background: #fafafa;
  }
  .sg-menu li.is-open > .sg-sub { display: block !important; }
  .sg-sub-toggle {
    display: block; position: absolute; right: 8px; top: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .sg-sub-toggle::before { content: "+"; font-size: 22px; color: var(--dark); }
  li.is-open > .sg-sub-toggle::before { content: "\2013"; }
  .sg-lang { padding: 10px 24px; }
  .sg-lang-current { display: none; }
  .sg-lang-list { position: static; opacity: 1; visibility: visible; box-shadow: none; display: flex; flex-wrap: wrap; padding: 0; }
  .sg-lang-list a { padding: .4em .8em .4em 0; }
  body.sg-menu-open { overflow: hidden; }
}

/* ---------- Hero slider ---------- */
.sg-hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 480px; max-height: 920px; overflow: hidden; background: #222; }
.elementor-widget-trx_widget_slider, .elementor-widget-trx_widget_slider .elementor-widget-container { margin: 0; }
.sg-hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center;
}
.sg-hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
.sg-hero-slide.is-active { opacity: 1; z-index: 1; }
.sg-hero-inner { position: relative; text-align: center; color: #fff; padding: 0 30px; transform: translateY(20px); opacity: 0; transition: all .8s .3s; }
.sg-hero-slide.is-active .sg-hero-inner { transform: none; opacity: 1; }
.sg-hero-sub { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.sg-hero-title { color: #fff; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -2px; margin: 0 0 30px; }
.sg-hero .sg-btn:hover { background: #fff; color: var(--dark); }
.sg-hero-prev, .sg-hero-next {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: none; border: 0;
  color: #fff; font-size: 64px; line-height: 1; cursor: pointer; padding: 10px 20px; opacity: .8;
}
.sg-hero-prev { left: 20px; } .sg-hero-next { right: 20px; }
.sg-hero-prev:hover, .sg-hero-next:hover { opacity: 1; }
.sg-hero-dots { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 14px; }
.sg-hero-dots button, .sg-carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff;
}
.sg-hero-dots button.is-active { background: #e53935; }
@media (max-width: 767px) { .sg-hero { height: 70vh; min-height: 380px; } .sg-hero-prev, .sg-hero-next { font-size: 44px; padding: 6px; } }

/* ---------- Image carousel (ürün sayfaları) ---------- */
.sg-carousel { position: relative; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .1); overflow: hidden; }
.sg-carousel-track { display: flex; transition: transform .5s ease; }
.sg-carousel-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; }
.sg-carousel-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.sg-carousel-prev, .sg-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px;
  border: 0; background: rgba(255, 255, 255, .8); color: var(--dark); font-size: 28px; cursor: pointer;
  opacity: 0; transition: opacity .3s;
}
.sg-carousel:hover .sg-carousel-prev, .sg-carousel:hover .sg-carousel-next { opacity: 1; }
.sg-carousel-prev { left: 10px; } .sg-carousel-next { right: 10px; }
.sg-carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 12px; background: #f9f9f9; }
.sg-carousel-dots button { width: 6px; height: 6px; background: #ccc; }
.sg-carousel-dots button.is-active { background: #000; }

/* ---------- Lightbox ---------- */
.sg-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.sg-lb img { max-width: 100%; max-height: 100%; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.sg-lb-close { position: absolute; top: 14px; right: 22px; color: #fff; font-size: 40px; background: none; border: 0; cursor: pointer; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.gallery.gallery-columns-1 { --cols: 1; } .gallery.gallery-columns-2 { --cols: 2; } .gallery.gallery-columns-3 { --cols: 3; }
.gallery.gallery-columns-4 { --cols: 4; } .gallery.gallery-columns-5 { --cols: 5; } .gallery.gallery-columns-6 { --cols: 6; }
.gallery-item { margin: 0; }
.gallery-item img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .gallery { --cols: 2 !important; } }

/* ---------- TRX shortcodes (başlık, ikonlar, sosyal) ---------- */
.sc_title .sc_item_subtitle {
  display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--dark); margin-bottom: 1.6em;
}
.sc_title .sc_item_title { margin: 0; }
.sc_title .sc_align_center, .sc_title.sc_align_center { text-align: center; }
.sc_item_title_text { display: inline; }
.sc_icons_columns_wrap { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -15px; }
.trx_addons_column-1_5 { width: 20%; padding: 0 15px 30px; }
.trx_addons_column-1_4 { width: 25%; padding: 0 15px 30px; }
.trx_addons_column-1_3 { width: 33.333%; padding: 0 15px 30px; }
.trx_addons_column-1_2 { width: 50%; padding: 0 15px 30px; }
.sc_icons_item { text-align: center; }
.sc_icons_icon { font-size: 54px; line-height: 1; color: var(--link); margin-bottom: 18px; }
.sc_icons_icon > span::before { margin: 0; }
.sc_icons_item_title { font-size: 1.3em; margin: 0; }
@media (max-width: 767px) { .trx_addons_column-1_5, .trx_addons_column-1_4, .trx_addons_column-1_3 { width: 50%; } }
.sc_socials .socials_wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.sc_socials .social_item .social_icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  background: #fff; color: var(--dark); border-radius: 50%; box-shadow: 0 0 0 1px var(--input-bd);
  transition: background .3s, color .3s;
}
.sc_socials .social_item:hover .social_icon { background: var(--link); color: #fff; }

/* ---------- Forms (CF7 markup korunur) ---------- */
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-form .columns_wrap { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.wpcf7-form [class*="column-"] { padding: 0 10px; }
.wpcf7-form .column-1_1 { width: 100%; } .wpcf7-form .column-1_2 { width: 50%; } .wpcf7-form .column-1_3 { width: 33.33%; }
@media (max-width: 767px) { .wpcf7-form [class*="column-"] { width: 100% !important; } }
.wpcf7-form p { margin: 0 0 20px; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-form label { display: block; color: var(--dark); font-size: 15px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url],
.wpcf7 input[type=number], .wpcf7 input[type=date], .wpcf7 select, .wpcf7 textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.5em; color: var(--dark);
  background: #fff; border: 1px solid var(--input-bd); border-radius: 0; padding: .85em 1.2em; outline: 0;
  transition: border-color .3s;
}
.wpcf7 textarea { min-height: 9em; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--dark); }
.wpcf7 input[type=file] { font-size: 15px; margin-top: 6px; }
.wpcf7 ::placeholder { color: var(--text-light); opacity: 1; }
.wpcf7-list-item { margin: 0; display: inline-block; }
.wpcf7-acceptance label { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--text); font-size: 14px; }
.wpcf7-acceptance input { margin-top: 5px; }
.wpcf7 .wpcf7-submit { margin-top: 6px; }

/* form-style-4: yuvarlak kutular + ikonlar (anasayfa) */
.form-style-4 input[type=text], .form-style-4 input[type=email], .form-style-4 input[type=tel], .form-style-4 textarea {
  border-radius: 25px; padding-left: 3em; background: transparent;
}
.form-style-4 textarea { border-radius: 25px; min-height: 5em; }
.form-style-4 .style-icon { display: block; position: relative; }
.form-style-4 .style-icon::before {
  font-family: "Font Awesome 5 Free"; font-weight: 400; position: absolute; left: 1.2em; top: .95em; z-index: 1;
  font-size: 14px; color: var(--text-light); line-height: 1.5em;
}
.form-style-4 .icon-name::before { content: "\f007"; }
.form-style-4 .icon-email::before { content: "\f0e0"; }
.form-style-4 .icon-phone::before { content: "\f095"; font-weight: 900; }
.form-style-4 .icon-subject::before { content: "\f05a"; font-weight: 900; }
.form-style-4 .icon-textarea::before { content: "\f303"; font-weight: 900; }
.form-style-4 .wpcf7-submit { background: #a5a6aa; }
.form-style-4 .wpcf7-submit:hover { background: var(--dark); }
.form-style-4 .columns_wrap.margin-bottom + p, .form-style-4 .submit-style-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* form-style-8: alt çizgili alanlar (ürün sayfaları) */
.form-style-8 input[type=text], .form-style-8 input[type=email], .form-style-8 input[type=tel], .form-style-8 textarea {
  border: 0; border-bottom: 1px solid var(--input-bd); background: transparent; padding: .5em 0;
}
.form-style-8 textarea { min-height: 2.6em; height: 2.6em; }
.form-style-8 .wpcf7-form p { margin-bottom: 14px; }

.sg-form-msg { display: none; margin: 0 0 18px; padding: 12px 16px; font-size: 15px; border-left: 3px solid var(--link); background: #fff; color: var(--dark); }
.sg-form-msg.is-ok { display: block; border-color: #23A455; }
.sg-form-msg.is-err { display: block; border-color: #e53935; }
form.is-sending { opacity: .6; pointer-events: none; }

.sg-insta { text-align: center; padding: 10px 0; }

/* ---------- Footer ---------- */
.footer_wrap { background: #e4e7ea; }
.footer_wrap .elementor-heading-title { font-family: var(--font-head); }
.footer_wrap ul { margin-bottom: 0; }
.footer_wrap a { color: inherit; }
.footer_wrap a:hover { color: var(--link); }

.sg-totop {
  position: fixed; right: 36px; bottom: 24px; z-index: 900; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sg-totop.is-visible { opacity: 1; visibility: visible; }
.sg-totop:hover { color: #fff; background: var(--link); }

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 2.4em; } h2 { font-size: 2em; } h3 { font-size: 1.7em; }
  .sg-container { padding: 0 20px; }
}

/* Slider bölümünü tam genişlik yap (RevSlider gibi) */
.elementor-section:has(.sg-hero) > .elementor-container { max-width: none !important; }
.elementor-section:has(.sg-hero) .elementor-widget-wrap { padding: 0 !important; }
.elementor-section:has(.sg-hero) .elementor-column { padding: 0 !important; }

/* Sayfa başlığı alanı (tema başlık bölümü) */
.sg-page-head { padding: 40px 0 50px; text-align: center; }
.sg-page-head .sg-page-title { font-size: 2.6em; line-height: 1.1; letter-spacing: -1px; margin: 0; }
@media (max-width: 767px) { .sg-page-head { padding: 28px 0 30px; } .sg-page-head .sg-page-title { font-size: 1.8em; } }
.footer_wrap .sc_socials .social_item .social_icon { width: auto; height: auto; background: none; box-shadow: none; margin-right: 10px; }

/* Temanın cihaz bazlı gizleme sınıfları */
@media (min-width: 1680px) { .sc_layouts_hide_on_wide { display: none !important; } }
@media (min-width: 1280px) and (max-width: 1679px) { .sc_layouts_hide_on_desktop { display: none !important; } }
@media (min-width: 1024px) and (max-width: 1279px) { .sc_layouts_hide_on_notebook { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023px) { .sc_layouts_hide_on_tablet { display: none !important; } }
@media (max-width: 767px) { .sc_layouts_hide_on_mobile { display: none !important; } }
