/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background: #fafafa;
}

/* ===== Dark Mode ===== */
body.dark-mode {
  background: #1e1e1e;
  color: #f5f5f5;
}
body.dark-mode header {
  background-color: #111;
}
body.dark-mode nav a {
  color: #f5f5f5;
}
body.dark-mode footer {
  background-color: #111;
  color: #f5f5f5;
}
body.dark-mode .hero .btn {
  background: #f5a623;
  color: #111;
}
body.dark-mode .card, body.dark-mode .highlights div {
  background: #2a2a2a;
  color: #f5f5f5;
}


/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #262626;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .logo { height: 50px; }
nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
nav a:hover { color: #f5a623; }

/* Hero Section */
.hero {
  text-align: center;
  background: url('images/sofa.jpg') center/cover no-repeat;
  color: white;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  animation: fadeUp 1s ease forwards;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  animation: fadeUp 1s ease 0.3s forwards;
  opacity: 0;
}
.hero .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f5a623;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  animation: fadeUp 1s ease 0.6s forwards;
  opacity: 0;
}
.hero .btn:hover { background: #e5941f; }

/* Highlights Section */
.highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
}
.highlights div {
  text-align: center;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.highlights div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.highlights img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}
.highlights img:hover { transform: scale(1.05); }

/* Page Header */
.page-header {
  text-align: center;
  background: #f5a623;
  color: white;
  padding: 50px 20px;
}

/* Gallery / Products */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
}
.card {
  border-radius: 12px;
  padding: 15px;
  width: 250px;
  text-align: center;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 50px 20px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: #262626;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* Fade-up animation for elements */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.2s; }
.fade-up:nth-child(2) { animation-delay: 0.4s; }
.fade-up:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .highlights, .gallery {
    flex-direction: column;
    align-items: center;
  }
  header {
    flex-direction: column;
    padding: 15px 20px;
  }
  nav a { margin: 10px; }
}
