/* Atak logo palette, applied through the original Poolax theme variables. */
:root,
body.atak-poolax {
  --atak-blue: #1d5483;
  --atak-turquoise: #1fb2b0;
  --atak-ink: #153a57;
  --theme-color: var(--atak-blue);
  --theme-color2: #167e80;
  --theme-color3: var(--atak-turquoise);
  --title-color: var(--atak-ink);
  --body-color: #566979;
  --smoke-color: #f3f8fa;
  --smoke-color2: #edf7f7;
  --e-global-color-primary: var(--atak-blue);
  --e-global-color-secondary: var(--atak-ink);
  --e-global-color-accent: var(--atak-turquoise);
  --e-global-color-text: var(--body-color);
}
.atak-poolax :is(a,button,input,select,textarea):focus-visible { outline-color: var(--atak-turquoise); }
.atak-poolax .th-btn.border { color: var(--atak-blue); border-color: var(--atak-blue) !important; }
.atak-poolax .th-btn.border:hover,
.atak-poolax .th-btn.border:focus-visible { color: #fff; background-color: var(--atak-blue); }
.atak-poolax .th-btn:not(.border):not(.th-border):not(.th-border2):not(.style2):not(.style4):hover:before,
.atak-poolax .th-btn:not(.border):not(.th-border):not(.th-border2):not(.style2):not(.style4):hover:after { background: var(--atak-ink); }
.atak-poolax .header-layout4 .main-menu > ul > li > a,
.atak-poolax .header-layout4 .main-menu ul li.menu-item-has-children > a:after { color: var(--atak-ink); }
.atak-poolax .header-layout4 .main-menu > ul > li > a:hover,
.atak-poolax .header-layout4 .main-menu > ul > li.current-menu-item > a { color: var(--atak-blue); }
.atak-poolax .header-layout4 .header-button .icon-btn { color: var(--atak-blue); background: var(--smoke-color2); }
.atak-poolax .header-layout4 .header-button .icon-btn:hover,
.atak-poolax .header-layout4 .header-button .icon-btn:focus-visible { color:#fff; background:var(--atak-blue); border-color:var(--atak-blue); }
/* One theme header across pages, posts, archives and Elementor documents. */
.atak-poolax #atak-site-header,
.atak-poolax #atak-site-header .header-layout4,
.atak-poolax #atak-site-header .sticky-wrapper,
.atak-poolax #atak-site-header .menu-area { background:#fff; }
.atak-poolax #atak-site-header .header-layout4:before { content:none; }
.atak-poolax #atak-site-header .main-menu > ul > li > a,
.atak-poolax #atak-site-header .main-menu ul li.menu-item-has-children > a:after { color:var(--atak-ink); }
.atak-poolax #atak-site-header .main-menu a:hover,
.atak-poolax #atak-site-header .main-menu a:focus-visible,
.atak-poolax #atak-site-header .main-menu .current-menu-item > a,
.atak-poolax #atak-site-header .main-menu .current-menu-ancestor > a { color:var(--atak-blue); }
/* Keep the label centered without inheriting the generic button minimum width. */
.atak-poolax #atak-site-header .header-button .th-btn {
  background:var(--atak-blue);
  color:#fff;
  min-width:0;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
/* Keep the quote action at laptop widths; use the native drawer on tablets. */
@media (min-width:1200px) and (max-width:1399px) {
  #atak-site-header .header-logo img { width:205px; }
  #atak-site-header .main-menu > ul > li { margin:0 8px; }
  #atak-site-header .main-menu a { font-size:14px; }
  #atak-site-header .header-button .th-btn { padding:17px 20px; }
  #atak-site-header .header-button { gap:10px; }
  #atak-site-header .col-auto.ml-20 { margin-left:0; }
}
@media (min-width:768px) {
  #atak-site-header .header-button .th-btn { display:inline-flex; }
}
@media (max-width:1199px) {
  #atak-site-header .menu-area .row { flex-wrap:nowrap; }
  #atak-site-header .menu-area .col-auto:has(>.main-menu),
  #atak-site-header .sideMenuToggler { display:none !important; }
  #atak-site-header .th-menu-toggle { display:inline-block !important; }
  #atak-site-header .col-auto.ml-20 { margin-left:0; }
}
.atak-contact-dock { background: var(--atak-blue); }
/* Leave a clear rail beside the hero for the always-visible contact panel. */
.atak-poolax:has(.atak-contact-dock) .atak-hero {
  margin-right: calc(84px + max(16px, env(safe-area-inset-right)));
}
@media (max-width:767px), (max-height:520px) {
  .atak-poolax:has(.atak-contact-dock) .atak-hero {
    margin-right: calc(72px + max(12px, env(safe-area-inset-right)));
  }
}
/* On portrait phones, a short bottom row preserves the full hero width. */
@media (max-width:767px) and (min-height:568px) {
  .atak-poolax:has(.atak-contact-dock) .atak-hero { margin-right:0; }
  .atak-poolax .atak-hero .hero-style14 { padding:32px 0 75px; }
  .atak-contact-dock { flex-direction:row; width:min(276px, calc(100% - 24px)); }
  .atak-contact-action { width:25%; min-height:56px; padding:6px 3px; }
  .atak-contact-action:not(:last-child):after { top:10px; bottom:10px; left:auto; right:0; width:1px; height:auto; }
}
@media (max-width:767px) and (min-height:568px) and (max-height:650px) {
  .atak-poolax .atak-hero .hero-style14 { padding-top:16px; }
  .atak-poolax .atak-hero .hero-text { margin-bottom:22px; }
}
.atak-contact-action:hover,
.atak-contact-action:active,
.atak-contact-action:focus-visible { background: var(--atak-ink); }
.atak-contact-action:focus-visible { outline-color:#fff; }
.atak-poolax .atak-hero-controls button:hover { background: var(--atak-blue); }
/* Keep the native Poolax hero layout while fitting each complete photograph. */
.atak-poolax .atak-hero-single .hero-slider-14 { position:relative; }
.atak-poolax .atak-hero .th-hero-bg {
  background-color:var(--atak-ink);
  background-size:contain;
  background-position:right center;
  background-repeat:no-repeat;
}
/* The contact rail reduces the space available to Bootstrap's container. */
@media (max-width:1199px) {
  .atak-poolax .atak-hero .hero-slider-14 .container { width:100%; max-width:100%; }
}
/* Keep the opening actions in view on a phone held horizontally. */
@media (max-width:991px) and (max-height:520px) {
  .atak-poolax .atak-hero .hero-slider-14 { margin-left:0; padding:12px; }
  .atak-poolax .atak-hero .hero-style14 { padding:24px 0 62px; }
  .atak-poolax .atak-hero .hero-title { font-size:32px; line-height:1.18; margin-bottom:12px; }
  .atak-poolax .atak-hero .hero-text { font-size:14px; line-height:1.5; margin-bottom:16px; }
  .atak-poolax .atak-hero .btn-group { gap:12px; }
  .atak-poolax .atak-hero .th-btn { font-size:12px; padding:15px 18px; }
  .atak-poolax .atak-hero-controls { bottom:20px; right:20px; }
}
.atak-poolax .atak-form-notice { color: var(--atak-ink); border-color: var(--atak-turquoise); background: var(--smoke-color2); }
.atak-poolax .atak-google-reviews { background:var(--smoke-color); }
.atak-poolax .atak-google-reviews-placeholder { max-width:760px; margin:auto; padding:40px; border:1px dashed #b9d2de; border-radius:20px; background:#fff; text-align:center; }
.atak-reviews-setup-icon { display:grid; place-items:center; width:54px; height:54px; margin:0 auto 20px; border-radius:50%; background:var(--smoke-color2); color:var(--atak-blue); }
.atak-reviews-setup-icon .atak-icon { width:28px; height:28px; }
.atak-google-reviews-placeholder h3 { font-size:24px; margin-bottom:14px; }
.atak-google-reviews-placeholder p { margin-bottom:16px; }
.atak-google-reviews-placeholder small { display:block; font-size:13px; line-height:1.6; color:var(--body-color); }
@media (max-width:767px) { .atak-poolax .atak-google-reviews-placeholder { padding:26px 20px; } .atak-google-reviews-placeholder h3 { font-size:21px; } }
.atak-poolax .atak-editor-cards-services { background: var(--smoke-color); }
.atak-poolax .atak-editor-cards-features { padding-top:0; }
.atak-poolax .atak-source-feature:hover h3,
.atak-poolax .atak-source-feature:hover h2 { color:var(--title-color); }
.atak-poolax .atak-source-feature:hover p { color:var(--body-color); }
.atak-poolax .atak-source-feature:hover a { color:var(--theme-color); }
.atak-home-service-card.service-card { min-width:0; max-width:none; display:flex; flex-direction:column; width:100%; }
.atak-home-service-card .service-card_img { display:block; }
.atak-home-service-card .service-card_img img { width:100%; height:220px; object-fit:cover; }
.atak-home-service-card .service-card_content { flex:1; display:flex; flex-direction:column; }
.atak-home-service-card.service-card.style1 .box-title { font-size:28px; line-height:1.2; margin-bottom:15px; min-height:0; }
.atak-home-service-card .service-card_text { margin-bottom:24px; }
.atak-service-card-actions { display:flex; flex-direction:column; align-items:flex-start; gap:18px; margin-top:auto; }
.atak-home-service-card.service-card .th-btn { min-width:0; white-space:normal; line-height:1.3; padding:17px 20px; }
.atak-home-service-card .link-btn { font-size:14px; }
.atak-home-service-card .link-btn .atak-icon,
.atak-home-project-card .link-btn .atak-icon { width:18px; height:18px; margin-left:7px; }
.atak-section-copy p:last-child { margin-bottom:0; }
.atak-home-projects .title-area { margin-bottom:28px; }
.atak-home-project-card.project-card .project-img img { height:460px; object-position:50% 78%; }
.atak-home-project-card.project-card .project-content,
.atak-home-project-card.project-card:hover .project-content { left:24px; right:24px; bottom:24px; min-width:0; padding:24px; border-radius:10px; opacity:1; text-align:left; background:#fff; }
.atak-home-project-card .project-content .box-title { font-size:26px; margin-bottom:12px; }
.atak-home-projects .col-lg-4 .project-img img { height:390px; }
.atak-home-quote { background:var(--smoke-color2); }
.atak-home-quote-copy { max-width:500px; padding-right:32px; }
.atak-home-quote .atak-form-panel { background:#fff; }
.atak-home-quote .atak-form-panel h3 { margin-bottom:24px; }
.atak-home-quote-phone { display:inline-flex; align-items:center; gap:16px; margin-top:32px; color:var(--atak-blue); }
.atak-home-quote-phone > .atak-icon { width:36px; height:36px; }
.atak-home-quote-phone span { font-size:14px; }
.atak-home-quote-phone strong { display:block; font:500 26px/1.4 var(--title-font); }
.atak-home-quote .atak-quote-form label { color:var(--atak-ink); }
.atak-home-quote .atak-quote-form input,
.atak-home-quote .atak-quote-form select { background:var(--smoke-color); color:var(--atak-ink); }
.atak-home-quote .atak-quote-form input:focus,
.atak-home-quote .atak-quote-form select:focus { border-color:var(--atak-blue); }
#teklif-formu, #projelerimiz { scroll-margin-top:130px; }
@media (max-width:1199px) {
  .atak-home-service-card.service-card { padding:20px; }
  .atak-home-service-card.service-card.style1 .box-title { font-size:25px; }
}
@media (max-width:991px) {
  .atak-home-quote-copy { max-width:none; padding-right:0; }
  .atak-home-project-card.project-card .project-img img { height:420px; }
}
@media (max-width:767px) {
  .atak-home-service-card .service-card_img img { height:auto; aspect-ratio:16/10; }
  .atak-home-project-card.project-card .project-img img { height:390px; }
  .atak-home-project-card.project-card .project-content,
  .atak-home-project-card.project-card:hover .project-content { left:16px; right:16px; bottom:16px; padding:20px; }
  .atak-home-project-card .project-content .box-title { font-size:23px; }
  .atak-home-quote-phone strong { font-size:23px; }
  .atak-home-quote .atak-form-panel { padding:26px 20px; }
  #teklif-formu, #projelerimiz { scroll-margin-top:95px; }
}

/* Native contact links remain usable by touch, keyboard and without scripts. */
.atak-source-contact .atak-contact-phone-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--atak-blue);
}
.atak-source-contact .atak-contact-address-link {
  color:var(--atak-blue);
  text-decoration:underline;
  text-underline-offset:3px;
}
.atak-source-contact .atak-contact-map-action { margin:20px 0 0; }
.atak-source-contact .atak-contact-map-link {
  max-width:100%;
  white-space:normal;
  text-align:center;
}
.atak-source-contact .atak-contact-map-embed {
  width:100%;
  max-width:100%;
  margin-top:24px;
  overflow:hidden;
  border:1px solid #d6e3ee;
  border-radius:16px;
  background:#edf8fc;
}
.atak-source-contact .atak-contact-map-embed iframe {
  display:block;
  width:100%;
  height:360px;
  border:0;
}
@media (max-width:767px) {
  .atak-source-contact .atak-contact-map-embed iframe { height:300px; }
}

