/* ===== Layout: header / main / footer (kaip screenshot) ===== */
html, body {
  height: 100%;
}

/* 1. Nustatome foną pačiam pagrindiniam HTML elementui */
html {
    height: 100%; /* Būtina */
    margin: 0;    /* Panaikinam bet kokias standartines naršyklės paraštes */
    padding: 0;

    /* FONO NUSTATYMAI PERKELTI ČIA */
    background: url('./images/bckg.webp');
    background-size: cover;        /* Ištampo iki kraštų */
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;  /* Fonas stovi vietoje skrolinant */
}

/* 2. Išvalome body.page, nes fonas jau yra ant html */
body.page {
  margin: 0; /* Dėl visa ko paliekam ir čia */
  padding: 0;
  font-family: Arial, sans-serif;
  
  /* background savybes iš čia IŠTRINAM, kad nesidubliuotų */

  /* 3 zonos layout lieka */
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* ... toliau tavo likęs kodas (.page-header ir t.t.) ... */
/* ===== Header ===== */
.page-header {
  padding: 18px 16px 10px;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 44px);
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff; /* jei tavo dizainas reikalauja baltos – pakeisk į #fff */
}

/* ===== Main (bracket) ===== */
.page-main {
  padding: 0 16px 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* tavo “box” dizainas (paliekam) */
.box {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 1400px;
  width: 100%;
}

/* bracket užima visą vidurinę zoną,
   o scroll’as vyksta tik bracket viduje (kaip screenshot) */
.bracket-box {
  height: 100%;
}

.bracket-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* ===== Footer (socials juosta apačioje) ===== */
.page-footer {
  padding: 18px 16px;
  display: flex;
  justify-content: left;

  /* kaip screenshot – atskira juosta */
  background: rgba(255,255,255,0.0); /* jeigu nori juostos “block” kaip screenshot, daryk #e9e9e9 arba #fff */
}

.socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.socials img {
  width: 90px;
  height: auto;
}

.social-text p {
  margin: 6px 0;
  white-space: nowrap;
  font-size: clamp(12px, 1.6vw, 14px);
}

/* linkų stilius (palik kaip nori) */
.social-text a,
.social-text span {
  color: #fff;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 480px) {
  .socials { gap: 14px; }
  .socials img { width: 70px; }
}
