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

body {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  background-color: #000000;
  background-image: url("../img/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 300;
  letter-spacing: -0.025em;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 16px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}


.hero-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.hero-content-container {
  text-align: center;
  max-width: 1000px;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.content-container {
  text-align: center;
  max-width: 1000px;
  padding: 32px 48px;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .content-container {
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }
}

.hero-text-container {
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 120px;
}

.hero-visual {
  flex: 1;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-title span {
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(to right, #ff7e5f, #feb47b, #a18cd1, #8fd3f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradientFlow 8s ease infinite;
  background-size: 300% 100%;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-description {
  font-size: 1.5rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.typing-text {
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: typing 2.5s steps(30, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgba(255, 255, 255, 0.8);
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

@media (min-width: 768px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button.primary {
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
}

.hero-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.5);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  font-size: 32px;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  left: 50%;
  animation-delay: 1s;
}

.floating-element:nth-child(3) {
  top: 30%;
  left: 70%;
  animation-delay: 2s;
}

.floating-element:nth-child(4) {
  top: 70%;
  left: 30%;
  animation-delay: 3s;
}

.floating-element:nth-child(5) {
  top: 40%;
  left: 40%;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 120px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 16px;
}

.search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 8px;
  bottom: 8px;
  padding: 0 24px;
  border-radius: 6px;
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  color: white;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.search-button:hover {
  opacity: 0.9;
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.3s;
  animation: bounce 2s infinite;
  position: relative;
  z-index: 2;
}

.scroll-indicator:hover {
  color: white;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Products Section */
.products-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(8px);
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 64px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  justify-content: center;
  justify-items: center;
}

.product-card {
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.product-image {
  height: 192px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.product-image img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.orange-gradient {
  background: linear-gradient(to bottom right, #ff7e5f, #feb47b);
}

.purple-gradient {
  background: linear-gradient(to bottom right, #a18cd1, #fbc2eb);
}

.green-gradient {
  background: linear-gradient(to bottom right, #84fab0, #8fd3f4);
}

.product-emoji {
  font-size: 48px;
}

.product-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.product-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.product-link.orange {
  color: #ff7e5f;
}

.product-link.purple {
  color: #a18cd1;
}

.product-link.green {
  color: #84fab0;
}

.product-link:hover {
  opacity: 0.8;
}

/* About Section */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.about-content {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 24px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 50px;
  }

  .content-container {
    padding: 24px;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .floating-element {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 50px;
  }

  .hero-description {
    font-size: 16px;
  }

  .search-input {
    padding: 12px 16px;
    padding-right: 100px;
  }

  .search-button {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .floating-element {
    font-size: 20px;
  }
}

/* Animation classes */
.opacity-0 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}
