/*
Theme Name: XROOM Blank
Theme URI: https://xroom.pl/
Author: OpenAI
Author URI: https://openai.com/
Description: Pusty motyw startowy XROOM z samym menu bez sekcji hero.
Version: 1.5.0
Text Domain: xroom-blank
*/

html{box-sizing:border-box;-webkit-text-size-adjust:100%}
*,*:before,*:after{box-sizing:inherit}
html,body{margin:0;padding:0}
body{
  background:#05070a;
  color:#f3f4f6;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.6;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}

.site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1 1 auto;
  width:100%;
}

.xroom-container{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
}

/* Header only — no hero */
.xroom-header-only{
  position:relative;
  z-index:20;
  background:linear-gradient(180deg,#040506 0%,#020304 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 40px rgba(0,0,0,.32);
}

.xroom-header-only .xroom-site-header{
  background:transparent;
}

.xroom-header-only .xroom-header-inner{
  min-height:92px;
}

 (max-width:900px){
  .xroom-header-only .xroom-header-inner{
    min-height:78px;
  }
}

.xroom-hero-header{
  position:relative;
  min-height:760px;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.38) 58%, rgba(0,0,0,.72) 100%),
    url('/wp-content/uploads/xroom/xroom_hero_bg.png') center center / cover no-repeat;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.xroom-hero-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.32) 100%);
  pointer-events:none;
}

.xroom-site-header{
  position:relative;
  z-index:5;
  background:transparent;
}

.xroom-header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  min-height:96px;
}

.xroom-logo{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1;
  white-space:nowrap;
  flex:0 0 auto;
}

.xroom-logo-main{
  display:block;
  font-size:31px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#f2f2f2;
}

.xroom-logo-main .x{
  color:#df2b21;
}

.xroom-logo-sub{
  display:block;
  margin-top:5px;
  font-size:11px;
  letter-spacing:.36em;
  text-transform:uppercase;
  color:rgba(255,255,255,.68);
  padding-left:2px;
}

.xroom-nav-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}

.xroom-nav{
  display:flex;
  justify-content:flex-end;
  width:100%;
}

.xroom-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:34px;
  flex-wrap:wrap;
}

.xroom-menu li{
  margin:0;
  padding:0;
}

.xroom-menu a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ffffff;
  transition:color .18s ease, opacity .18s ease;
}

.xroom-menu a:hover,
.xroom-menu .current-menu-item > a,
.xroom-menu .current_page_item > a,
.xroom-menu .current-page-ancestor > a{
  color:#df2b21;
}

.xroom-header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 30px;
  background:linear-gradient(180deg,#c61f18 0%,#8e100c 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 45px rgba(185,28,23,.32);
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}

.xroom-menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.15);
  color:#fff;
  cursor:pointer;
  flex:0 0 auto;
}

.xroom-menu-toggle-lines,
.xroom-menu-toggle-lines::before,
.xroom-menu-toggle-lines::after{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  transition:transform .2s ease, opacity .2s ease;
}

.xroom-menu-toggle-lines::before{transform:translateY(-6px)}
.xroom-menu-toggle-lines::after{transform:translateY(4px)}

.menu-open .xroom-menu-toggle-lines{background:transparent}
.menu-open .xroom-menu-toggle-lines::before{transform:translateY(0) rotate(45deg)}
.menu-open .xroom-menu-toggle-lines::after{transform:translateY(-2px) rotate(-45deg)}

.xroom-hero-header-inner{
  position:relative;
  z-index:4;
  min-height:664px;
  display:grid;
  grid-template-columns:minmax(320px,620px) 1fr;
  align-items:center;
}

.xroom-hero-copy{
  padding:28px 0 70px;
}

.xroom-hero-title{
  margin:0;
  font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size:clamp(58px,8vw,132px);
  line-height:.88;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#f2f2f2;
  text-shadow:0 8px 30px rgba(0,0,0,.45);
}

.xroom-hero-title .accent{
  color:#df2b21;
}

.xroom-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:42px;
}

.xroom-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:60px;
  padding:0 34px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-family:Inter,Arial,sans-serif;
}

.xroom-hero-btn-primary{
  background:linear-gradient(180deg,#c61f18 0%,#8e100c 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 45px rgba(185,28,23,.32);
  color:#fff;
}

.xroom-hero-btn-secondary{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.34);
  color:#fff;
  backdrop-filter:blur(2px);
}

.site-main > .xroom-container{
  padding-top:32px;
  padding-bottom:32px;
}

.entry-content{
  min-height:200px;
}

.site-footer{
  padding:24px 0 32px;
  border-top:1px solid rgba(255,255,255,.05);
  color:rgba(255,255,255,.56);
  font-size:14px;
}

@media (max-width: 1100px){
  .xroom-header-inner{
    grid-template-columns:auto 1fr auto;
    gap:18px;
    min-height:84px;
  }

  .xroom-menu{
    gap:22px;
  }

  .xroom-menu a{
    font-size:12px;
    letter-spacing:.11em;
  }

  .xroom-header-cta{
    min-height:54px;
    padding:0 22px;
    font-size:12px;
  }
}

@media (max-width: 900px){
  .xroom-hero-header{
    min-height:680px;
  }

  .xroom-header-inner{
    grid-template-columns:1fr auto;
    min-height:78px;
    gap:18px;
    padding-top:6px;
    flex-wrap:wrap;
  }

  .xroom-menu-toggle{
    display:inline-flex;
  }

  .xroom-header-cta{
    display:none;
  }

  .xroom-nav-wrap{
    grid-column:1 / -1;
    width:100%;
    display:block;
  }

  .xroom-nav{
    display:none;
    width:100%;
    padding:0 0 12px;
  }

  .menu-open .xroom-nav{
    display:block;
  }

  .xroom-menu{
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    width:100%;
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:8px;
  }

  .xroom-menu a{
    min-height:52px;
    width:100%;
    border-bottom:1px solid rgba(255,255,255,.05);
    text-align:left;
  }

  .xroom-hero-header-inner{
    min-height:540px;
    grid-template-columns:1fr;
    align-items:end;
  }

  .xroom-hero-copy{
    max-width:620px;
    padding:24px 0 44px;
  }
}

@media (max-width: 640px){
  .xroom-container{
    width:min(1240px, calc(100% - 24px));
  }

  .xroom-logo-main{
    font-size:26px;
  }

  .xroom-logo-sub{
    font-size:10px;
    letter-spacing:.31em;
  }

  .xroom-hero-header{
    min-height:620px;
    background-position:66% center;
  }

  .xroom-hero-title{
    font-size:clamp(44px,13vw,68px);
    line-height:.92;
  }

  .xroom-hero-actions{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }

  .xroom-hero-btn{
    width:100%;
    min-height:56px;
    padding:0 20px;
  }

  .site-main > .xroom-container{
    padding-top:24px;
    padding-bottom:24px;
  }
}

/* XROOM CTA in header/menu */
.xroom-header-cta:hover,
.xroom-mobile-cta:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.xroom-mobile-cta{
  display:none;
  align-items:center;
  justify-content:center;
  min-height:56px;
  margin-top:12px;
  padding:0 22px;
  background:linear-gradient(180deg,#c61f18 0%,#8e100c 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 38px rgba(185,28,23,.26);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-align:center;
  white-space:nowrap;
}

@media (max-width: 900px){
  .xroom-mobile-cta{
    display:flex;
    width:100%;
  }
}
