body {
 perspective: 1200px;
  transform-style: preserve-3d;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}



}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.tagline {
  font-style: italic;
  color: #777;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: bold;
}

.hero {
  background: url('https://source.unsplash.com/1600x400/?diary,nostalgia') no-repeat center center;
  background-size: cover;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.hero h2 {
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 1rem;
}

.content {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.intro h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.newsletter {
  margin-top: 2rem;
  text-align: center;
}

.newsletter input {
  padding: 0.5rem;
  width: 60%;
  max-width: 300px;
  margin-right: 0.5rem;
}

.newsletter button {
  padding: 0.5rem 1rem;
  background-color: #d4a373;
  border: none;
  color: white;
  cursor: pointer;
}

footer {
  background-color: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.home {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #ccc;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #5a3e36;
}

.welcome p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.welcome blockquote {
  font-style: italic;
  color: #7a5c4f;
  margin: 2rem auto;
  max-width: 600px;
}

.explore-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: #d4a373;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #b07c50;
}

.home {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #ccc;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #5a3e36;
}

.welcome p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.welcome blockquote {
  font-style: italic;
  color: #7a5c4f;
  margin: 2rem auto;
  max-width: 600px;
}

.explore-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: #d4a373;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #b07c50;
}

.home {
  background-color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #ccc;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #5a3e36;
}

.welcome p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.welcome blockquote {
  font-style: italic;
  color: #7a5c4f;
  margin: 2rem auto;
  max-width: 600px;
}

.explore-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: #d4a373;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #b07c50;
}

.home-section, .about-section {
  padding: 40px 0;
  max-width: 800px;
  margin: auto;
}
.home-section h3 {
  color: #444;
  margin-bottom: 10px;
}
.about-section h2 {
  color: #222;
  margin-bottom: 10px;
}
.home-section p, .about-section p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
}

.hero-image {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
}



header, section, footer {
  transition: transform 0.6s ease;
}

section:hover {
  transform: rotateY(2deg) scale(1.02);
}

.hero-image {
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  transform: translateZ(30px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.hero:hover .hero-image {
  transform: scale(1.03) rotateX(2deg);
}

nav ul li {
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

nav ul li:hover {
  transform: rotateY(15deg);
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  nav ul {
    display: block;
    padding: 0;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }
  .hero h2 {
    font-size: 1.2rem;
  }
}


