@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

:root {
    --overlay-color: #03a9f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.showcase {
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #111;
  z-index: 2;
  transition: 0.5s;
}

.showcase header {
    position: absolute;
    top:0;
    left: 0;
    padding: 40px 100px;
    z-index: 1000;
    display: flex; 
    align-items: center;
    justify-content: space-between;
    
}


header
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo
{
  color: #fff;
  text-transform: none;
  cursor: pointer;
  font-size: 2em;
}

header.logo2
{
  color: #fff;
  text-transform: none;
  cursor: pointer;
  font-size: 1.5em;
 
}

.toggle
{
  position: relative;
  width: 60px;
  height: 60px;
  background: url('menu.png');
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
}

.toggle.active
{
  background: url('close.png');
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
  cursor: pointer;
}

.showcase.active
{
  right: 300px;
}

.showcase video
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.overlay
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  mix-blend-mode: overlay;
}
.text {
    position: relative;
    top:0px; /* Adjust as per your header's height and your design needs */
    left: 50px; /* Adjust as per your design needs */
    z-index: 10;
}

.text h2
{
  font-size: 3em;
  font-weight: 600;
  color: #fff;
  line-height: 1em;
  text-transform: none;
}
.text h3
{
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  text-transform: none;
}
.text p 
{
  font-size: 1.1em;
  color: #fff;
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}

.text a
{
  display: inline-block;
  font-size: 1em;
  background: #fff;
  padding: 10px 30px;
  text-transform: none;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}
.text a:hover
{
  letter-spacing: 6px;
}

.text2 
{
  font-size: 1.1em;
  color: #fff;
  margin: 20px 0;
  margin-left: 10%;
  font-weight: 600;
  max-width: 700px;
}




.social
{
  position: absolute;
  z-index: 10;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social li
{
  list-style: none;
}
.social li a
{
  display: inline-block;
  margin-right: auto;
  filter: invert(1);
  transform: scale(0.5);
  transition: 0.5s;
  text-decoration: none;
}
.social li a:hover
{
  transform: scale(0.5) translateY(-15px);
}

.social li a h4 {
      text-decoration: none;
      filter:invert(1);
      color: white;
      font-size:2em;
    }
    
.menu
{
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu ul
{
  position: relative;
  list-style:none;
  
}
.menu ul li
{
  list-style: none;
}
.menu ul li a
{
  text-decoration: none;
  font-size: 24px;
  color: #111;
}
.menu ul li a:hover
{
  color: var(--overlay-color); 
}




@media (max-width: 891px)
{
  /* 1) Make the shelf responsive (keep your existing slide logic) */
  :root { --menuW: min(300px, 78vw); }

  .showcase.active { right: var(--menuW); }  /* instead of 300px */
  .menu { width: var(--menuW); }             /* instead of 300px */

  /* 2) Remove the giant desktop padding on phones */
  .showcase { padding: 28px 16px; }

  /* 3) Reduce header padding (but keep absolute layout) */
  header,
  .showcase header { padding: 16px 16px; }

  header .logo { font-size: 1.3em; }

  /* 4) Fix the text block going off-screen */
  .text { left: 0; top: 0; }
  .text h2 { font-size: clamp(20px, 6vw, 34px); line-height: 1.15; }
  .text h3 { font-size: clamp(16px, 4.8vw, 22px); line-height: 1.2; }
  .text p  { max-width: 100%; font-size: 1em; }
  .text2   { margin-left: 0; max-width: 100%; font-size: 1em; }

  /* 5) Make the email readable and not “weirdly scaled” */
  .social li a { transform: none; }                    /* remove scale(0.5) */
  .social li a h4 { font-size: 1.05em; overflow-wrap: anywhere; }

  /* Optional: easier tap target without changing design */
  .toggle { width: 48px; height: 48px; background-size: 24px; }
  .toggle.active { background-size: 20px; }
}
