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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Header */
/* Header Navigation */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #ff6b6b;
}

.logo {
  height: 60px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  position: relative;
  padding: 0.5rem;
  transition: color 0.3s;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff6b6b;
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #ff6b6b;
}

/* Hero Section */
.hero {
  background: url('../images/hero_bg.png') no-repeat center center;
  background-size: cover;
  width: 100%;
  max-width: 100%;
  padding: 100px 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero_bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}


@keyframes float {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInDown 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Section Base */
section {
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about, .products, .contact {
  background: rgba(255, 255, 255, 0.95);
  margin: 2rem auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* About Section */
.about {
  text-align: center;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #333;
}

.about h2, .products h2, .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  display: inline-block;
}

.about h2::after, .products h2::after, .contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  border-radius: 2px;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* Products */
.products {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.product:hover::before {
  left: 100%;
}

.product:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.product img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid #ff6b6b;
  transition: transform 0.3s ease;
}

.product:hover img {
  transform: rotate(360deg) scale(1.1);
}

.product h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.product p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 1.5rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
}

.contact button {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
  background: linear-gradient(45deg, #feca57, #ff6b6b);
}

.contact button:active {
  transform: translateY(-1px);
}

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

  .hero p {
    font-size: 1.1rem;
  }

  section {
    padding: 40px 1rem;
  }

  .about h2, .products h2, .contact h2 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product {
    padding: 1.5rem;
  }

  .product img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo {
    height: 60px;
  }

  .about h2, .products h2, .contact h2 {
    font-size: 1.8rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #feca57, #ff6b6b);
}
.footer {
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.95rem;
  color: #444;
  border-top: 2px solid #ff6b6b;
  margin-top: 4rem;
}

.footer a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}
/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
  }
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Optional: tweak product grid minimum size for better responsiveness */
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
