/* ======================================================
   GEOTRACE – CORPORATE THEME 1.3 (NAVY + SOFT GRAY)
   ====================================================== */

:root {
  --gt-primary: #2563EB;
  --gt-primary-dark: #1D4ED8;
  --gt-prmary-light: #D0E5FF;
  
  --gt-heading: #111827;
  --gt-body: #374151;
  --gt-muted: #6B7280;

  --gt-bg-main: #F3F4F6;  
  --gt-bg-section: #F9FAFB;
  --gt-bg-card: #FFFFFF;

  --gt-border: #E5E7EB;

  --gt-heading-text: #D0E5FF;
  --gt-header-bg: #111827;
  --gt-header-border: #0B1120;

  --gt-bottom-top: #2e394b;
  --gt-bottom-middle: #1e283b;
  --gt-bottom-bottom: #0f172a;

  --gt-footer-solid: #0f172a;
  --gt-hero-bg-solid: #0f172a;
}

/* ======================================================
   LAYOUT / SECTIONS
   ====================================================== */
#sp-main-body {
   padding: 30px;
   margin-top: 30px;
   /* max-width: 1280px;*/
   margin: 0 auto;
   /*box-shadow: 0 0 24px rgba(0,0,0,0.06);*/
   max-width: 1280px;
}

#sp-main {
  /* margin: 0 auto;
  padding: 40px 20px;
  padding-top: 0 !important;*/
}

.section-light,
.bg-light {
  background: var(--gt-bg-section) !important;
}

.section-alt {
  background: #EDEFF2;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(15,23,42,0.06);
  margin: 40px 0;
}

#sp-section-1 {
  background: var(--gt-hero-bg-solid) !important;
  box-shadow: 0 6px 16px rgba(15,23,42,0.45);
}

@media (max-width: 575px) {
  #sp-main-body {
    padding: 5px;
    margin-top: 10px;
  }
}

/* ======================================================
   LAYOUT - HERO
   ====================================================== */
#sp-slider {
  padding-left: 0px;
  padding-right: 0px;
} 

/* ======================================================
   GLOBAL + TYPOGRAPHY
   ====================================================== */

body {
  background: var(--gt-bg-main);
  color: var(--gt-body);
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  color: var(--gt-heading) !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 0.6em;
}

h1 { font-size: 1.95rem !important; line-height: 1.22; }
h2 { font-size: 1.55rem !important; line-height: 1.28; }
h3 { font-size: 1.32rem !important; line-height: 1.32; }
h4 { font-size: 1.15rem !important; line-height: 1.35; }

/* Modern underlined H2 */
h2::after {
  content:"";
  display:block;
  width: 52px;
  height: 3px;
  background: var(--gt-primary);
  margin-top: 8px;
  border-radius: 3px;
  opacity: 0.9;
}

/* ======================================================
   LINKS
   ====================================================== */

a {
  color: var(--gt-primary);
  text-decoration: none;
}

a:hover {
  color: var(--gt-primary-dark);
}

.readmore a {
  font-weight: 600;
  color: var(--gt-primary) !important;
}

/* ======================================================
   HEADER
   ====================================================== */

#sp-header {
  /*background: var(--gt-header-bg) !important;*/
  background: linear-gradient(
    180deg,
    var(--gt-bottom-top) 0%,
    var(--gt-bottom-middle) 20%,
    var(--gt-bottom-bottom) 80%
  ) !important;
  
  /*border-bottom: 1px solid rgba(255,255,255,.5) !important;*/
  box-shadow: none;
}

#sp-header .logo a {
  color: #fff !important;
}

@media (max-width: 575px) {
  #sp-header {
    height: 60px;
  }
}
/* ======================================================
   MENU 
   ====================================================== */

.sp-menu-heading {
  color: var(--gt-heading-text) !important;
  font-weight: 600;
}
.sp-megamenu-parent > li > a {
  color: var(--gt-heading-text) !important;
  font-weight: 600;
}
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li.active > a {
  color: #60A5FA !important;
}

/* v1.3 – CORPORATE DROPDOWN FIX (világos, olvasható) */
.sp-megamenu-parent .sp-dropdown {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
}
.sp-megamenu-parent .sp-dropdown li a {
  color: #4c4f53 !important;
  font-weight: 600;
}
.sp-megamenu-parent .sp-dropdown li a:hover {
  /*background: #f5f8ff !important;*/
  color: var(--gt-primary) !important;
}

/* Mobil hamburger */
#offcanvas-toggler i,
.offcanvas-toggle,
.offcanvas-toggle i {
  color: #e2e8f0 !important; /* v1.3: fix */
}

@media (min-width: 992px) {
  #offcanvas-toggler { display:none !important; }
}

/* Mobil offcanvas */
.offcanvas-menu {
  background: var(--gt-hero-bg-solid) !important;
}
.offcanvas-menu .offcanvas-inner ul.menu > li a, .offcanvas-menu .offcanvas-inner ul.menu > li span {
  color: var(--gt-prmary-light) !important;
}

.burger-icon>span {
   background: #e2e8f0 !important; /* v1.3: fix */
}

.offcanvas-menu .menu-deeper {
  padding-left: 10px !important;
}
/* ======================================================
   BUTTONS
   ====================================================== */

.btn-primary,
.button.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: 0.18s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--gt-primary) !important;
  color: var(--gt-primary) !important;
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--gt-primary) !important;
  color: #fff !important;
}

/* ======================================================
   REFERENCE GRID
   ====================================================== */

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.ref-item {
  background: var(--gt-bg-card);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15,23,42,0.08);
  padding: 24px 20px;
  text-align: center;
  transition: 0.18s ease;
}

.ref-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.16);
}

.ref-item img {
  max-height: 70px;
  max-width: 140px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.ref-item h4 {
  font-size: 1.05rem;
  margin: 8px 0 6px;
  font-weight: 600;
}

.ref-item p {
  font-size: 0.92rem;
  color: var(--gt-muted);
  line-height: 1.45;
}

/* ======================================================
   CONTACT FORM
   ====================================================== */

.com-contact {
  padding: 40px 0 !important;
}
.contact-form {
  padding-top:50px;
}

.com-contact form {
  max-width: 650px;
  margin: 0 auto;
}

.com-contact label {
  font-weight: 600;
  color: var(--gt-heading);
  margin-bottom: 6px;
  display: inline-block;
  font-size: 15px;
}

/* Inputs */
.com-contact .form-control {
  border-radius: 8px;
  border: 1px solid var(--gt-border);
  background: #fff;
  padding: 12px 14px;
  transition: 0.2s ease;
  margin-bottom: 18px !important;
  box-shadow: none;
}

.com-contact .form-control:focus {
  border-color: var(--gt-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.20);
}

.com-contact textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

/* Submit */
.com-contact button.btn {
  padding: 12px 25px !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: var(--gt-primary);
  border: none;
  transition: 0.2s ease;
}
.com-contact button.btn:hover {
  background: var(--gt-primary-dark);
}

.com-contact .star {
  color: #DC2626;
}

/* Mobile */
@media (max-width: 768px) {
  .com-contact form {
    padding: 0 15px;
  }
}

/* ======================================================
   BOTTOM (GRADIENT) + FOOTER (SOLID)
   ====================================================== */
#sp-footer {
  background: var(--gt-footer-solid) !important;
  color: #cbd5e1 !important;
  padding: 14px 0 14px;
}

#sp-bottom {
  background: linear-gradient(
    180deg,
    var(--gt-bottom-top) 0%,
    var(--gt-bottom-bottom) 100%
  ) !important;
  color: #e5e7eb !important;
  padding: 45px 0 25px;
}

#sp-bottom h3,
#sp-bottom a,
#sp-footer a {
  color: #e5e7eb !important;
  opacity: 0.92;
}

#sp-bottom a:hover,
#sp-footer a:hover {
  opacity: 1;
}

#sp-bottom li a.active {
  color: #60a5fa !important;
  font-weight: 600;
}

@media (max-width: 575px) {
  #sp-footer2 {
    display: none !important;
  }
}

/* ======================================================
   HERO (merged 1.2 → 1.3)
   ====================================================== */

.gt-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.gt-hero::after {
    border-bottom: 1px solid rgba(0,0,0,0.12);
    bottom: 0;
}

.gt-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    /* 1) Kétoldali TRANZPARENCIA fade – navyn átüt */
    linear-gradient(
      to right, 
      /* BAL OLDAL – 5 lépcsős exponenciális fade */ 
      rgba(15,23,42,1.0) 0%, 
      rgba(15,23,42,0.85) 1%, 
      rgba(15,23,42,0.55) 2%, 
      rgba(15,23,42,0.40) 3%, 
      rgba(15,23,42,0.25) 5%, 
      rgba(15,23,42,0.10) 10%, 
      rgba(15,23,42,0.05) 16%, 
      /* KÖZÉP – teljesen átlátszó */ 
      rgba(15,23,42,0.00) 30%, 
      rgba(15,23,42,0.00) 70%, 
      /* JOBB OLDAL – exponenciális fade vissza a navy-be */ 
      rgba(15,23,42,0.05) 84%, 
      rgba(15,23,42,0.10) 90%, 
      rgba(15,23,42,0.25) 95%, 
      rgba(15,23,42,0.40) 97%, 
      rgba(15,23,42,0.55) 98%, 
      rgba(15,23,42,0.85) 99%, 
      rgba(15,23,42,1.0) 100%
    ),

    /* 2) Középső vignetta – finom mélyítés */
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.14) 45%,
      rgba(0,0,0,0.50) 100%
    );
}

.gt-hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

/* v1.3 – ERŐSÍTETT SPOT BLOOM */
/*.gt-hero-spot {
  position: absolute;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  margin: auto;
  z-index: -1;
  background: radial-gradient(
      circle at center,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.48) 25%,
      rgba(0,0,0,0.22) 50%,
      rgba(0,0,0,0.08) 75%,
      rgba(0,0,0,0.00) 100%
  );
  filter: blur(25px);
}*/

/* HERO Title (v1.3 nagyobb) */
.gt-hero-title {
  color: #fff !important;
  font-size: 42px !important;       /* 36 → 40 */
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}

.gt-hero-lead {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
}

/* HERO buttons */
.gt-hero-actions {
  display: flex;
  gap: 12px;
}

.gt-btn-primary,
.gt-btn-secondary {
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.gt-btn-primary {
  background: var(--gt-primary);
  color: #fff;
}

.gt-btn-primary:hover {
  background: var(--gt-primary-dark);
}

.gt-btn-secondary {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

.gt-btn-secondary:hover {
  background: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .gt-hero {
    padding: 60px 0 40px;
    min-height: 360px;
  }
  .gt-hero-title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .gt-hero {
    padding: 20px 0 10px;
    min-height: 360px;
  }
  .gt-hero-title {
    font-size: 20px;
  }
  .gt-hero-inner {
    padding: 0 20px;
  }
}

/*social reating*/
.article-ratings-social-share {
  display: none !important;
}

