/* 1771 Tasarım — Architecture 2 site layer */

:root {
  --primary: #2a2a2a;
  --secondary: #e36159;
  --tertiary: #2baab1;
  --quaternary: #383f48;
}

html .bg-primary,
html .bg-dark,
#header .header-body {
  background-color: #2a2a2a !important;
}

html .btn-primary {
  background-color: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: #fff !important;
}

html .btn-primary:hover {
  background-color: #444 !important;
  border-color: #444 !important;
}

/* Header — logo left / menu center / socials right */
#header {
  z-index: 1030;
}

#header .header-body {
  background: #2a2a2a !important;
  border: 0 !important;
}

#header .header-container {
  min-height: 80px;
  padding-left: 2rem;
  padding-right: 2rem;
}

#header .header-row {
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  #header .header-column {
    flex: 1 1 0;
    min-width: 0;
  }

  #header .header-column.flex-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  #header .header-nav {
    flex: 0 0 auto;
  }
}

/* Social divider (Architecture 2) */
#header .custom-social-icons-divider > li + li {
  position: relative;
  margin-left: 20px;
}

#header .custom-social-icons-divider > li + li:before {
  content: '';
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  height: 80%;
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translate3d(0, -50%, 0);
}

#header .header-nav-main nav > ul > li > a.nav-link,
#header .header-nav-main nav > ul > li > a {
  color: #fff !important;
  background: transparent !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#header .header-nav-main nav > ul > li:hover > a,
#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li > a.active {
  color: #fff !important;
  opacity: 1;
  background: transparent !important;
}

#header .header-nav.header-nav-line nav > ul > li > a:before,
#header .header-nav.header-nav-bottom-line nav > ul > li > a:before,
#header .header-nav.header-nav-bottom-line nav > ul > li:hover > a:before,
#header .header-nav.header-nav-bottom-line nav > ul > li.active > a:before {
  background: #fff !important;
}

#header .header-nav-features-search-show-icon,
#header .header-nav-features-search-show-icon i {
  color: #fff !important;
}

#header .header-btn-collapse-nav {
  color: #fff !important;
  background: transparent !important;
  border: 0;
}

#header .header-logo {
  display: flex;
  align-items: center;
  max-width: 120px;
}

#header .header-logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* 370x308 oranına göre (~1.2:1) — yatay ince logo değil */
#header .header-logo img {
  width: auto !important;
  height: 58px !important;
  max-height: 58px !important;
  max-width: 90px !important;
  object-fit: contain;
  display: block;
}

html.sticky-header-active #header .header-logo img {
  height: 48px !important;
  max-height: 48px !important;
  max-width: 75px !important;
}

#footer img:not(.footer-bottom-logo) {
  width: auto;
  height: 48px;
  max-width: 72px;
  object-fit: contain;
}

#footer .footer-bottom-logo {
  width: auto;
  height: 72px;
  max-width: 220px;
  object-fit: contain;
}

#header .header-social-icons li a {
  color: #fff !important;
}

#header .header-social-icons li a:hover {
  opacity: 0.75;
}

/* Inner pages — Architecture 2 page header */
.custom-page-header-1.page-header {
  margin: 0 !important;
  clear: both;
  position: relative;
  z-index: 1;
  background-color: #2a2a2a !important;
}

.custom-page-header-1 .custom-bg-grey-1 {
  background-color: #efefef !important;
}

.custom-page-header-1 h1 {
  color: #212121 !important;
  position: relative;
  z-index: 2;
}

.custom-page-header-1 .breadcrumb,
.custom-page-header-1 .breadcrumb.breadcrumb-light {
  color: #777 !important;
}

.custom-page-header-1 .breadcrumb a,
.custom-page-header-1 .breadcrumb.breadcrumb-light a {
  color: #777 !important;
}

.custom-page-header-1 .breadcrumb > .active,
.custom-page-header-1 .breadcrumb.breadcrumb-light .active {
  color: #212121 !important;
  opacity: 1;
}

.custom-page-header-1 .breadcrumb > li + li:before,
.custom-page-header-1 .custom-breadcrumb-style-1.breadcrumb > li + li:before {
  color: #777 !important;
  opacity: 1;
}

.custom-page-wrapper {
  background: #fff;
}

.arch-contact-map iframe,
.arch-contact-map .google-map {
  width: 100% !important;
  min-height: 420px;
  border: 0;
  display: block;
}

.thumb-info-action {
  text-align: center;
  padding: 1rem;
}

/* Porto color utilities missing from current theme.css */
.text-color-light, .text-light { color: #fff !important; }
.text-color-dark, .text-dark { color: #212121 !important; }
.text-color-default { color: #777 !important; }
.text-color-primary { color: #2a2a2a !important; }
.text-color-hover-primary:hover { color: #2a2a2a !important; }
.bg-color-grey { background-color: #f4f4f4 !important; }

.custom-slider-background-image-item {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}

#slider h1,
#slider h2,
#slider p,
#slider .text-color-light {
  color: #fff !important;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

#slider .btn-primary.custom-btn-style-1 {
  color: #fff !important;
  background-color: #2a2a2a !important;
  border-color: #2a2a2a !important;
}

#slider .custom-btn-style-1:before {
  border-color: #fff !important;
}

#footer,
#footer.footer-architecture {
  background: #1f1f1f !important;
  color: #fff;
  margin-top: 0 !important;
}

#footer a {
  color: rgba(255, 255, 255, 0.72) !important;
}

#footer a:hover {
  color: #fff !important;
}

.footer-architecture-copy,
#footer .footer-copyright {
  background: #2a2a2a !important;
  border-top: 0;
}

#footer h4 {
  color: #fff !important;
}

.thumb-info {
  border-radius: 0 !important;
}

.arch-project-logo {
  text-align: center;
  padding: 0 0 1.35rem;
  margin: 0 0 1.75rem;
}

.arch-project-logo::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: #cfcfcf;
  margin: 1.1rem auto 0;
}

.arch-project-logo img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.arch-project-meta {
  text-align: center;
}

.arch-project-meta li {
  margin-bottom: 1rem;
}

.arch-project-meta .font-weight-light {
  color: #8c8c8c;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.arch-project-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.sidebar .card.bg-primary h2 {
  letter-spacing: -0.02em;
}

.arch-project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1.5rem;
  object-fit: cover;
}

.arch-project-gallery .arch-main-photo img {
  cursor: zoom-in;
}

.arch-news-card img.card-img-top {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.arch-ref-logo {
  max-height: 70px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.arch-ref-logo:hover {
  filter: none;
  opacity: 1;
}

.custom-section-middle-content {
  overflow: hidden !important;
}

.custom-section-middle-content .owl-carousel,
.custom-section-middle-content .owl-stage-outer,
.arch-process-carousel,
.arch-process-carousel .owl-stage-outer {
  overflow: hidden !important;
}

.arch-process-carousel .owl-item.active {
  opacity: 1;
}

/* Home selected works — breathing room around title, grid, CTA */
.arch-home-projects {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.arch-home-projects .arch-projects-grid {
  margin-top: 3rem;
}

.arch-home-projects-cta {
  margin-top: 3.25rem;
}

/* Uniform project grid — fixed 4:3 cards, no masonry */
.arch-projects-grid .portfolio-item,
.arch-projects-grid .arch-project-card {
  margin-bottom: 0;
}

.arch-project-card .thumb-info,
.arch-projects-grid .thumb-info,
.portfolio-item .thumb-info {
  display: block;
  height: 100%;
}

.arch-project-card .thumb-info-wrapper,
.arch-projects-grid .thumb-info-wrapper,
.portfolio-item .thumb-info-wrapper {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.arch-project-card .thumb-info-wrapper > img,
.arch-projects-grid .thumb-info-wrapper > img,
.portfolio-item .thumb-info-wrapper > img,
img.arch-project-card {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991px) {
  #header .header-nav-main nav > ul > li > a {
    color: #222 !important;
  }

  .custom-page-header-1 h1 {
    font-size: 2.5rem !important;
  }
}
