* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(315deg, #EAA53C, #F7D596);
  color: #3b2a1a;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  position: relative;
}

.nav-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.6s ease-in-out;
}

.nav-logo.spin {
  animation: spin360 0.6s ease-in-out forwards;
}

@keyframes spin360 {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

.nav-links {
  position: absolute;
  right: 24px;
  display: flex;
}

.nav-links a {
  margin-left: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #3b2a1a;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #A86C1A;
  transform: translateY(-3px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A86C1A;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  padding: 100px 24px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.product {
  padding: 80px 24px;
  max-width: 1000px;
  margin: auto;
}

.product-card {
  display: flex;
  gap: 30px;
  background: rgba(255,255,255,0.6);
  border-radius: 20px;
  padding: 20px;
  align-items: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 300px;
  border-radius: 16px;
}

.price {
  display: inline-block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: bold;
  color: #A86C1A;
}

.contact {
  padding: 80px 24px;
  max-width: 700px;
  margin: auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input, textarea {
  padding: 14px;
  border-radius: 10px;
  border: 2px solid #E0D5C7;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
}

input:focus, textarea:focus {
  outline: none;
  border-color: #A86C1A;
  box-shadow: 0 0 8px rgba(168, 108, 26, 0.2);
}

button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  background: #A86C1A;
  color: white;
  cursor: pointer;
}

.gallery {
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 14px;
}


@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .product-card img {
    width: 100%;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-logo {
    height: 70px;
  }

  .nav-links {
    position: static;
  }
}

/* Navigation hover animations */
nav a {
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #ff6b35;
  transform: translateY(-3px);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6b35;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

button[type="submit"] {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

button[type="submit"]:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(168, 108, 26, 0.3);
}

button[type="submit"]:active {
  transform: scale(0.98);
}

/* Gallery card hover effect */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} 
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
} 

/* Smooth fade-in for sections */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Staggered animation delay for sections */
section:nth-of-type(1) {
  animation-delay: 0.2s;
}
section:nth-of-type(2) {
  animation-delay: 0.4s;
}

footer {
  background: linear-gradient(135deg, #A86C1A 0%, #8B5A0F 100%);
  padding: 40px 24px;
  text-align: center;
  margin-top: 80px;
  border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

footer p {
  color: white;
  margin: 8px 0;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.creator {
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.creator:hover {
  color: #FFED4E;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
  footer {
    padding: 30px 16px;
    margin-top: 60px;
  }

  footer p {
    font-size: 12px;
  }
}
section:nth-of-type(3) {
  animation-delay: 0.6s;
}
section:nth-of-type(4) {
  animation-delay: 0.8s;
}   

.nav-links a, button, .product-card, .card {
  will-change: transform, box-shadow;
}

