/* Add here all your CSS customizations */

/* Emre Ajans visual refresh */
:root {
  --ea-ink: #18191e;
  --ea-ink-deep: #101116;
  --ea-red: #b71929;
  --ea-red-light: #ff9fa8;
  --ea-copy: #42444e;
  --ea-line: #e5e5e9;
  --ea-white: #fff;
}

#header .header-body {
  background: var(--ea-white);
  border-bottom: 1px solid var(--ea-line);
  box-shadow: 0 4px 18px rgb(16 17 22 / 6%);
}
#header .header-top {
  background: var(--ea-ink);
  border-bottom: 0;
}
#header .header-top .header-nav-top .nav > li > .nav-link,
#header .header-top .header-nav-top .nav > li > span,
#header .header-top .social-icons li a {
  color: var(--ea-white);
}
#header .header-top .header-nav-top .nav > li > .nav-link:hover,
#header .header-top .social-icons li a:hover {
  background: transparent;
  color: var(--ea-red-light) !important;
}
#header .header-logo img {
  object-fit: contain;
}
#header .header-nav-main nav > ul > li > a {
  font-weight: 700;
}
#header .header-nav-main nav > ul > li > a.active,
#header .header-nav-main nav > ul > li:hover > a {
  color: var(--ea-red);
}

@media (min-width: 992px) {
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    border-top: 3px solid var(--ea-red);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 30px rgb(16 17 22 / 14%);
  }
}
@media (max-width: 991.98px) {
  #header .header-btn-collapse-nav {
    background: var(--ea-red);
    border-color: var(--ea-red);
  }
}
.body .page-header {
  background-color: var(--ea-ink);
  border-bottom: 3px solid var(--ea-red);
}
.body a[href="ask-for-a-quote"].btn {
  border-radius: 8px;
  font-weight: 750;
}
#header a:focus-visible,
#footer a:focus-visible,
#footer input:focus-visible,
#footer textarea:focus-visible {
  outline: 2px solid #ec5a64;
  outline-offset: 3px;
}

#footer {
  background: var(--ea-ink);
  border-top: 3px solid var(--ea-red);
  color: #d8d8df;
}
#footer h5,
#footer a:not(.btn) {
  color: var(--ea-white);
}
#footer a:not(.btn):hover {
  color: var(--ea-red-light);
}
#footer p {
  color: #d8d8df;
}
#footer .footer-ribbon {
  background: var(--ea-red);
}
#footer .footer-copyright {
  background: var(--ea-ink-deep);
  border-top-color: #383942;
}
#footer form {
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #444650;
  border-radius: 12px;
  background: #20212a;
}
#footer form .form-control,
#footer form input[name="captcha_code"] {
  border: 1px solid #afb1bd;
  border-radius: 6px;
  color: var(--ea-ink);
  background-color: var(--ea-white);
}
#footer form .form-control::placeholder {
  color: var(--ea-copy);
  opacity: 1;
}
#footer form #captcha {
  max-width: 100%;
  height: auto;
}
#footer form input[type="submit"] {
  background: var(--ea-red);
  border-color: var(--ea-red);
  border-radius: 7px;
  color: var(--ea-white);
}
#footer form input[type="submit"]:hover {
  background: #9a1221;
  border-color: #9a1221;
}

/* Home page */
.ea-home-slider {
  background: var(--ea-ink-deep);
}
.ea-home-quote.call-to-action.call-to-action-default {
  background: var(--ea-ink);
  border: 0;
  border-top: 3px solid var(--ea-red);
  padding-block: clamp(24px, 4vw, 48px);
}
.ea-home-quote .row {
  align-items: center;
}
.ea-home-quote .call-to-action-content h3 {
  color: white;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.22;
}
.ea-home-quote .call-to-action-content p {
  color: #dedee5;
}
.ea-home-quote .call-to-action-btn .btn {
  background: var(--ea-red);
  border-color: var(--ea-red);
  color: white;
}
.ea-home-quote .call-to-action-btn .btn:hover {
  background: #9a1221;
}
.ea-home-intro h1 {
  color: var(--ea-ink);
  line-height: 1.35;
}
.ea-home-intro .word-rotator-words.bg-dark {
  background-color: var(--ea-red) !important;
}
.ea-home-services {
  background: #f6f6f8;
  border-block: 1px solid var(--ea-line);
}
.ea-home-services h4 {
  color: var(--ea-ink);
}
.ea-home-projects {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(15px, 3vw, 35px);
  padding-bottom: clamp(24px, 4vw, 56px);
}
.ea-home-projects .thumb-info {
  background: var(--ea-ink);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgb(16 17 22 / 12%);
}
.ea-home-projects .thumb-info-wrapper {
  border-radius: inherit;
}
.ea-home-projects .thumb-info-title {
  max-width: 100%;
}
.ea-home-projects .thumb-info-title a:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
.ea-home-projects .thumb-info:focus-within .thumb-info-show-more-content {
  opacity: 1;
  visibility: visible;
  max-height: 18rem;
}
@media (max-width: 575.98px) {
  .ea-home-quote .call-to-action-btn {
    position: static;
    margin: 16px 0 0;
    transform: none;
  }
}

/* Emre Ajans navigation */
#header .header-body {
  background: #16171c;
  border-bottom: 3px solid #d62536;
}
#header .header-top {
  background: #25262e;
  border-bottom: 1px solid #393a44;
}
#header .header-logo > a {
  display: flex;
  align-items: center;
  padding: 5px 9px;
  background: white;
  border-radius: 4px;
}
#header .header-logo img {
  max-width: clamp(165px, 17vw, 201px);
  height: auto;
}
#header .header-btn-collapse-nav {
  min-width: 44px;
  min-height: 44px;
  background: #b71929;
  border-color: #b71929;
  color: white;
}
#header .header-nav-main #mainNav > li > a[href="contact"] {
  background: #b71929;
  color: white;
}
#header .header-nav-main #mainNav > li > a[href="contact"]:is(:hover, :focus-visible) {
  background: #971223;
  color: white;
}
#header .header-nav-main #mainNav a:focus-visible {
  outline: 2px solid #ff6472;
  outline-offset: 2px;
}
@media (min-width: 992px) {
  #header .header-nav-main #mainNav {
    align-items: center;
  }
  #header .header-nav-main #mainNav > li > a {
    padding: 10px clamp(6px, .8vw, 12px);
    color: #f5f3f5;
    background: transparent;
    font-weight: 700;
    letter-spacing: .035em;
  }
  #header .header-nav-main #mainNav > li > a::before {
    display: none;
  }
  #header .header-nav-main #mainNav > li:is(:hover, .open, .accessibility-open) > a,
  #header .header-nav-main #mainNav > li > a:focus-visible {
    background: #30323d;
    color: white;
  }
  #header .header-nav-main #mainNav > li > a.active {
    box-shadow: inset 0 -2px #ff5265;
  }
  #header .header-nav-main #mainNav > li > a[download] {
    padding-inline: 7px;
  }
  #header .header-nav-main #mainNav > li > a[download] img {
    display: block;
  }
  #header .header-nav-main #mainNav > li > ul.dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
    width: 420px;
    padding: 14px;
    background: #f8f8fa;
    border: 0;
    border-top: 3px solid #d62536;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 38px rgb(0 0 0 / 26%);
  }
  #header .header-nav-main #mainNav > li > ul.dropdown-menu > li > a {
    padding: 10px 11px;
    border: 0;
    border-radius: 6px;
    color: #18191e;
    font-size: .9rem;
    font-weight: 650;
    white-space: normal;
  }
  #header .header-nav-main #mainNav > li > ul.dropdown-menu > li > a:is(:hover, :focus-visible) {
    background: #f9e6ea;
    color: #971223;
  }
}
@media (max-width: 991.98px) {
  #header .header-nav-main {
    background-color: #f8f8fa;
  }
  #header .header-nav-main #mainNav > li > a {
    min-height: 44px;
    padding-block: 11px;
    font-weight: 700;
  }
  #header .header-nav-main #mainNav > li > ul.dropdown-menu > li > a {
    padding-block: 10px;
  }
}


/* Keep the top strip for social links only. */
#header .header-top .header-nav-top {
  display: none;
}
@media (max-width: 575.98px) {
  #header .header-top {
    display: none;
  }
}


#portfolioPaginationFilter.nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 850px;
  margin: 24px auto 18px;
  padding: 12px;
  border-radius: 12px;
  background: #f3f1f2;
}
#portfolioPaginationFilter.nav > li.nav-item { margin: 0; }
#portfolioPaginationFilter.nav > li.nav-item > a.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 100%;
  padding: 9px 8px !important;
  border: 1px solid #ded8db !important;
  border-radius: 7px;
  background: #fff;
  color: #201e25 !important;
  font-size: .92rem !important;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
#portfolioPaginationFilter.nav > li.nav-item > a.nav-link::after { display: none; }
#portfolioPaginationFilter.nav > li.nav-item > a.nav-link:is(:hover, :focus-visible) {
  background: #faeaee;
  color: #971223 !important;
}
#portfolioPaginationFilter.nav > li.active > a.nav-link,
#portfolioPaginationFilter.nav > li.nav-item > a.nav-link:is(.active, [aria-current="page"]) {
  background: #a9182a;
  color: #fff !important;
}
@media (max-width: 575.98px) {
  #portfolioPaginationFilter.nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.ea-featured-services {
  padding: clamp(42px, 7vw, 82px) 0;
  background: #f6f5f4;
}
.ea-featured-services__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.ea-featured-services__heading h2 {
  margin: 0;
  color: #18191e;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.ea-featured-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ea-featured-services__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3dfdf;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 22px rgb(24 25 30 / 7%);
}
.ea-featured-services__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ea-featured-services__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(19px, 2.5vw, 28px);
}
.ea-featured-services__body h3 {
  margin: 0 0 9px;
  color: #18191e;
  font-size: 1.35rem;
  line-height: 1.2;
}
.ea-featured-services__body p {
  margin: 0 0 16px;
  color: #45434a;
  font-size: 1rem;
  line-height: 1.55;
}
.ea-featured-services__body a {
  align-self: flex-start;
  margin-top: auto;
  color: #a61526;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.ea-featured-services__quote {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 7px;
  background: #b71929;
  color: white;
  font-weight: 700;
}
.ea-featured-services__quote:hover,
.ea-featured-services__quote:focus-visible {
  background: #931221;
  color: white;
}
@media (max-width: 1199.98px) {
  .ea-featured-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .ea-featured-services__grid {
    grid-template-columns: 1fr;
  }
  .ea-featured-services__card img {
    aspect-ratio: 16 / 9;
  }
}

.ea-selected-work { padding: clamp(38px, 6vw, 72px) 0; background: white; }
.ea-selected-work__item img { width:100%; aspect-ratio:4/3; object-fit:contain; background:white; border:1px solid #ddd5c9; border-radius:10px; }
.ea-selected-work__item h3 { margin:14px 0 3px; font-size:1.125rem; line-height:1.3; }


.ea-home-slider { background: #101f38; }
.ea-featured-services { background: #f6f2ea; }
.ea-featured-services__heading h2, .ea-featured-services__body h3, .ea-selected-work__item h3 { color: #132542; }
.ea-featured-services__quote, .ea-home-quote .call-to-action-btn .btn { background:#d5b570; border-color:#d5b570; color:#10203a; }
.ea-featured-services__quote:hover, .ea-home-quote .call-to-action-btn .btn:hover { background:#e4c789; color:#10203a; }
.ea-featured-services__body a { color:#70501e; }
.ea-home-quote.call-to-action.call-to-action-default { background:#101f38; border-top-color:#d5b570; }
.ea-selected-work { background:#fffaf1; }

.ea-contact-offices {
  margin: 0 0 40px;
  padding: clamp(18px, 4vw, 36px);
  border-radius: 14px;
  background: #18191f;
}
.ea-contact-offices__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 18px;
}
.ea-contact-offices__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.ea-contact-offices__cta {
  padding: 10px 16px;
  border-radius: 6px;
  color: white;
  background: #137343;
  font-weight: 700;
}
.ea-contact-offices__cta:hover,
.ea-contact-offices__cta:focus-visible {
  color: white;
  background: #0c5731;
}
.ea-contact-offices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ea-contact-offices__card {
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #41434d;
  border-top: 3px solid #b71929;
  border-radius: 10px;
  background: #242630;
}
.ea-contact-offices__card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
}
.ea-contact-offices__card .list {
  color: #e1e2e9;
  overflow-wrap: anywhere;
}
.ea-contact-offices__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.ea-contact-offices__actions a {
  padding: 7px 10px;
  border: 1px solid #76515a;
  border-radius: 5px;
  color: #ffd0d6;
  font-weight: 700;
}
.ea-contact-form {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #41434d;
  border-radius: 10px;
  background: #242630;
}
@media (max-width: 767.98px) {
  .ea-contact-offices__grid { grid-template-columns: 1fr; }
}


.ea-contact-offices__card .list a { color: #ffd0d6; }
.ea-contact-offices__actions a:hover,
.ea-contact-offices__actions a:focus-visible {
  color: white;
  background: #7c1b2b;
}
.ea-contact-form label { color: #f4f4f7; }
.ea-contact-form .form-control,
.ea-contact-form input[name="captcha_code"] {
  background: #18191f;
  color: #fff;
  border: 1px solid #737684;
  border-radius: 5px;
}
.ea-contact-form .form-control::placeholder { color: #bec1cc; }
.ea-contact-form .form-control:focus,
.ea-contact-form input[name="captcha_code"]:focus {
  background: #18191f;
  color: #fff;
  border-color: #ff94a4;
  outline: 2px solid #ff94a4;
  outline-offset: 2px;
}
.ea-contact-form a { color: #ffd0d6; }

.ea-contact-form .ea-contact-whatsapp-note { color: #e1e2e9; margin-bottom: 10px; }
.ea-contact-form .ea-contact-offices__cta { border-color: #137343; background: #137343; }
.ea-contact-form .ea-contact-offices__cta:hover { background: #0c5731; }

.ea-whatsapp-form .form-row[hidden] { display: none !important; }
#footer .ea-whatsapp-form .ea-contact-whatsapp-note { color: #e1e2e9; margin-bottom: 10px; }
#footer .ea-whatsapp-form input[type="submit"] { background: #137343; border-color: #137343; }
#footer .ea-whatsapp-form input[type="submit"]:hover { background: #0c5731; border-color: #0c5731; }
#footer .list a { color: #e1e2e9; }

#footer .ea-contact-offices--footer { margin: 48px 0 0; padding: 0; }
#footer .ea-contact-offices--footer .list { padding-left: 0; }
#footer .ea-contact-offices--footer .list li { padding-left: 19px; }
#footer .ea-contact-offices--footer .ea-contact-offices__phone { margin: 8px 0 0; font-weight: 750; }
@media (min-width: 992px) {
  #footer .ea-contact-footer-row { justify-content: space-between; }
}

.ea-brands {
  --brand-ink: #18191e;
  --brand-red: #a9182a;
  max-width: 1210px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 65px) clamp(16px, 4vw, 30px);
}
.ea-brands h2 {
  margin: 0 0 22px;
  color: var(--brand-ink);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.ea-brands__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ea-brands__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2dfe1;
  border-radius: 12px;
  background: white;
  color: var(--brand-ink);
  text-decoration: none;
  box-shadow: 0 8px 20px rgb(24 25 30 / 7%);
}
.ea-brands__card:hover,
.ea-brands__card:focus-visible {
  border-color: var(--brand-red);
  color: var(--brand-ink);
  text-decoration: none;
}
.ea-brands__card:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}
.ea-brands__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #e2dfe1;
  background: #f2eff0;
}
.ea-brands__card h3 {
  margin: 0;
  color: var(--brand-ink);
  font: 750 1.17rem/1.25 system-ui, sans-serif;
}
.ea-brands__body {
  display: grid;
  gap: 7px;
  padding: 16px;
}
.ea-brands__domain {
  color: #54515a;
  overflow-wrap: anywhere;
}
.ea-brands__visit {
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (max-width: 900px) {
  .ea-brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .ea-brands__grid { grid-template-columns: 1fr; }
}

.ea-service-detail {
  background: #f6f4f3;
  border-bottom: 1px solid #e5dfe1;
  padding: clamp(26px, 6vw, 66px) 0;
}
.ea-service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
}
.ea-service-detail h2 {
  margin: 0 0 14px;
  color: #18191e;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.ea-service-detail p, .ea-service-detail ul {
  margin: 0 0 14px;
  color: #45434a;
  font-size: 1rem;
  line-height: 1.6;
}
.ea-service-detail ul { padding-left: 20px; }
.ea-service-detail li { margin-bottom: 4px; }
.ea-service-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ea-service-detail__quote, .ea-service-detail__example-link {
  display: inline-block;
  padding: 10px 13px;
  border: 1px solid #b71929;
  border-radius: 6px;
  color: #a01828;
  font-weight: 700;
}
.ea-service-detail__quote {
  border-color: #137343;
  background: #137343;
  color: white;
}
.ea-service-detail__quote:hover, .ea-service-detail__quote:focus-visible {
  background: #0c5731;
  color: white;
}
.ea-service-detail a:focus-visible {
  outline: 2px solid #a01828;
  outline-offset: 3px;
}
.ea-service-detail figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #e6dedf;
  border-radius: 12px;
}
.ea-service-detail figure a { display: block; }
.ea-service-detail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.ea-service-detail figcaption {
  padding: 12px 16px;
  border-top: 1px solid #e6dedf;
  color: #45434a;
}
@media (max-width: 767.98px) {
  .ea-service-detail__grid { grid-template-columns: 1fr; }
}
