/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  line-height: 1.6;
  color: #ffffff;
  overflow-x: hidden;
}

.section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section 1: Hero Section */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.logo-container {
  text-align: center;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-video-section {
  flex-grow: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Aligns content to the top */
  overflow: hidden; /* Prevents overflow issues */
  padding: 0; /* Remove padding */
  box-sizing: border-box;
}

.logo {
  max-width: 60vw;
  max-height: 25vh; /* Reduced to fit within the 30vh container */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  cursor: pointer;
}

.placeholder-image {
  width: 100vw; /* Use viewport width instead of percentage */
  max-width: 100vw; /* Ensure it takes full viewport width */
  height: auto;
  object-fit: contain; /* Changed from cover to contain for better scaling */
  object-position: top;
}

@media (min-width: 769px) {
  .logo {
    max-width: 50vw;
    max-height: 25vh;
  }
}

/* Mobile responsiveness for logo */
@media (max-width: 768px) {
  .logo {
    max-width: 80vw;
    max-height: 25vh;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 90vw;
    max-height: 25vh;
  }
}

/* Update the responsive styles for the placeholder image */
@media (max-width: 768px) {
  .demo-video-section {
    padding: 0; /* Ensure no padding on mobile */
  }
  
  .placeholder-image {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .demo-video-section {
    padding: 0 5px;
  }
}

/* Section 2: Contact Section */
.contact-section {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100vh;
  background: rgba(100, 100, 100, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem;
  font-family: 'Roboto', sans-serif;
  /* opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease; */
}

.contact-container {
  max-width: 800px;
  width: 100%;
}

.contact-content {
  text-align: center;
}

.contact-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.4),
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 15px rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 255, 255, 0.1);
  animation: glow-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    text-shadow: 
      0 0 5px rgba(255, 255, 255, 0.4),
      0 0 10px rgba(255, 255, 255, 0.3),
      0 0 15px rgba(255, 255, 255, 0.2),
      0 0 20px rgba(255, 255, 255, 0.1);
  }
  to {
    text-shadow: 
      0 0 7px rgba(255, 255, 255, 0.5),
      0 0 12px rgba(255, 255, 255, 0.4),
      0 0 17px rgba(255, 255, 255, 0.3),
      0 0 25px rgba(255, 255, 255, 0.2);
  }
}

.contact-link {
  display: inline-block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.contact-link:hover {
  color: #ffffff;
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  transition: width 0.3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

/* Chevron Icon */
.chevron-container {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.down-chevron {
  width: 32px;
  height: 32px;
  color: #fff;
  opacity: 0.8;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.down-chevron .st0 {
  fill: #868686;
}

.down-chevron:hover {
  opacity: 1;
  transform: scale(1.1);
}

.down-chevron:hover .st0 {
  fill: #ffffff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 1rem;
  }
  
  .logo {
    max-width: 70%;
  }

  .down-chevron {
    width: 28px;
    height: 28px;
  }
  
  .chevron-container {
    bottom: 8%;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .down-chevron {
    width: 24px;
    height: 24px;
  }
  
  .chevron-container {
    bottom: 10%;
  }
}