* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2dd4bf;
  text-decoration: none;
}

.logo-subtitle {
  font-size: 12px;
  font-weight: normal;
  color: #666;
  display: block;
  margin-top: -4px;
}

.logo .image {
  width: 60px;
  height: 60px;
  /* border: 1px solid red; */
}

.logo .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border: 1px solid red; */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #2dd4bf;
}

/* Books Section */
.books-section {
  padding: 80px 0;
  background: white;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.book-card {
  text-align: center;
  padding: 20px;
}

.book-cover {
  width: 250px;
  height: 350px;
  margin: 0 auto 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.book-cover:hover {
  transform: translateY(-5px);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Book Cover Designs */
.heart-principle {
  /* background: linear-gradient(135deg, #ec4899, #be185d); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  /* border: 1px solid red; */
}

.heart-principle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.heart-principle::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s infinite linear;
}

.bride-test {
  /* background: linear-gradient(135deg, #fde047, #eab308); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #7c2d12;
  position: relative;
}

.bride-test img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kiss-quotient {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
}

.book-title-cover {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
}

.book-author-cover {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}

.book-novel {
  font-size: 14px;
  font-style: italic;
  margin-top: 5px;
}

.book-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.learn-more-btn {
  background: #e5e7eb;
  color: #374151;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
}

.learn-more-btn:hover {
  background: #2dd4bf;
  color: white;
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  background: #2dd4bf;
  padding: 80px 0;
  color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 40px;
}

.about-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-signature {
  font-size: 36px;
  font-family: "Brush Script MT", cursive;
  font-style: italic;
}

.about-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Newsletter Section */
/* .newsletter-section {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.newsletter-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.newsletter-subtitle {
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.newsletter-form input {
  padding: 15px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  color: #333;
}

.newsletter-form input::placeholder {
  color: #999;
}

.email-input {
  grid-column: 1 / -1;
}

.subscribe-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 20px auto;
  display: block;
}

.subscribe-btn:hover {
  background: white;
  color: #0891b2;
} */

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.contact-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-subtitle {
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  color: #333;
  font-family: inherit;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.email-input,
.subject-input,
.message-input {
  grid-column: 1 / -1;
}

.message-input {
  min-height: 120px;
}

.send-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 20px auto;
  display: block;
}

.send-btn:hover {
  background: white;
  color: #0891b2;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 50px 0 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: white;
  color: #0891b2;
  transform: translateY(-3px);
}

.privacy-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.privacy-link:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text {
    padding-right: 0;
  }

  /* .newsletter-form {
    grid-template-columns: 1fr;
  } */

  .contact-form {
    grid-template-columns: 1fr;
}

  .social-links {
    gap: 20px;
  }

  .book-cover {
    width: 200px;
    height: 280px;
  }

  .book-title-cover {
    font-size: 24px;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #2dd4bf;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  background: #0891b2;
  transform: translateY(-3px);
}
