/* Naglowek + menu babyjagi.com.
   Arkusz dla podstron ze starym layoutem - zawiera WYLACZNIE reguly gornej
   belki plus neutralizacje kolidujacych regul starych arkuszy. */
@import url('fonts.css');

:root {
  --purple-top: #7a00cf;
  --purple-bot: #ad00ff;
  --pink-top: #e6006b;
  --pink-bot: #ff1f7a;
  --page-bg: #7a776e;
  --wrap: 1100px;
  --hero-h: 190px;
  --nav-h: 62px;
}
.topstrip { height: 46px;
}
.hero {
  position: relative;
  height: var(--hero-h);
  background: linear-gradient(180deg, var(--purple-top) 0%, var(--purple-bot) 100%);
  border-bottom: 2px solid #12000f;
}
.hero-inner {
  position: relative;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.shoes {
  position: absolute;
  right: 26px;
  bottom: -22px;
  height: 258px;
  opacity: .6;
  pointer-events: none;
  user-select: none;
}
.logo {
  position: relative;
  z-index: 3;
  margin-right: 90px;
  text-align: center;
  text-decoration: none;
  transform: rotate(-1.2deg);
}
.logo-main {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 60px;
  line-height: .95;
  letter-spacing: .02em;
  color: #fff;
  text-shadow:
     0 1px 0 #f3e0ff,
     0 2px 3px rgba(40,0,60,.55),
     0 -1px 0 rgba(90,0,140,.6);
}
.logo-sub {
  display: block;
  margin-top: -2px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(40,0,60,.6);
}
.lang {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 4;
}
.lang img {
  display: block;
  width: 40px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
  transition: transform .15s;
}
.lang img:hover { transform: scale(1.08);
}
.polaroid-wrap {
  position: absolute;
  left: 20px;
  top: -42px;
  z-index: 5;
  width: 330px;
}
.hook {
  position: absolute;
  left: 62px;
  top: -30px;
  width: 46px;
  height: 74px;
  z-index: 6;
}
.polaroid {
  position: relative;
  display: block;
  padding: 13px 13px 42px;
  background: #fff;
  transform: rotate(-7.5deg);
  box-shadow: 0 14px 28px rgba(20,0,30,.45), 0 2px 6px rgba(0,0,0,.3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.polaroid:hover {
  transform: rotate(-5deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(20,0,30,.55);
}
.frame {
  position: relative;
  aspect-ratio: 265 / 197;
  overflow: hidden;
  background: #1a1020;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.frame img.is-active { opacity: 1;
}
.polaroid figcaption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mainnav {
  position: relative;
  height: var(--nav-h);
  background: linear-gradient(180deg, var(--pink-top) 0%, var(--pink-bot) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.mainnav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 26px 0 372px;
  list-style: none;
}
.mainnav a {
  position: relative;
  font-family: 'Archivo Narrow', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(120,0,50,.5);
  transition: color .15s;
}
.mainnav a::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #ff8dc0;
  opacity: .85;
}
.mainnav a:hover, .mainnav a[aria-current='page'] { color: #ffe3f0;
}
.mainnav a:hover::before { background: #fff;
}
.nav-toggle { display: none;
}

/* ------------------------------------------------------------------ *
 *  Zgodnosc ze starymi arkuszami podstron (styl.css / cs.css / 1.css) *
 * ------------------------------------------------------------------ */

/* pusty pas, ktory zostal po wycietym obiekcie Flash */
/* 1.css - naglowek na divach */
.top, .topflash, .topflashblack { display: none !important; }
/* styl.css - naglowek w tabeli: komorka td.two miala 309 px i tlo main.gif */
td.two, td.twoblack { display: none !important; }
td.one { background: none !important; }

/* cs.css stylowal globalnie ul/li/a pod menu galerii (width:195px, ramki) */
.mainnav ul { width: auto; }
.mainnav li { width: auto; display: list-item; border: 0; background: none; font: inherit; }
.mainnav a,
.mainnav a:link,
.mainnav a:visited {
  display: inline;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: none;
  color: #fff;
}
.mainnav a:hover { background: none; }


@media (max-width: 1090px) {
  .polaroid-wrap { width: 286px;
  }
  .hook { left: 52px;
  }
  .logo-main { font-size: 52px;
  }
  .logo-sub { font-size: 18px;
  }
  .logo { margin-right: 40px;
  }
  .shoes { height: 220px; right: 10px;
  }
  .mainnav ul { padding: 0 20px 0 316px; gap: 15px;
  }
  .mainnav a { font-size: 17px;
  }
  .mainnav a::before { top: -12px; width: 6px; height: 6px; margin-left: -3px;
  }
}

@media (max-width: 860px) {
  :root { --hero-h: auto;
  }
  .topstrip { height: 0;
  }
  .hero { padding: 26px 0 22px;
  }
  .hero-inner {
      flex-direction: column;
      align-items: center;
      gap: 18px;
      padding: 0 16px;
  }
  .logo { margin: 0; order: 2;
  }
  .logo-main { font-size: 46px;
  }
  .logo-sub { font-size: 16px;
  }
  .polaroid-wrap { position: static; order: 1; width: 250px;
  }
  .hook { display: none;
  }
  .polaroid { transform: rotate(-3deg); padding: 10px 10px 32px;
  }
  .shoes { display: none;
  }
  .lang { top: 12px; right: 14px;
  }
  .lang img { width: 32px;
  }
  .nav-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      height: 50px;
      padding: 0 16px;
      background: none;
      border: 0;
      color: #fff;
      font: 700 19px/1 'Archivo Narrow', 'Arial Narrow', sans-serif;
      letter-spacing: .04em;
      text-transform: uppercase;
      cursor: pointer;
  }
  .mainnav { height: auto; min-height: 50px;
  }
  .mainnav ul {
      display: none;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0 0 8px;
      border-top: 1px solid rgba(255,255,255,.3);
  }
  .mainnav.open ul { display: flex;
  }
  .mainnav a { display: block; padding: 13px 18px; font-size: 20px;
      border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .mainnav a::before { display: none;
  }
}
