/*
Theme Name: Formula Karras
Theme URI: https://webbuilder.gr/
Author: WEBBUILDer
Author URI: https://webbuilder.gr/
Description: Custom WordPress theme for Formula Karras landing page with page-level ACF content, classic editor support, and responsive desktop/mobile template.
Version: 2.3.0
Text Domain: formula-karras
*/

@font-face {
  font-family: 'GothamCustom';
  src: url('assets/fonts/GothamGRBook.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamCustom';
  src: url('assets/fonts/GothamGRBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --fk-bg: #090403;
  --fk-text: #e6cbb7;
  --fk-soft: rgba(230, 203, 183, 0.84);
  --fk-muted: rgba(230, 203, 183, 0.72);
  --fk-divider: rgba(230, 203, 183, 0.88);
  --fk-max: 1720px;
  --fk-font: 'GothamCustom', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--fk-text);
  background: var(--fk-bg);
  font-family: var(--fk-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site,
.site-main,
.fk-page {
  min-height: 100vh;
}

.fk-page {
  position: relative;
  overflow: hidden;
  background-color: var(--fk-bg);
}

.fk-page__background {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.015);
}

.fk-page__background::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 14%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0) 42%),
    linear-gradient(90deg, rgba(42,21,12,0.30) 0%, rgba(20,10,7,0.18) 28%, rgba(10,5,4,0.02) 48%, rgba(8,4,3,0.50) 72%, rgba(4,2,2,0.88) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(16,8,6,0.03) 34%, rgba(6,3,2,0.26) 100%);
}

.fk-page__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: var(--fk-max);
  margin: 0 auto;
  padding: 26px 48px 22px;
  display: grid;
  grid-template-columns: 28% 44% 28%;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
}


/* Shared */
.fk-column {
  align-self: center;
}

/* Left */
.fk-column--left {
  grid-column: 1;
  grid-row: 2;
  max-width: 520px;
  align-self: center;
  justify-self: start;
  padding-top: 140px;
  padding-left: 4px;
}

.fk-section-title {
  margin: 0 0 18px;
  max-width: 360px;
  font-family: var(--fk-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fk-text);
}

.fk-left-divider,
.fk-right-divider {
  height: 1px;
  background: var(--fk-divider);
}

.fk-left-divider {
  width: 80px;
  margin: 0 0 22px;
}

.fk-services {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  max-width: 520px;
  font-family: var(--fk-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--fk-soft);
}

.fk-services li {
  position: relative;
  padding-left: 13px;
  font-weight: 600;
}

.fk-services li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fk-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.0;
  opacity: 0.9;
}
.fk-certification { 
	position: relative; 
	max-width: 520px; 
	margin-top: 30px; 
	padding-top: 16px; 
	border-top: none; 
	font-family: 
	var(--fk-font); 
	font-size: 14px; 
	font-weight: 600; 
	line-height: 1.4;
	color: var(--fk-muted);
}
.fk-certification {
  font-size: 14px;
  font-weight: 600;
}

.fk-certification strong {
  font-size: 18px;
  font-weight: 800;
}
.fk-certification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: var(--fk-divider);
}

/* Center */
.fk-column--center {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  padding-top: 132px;
}

.fk-coming-soon {
  width: min(560px, 100%);
  transform: translateY(50px);
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.22));
}

/* Right */
.fk-column--right {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 395px;
  text-align: center;
  padding-top: 154px;
  padding-right: 28px;
}

.fk-title {
  margin: 10px;
  font-family: var(--fk-font);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fk-text);
  white-space: nowrap;
}

.fk-subtitle {
  margin-top: 14px;
  font-family: var(--fk-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fk-text);
}

.fk-right-divider {
  width: 80px;
  margin: 40px auto 40px;
}

.fk-contact-block + .fk-contact-block {
  margin-top: 18px;
}

.fk-contact-label {
  margin-bottom: 8px;
  font-family: var(--fk-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fk-text);
}

.fk-phone,
.fk-email {
  font-family: var(--fk-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 0.8;
  color: var(--fk-text);
}

.fk-phone a,
.fk-email a,
.fk-phone a:visited,
.fk-email a:visited,
.fk-phone a:hover,
.fk-email a:hover {
  color: var(--fk-text);
  text-decoration: none;
}
.fk-column--right {
  text-align: center;
  padding-right: 0;
  max-width: 460px;
}

.fk-title {
  text-align: center;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.fk-subtitle,
.fk-contact-block {
  text-align: center;
}

.fk-right-divider {
  margin-left: auto;
  margin-right: auto;
}
.fk-column--right {
  transform: translateX(-30px);
}
.fk-title {
  letter-spacing: -0.01em;
}

/* Footer */
.fk-footer {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  padding-right: 100px;
  padding-bottom: 6px;
}

.fk-footer a {
  display: inline-block;
}

.fk-credit {
  width: min(240px, 100%);
  opacity: 0.96;
}

/* 1500 */
@media (max-width: 1500px) {
  .fk-page__inner {
    padding: 24px 34px 18px;
    grid-template-columns: 29% 42% 29%;
  }

  .fk-column--left {
    padding-left: 12px;
  }

  .fk-column--right {
    padding-right: 12px;
  }

  .fk-coming-soon {
    width: min(430px, 100%);
    transform: translateY(52px);
  }
}

/* 1280 */
@media (max-width: 1280px) {
  .fk-page__inner {
    grid-template-columns: 31% 38% 31%;
    padding: 20px 24px 18px;
  }

  .fk-logo {
    width: min(260px, 100%);
  }

  .fk-column--left {
    max-width: 390px;
    padding-top: 104px;
    padding-left: 6px;
  }

  .fk-column--center {
    padding-top: 104px;
  }

  .fk-column--right {
    max-width: 340px;
    padding-top: 126px;
    padding-right: 0;
  }

  .fk-services {
    font-size: 13px;
  }

  .fk-title {
    font-size: 30px;
  }

  .fk-subtitle {
    font-size: 16px;
  }

  .fk-coming-soon {
    width: min(360px, 100%);
    transform: translateY(44px);
  }
}

/* =========================
   CLEAN MOBILE (FINAL)
========================= */

@media (max-width: 767px) {

  /* BACKGROUND */
  .fk-page__background {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: 50% 0%;
    transform: none;
  }

  .fk-page__background::before {
    background:
      linear-gradient(180deg,
        rgba(5,2,1,0.2) 0%,
        rgba(5,2,1,0.45) 25%,
        rgba(5,2,1,0.75) 50%,
        rgba(5,2,1,0.92) 100%
      );
  }

  /* LAYOUT FLOW */
  .fk-page__inner {
    display: flex;
    flex-direction: column;
    padding: 140px 18px 20px;
    gap: 26px;
  }

  /* COMING SOON (TOP HERO) */
  .fk-column--center {
    order: 1;
    display: flex;
    justify-content: center;
    margin-top: -10px;
  }

  .fk-coming-soon {
    width: min(250px, 72vw);
    margin: 0 auto;
    transform: none;
  }

  /* SERVICES */
  .fk-column--left {
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .fk-section-title {
    font-size: 15px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
  }

  .fk-left-divider {
    width: 50px;
    height: 1px;
    margin-bottom: 18px;
  }

  .fk-services {
    font-size: 13.5px;
    line-height: 1.55;
    gap: 7px;
  }

  /* CERTIFICATION */
  .fk-certification {
    margin-top: 22px;
    padding-top: 14px;
    font-size: 12px;
    line-height: 1.35;
  }

  .fk-certification strong {
    font-size: 15px;
  }

  /* RIGHT BLOCK (CENTERED) */
  .fk-column--right {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .fk-title {
    font-size: 30px;
    letter-spacing: 0;
    white-space: normal;
    text-align: center;
    margin: 0 auto 8px;
  }

  .fk-subtitle {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 14px;
    text-align: center;
  }

  .fk-right-divider {
    width: 50px;
    height: 1px;
    margin: 18px auto;
  }

  .fk-contact-label {
    font-size: 13px;
  }

  .fk-phone,
	.fk-email {
    font-size: 15px;
  }
  
  /* FOOTER */
  .fk-footer {
    order: 4;
    width: 100%;
    text-align: center;
    padding: 18px 0 10px;
  }

  .fk-credit {
    width: 190px;
    max-width: 70vw;
    margin: 0 auto;
  }
	.fk-footer a {
  display: inline-flex;
  justify-content: center;
}
}
.fk-address {
  font-family: var(--fk-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.fk-address a {
  color: var(--fk-text);
  text-decoration: none;
}

.fk-address a:hover {
  opacity: 0.8;
}
@media (max-width: 767px) {
  .fk-address {
    text-align: center;
    font-size: 15px;
  }
}
.fk-phone-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fk-phone-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-family: var(--fk-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--fk-text);
}

.fk-phone-row a {
  color: var(--fk-text);
  text-decoration: none;
}

.fk-phone-row--bottom {
  justify-content: center;
}
@media (max-width: 767px) {

  .fk-phone-row {
    font-size: 15px;
    gap: 8px;
    flex-wrap: wrap;
  }

}
/* Fix missing variable */
:root {
  --fk-font-heading: var(--fk-font);
}

/* Phone group */
.fk-phone-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fk-phone-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--fk-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fk-text);
}

.fk-phone-row a {
  color: var(--fk-text);
  text-decoration: none;
}

/* Email να μην κολλάει στα τηλέφωνα */
.fk-email-block {
  margin-top: 30px !important;
}

.fk-email {
  font-size: 22px;
  line-height: 1.25;
}

/* Address spacing */
.fk-address-block {
  margin-top: 28px !important;
}

.fk-address {
  font-family: var(--fk-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.fk-address a {
  color: var(--fk-text);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 767px) {
  .fk-phone-row {
    font-size: 15px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .fk-email-block {
    margin-top: 22px !important;
  }

  .fk-email {
    font-size: 15px;
    line-height: 1.35;
  }

  .fk-address-block {
    margin-top: 22px !important;
  }

  .fk-address {
    text-align: center;
    font-size: 15px;
    line-height: 1.35;
  }
}