/* ===================================
   KUKI Design - Mobile-First Styles
   ================================= */

/* Local Font Face */
@font-face {
  font-family: "PP Neue Montreal";
  src: url('./ppneuemontreal-book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal Medium";
  src: url('./ppneuemontreal-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties for Design System */
:root {
  /* Colors */
  --color-text-primary: #000000;
  --color-text-secondary: #B3FF7D;
  --color-background: #C2BFBC;
}

/* ===================================
   Reset & Base Styles
   ================================= */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PP Neue Montreal";
  font-weight: 500;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  line-height: 1.2;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===================================
   Header - Scrolling Text
   ================================= */

.header {
  position: relative;
  height: 60px;
  background-color: var(--color-background);
  overflow: hidden;
}

.header__scrolling-text {
  position: absolute;
  top: 21px;
  left: 0;
  white-space: nowrap;
  animation: scroll-text 15s linear infinite;
  width: 200%;
}

.header__text-content {
  color: #B3FF7D;
  font-family: "PP Neue Montreal";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.02em;
}

@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===================================
   Main Content
   ================================= */

.main-content {
  min-height: calc(100vh - 60px);
  position: relative;
}

/* ===================================
   Hero Section
   ================================= */

.hero {
  padding-top: 28px;
  padding: 0 22px;
  position: relative;
}

.hero__content {
  max-width: var(--max-width);
  position: relative;
}

.hero__title {
  color: #000;
  font-family: "PP Neue Montreal Medium";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 39px; /* 97.5% */
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 373px;
}

.hero__link {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}

.hero__link::before {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: #B3FF7D;
}

.hero__link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}



.hero__link:visited {
  color: #000;
}

/* Desktop hover animation for hero links */
@media (min-width: 1024px) {
  .hero__link:hover::after {
    transform: scaleX(1);
  }
}



/* ===================================
   Brand Logo Section
   ================================= */

.brand-logo {
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  margin-top: -116px; 
  margin-bottom: -50px;
  pointer-events: none;
  z-index: 10;
}

.brand-logo__container {
  position: relative;
  width: 100%;
  max-width: 43.1875rem; /* 691px */
  height: 21.25rem; /* 340px */
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo__image {
  width: 100%;
  max-width: 430px;
  height: auto;
  position: relative;
  z-index: 10;
  margin: 0;
  display: block;
}


/* ===================================
   Company Description
   ================================= */

.company-description {
  padding: 0 22px 16px;
  max-width: 100%;
  margin: 0;
}

.company-description__text {
  color: #000;
  font-family: "PP Neue Montreal";
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.02em;
}

/* ===================================
   Contact Information
   ================================= */

.contact-info {
  padding: 16px 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-info__details {
  flex: 1;
  min-width: 0;
}

.contact-info__item {
  color: #B3FF7D;
  font-family: "PP Neue Montreal";
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 4px;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__email {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}



.contact-info__social {
  flex-shrink: 0;
}

.contact-info__instagram {
  color: #B3FF7D;
  font-family: "PP Neue Montreal";
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
  position: relative;
}





/* ===================================
   Responsive Design
   ================================= */

/* Small mobile adjustments */
@media (max-width: 360px) {
  .hero {
    padding: 0 16px;
  }
  
  .hero__title {
    font-size: 32px;
    width: 100%;
  }
  
  .company-description {
    padding: 0 16px 16px;
  }
  
  .contact-info {
    padding: 16px 16px 24px;
  }
  
  .brand-logo {
    padding: 0;
  }
  
  .brand-logo__image {
    max-width: 100%;
  }
}

/* Large mobile / Small tablet */
@media (min-width: 480px) {
  .hero__title {
    font-size: 40px;
  }
  
  .brand-logo__image {
    max-width: 100%;
  }
  
  .hero__line--1 {
    right: 2rem;
  }
  
  .hero__line--2 {
    left: 60%;
  }
}

/* ===================================
   Desktop Design (1024px and up)
   ================================= */

@media (min-width: 1024px) {
  .main-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 0;
    min-height: calc(100vh - 60px);
  }

  .hero {
    padding: 113px 0 0 49px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }

  .hero__title {
    width: 893px;
    height: 504px;
    font-size: 40px;
    line-height: 39px;
    margin-bottom: 0;
    max-width: none;
  }

  .brand-logo {
    position: absolute;
    left: 33px;
    top: 540px;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .brand-logo__container {
    width: 100%;
    height: 249px;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brand-logo__image {
    width: 430px;
    height: 340px;
    position: relative;
    z-index: 10;
    max-width: 100%;
    object-fit: contain;
  }

  .company-description {
    position: absolute;
    left: 453px;
    top: 727px;
    width: 371px;
    height: 41px;
    padding: 0 0 0 25px;
    margin: 0;
  }

  .contact-info {
    position: absolute;
    right: 0;
    top: 727px;
    padding: 0 49px 0 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 93px;
  }

  .contact-info__details {
    order: 1;
  }

  .contact-info__social {
    order: 2;
    position: relative;
  }

}

/* ===================================
   Small Desktop Screens (1024px - 1440px)
   ================================= */

@media (min-width: 1024px) and (max-height: 800px) {
  .main-content {
    transform: scale(0.85);
    transform-origin: top left;
    width: calc(100% / 0.85);
  }
}

@media (min-width: 1024px) and (max-height: 700px) {
  .main-content {
    transform: scale(0.75);
    transform-origin: top left;
    width: calc(100% / 0.75);
  }
}

@media (min-width: 1024px) and (max-height: 600px) {
  .main-content {
    transform: scale(0.65);
    transform-origin: top left;
    width: calc(100% / 0.65);
  }
}

@media (min-width: 1024px) and (max-height: 500px) {
  .main-content {
    transform: scale(0.55);
    transform-origin: top left;
    width: calc(100% / 0.55);
  }
}


/* ===================================
   Animations & Transitions
   ================================= */

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade in to main elements */
.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.brand-logo {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.company-description {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-info {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Subtle bounce animation for KUKI logo */
@keyframes subtleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.brand-logo__image:hover {
  animation: subtleBounce 1s ease-in-out;
}

/* ===================================
   Floating Particles
   ================================= */

#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #B3FF7D;
  border-radius: 0px;
  pointer-events: none;
  transition: all 0.3s ease-out;
  opacity: 1;
  text-decoration: none;
  border: none;
  outline: none;
}


@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
  }
  50% {
    transform: translateY(-5px) rotate(180deg);
  }
  75% {
    transform: translateY(-15px) rotate(270deg);
  }
}

.particle.floating {
  animation: float 8s ease-in-out infinite;
}

