/*
  Carry On UI Styles
  Version: 0.2 David: Darkmode
  Scope: Frontend only
  Author: Dávid
*/

/* =============================================================================================================================
   CARRY ON – BASE
================================================================================================================================ */

/* =============================================================================================================================
   CARRY ON – DARK MODE
================================================================================================================================ */

html.dark body .carryon-dark-toggle {
  background: #1f2933;
  color: #fdd70f;
}

html.dark body header,
html.dark body .site-header,
html.dark body .main-header-bar,
html.dark body .ast-primary-header-bar {
  background-color: #020617;
  border-color: #1f2933;
}

html.dark body .site-header * {
  color: #e5e7eb;
}

html.dark body a {
  color: #fdd70f;
}

html.dark body a:hover {
  opacity: 0.85;
}

html.dark body .site-footer,
html.dark body .site-footer *,
html.dark body .ast-footer-wrap,
html.dark body .footer-bar {
  background-color: #020617 !important;
  color: #e5e7eb !important;
}

html.dark body .site-footer a {
  color: #fdd70f !important;
}

html.dark body .site-footer a {
  color: #fdd70f;
}

html.dark body .gform_wrapper,
html.dark body .gform_body,
html.dark body form {
  background-color: #020617;
}

html.dark body input,
html.dark body textarea,
html.dark body select {
  background-color: #020617;
  color: #e5e7eb;
  border-color: #334155;
}

html.dark body input::placeholder,
html.dark body textarea::placeholder {
  color: #9ca3af;
}

html.dark body .main-navigation a,
html.dark body .menu-link {
  color: #e5e7eb !important;
}

html.dark body .main-navigation a:hover {
  color: #fdd70f !important;
}

html.dark body {
  background-color: #020617;
  color: #e5e7eb;
}

html.dark body .menu-cta {
  color: #111827 !important;
}

html.dark body .gform_wrapper,
html.dark body .gform_wrapper label,
html.dark body .gform_wrapper .gfield_description,
html.dark body .gform_wrapper .ginput_container {
  color: #e5e7eb;
}

html.dark body .um,
html.dark body .um * {
  color: #e5e7eb;
}

html.dark body .carryon-cta,
html.dark body .carryon-cta * {
  color: #111827 !important;
}

#carryon-dark-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

#carryon-dark-toggle:hover {
  background: rgba(255,255,255,0.08);
}

/* ikon alap */
#carryon-dark-toggle .icon-sun {
  display: none;
}

/* DARK módban */
html.dark body #carryon-dark-toggle .icon-moon {
  display: none;
}

html.dark body #carryon-dark-toggle .icon-sun {
  display: inline;
}

body,
body * {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.carryon-menu-blacktext > a {
  color: #111827 !important;
}

body.dark .carryon-menu-blacktext > a {
  color: #111827 !important;
}

body .main-header-menu li.carryon-menu-blacktext a {
  color: #111827 !important;
}

/* WHY lista – alap */
.carryon-why-list {
  background: #fff9db;
}

/* WHY lista – dark mode */
body.dark .carryon-why-list {
  background: #fdd70f;
  color: #111827;
}

html.dark ul.wp-block-list.carryon-why-list {
  background-color: #fdd70f !important;
  color: #111827 !important;
}

/* LI elemek is legyenek átlátszók */
html.dark ul.wp-block-list.carryon-why-list li {
  background: transparent !important;
  color: #111827 !important;
}
/* =============================================================================================================================
   CARRY ON – HEADER
================================================================================================================================ */

/* ========== HEADER ALAP ========= */
.site-header,
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header-inner,
.site-header {
  display: flex;
	width: 100%;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
}

.site-header > .container,
.site-header-inner {
  max-width: 1200px; /* vagy amit a theme használ */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========== LOGO ========= */
.site-branding {
  display: flex;
  align-items: center;
	padding-top: 2px;
}

.site-branding img {
  max-height: 70px;
  width: auto;
}

/* ========== NAV ========= */
.main-navigation {
  flex: 1;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ========== MENÜPONT ALAP ========= */
.main-navigation li {
  display: inline-flex;
}

.main-navigation a {
	padding: 8px 14px;
  display: inline-flex;
	background: transparent;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
	transition: all 0.2s ease;
}

/* ========== HOVER ========= */
.main-navigation a:hover {
  background: #fff9e6;
  border-color: #fde68a;
  color: #111827;
}

/* ========== AKTÍV MENÜ ========= */
.main-navigation .current-menu-item > a {
  background: #fff3bf;
  border-color: #fdd70f;
}

/* ========== CTA – MEGRENDELÉS ========= */
.menu-cta a {
  background: #fdd70f;
  border-color: #fdd70f;
  color: #1f2933;
  font-weight: 800;
}

.menu-cta a:hover {
  background: #facc15;
  border-color: #facc15;
}

/* ========== PARTNER MENÜ ========= */
.partner-link a {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #374151;
}

.partner-link a:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* ========== JOBB OLDALI BLOKK ÉRZÉS ========= */
.main-navigation ul li.partner-link:first-of-type {
  margin-left: 16px;
}

/* ========== MOBIL BIZTOSÍTÁS ========= */
@media (max-width: 1024px) {
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

.page-id-133 .ast-featured-image,
.page-id-133 .ast-page-header {
  display: none;
}

/* =========================
   CARRY ON – MENU
========================= */

/* =============================================================================================================================
	CARRY ON - BUTTONS
================================================================================================================================ */

/* === DARK MODE TOGGLE – RESET THEME STYLES === */
.carryon-dark-toggle,
.carryon-dark-toggle:hover,
.carryon-dark-toggle:focus,
.carryon-dark-toggle:active,
.carryon-dark-toggle:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.carryon-dark-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fdd70f;
  color: #111827;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    background 0.25s ease,
    transform 0.2s ease;
}

.carryon-dark-toggle:hover {
  background: #facc15; /* kicsit mélyebb sárga */
  transform: translateY(-1px);
}

/* =============================================================================================================================
   CARRY ON – FORMS	- Ha csinálunk új formot ezeket át kell nevezni és a WP Blokk classban is! Jelenleg global
================================================================================================================================ */

.gform_wrapper {
  max-width: 720px;
  margin: 0 auto 80px auto;
}

/* FOOLDAL FORM KÁRTYA */
.gform_wrapper form {
  background: #ffffff;
  padding: 36px 36px 42px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* INPUTOK */
.gform_wrapper .gform_body .gfield input[type="text"],
.gform_wrapper .gform_body .gfield input[type="email"],
.gform_wrapper .gform_body .gfield input[type="number"],
.gform_wrapper .gform_body .gfield input[type="tel"],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* FÓKUSZ */
.gform_wrapper .gform_body .gfield input:focus,
.gform_wrapper .gform_body .gfield select:focus,
.gform_wrapper .gform_body .gfield textarea:focus {
  border-color: #fdd70f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(253,215,15,0.25);
}

/* LABEL */
.gform_wrapper .gfield_label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

/* LEÍRÁS */
.gform_wrapper .gfield_description {
  font-size: 13px;
  color: #6b7280;
}

/* PROGRESS BAR */
.gform_wrapper .gf_progressbar {
  background: #e5e7eb;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.gform_wrapper .gf_progressbar_percentage {
  background: linear-gradient(90deg, #fdd70f, #facc15);
  height: 100%;
  border-radius: 999px;
}

/* GOMBOK */
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
  border-radius: 16px;
  padding: 14px 26px;
  font-weight: 800;
  border: none;
}

/* NEXT / SUBMIT */
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_button {
  background: #fdd70f;
  color: #1f2933;
}

/* PREVIOUS */
.gform_wrapper .gform_previous_button {
  background: #f3f4f6;
  color: #374151;
}

.gform_wrapper h2,
.gform_wrapper h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.gform_wrapper .gf_step {
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 640px) {
  .gform_wrapper form {
    padding: 24px 20px;
    border-radius: 18px;
  }
}

/* =========================
   CARRY ON – HOME BLOCKS
========================= */

/* =========================
   CARRY ON – CTA
========================= */

/* =========================
   CARRY ON – FOOTER
========================= */

/* =========================
   CARRY ON – ANIMATIONS
========================= */

/* ==========================================================================================================================
   Fooldal - Miért a Carry On?
============================================================================================================================= */
/* === 1. BLOKK – FŐ CÍM === */
.carryon-why-title {
  max-width: 900px;
  margin: 80px auto 24px;
  padding: 28px 36px;
  background: #fdd70f;
  border-radius: 24px;
  font-size: 34px;
  font-weight: 900;
  color: #1f2933;
  box-shadow: 0 20px 50px rgba(253,215,15,0.35);
}

/* === 2. BLOKK – BEVEZETŐ === */
.carryon-why-intro {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 26px 36px;
  background: #fff6cc;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 600;
  color: #1f2933;
  line-height: 1.6;
}

/* === 3. BLOKK – LISTA === */
.carryon-why-list {
  max-width: 900px;
  margin: 0 auto 36px;
  padding: 32px 36px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}

.carryon-why-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.carryon-why-list li {
  position: relative;
  padding-left: 54px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

/* IKONOK */
.carryon-why-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  background: #fdd70f;
  color: #1f2933;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(253,215,15,0.45);
}

.carryon-why-list li:hover {
  transform: translateX(6px);
  transition: all 0.2s ease;
}

/* === 4. BLOKK – MEGJEGYZÉS === */
.carryon-why-note {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 24px 32px;
  background: #fffbea;
  border-left: 6px solid #fdd70f;
  border-radius: 18px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

/* === MOBIL === */
@media (max-width: 768px) {
  .carryon-why-title {
    font-size: 26px;
    padding: 22px;
    margin-top: 48px;
  }

  .carryon-why-intro,
  .carryon-why-list,
  .carryon-why-note {
    padding: 22px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* === CTA BLOKK === */
.carryon-why-cta {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #fdd70f, #facc15);
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(253,215,15,0.45);
}

/* CTA SZÖVEG */
.carryon-why-cta p {
  font-size: 20px;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 28px;
}

/* CTA GOMB */
.carryon-why-cta-button {
  display: inline-block;
  background: #1f2933;
  color: #ffffff !important;
  padding: 18px 42px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* HOVER */
.carryon-why-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  background: #111827;
}

/* MOBIL */
@media (max-width: 768px) {
  .carryon-why-cta {
    padding: 36px 24px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .carryon-why-cta p {
    font-size: 18px;
  }

  .carryon-why-cta-button {
    width: 100%;
    padding: 16px;
  }
}

/* === CTA GOMB FIX – WP BUTTON OVERRIDE === */
.carryon-why-cta .wp-block-button__link {
  background: #1f2933 !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 18px 42px;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* KÜLSŐ WRAPPER KIKAPCS */
.carryon-why-cta .wp-block-button {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* HOVER */
.carryon-why-cta .wp-block-button__link:hover {
  background: #111827 !important;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}