/* earthworkV2 modern — Taşkale / Alanya Hafriyat */
:root {
  --bg: #f3f4f6;
  --bg-soft: #e8eaee;
  --ink: #1a1c20;
  --ink-soft: #3d434d;
  --muted: #6b7280;
  --line: #d7dbe3;
  --accent: #f9ba27;
  --accent-hover: #e0a010;
  --accent-ink: #1a1c20;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --white: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #17191e;
  --header-h: 78px;
  --radius: 6px;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --shadow-soft: 0 14px 36px rgba(26, 28, 32, 0.08);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hover); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--accent); }
h1,h2,h3,h4,h5,h6 {
  color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: -.01em;
}
p { margin: 0 0 1rem; }
.container-site { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Header — light for logo contrast */
.site-header {
  position: sticky; top: 0; z-index: 1040;
  background: var(--header-bg);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 1px 0 rgba(26,28,32,.04);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(26,28,32,.1); }
.site-header .navbar {
  padding: .55rem 0; min-height: var(--header-h);
  flex-wrap: nowrap; gap: .75rem;
}
.site-header .navbar .brand { flex: 0 0 auto; max-width: min(240px, 42%); }
.site-header .brand--logo-only { gap: 0; }
.site-header .brand--logo-only img,
.site-header .brand img {
  height: 48px; width: auto; max-width: 100%;
  filter: none !important; opacity: 1 !important;
}
.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--ink) !important; text-decoration: none !important;
}
.brand img { height: 52px; width: auto; }

.site-header #siteNav { flex: 1 1 auto; min-width: 0; }
.site-header #siteNav .navbar-nav { flex-wrap: nowrap; gap: 0; align-items: center; }
.site-header #siteNav .navbar-nav > li { margin-right: 0 !important; }
.site-header #siteNav .navbar-nav > li > a {
  display: block; padding: .45rem .7rem;
  color: var(--ink-soft); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em; border-radius: var(--radius); white-space: nowrap;
}
.site-header #siteNav .navbar-nav > li > a:hover,
.site-header #siteNav .navbar-nav > li > a:focus,
.site-header #siteNav .navbar-nav > li > a.active {
  color: var(--ink); background: rgba(249,186,39,.16);
}
#siteNav .dropdown-menu {
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: .4rem; background: var(--white);
}
#siteNav .dropdown-menu .dropdown-item {
  display: block; padding: .5rem .85rem; color: var(--ink-soft);
  font-weight: 600; border-radius: var(--radius);
}
#siteNav .dropdown-menu .dropdown-item:hover {
  background: var(--bg-soft); color: var(--accent-hover);
}

.header-actions { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.btn-call {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; background: var(--accent); color: var(--accent-ink) !important;
  border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.btn-call:hover { background: var(--accent-hover); color: var(--accent-ink) !important; }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--wa); color: #fff !important; font-size: 1.2rem;
}
.btn-wa:hover { background: var(--wa-dark); color: #fff !important; }
.navbar-toggler {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .4rem .55rem; background: var(--bg);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--ink); font-size: 1.35rem; }

/* Hero / slider */
.hero-slider { position: relative; background: var(--ink); overflow: hidden; }
.hero-slider .swiper { width: 100%; height: min(72vh, 620px); }
.hero-slider .swiper-slide { position: relative; overflow: hidden; background: #111216; }
.hero-slider .swiper-slide > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-slider .swiper-slide-active > img { z-index: 1; }
.hero-slider .slideContent {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, rgba(17,18,22,.12) 0%, rgba(17,18,22,.72) 100%);
  color: #fff; pointer-events: none;
}
.hero-slider .slideContent .btn-group { pointer-events: auto; }
.hero-slider .slideContent:empty { display: none; }
.hero-slider .slideContent .title {
  color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.02em;
}
.hero-slider .slideContent p { color: rgba(255,255,255,.88); margin: 0 0 1rem; max-width: 36rem; }
.hero-slider .btn-group { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-slider .btn-group a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.1rem; border-radius: 999px; font-weight: 700;
  background: var(--accent); color: var(--accent-ink) !important;
}
.hero-slider .btn-group a:hover { background: var(--accent-hover); }
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #fff; --swiper-navigation-size: 28px;
}
.hero-slider .swiper-pagination-bullet-active { background: var(--accent); }

/* Page sections */
.page-section { padding: clamp(2rem, 4vw, 3.25rem) 0; }
.page-section + .page-section { padding-top: 0; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hover);
  margin-bottom: .35rem;
}
.section-title {
  font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; margin: 0 0 1rem;
}
.content-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-soft);
}
.content-panel .content :is(h1,h2,h3) { margin-top: 0; }
.content-panel .content ol,
.content-panel .content ul { padding-left: 1.2rem; }
.content-panel .content li { margin-bottom: .45rem; }

/* Service cards */
.projectList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.25rem;
}
.projectList .item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.projectList .item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-soft);
}
.projectList .item .img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.projectList .item .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.projectList .item:hover .img img { transform: scale(1.04); }
.projectList .item .img .btn {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(17,18,22,.75));
  padding: 1.5rem 1rem .85rem; opacity: 0; transition: opacity .25s ease;
}
.projectList .item:hover .img .btn { opacity: 1; }
.projectList .item .img .btn a {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #fff !important; font-weight: 700; font-size: .88rem;
}
.projectList .item .title { padding: .9rem 1rem 1.05rem; }
.projectList .item .title h3 {
  margin: 0; font-size: 1.02rem; font-weight: 700;
}
.projectList .item .title a { color: var(--ink); }
.projectList .item .title a:hover { color: var(--accent-hover); }

/* Breadcrumb */
.page-hero {
  background: linear-gradient(135deg, #22252c 0%, #17191e 60%), #17191e;
  color: #fff; padding: 1.75rem 0 1.5rem;
  border-bottom: 3px solid var(--accent);
}
.page-hero .title { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .65rem; }
.breadcrumb-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; padding: 0; margin: 0; }
.breadcrumb-nav li { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.7); font-size: .88rem; }
.breadcrumb-nav a { color: rgba(255,255,255,.88); }
.breadcrumb-nav a:hover { color: var(--accent); }

/* Side nav */
.side-nav {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem;
}
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav > ul > li > a {
  display: block; padding: .55rem .7rem; font-weight: 700; color: var(--ink);
  border-radius: var(--radius);
}
.side-nav .subList { padding-left: .4rem; margin: .15rem 0 .5rem; }
.side-nav .subItem a {
  display: flex; align-items: center; gap: .35rem;
  padding: .4rem .65rem; color: var(--ink-soft); font-size: .92rem; border-radius: var(--radius);
}
.side-nav .subItem.active a,
.side-nav .subItem a:hover { background: rgba(249,186,39,.14); color: var(--ink); }
.side-nav li.active > a { background: rgba(249,186,39,.18); }

/* Contact */
.contact-info { list-style: none; padding: 0; margin: 1rem 0; }
.contact-info li { margin-bottom: .65rem; }
.contact-info a {
  display: flex; gap: .55rem; align-items: flex-start;
  color: var(--ink-soft); font-weight: 600;
}
.contact-info a:hover { color: var(--accent-hover); }
.contact-info i { color: var(--accent-hover); margin-top: .15rem; }
.social-links { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.social-links a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.1rem;
}
.social-links a:hover { background: var(--accent); color: var(--accent-ink); }

.formPage label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.formPage .formElement { margin-bottom: 1rem; }
.formPage input,
.formPage textarea,
.formPage select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .85rem; font: inherit; background: #fff;
}
.formPage input:focus,
.formPage textarea:focus { outline: 2px solid rgba(249,186,39,.45); border-color: var(--accent); }
.formPage button,
.formPage .btn-submit {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .75rem 1.25rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer;
}
.formPage button:hover { background: var(--accent-hover); }
.formPage .errorMsg.error { color: #c0392b; font-size: .85rem; }
.formPage .errorBorder { border-color: #c0392b !important; }
.formMsg.info { color: #1e7a3a; margin-top: .75rem; font-weight: 600; }
.formMsg.error { color: #c0392b; margin-top: .75rem; font-weight: 600; }
.iframeMaps { margin-top: 1.5rem; }
.iframeMaps iframe { width: 100% !important; border: 0; border-radius: var(--radius); min-height: 360px; }

.filterHeader {
  display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0;
  padding: 1rem; background: var(--bg-soft); border-radius: var(--radius);
}
.filterHeader .input { flex: 1 1 200px; }
.filterHeader label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .85rem; }
.filterHeader input, .filterHeader select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .55rem .75rem; font: inherit;
}

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem; list-style: none; padding: 0; margin: 1.25rem 0 0;
}
.gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius); }

.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.table-wrap table { width: 100%; margin: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 1.5rem 0 0; justify-content: center; }
.pagination a, .pagination span {
  display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center;
  padding: 0 .55rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-weight: 600;
}
.pagination .active span, .pagination a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Footer */
.site-footer {
  background: var(--footer-bg); color: rgba(255,255,255,.78);
  padding: 3rem 0 0; margin-top: 2rem;
}
.site-footer .brand img {
  height: 48px; width: auto;
  background: #fff; padding: .4rem .65rem; border-radius: 8px;
}
.site-footer p { color: rgba(255,255,255,.7); }
.site-footer h3 {
  color: #fff; font-size: .85rem; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .menus li { margin-bottom: .4rem; }
.site-footer .menus a { color: rgba(255,255,255,.72); font-size: .92rem; }
.site-footer .menus a:hover { color: var(--accent); }
.site-footer .info li { margin-bottom: .55rem; }
.site-footer .info a {
  display: flex; gap: .45rem; align-items: flex-start;
  color: rgba(255,255,255,.78);
}
.site-footer .info a:hover { color: var(--accent); }
.site-footer .info i { color: var(--accent); margin-top: .15rem; }
.site-footer .social { display: flex; gap: .5rem; margin-top: 1rem; }
.site-footer .social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem;
}
.site-footer .social a:hover { background: var(--accent); color: var(--accent-ink); }
.site-footer .copyright {
  margin-top: 2rem; padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: .88rem; color: rgba(255,255,255,.55);
}

/* Floating contacts */
.float-actions {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030;
  display: flex; flex-direction: column; gap: .55rem;
}
.float-actions a {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff !important; font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.float-actions .fa-call { background: var(--accent); color: var(--accent-ink) !important; }
.float-actions .fa-wa { background: var(--wa); }
.float-actions .fa-mail { background: #3b82f6; }
.float-actions a:hover { transform: translateY(-2px); }

#toTop {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 1020;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; display: none;
  align-items: center; justify-content: center; text-decoration: none;
}
#toTop.show { display: inline-flex; }

/* Cookie */
#cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1050;
  max-width: 520px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 1.15rem 1.25rem 1.25rem;
}
#cookie .cookieClose {
  position: absolute; top: .65rem; right: .85rem; cursor: pointer;
  font-weight: 700; color: var(--muted);
}
#cookie a { color: var(--accent-hover); font-weight: 700; }

/* 404 */
.error-box { text-align: center; padding: 4rem 1rem; }
.error-box .code { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; color: var(--accent); line-height: 1; }

@media (max-width: 991.98px) {
  .projectList { grid-template-columns: repeat(2, 1fr); }
  .site-header #siteNav .navbar-nav { flex-wrap: wrap; }
  .hero-slider .swiper { height: min(62vh, 480px); }
}
@media (max-width: 575.98px) {
  .projectList { grid-template-columns: 1fr; }
  .site-header .brand--logo-only img { height: 40px; }
  .float-actions { right: .75rem; bottom: .75rem; }
  .float-actions a { width: 48px; height: 48px; }
}
