/* ==========================================================================
   ITbutler.dk — vanilla rebuild of the WordPress/Elementor site
   Colors, type scale and breakpoints reproduced 1:1 from the original.
   Breakpoints: tablet <=1024px, mobile <=767px (Elementor defaults).
   ========================================================================== */

/* ---- Custom font (matches the original @font-face exactly: single upright
        variable face, no weight range — so 500/600 render as the live site) -- */
@font-face {
  font-family: 'Roboto';
  font-display: auto;
  src: url('../fonts/Roboto-VariableFont.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-display: auto;
  src: url('../fonts/Roboto-Italic-VariableFont.ttf') format('truetype');
}

:root {
  --green:        #4D9454; /* brand green: heading, dividers, buttons, text */
  --green-accent: #61CE70; /* button hover (Elementor global "accent")        */
  --blue:         #4D5A94; /* AnyDesk buttons on the support page             */
  --fg:           #0B0620; /* default foreground                              */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--fg);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   Shared button (Elementor button widget, reproduced)
   ========================================================================== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;                 /* Elementor "align: justify" => full width */
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
  background: var(--green);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}
.btn:hover,
.btn:focus { background: var(--green-accent); color: #ffffff; }

.btn svg {
  display: block;            /* removes inline baseline gap (keeps height = font + padding) */
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   FRONT PAGE  (was Elementor post-209, "blank" template)
   ========================================================================== */

/* global-padding wrapper + 42rem constrained content column */
.entry { padding: 0 clamp(1.5rem, 6vw, 2rem); }
.page  { max-width: 42rem; margin: 0 auto; }

/* logo */
.logo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
}
.logo-row img { width: 347px; }

/* "ITbutler" wordmark */
.brand-row { margin-top: 35px; text-align: center; }
.brand {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 100px;
  font-weight: 600;
  line-height: 77px;
  letter-spacing: -0.02em;   /* matches the theme's global h2 rule */
  color: var(--green);
}

/* subtitle */
.subtitle-row { margin-top: 25px; text-align: center; }
.subtitle {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 30px;
  color: var(--green);
}

/* divider band: spacer + hr + spacer */
.band { text-align: center; }
.spacer { height: 75px; }
.divider {
  width: 100px;
  height: 1px;
  border: 0;
  background-color: #4d9454;
  margin: auto;
  opacity: 0.5;
}

/* action buttons (email / call / sms) — 100px inset, buttons stretch to fill */
.actions { display: flex; flex-direction: column; padding: 0 100px; }
.actions .btn { margin-top: 20px; }
.actions .btn:first-child { margin-top: 0; }        /* email sits flush */
.btn-phone {                                        /* call + sms variants */
  letter-spacing: 3px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}

/* centered text blocks (services / prices / address) */
.textwrap { max-width: 600px; margin: 0 auto; }
.textwrap--last { margin-bottom: 100px; }
.textblock {
  margin: 0 20px;
  text-align: center;
  color: var(--green);
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
}
.textblock p { margin: 0; }            /* spacing comes from empty <p> lines */
.textblock--address { font-size: 22px; }

/* ---- tablet: <=1024px ---- */
@media (max-width: 1024px) {
  .logo-row img { width: 287px; }
  .brand-row { margin-top: 25px; }
  .brand { font-size: 80px; }
  .subtitle-row { margin-top: 15px; }
  .subtitle { font-size: 20px; line-height: 25px; }
  .actions .btn { font-size: 30px; }
}

/* ---- mobile: <=767px ---- */
@media (max-width: 767px) {
  .logo-row img { width: 247px; }
  .brand-row { margin-top: 10px; }
  .brand { font-size: 85px; }
  .subtitle-row { margin-top: 0; }
  .subtitle { font-size: 20px; }
  .spacer { height: 50px; }
  .actions { padding: 0; }                  /* mobile: no inset, full-width buttons */
  .actions .btn { font-size: 23px; padding: 15px; }
  .actions .btn:first-child { margin-top: 20px; }
  .textwrap { max-width: 100%; }
  .textblock { margin: 0; font-size: 20px; }
  .textblock--address { font-size: 17px; }
}

/* ==========================================================================
   SUPPORT PAGE  (was Elementor post-685, "canvas" template — no body padding)
   ========================================================================== */

/* centered logo, links home (width = 31% of container, capped at the original 159px) */
.s-logo { margin-top: 20px; }
.s-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
.s-logo img {
  display: block;
  width: 31%;
  max-width: 159px;
  margin: 0 auto;
}

/* stacked download buttons — each shrink-wrapped to its own text, centered */
.s-buttons { width: 100%; margin-top: 50px; }
.s-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s-stack .btn { width: auto; }
.btn-tvwin { margin-top: 0; }
.btn-tvmac { margin-top: 30px; }
.btn-adwin { margin-top: 100px; background: var(--blue); }
.btn-admac { margin-top: 30px;  background: var(--blue); }

@media (max-width: 1024px) {
  .s-inner { max-width: 1024px; }
  .s-buttons .btn { font-size: 30px; }
}
@media (max-width: 767px) {
  .s-inner { max-width: 767px; }
  .s-buttons .btn { font-size: 23px; padding: 15px; }
  .btn-tvwin { margin-top: 20px; }
  .btn-tvmac { margin-top: 20px; }
  .btn-adwin { margin-top: 50px; }
  .btn-admac { margin-top: 20px; }
}
