/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Color Variables */
:root {
  --halpes-secondary-color: #7c2c94;
  --halpes-tertiary-color: #f9c846;
  --halpes-body-color: #161c26;
}

/* Utility Classes */
.secondary-color {
  color: var(--halpes-secondary-color);
}

.background-secondary {
  background-color: var(--halpes-secondary-color);
}

.tertiary-color {
  color: var(--halpes-tertiary-color);
}

.background-tertiary {
  background-color: var(--halpes-tertiary-color);
}

.body-color {
  color: var(--halpes-body-color);
}

/* Headers - Golden Ratio Line Heights (min 1.5) */
h1,
.h1 {
  line-height: 1.618; /* Golden ratio */
  color: var(--halpes-secondary-color);
  font-size: 60px;
}

h2,
.h2 {
  line-height: 1.6;
  color: var(--halpes-body-color);
}

h3,
.h3 {
  line-height: 1.55;
  color: var(--halpes-body-color);
}

h4,
.h4 {
  line-height: 1.52;
  color: var(--halpes-body-color);
}

h5,
.h5 {
  line-height: 1.51;
  color: var(--halpes-body-color);
}

h6,
.h6 {
  line-height: 1.5;
  color: var(--halpes-body-color);
}

/* General styles */
.button,
.btn,
.btn-white,
.btn-theme,
.btn-black,
.btn-theme-second,
.more-link a,
.btn-theme-submit,
.btn-theme-outline,
.btn-theme-2 {
  border-radius: 8px;
  background-color: var(--halpes-secondary-color);
  color: #ffffff;
}

.btn-theme-third {
  background-color: var(--halpes-tertiary-color);
  color: var(--halpes-body-color) !important;
  border-radius: 8px !important;
  font-size: 16px;
  font-weight: 800;
  padding: 20px 35px;
  line-height: 1;
  z-index: 1;
  display: inline-block;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  -moz-transition: all 0.35s;
  -ms-transition: all 0.35s;
  border: none;
  text-transform: none;
  border-radius: 0;
}

.btn-theme-third:hover,
.btn-theme-third:focus,
.btn-theme-third:active {
  cursor: pointer;
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
  opacity: 0.9;
}

.frontpage h1 {
  z-index: 3;
  background-color: rgb(89, 89, 89);
  visibility: inherit;
  transition: none;
  text-align: left;
  line-height: 120px;
  border-width: 0px;
  margin: 0px;
  padding: 0px;
  letter-spacing: 0px;
  font-weight: 900;
  font-size: 90px;
  white-space: nowrap;
  min-height: 0px;
  min-width: 0px;
  max-height: none;
  max-width: none;
  color: rgb(255, 255, 255);
  opacity: 1;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transform-origin: 50% 50% 0px;
}

.btn-theme-third i {
  margin-right: 10px;
}

.purple-cta .btn-theme,
.purple-cta .btn-theme-second {
  background-color: var(--halpes-tertiary-color);
  color: var(--halpes-body-color);
}

.breadcrumb-content-inner
  .gva-breadcrumb-content
  .gva-block-breadcrumb
  .breadcrumb-style {
  padding: 0;
}

.breadcrumb-content-inner .gva-breadcrumb-content .breacrumb-link-content {
  position: relative !important;
}

.breadcrumb-content-inner
  .gva-breadcrumb-content
  .gva-block-breadcrumb
  .breadcrumb-style:before {
  display: none;
}

.breadcrumb-content-inner
  .gva-breadcrumb-content
  .breadcrumb-links
  nav.breadcrumb
  ol {
  margin-right: -25px;
}

.breadcrumb-content-inner,
.block.block-system-breadcrumb-block {
  margin-bottom: 0;
}

.text-dark {
  color: #2a2a2a !important;
}

.gavias_sliderlayer .btn-slide a {
  border-radius: 8px;
  color: var(--halpes-body-color) !important;
}

.btn-white span {
  color: #ffffff;
}

.btn-theme-second:hover,
.btn-theme-second:focus,
.btn-theme-second:active {
  background-color: #ffffff;
}

.btn-theme-second:hover span,
.btn-theme-second:focus span,
.btn-theme-second:active span {
  color: var(--halpes-theme-color-three);
}

.page-title {
  font-size: 60px;
  color: var(--halpes-secondary-color);
  margin-bottom: 60px;
  margin-top: 50px;
}

p,
body {
  font-size: 20px;
  line-height: 1.7;
}

a:hover {
  text-decoration: underline;
}

.node .field--name-body a {
  color: var(--halpes-secondary-color);
}

.node .field--name-body a:hover {
  text-decoration: underline;
}

.style-1 .gsc-heading__sub-title {
  font-size: 20px;
  line-height: 32px;
}

.gsc-heading__sub-title.text-second {
  color: var(--halpes-secondary-color);
}

.gsc-heading__content .text-theme {
  color: var(--halpes-secondary-color);
}

.gsc-socials.style-1 a {
  color: var(--halpes-secondary-color) !important;
  font-size: 20px;
  padding: 2px 0 0 2px;
}

.topbar-social a {
  color: var(--halpes-secondary-color) !important;
  font-size: 20px;
  padding: 1px 0 0 1px;
}

.topbar-social a:first-child {
  color: var(--halpes-secondary-color) !important;
  background-color: #e5eeec;
}

/* .gsc-socials.style-1 .fa-facebook,
.gsc-socials.style-1 .fa-instagram,
.gsc-socials.style-1 .fa-linkedin {
  padding: 0 1px 0 0;
} */

/* Navigation Menu */
.menu-promoted a {
  color: var(--halpes-secondary-color) !important;
}

.gva-navigation .gva_menu > li > a:hover {
  color: var(--halpes-secondary-color) !important;
  text-decoration: underline;
}

@media (min-width: 1024.1px) {
  .navigation.menu--main .gva_menu > li > a {
    font-size: 20px;
  }

  .navigation.menu--main .gva_menu > li > a {
    font-size: 20px;
  }

  .navigation.menu--main .gva_menu li a .icaret {
    margin-left: 8px;
    border: none !important;
    font-size: 12px;
  }

  .gva-navigation .gva_menu > li > a:hover {
    text-decoration: unset;
  }
}

/* Header */
header .header-three__main {
  border-bottom: 4px solid var(--halpes-tertiary-color);
}

header .site-branding-logo img {
  max-width: 90px;
  height: auto;
}

.header-three__left {
  background-color: var(--topbar-bg-color);
}

/* Slider */
.gavias_sliderlayer .slide-style-1,
#gavias_slider_single .slide-style-1 {
  font-family: "Caveat", "Reey", "Poppins", "Segoe UI", "DejaVu Sans",
    "Noto Sans", "Liberation Sans", Arial, sans-serif;
  font-feature-settings: "liga" 1, "kern" 1;
}

/*  Blog Single*/

.post-block .post-thumbnail .post-created,
.post-one__created {
  right: 20px;
  bottom: -10px;
  font-size: 18px;
  padding: 14px 24px;
  background-color: var(--halpes-tertiary-color);
  color: var(--halpes-body-color);
}

.post-thumbnail {
  margin-bottom: 40px;
}

.event-one__single:hover .event-one__content:after {
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#1b1e2b),
    to(rgba(27, 30, 43, 0))
  );
  background-image: linear-gradient(to top, #1b1e2b, rgba(27, 30, 43, 0));
}

/*  Blog List */
/* Base mobile styles - no ellipsis, natural height */
.post-one__single:hover .post-one__title a,
.post-one__single:focus .post-one__title a,
.post-one__single:hover .post-one__title,
.post-one__single:focus .post-one__title {
  color: var(--halpes-secondary-color);
}

/* Tablet and up - Equal height cards with ellipsis */
@media (min-width: 768px) {
  .post-one__single,
  .post-two__single {
    display: flex !important;
    flex-direction: column !important;
  }

  .post-one__image,
  .post-two__image {
    flex-shrink: 0 !important;
  }

  .post-one__content,
  .post-two__content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .post-one__content-inner,
  .post-two__content-inner {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .post-one__title,
  .post-two__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    height: 4em !important;
    margin-bottom: 15px !important;
  }

  .post-one__desc,
  .post-two__desc {
    flex: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Views More Button */
.more-link a {
  padding: 20px 35px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  background-color: var(--halpes-secondary-color);
  border: unset;
  text-transform: none;
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.more-link a:hover,
.more-link a:focus,
.more-link a:active {
  cursor: pointer;
  color: #fff;
  background-color: var(--halpes-secondary-color);
  opacity: 0.9;
}

.more-link {
  margin-top: 10px;
}

/* Sections*/

/* With Numbers */
.instead-of-counter {
  text-align: center;
  p {
    font-size: 45px;
    font-weight: 900;
    line-height: 1.7;
    margin-bottom: 5px;
    color: var(--halpes-theme-color);
    display: inline-flex;
  }
  h3 {
    font-size: 18px;
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.7;
  }
}

/*News List */
.news-list .event-one__wrap .event-one__image {
  position: relative;
}

.news-list .event-one__wrap .event-one__content {
  position: relative;
  padding-top: 30px;
  background-color: var(--halpes-tertiary-color);
  color: var(--halpes-body-color);
  display: flex;
  align-items: start;
}

.news-list .event-one__wrap .event-one__content .event-one__title a {
  color: var(--halpes-body-color);
  line-height: 1.5;
}

.news-list .event-one__wrap .event-one__content .event-one__title {
  margin: 0;
}

.news-list .event-one__wrap .event-one__content .event-one__time {
  color: var(--halpes-body-color);
}

.news-list .event-one__wrap .event-one__content::after {
  display: none;
}

.news-list .event-one__wrap .event-one__image a img {
  position: relative;
  transform: unset;
  left: unset;
  top: unset;
  object-fit: unset;
}

.event-one__wrap {
  position: relative;
}

.event-one__wrap .event-one__date {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 2;
  overflow: hidden;
  background-color: var(--halpes-tertiary-color);
  color: var(--halpes-body-color);
}

/* Equal height cards ONLY for news-list view */
@media (min-width: 768px) {
  .news-list .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .news-list .row > [class*="col-"] {
    display: flex !important;
  }

  .news-list .event-one__single {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 0;
  }

  .news-list .event-one__wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* Events Carousel - ONLY equal heights and 3-row title limit */
.events-carousel .item-columns {
  display: flex !important;
  align-items: stretch !important;
}

.events-carousel .item-columns > div {
  display: flex !important;
}

.events-carousel .event-one__single {
  width: 100% !important;
  height: 100% !important;
}

.events-carousel .event-one__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 4.5em !important; /* Fixed height for exactly 3 rows */
}

.events-carousel .owl-carousel .owl-nav {
  margin-top: 20px;
}

footer {
  margin-top: 100px;
}

.frontpage footer {
  margin-top: 0;
}

footer a {
  color: var(--halpes-theme-color) !important;
}

footer .contact-info__item .desc {
  line-height: 1.5;
  margin-bottom: 5px;
}
footer .contact-info__item .title {
  font-size: 16px;
  text-decoration: underline;
  margin: 5px 0;
}

.footer-bottom .row-wrapper {
  --halpes-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
  .footer-bottom .row-wrapper {
    --halpes-gutter-y: unset;
  }
}

.footer-bottom-col-2 .gsc-socials {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-bottom-col-2 .gsc-socials {
    justify-content: end;
  }
}

@media (min-width: 992px) {
  .footer-bottom-col-2 .gsc-socials {
    justify-content: start;
  }
}

.footer-bottom-col-3 .text-copyright {
  text-align: center;
  margin-bottom: 10px;
}

.footer-bottom-col-3 .cc-icons {
  align-items: center;
  justify-content: center;
}

.footer-bottom-col-3 .cc-icons .cc-binbiriz,
.footer-bottom-col-3 .cc-icons i {
  margin-right: 5px;
}

@media (min-width: 768px) {
  .footer-bottom-col-3 .text-copyright {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .footer-bottom-col-3 .text-copyright {
    text-align: right;
  }

  .footer-bottom-col-3 .cc-icons {
    justify-content: end;
  }
}

.text-copyright a {
  color: #15c8a0;
  text-decoration: underline;
  text-decoration-thickness: 2px; /* makes underline more visible */
  text-underline-offset: 3px; /* moves underline slightly away from text */
}

/* Optional — keep underline on hover/focus but make it stronger */
.text-copyright a:hover,
.text-copyright a:focus-visible {
  text-decoration-style: solid;
  text-decoration-color: #0fa37f; /* slightly darker for hover contrast */
}

/* Optional — improve keyboard visibility */
.text-copyright a:focus-visible {
  outline: 2px solid #15c8a0;
  outline-offset: 2px;
}

/* Webforms */

.webform-submission-on-analiz-talep-formu-form,
.webform-submission-teklif-formu-form {
  padding: 60px;
  background-color: #eff5f4;
}

.ally-container fieldset legend {
  font-size: 16px;
  color: #161c26;
  margin-bottom: 0;
}

.image-content-three__desc {
  margin: 0;
}

.image-content-three__content-inner {
  padding: 30px;
}
