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

html {
    font-size: 62.5%;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    color: #fff;
    background-color: #1b1b1b;
}

h1.company-name {
    font-size: 2.5em;
    color: #ad8500;
}

.wrapper {
    margin: 0 auto;
    min-width: 1200px;
    width: 100%;
}

.header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.header__text {
    display: grid;
    justify-content: center;
    align-content: center;
    grid-row: 2/3;
    grid-column: 1/3;
}

.header__text p {
    padding: 10px 0 10px 0;
    font-weight: 200;
    font-size: 20px;
}

.header__img {
    grid-row: 1/2;
    grid-column: 1/3;
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("/img/mamikon-header.webp");
    background-size: cover;
    background-position: center;
}

.header .border {
    position: relative;
    margin-top: 20px;
    padding: 20px 40px;
    background: none;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 0.8em;
    cursor: pointer;
    overflow: hidden;
}

.header .border::before, .header .border:after {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    content: "";
    transition: all 0.5s;
    z-index: -1;
}

.header .border {
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
}

.header .border::after {
    bottom: 0;
    right: 0;
}

.header .border:hover {
    color: #ad8500;
    border: 1px solid transparent;
}

.header .border:hover::after {
    bottom: -10px;
    right: -10px;
    border-bottom: 1px solid #ad8500;
    border-right: 1px solid #ad8500;
}

.header .border:hover::before {
    top: -10px;
    left: -10px;
    border-top: 1px solid #ad8500;
    border-left: 1px solid #ad8500;
}

.hamburger-desktop {
    display: none;
    position: fixed;
    display: none;
}

#sideNav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    z-index: 2;
    transition: 0.5s;
    background-image: linear-gradient(to bottom, #0f0f0f , #1b1b1b);
}

#sideNav li:hover {
    transition: all 0.5s ease;
}

nav ul li, nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5empx;
    padding: 10px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    list-style: none;
}

nav ul li, nav ul li a:hover {
    cursor: pointer;
}

nav ul li, nav ul li a,
nav ul li::after, nav ul li a::after,
nav ul li::before, nav ul li a::before {
    transition: 0.3s;
}

nav ul li::after, nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #ad8500;
    transition: transform 0.3s;
    transform: scaleX(0);
    transform-origin: left;
}

nav ul li:hover::after, nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: right;
}

#menubtn {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 3px;
    z-index: 3;
    cursor: pointer;
}

#menubtn img {
    width: 40px;
    height: 40px;
    padding-right: 10px;
    background-color: transparent;
}

.section__header {
    margin: auto;
    text-align: center;
    font-size: 27px;
    letter-spacing: 3px;
}

#about {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.712), rgba(18, 18, 18, 0.932)), url("/img/mamikon-bg-1.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 30px;
}

#about .about__header {
    margin: auto;
    padding: 50px;

    font-size: 3em;
}

#about .general-info {
    padding-top: 50px;
    width: 80%;
    margin: auto;

    font-size: 1.5em;
}

#about .general-info h2 {
    color: #ad8500;
}

#about .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

#about .box {
    padding: 50px;
}

#about .box img {
    width: 700px;
    height: 450px;
}

#about .box p {
    padding-top: 50px;
    font-size: 1.5em;
}

#about .box h2 {
    font-size: 2em;
}

#about .box p {
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
}

#gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    background-color: #191919;
    color: #fff;
}

.lightbox {
    margin: 90px;
    padding: 90px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    list-style-type: none;
}

.photo {
    margin: 32px;
    cursor: pointer;
    max-height: 500px;
    max-width: 500px;
    transition: opacity 0.2s;
}

.photo:hover {
    opacity: 50%;
}

.photo img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.popup {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    align-content: center;
    justify-content: center;
    position: fixed;
    background-color: hsla(0deg, 0%, 100%, 0.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.popup.hidden {
    display: none;
}

.popup.fade-out {
    -webkit-animation: fadeOut 0.3s both;
    animation: fadeOut 0.3s both;
}

.popup__img {
    max-height: 80%;
    max-width: 80%;
    border: 5px solid rgb(0, 0, 0);
}

.popup img {
    max-width: 80%;
    max-height: 80%;
}

.popup__close {
    position: fixed;
    top: 32px;
    font-size: 128px;
}

.popup__arrow {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 128px;
    height: 128px;
    line-height: 128px;
    position: absolute;
    top: 50%;
    width: 128px;
}

.popup__close,
.popup__arrow {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.popup__close:hover,
.popup__arrow:hover {
    opacity: 1;
}

.popup__arrow--left {
    left: 3%;
    overflow: hidden;
}

.popup__arrow--right {
    right: 3%;
    overflow: hidden;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#contact {
    padding: 100px 20px 50px 20px;
    background-color: #131313;
}


.contact__info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.info__box {
    text-align: center;
    padding: 50px 20px;
    font-size: 1.2em;
}

.info__box i {
    padding-bottom: 10px;
    font-size: 2em;
}

.info__box a {
    color: #fff;
    text-decoration: none;
}

.contact__info > .info__box {
    padding: 30px 0px;
}

.mail-box {
    padding-top: 50px;
    margin: auto;
    width: 50%;
}

.mail-box .user-box {
    position: relative;
}

.mail-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
    transition: border-bottom 0.3s ease;
}

.mail-box .user-box input:focus {
    border-bottom: 1px solid #ad8500;
}

.info__button {
    position: relative;
    margin-top: 20px;
    padding: 10px 20px;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info__button:hover {
    color: #191919;
    border: 1px solid #191919;
    background-color: #fff;
}

footer {
    background-color: #0f0f0f;
    padding: 110px;
    height: 10vh;
    text-align: center;
}

footer.footer a {
    color: #fff;
    transition: opacity 0.3s ease;
}

footer.footer a:hover {
    color: #fff;
    opacity: 50%;
}

@media (max-width: 991px) {
    
    .nav-desktop {
        display: none;
    }

    #about {
        padding-top: 100px;
        overflow: hidden;
    }

    #about h3{

        font-size: 1em;
    }



    #about .general-info {
        width: 100%;
        font-size: 1em;
    }

    #about .box {
        margin: auto;
    }

    #about .box img {
        max-width: 300px;
        height: 200px;
    }

    #about .box h2 {
        font-size: 1.3em;
    }

    .lightbox {
        margin: 30px;
        padding: 30px;
    }

    .contact {
        padding: 100px 0px;
    }

    .mail-box {
        width: 90%;
    }
}

@media (min-width: 992px) {
    .header {
        grid-template-rows: auto repeat(2, 1fr);
    }

    .header__text {
        grid-row: 2/4;
        grid-column: 1/2;
    }

    .header p {
        font-size: 3rem;
    }

    .header__img {
        grid-row: 1/4;
        grid-column: 2/3;
    }

    .header .nav {
        grid-column: 1/2;
        grid-row: 1/2;
        padding: 1em;
    }

    .header .nav-desktop {
        display: block;
        background: linear-gradient(to left, rgba(144, 144, 144, 0.0980392157), #191919);
        color: #fff;
    }

    .header .nav__link {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        padding: 10px;
        text-transform: uppercase;
        position: relative;
        padding: 10px 20px;
        text-decoration: none;
    }

    .header .nav__link:hover {
        cursor: pointer;
    }

    .header .nav .link,
    .header .nav .link::after,
    .header .nav .link::before {
        transition: 0.3s;
    }

    .header .nav__link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        width: 100%;
        background-color: #ad8500;
        transition: transform 0.3s;
        transform: scaleX(0);
        transform-origin: left;
    }

    .header .nav__link:hover::after {
        transform: scaleX(1);
        transform-origin: right;
    }

    .header #sideNav {
        display: none;
    }

    .header #gallery {
        padding-top: 200px;
    }
}

a.btn-ghost {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 28px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  transition: all .3s ease;
}

a.btn-ghost:hover {
  color: #ad8500;
  border-color: transparent;
  box-shadow: 0 0 0 1px #ad8500 inset, 10px 10px 0 0 rgba(173,133,0,.15);
}

/* === SEO / Treningi personalne === */
.seo-section{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 90vh;
  width:100%;
}

.seo-media{ position:relative; }
.seo-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: grayscale(100%);
}

.seo-content{
  background:#0f0f0f;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(24px, 5vw, 64px);
}

.seo-inner{
  max-width: 62ch;
}

.seo-content h2{
  color:#ad8500;            /* zgodne z akcentem strony */
  font-size: clamp(2.4rem, 2.5vw, 3.2rem);
  margin: 0 0 16px 0;
  letter-spacing:.3px;
}

.seo-content p{
  color:#e6e6e6;
  line-height:1.75;
  margin: 0 0 14px 0;
  font-weight:300;
font-size: 1.3em;
}

@media (max-width: 991px){
  .seo-section{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* zawsze zdjęcie nad tekstem na mobile */
  .seo-media{ 
    order: -1; 
  }

  .seo-content{ 
    padding: 28px 20px 40px; 
    order: 1;
  }
}
.mail-box .user-box textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
  resize: none;
  transition: border-bottom 0.3s ease;
}

.mail-box .user-box textarea:focus {
  border-bottom: 1px solid #ad8500;
}

.mail-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: 0.3s;
}

.mail-box .user-box input:focus ~ label,
.mail-box .user-box input:valid ~ label,
.mail-box .user-box textarea:focus ~ label,
.mail-box .user-box textarea:valid ~ label {
  top: -20px;
  left: 0;
  color: #ad8500;
  font-size: 12px;
}

/* ==== PRICING ==== */
.pricing{
  background: #131313;
  padding: clamp(48px, 8vw, 96px) 20px;
}

.pricing .section__header h2{
  color:#ad8500;
}

.pricing__grid{
  margin: clamp(20px, 4vw, 40px) auto 0;
  display:grid;
  gap: clamp(16px, 2.5vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
}

.price-card{
  position: relative;
  background: #0f0f0f;
  border: 1px solid #242424;
  border-radius: 12px;
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.price-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  border-color: #ad8500;
}

.price-card__badge{
  position:absolute;
  top:12px; right:12px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing:.4px;
  padding: 6px 10px;
  border:1px solid #ad8500;
  color:#ad8500;
  border-radius: 999px;
}

.price-card--featured{
  outline: 1px solid rgba(173,133,0,.35);
  box-shadow: 0 18px 50px rgba(173,133,0,.12);
}

.price-card__header h3{
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  margin: 0 0 6px 0;
  color:#fff;
}

.price{
  font-size: clamp(2.2rem, 2.6vw, 3rem);
  color:#ad8500;
  line-height:1.2;
}

.price-sub{
  color:#cfcfcf;
  font-weight:300;
  margin-top: 2px;
}

.price-card__list{
  margin: 14px 0 16px;
  list-style: none;
}

.price-card__list li{
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color:#e6e6e6;
  font-weight:300;
  line-height:1.6;
}

.price-card__list li::before{
  content:"";
  position:absolute;
  left:0; top:.7em;
  width:8px; height:8px;
  border:1px solid #ad8500;
  border-radius:50%;
}

.price-card__cta{
  display:inline-block;
  margin-top: 6px;
}

.pricing__note{
  text-align:center;
  margin-top: clamp(18px, 3vw, 28px);
  color:#bdbdbd;
  font-size: 1.4rem;
}

/* mobile */
@media (max-width: 991px){
  .pricing__grid{
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}
/* ==== PROMO ==== */
.promo{
  background:#0e0e0e;
  padding: clamp(40px, 7vw, 90px) 20px;
  border-top: 1px solid #242424;
}

.promo .section__header h2{
  color:#ad8500;
}

.promo__inner{
  max-width: 1100px;
  margin: clamp(20px, 3vw, 36px) auto 0;
}

.promo-card{
  position: relative;
  background: radial-gradient(1200px 400px at 20% -10%, rgba(173,133,0,.10), transparent 60%),
              linear-gradient(#111,#0b0b0b);
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.promo-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  border-color:#ad8500;
}

.promo-card__badge{
  position:absolute;
  top:12px; right:12px;
  padding:6px 10px;
  border:1px solid #ad8500;
  color:#ad8500;
  border-radius:999px;
  font-size:1.2rem;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.promo-card__header h3{
  margin:0 0 6px 0;
  font-size: clamp(1.9rem, 2.3vw, 2.6rem);
  color:#fff;
}

.promo-card__price{
  font-size: clamp(2.4rem, 2.8vw, 3.2rem);
  color:#ad8500;
  line-height:1.2;
}

.promo-card__list{
  list-style:none;
  margin: 14px 0 16px;
}

.promo-card__list li{
  position:relative;
  padding-left:20px;
  margin:8px 0;
  color:#e8e8e8;
  font-weight:300;
  line-height:1.6;
}

.promo-card__list li::before{
  content:"";
  position:absolute;
  left:0; top:.7em;
  width:8px; height:8px;
  border:1px solid #ad8500;
  border-radius:50%;
}

.promo-card__cta{
  display:inline-block;
  margin-top:6px;
}

.promo__note{
  text-align:center;
  margin-top: clamp(16px, 3vw, 26px);
  color:#bdbdbd;
  font-size:1.35rem;
}

/* mobile tweak */
@media (max-width: 640px){
  .promo-card__badge{ font-size:1.1rem; }
}


