@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Hanken+Grotesk:wght@100..900&family=Hubot+Sans:ital,wght@0,200..900;1,200..900&family=Parkinsans:wght@300..800&display=swap');

:root {
/*Colors*/
  --black: rgba(0,0,0, 1.00);
  --blank: rgba(255, 255, 255, 0.00);
  --Brand-brand: var(--Primary-700);
  --Neutral-900: rgba(21, 26, 22, 1.00);
  --Neutral-800: rgba(43, 39, 37, 1.00);
  --Neutral-700: rgba(65, 59, 56, 1.00);
  --Neutral-600: rgba(86, 79, 77, 1.00);
  --Neutral-500: rgba(111, 102, 100, 1.00);
  --Neutral-400: rgba(140, 133, 129, 1.00);
  --Neutral-300: rgba(198, 191, 187, 1.00);
  --Neutral-200: rgba(226, 219, 217, 1.00);
  --Neutral-100: rgba(244, 240, 239, 1.00);
  --Neutral-50: rgba(249, 247, 247, 1.00);
  
}


html {
  background: transparent; /* or same color as slider */
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* no native scroll */
  height: calc(var(--vh, 1vh) * 100);
  font-family: "Bricolage Grotesque", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  color: var(--Neutral-900);
  background: var(--black);
  }

.sections-wrapper {
  height: 100%;
  scroll-snap-type: y mandatory; /* snap vertically */
  overflow: hidden; /* important to disable native scroll */
}

/* ---------- Section 1 ---------- */
.section {
  width: 100vw;
  height: 100%;
  position: relative;
  scroll-snap-align: start;
  padding-bottom: env(safe-area-inset-bottom);
  background: #000;

}

/* ---------- Section 2 ---------- */
.section2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding:calc(env(safe-area-inset-bottom) + 3.5rem) 0;
  background: var(--Neutral-50);
  box-sizing: border-box;
  gap: 2rem;
}


/* slide */

/* slider styles */
.slider {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
}

.slide {
  flex: 0 0 auto; /* width set dynamically by JS */
  display: block;
  margin: 0;
}

.slide img, .slide video {
  display: block;
  height: 100%;
  width: auto;
}

/* overlay */
.slider-overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  z-index: 10;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  color: var(--Neutral-100);
  display: flex;
  flex-direction: column;
  justify-content:start ;
  align-items: start;
  text-align: left;
  pointer-events: auto;
  padding:1.5rem;

}

img.logo  {width: 40px; height: auto;}

.tagline {
  margin-top: env(safe-area-inset-top);
  margin-bottom: env(safe-area-inset-bottom);
  font-size: 5rem; /* adjust size */
  font-weight: 800;
  display: flex;
  flex-direction: column; /* stack children vertically */
  justify-content: start; /* optional: center vertically inside container */
  align-items: stretch;     /* optional: center horizontally */
  flex-grow: 1;
}

button {
  padding: .75rem 1.5rem;
  font-size: 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--Neutral-100);
  color: var(--Neutral-100);
  cursor:pointer;
  font-weight: 400;
  width: auto;           /* hug content */
  display: inline-block; /* ensure it doesn’t stretch */
  justify-self: flex-end;
  align-self: center;
}

button:hover { background:var(--Neutral-100); color: var(--Neutral-900);}

button.top {color: var(--Neutral-900);border-color: var(--Neutral-800);}
button.bottom {color: var(--Neutral-900);border-color: var(--Neutral-800);}

button.top:hover, button.bottom:hover { background:var(--Neutral-900); color: var(--Neutral-100);}


/* Hide Button on touch devices */
@media (hover: none) and (pointer: coarse) {
  button.navigation {
    display: none;
  }

      .section1::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0rem;
      width: 36px;
      height: 72px;
      background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/><polyline points='6 3 12 9 18 3'/></svg>") no-repeat center/contain;
      animation: moveFadeDown 1.2s ease-in-out 0s infinite,fadeOutTotal 0.5s ease forwards 10s;
      pointer-events: none; /* not needed, but safe */
      stroke: white;
    }

    .section2::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 0rem;
      width: 36px;
      height: 72px;
      background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='18 15 12 9 6 15'/><polyline points='18 21 12 15 6 21'/></svg>") no-repeat center/contain;
      animation: moveFadeUp 1.2s ease-in-out 0s infinite,fadeOutTotal 0.5s ease forwards 10s; 
      pointer-events: none; /* not needed, but safe */
      stroke: white;
    }

    @keyframes moveFadeDown {
      0%   { opacity: 0; transform: translate(-50%,0); }
      30%  { opacity: 1; transform: translate(-50%,4px); }
      100% { opacity: 0; transform: translate(-50%,12px); }
    }

    /* Move up and fade out */
    @keyframes moveFadeUp {
      0%   { opacity: 0; transform: translate(-50%,0); }
      30%  { opacity: 1; transform: translate(-50%,-4px); }
      100% { opacity: 0; transform: translate(-50%,-12px); }
    }

    @keyframes fadeOutTotal {
        to { opacity: 0; }
      }

    .section.up.fade-out {
        opacity: 0;
      }



  }



/* Categories Slider */
.category-slider-wrapper {
  width: 100%;
  max-width: 920px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
  }

.category-slider-wrapper .title {
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;}

.category-slider {
  display: flex;
  transition: transform 0.5s ease;
}

/* Category Controls */
.category-controls button {
  border-radius: 999px; border: 1px solid #000;
  cursor: pointer;
  padding: .80rem;
  transition: transform 0.2s;
  line-height: .75rem;
}
.category-controls button:hover {
  
}

.category-slide {
  display: flex;
  flex: 1 0 100%;
  gap: 4rem;
  align-items: start;
  justify-content: space-between;
}

.category-info {
  flex: 1;
}

.category-info h2 {
  font-size: 2rem;
  margin: 0 0 1rem 0;
}

.category-info p {
  font-size: 1rem;
  line-height: 1.5;
}

.category-image {
  flex: 0 0 400px;
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--Neutral-100);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}



/* Clients Continuous Slider */
.clients-slider-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

#clientsSlider {
  position: relative;
  height: 100%;
}

.client-slide {
  height: 100%;
  display: block;
}

.client-slide img,
.client-slide video {
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Social bar on right side, vertical alignment */
.social-bar {
  position: fixed;
  top: 32px;
  right: 20px;               /* distance from right edge */
  display: flex;
  flex-direction: column;
  gap: 4px;                 /* space between icons */
  z-index: 9999;
}

.social-bar a {
  display: block;
  width: 24px;
  height: 24px;
  padding: 12px;
  text-align: center;
  line-height: 24px;
  transition: transform 0.2s ease;
}

.social-bar a:hover {
  transform: scale(1.2);     /* subtle hover effect */
}

.social-bar a img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Tooltip text */
.social-bar a::before {
  content: attr(title);     /* use the title attribute as tooltip text */
  position: absolute;
  left: 0px;              /* initial offset from icon */
  top: 50%;
  transform: translate(-100%, -50%); /* position to the left and vertically center */
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  var(--Neutral-100)-space: nowrap;
  opacity: 0;
  pointer-events: none;     /* tooltip won’t block hover */
  transition: opacity 0.2s, transform 0.2s;
  font-size: 0.85rem;
  z-index: 1000;
}

/* Show tooltip on hover */
.social-bar a:hover::before {
  opacity: 1;
  transform: translate(-100%, -50%); /* slightly shift for nicer appearance */
}
/* other sections */

@media (max-width:1080px){ 
  .category-slider-wrapper {max-width:620px;}
}

/* MOBILE: full viewport width, media centered */
@media (max-width:768px){ 
	.category-slider-wrapper {margin-bottom: .5rem;max-width:400px;}
	.category-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .category-image {
    width: 100%;
    height: 320px;
    flex: 0 0 320px;
  }

  .category-info h2 {
    font-size: 1.5rem;
  }

  .category-info p {
    font-size: 0.9rem;
  }

  .entry-slide {
    width: 120px;
    height: 120px;
  }
  .tagline { font-size: 3.5rem; }
  .social-bar {right: .75rem;top: calc(50% - 102px);}
  .social-bar a:hover::before {opacity: 0;}

  .category-controls button {padding: .5rem;}

  .section2 {
    padding:calc(env(safe-area-inset-bottom) + 1.5rem) 0;
  	gap: 1rem;

  }

  .clients-slider-wrapper {height: 160px;}

}

@media (max-width: 480px) {
  .category-slider-wrapper {width:320px }

  .category-info h2 {
    flex-direction: column;
    gap: 0.5rem;
  }

  .category-controls {
    align-self: flex-start;
  }

  .category-image {
    flex: 0 0 300px;
  }

  .clients-slider-wrapper {height: 120px;}
}

@media (max-width: 390px) {

  .clients-slider-wrapper {height: 100px;}
}

/* Hide the normal content in landscape */
@media only screen and (orientation: landscape) and (max-width: 920px) {

  body > * {
    display: none !important;
  }

  body::after {
    content: "Trust me! You do not want to see it this way please rotate back!";
    position: fixed;
    top: 30vh;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-align: center;
    z-index: 9999;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 30vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;

    /* Use your icon from the icons folder */
    background-image: url('/icons/mobile_rotate_lock.svg'); /* path relative to site root */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100px 100px; /* adjust size */
  }
}

/* original styles */

.entry-card { display:inline-block; width:200px; margin:15px; vertical-align:top; background:#fff; padding:10px; border-radius:8px; box-shadow:0 0 8px rgba(0,0,0,0.1);}
.entry-card img, .entry-card video { width:100%; border-radius:6px; }
.video-wrapper { position:relative; }
.play-btn { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:30px; color:#fff; background:rgba(0,0,0,0.5); border-radius:50%; padding:10px; cursor:pointer; }


