:root {
  --bg-light: #ffffff;
  --text-light: #333333;
  --bg-dark: #1e1e1e;
  --text-dark: #f5f5f5;
  --accent: #fce4ec;
  --link: #6d4c41;
}

html[data-theme='light'] body {
  background-color: var(--bg-light);
  color: var(--text-light);
}

html[data-theme='dark'] body {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  position: sticky;
  top: 0;
  background-color: var(--accent);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-nav a {
  margin-left: 15px;
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #d81b60;
}

.hero {
  padding: 60px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight {
  text-align: left;
  max-width: 800px;
  margin: 60px auto 40px auto;
  padding: 0 20px;
}

#topBtn,
.theme-toggle {
  position: fixed;
  right: 20px;
  padding: 10px 15px;
  font-size: 14px;
  background-color: #f06292;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1001;
}

#topBtn {
  bottom: 20px;
  display: none;
}

.theme-toggle {
  bottom: 70px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: var(--accent);
}

/* Animation Scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .highlight {
    padding: 40px 20px;
  }
}

html[data-theme='dark'] body {
  background-color: #121212;
  color: #f0f0f0;
}

html[data-theme='dark'] header,
html[data-theme='dark'] footer {
  background-color: #1e1e1e;
}

html[data-theme='dark'] .main-nav a {
  color: #f8bbd0;
}

html[data-theme='dark'] .main-nav a:hover {
  color: #ff80ab;
}

html[data-theme='dark'] .hero h2,
html[data-theme='dark'] .highlight h3 {
  color: #f48fb1;
}

html[data-theme='dark'] .theme-toggle,
html[data-theme='dark'] #topBtn {
  background-color: #f06292;
  color: white;
}