/* ORYNTA Brand Stylesheet */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
}

.page-center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.left {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.brand-marker {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 20px;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1.2;
  color: #d4af37; /* Rich gold */
  margin-bottom: 10px;
}

.subheadline {
  font-size: 20px;
  color: #bdbdbd;
  margin-bottom: 30px;
}

.quote {
  font-size: 16px;
  font-style: italic;
  color: #dddddd;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUpSoft 1.2s ease-out forwards;
  animation-delay: 0.6s;
}

.quote-author {
  font-weight: 600;
  color: #aaaaaa;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUpSoft 1.2s ease-out forwards;
  animation-delay: 1.2s;
}

.cta-button {
  background-color: #d97706;
  border: none;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b45309;
}

.brand-mockup {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.97);
  animation: fadeInImage 1.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInImage {
  from { opacity: 0; }
  to { opacity: 1; }
}

.brand-mockup:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-books {
  margin-top: 8px;
  text-align: center;
  background-color: #ffffff;
  color: #0a0a0a;
  padding: 40px 10px;
}

.section-books h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #0a0a0a;
  margin-bottom: 20px;
}

.book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.book-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  flex: 1 1 300px;
  text-align: left;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.book-item img {
  width: 70%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto 4px;; /* reduced from 40px or 20px to 12px */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.book-item img:hover {
  transform: scale(1.03); /* Slight zoom-in */
}

.book-item h3 {
  font-family: 'Playfair Display', serif;
  color: #111;
  margin-bottom: 10px;
  font-size: 20px;
  margin: 0 auto 4px;
}

.book-item p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.order-link {
  display: inline-block;
  background-color: #d97706;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.order-link:hover {
  background-color: #b45309;
}

.site-footer {
  background-color: #111;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  color: #ccc;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.site-footer a {
  color: #8e44ad !important;      /* force ORYNTA purple */
  text-decoration: none !important; /* remove underline */
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #d35400 !important;      /* hover accent */
  text-decoration: underline !important; /* optional */
}


@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    text-align: center;
  }

  .left, .right {
    padding: 0;
  }

  .headline {
    font-size: 36px;
  }

  .subheadline {
    font-size: 18px;
  }

  .book-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Valid input */
input:valid,
textarea:valid {
  border: 2px solid #28a745; /* green */
}

/* Invalid input */
input:invalid,
textarea:invalid {
  border: 2px solid #dc3545; /* red */
}

/* Optional: when focused */
input:focus:valid,
textarea:focus:valid {
  box-shadow: 0 0 4px #28a74588;
}

input:focus:invalid,
textarea:focus:invalid {
  box-shadow: 0 0 4px #dc354588;
}


body.modal-open {
  overflow: hidden;
}

.modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: #fff;
  color: #111;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.modal-content label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
  margin-top: 0.3rem;
  letter-spacing: 0.3px;
  color: #555;
  opacity: 0.85;
  display: block;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1rem;
}

.modal-content button[type="submit"] {
  width: 100%;
  margin-top: 1.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1a1a1a, #444);
  border: none;
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
}

.modal-content button[type="submit"]:hover {
 background: linear-gradient(135deg, #000, #222);
}

.close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.modal.show {
  visibility: visible;
  opacity: 1;
}


/*Read more */
.readmore-modal {
    display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}


.readmore-content {
  background-color: #fff;
  color: #111;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: slideUp 0.4s ease-out;
}


#readMoreModal.show {
  display: flex;
  animation: fadeInModal 0.4s ease-out forwards;
}

#readMoreModal.hide {
  animation: fadeOutModal 0.4s ease-in forwards;
}


@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutModal {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(30px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Stylized Order Format Buttons */
.book-item button {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1a1a1a, #444);
  border: none;
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.book-item button:hover {
  background: linear-gradient(135deg, #000, #333);
  transform: translateY(-2px);
}




/* Modern Form Enhancements */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: #222;
}

.form-group input,
.form-group textarea {
  padding: 0.35rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #444;
}

.submit-button {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.submit-button:hover {
  background: linear-gradient(135deg, #000, #222);
}

/* Delivery Fee Display */
.delivery-fee-group div#deliveryFee {
  font-weight: bold;
  background-color: #f2f2f2;
  padding: 0.6rem;
  border-radius: 6px;
  margin-top: 0.1rem;
  font-size: 0.85rem;
  text-align: center;
  color: #111;
}


/*Error Message on form*/
.error-message {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}



/*confirmation toast*/
.confirmation-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1f1f;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  z-index: 9999;
  animation: fadeSlideUp 0.4s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


/*tool tip*/
.info-icon {
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
}

.info-icon::after {
  content: "Based on delivery region and destination country.";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  width: max-content;
  max-width: 200px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 50;
}

.info-icon.visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}


.brand-logo img {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  margin-top: 1rem;
  text-align: center;
}

.footer-logo img {
  width: 80px;
  height: auto;
  opacity: 0.8;
}

#readMoreContent {
  font-family: 'Georgia', serif;
  color: #2c3e50;
  line-height: 1.7;
  padding: 15px;
}

#readMoreContent h4 {
  font-size: 1.2rem;
  line-height: 1.4;
}

#readMoreContent p {
  margin-bottom: 1em;
  font-size: 1rem;
  color: #333;
}

#readMoreModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  padding: 20px;
  overflow: auto; /* allows scrolling if content is too long */
}

#readMoreModal .modal-content {
  max-width: 600px;
  width: 100%;
  background: white;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-height: 90vh;         /* limit height */
  overflow-y: auto;         /* enable vertical scroll inside modal */
}

#readMoreModal .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 600px) {
  #readMoreModal .modal-content {
    width: 90%;
    padding: 20px;
    font-size: 15px;
  }

  #readMoreModal .close-btn {
    top: 10px;
    right: 15px;
    font-size: 18px;
  }

  #readMoreModal h4 {
    font-size: 1em;
    line-height: 1.4em;
  }

  #readMoreModal p, 
  #readMoreModal ul, 
  #readMoreModal li, 
  #readMoreModal blockquote {
    font-size: 14px;
    line-height: 1.6em;
  }

  #readMoreModal blockquote {
    padding-left: 10px;
  }
}

.testimonial-fadein {
  background: linear-gradient(to bottom, #fcf8f4, #f7f1eb);
  padding: 20px 0 20px;
  text-align: center;
  width: 100%;
}

.testimonial-fadein h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 28px;
  color: #8e44ad;
}

.testimonial-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  min-height: 220px;

}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  display: flex;
  align-items: flex-start; /* align items at the top but not centered vertically */
  justify-content: flex-start;
  gap: 20px; /* a little extra breathing space between glow and text */
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding: 32px 28px 24px; /* more padding on top */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: left;
}


.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.avatar-glow {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle, rgba(142, 68, 173, 0.4) 0%, transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8e44ad;
}

.review-text {
  flex: 1;
  max-width: 580px;
}

.review-text p {
  font-size: 14px;
  font-style: italic;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px; /* spacing between quote and first word */
}

.review-text p::before {
  content: "“";
  font-size: 34px;
  color: #8e44ad;
  position: absolute;
  left: 0;
  top: -12px; /* lower it a bit so it’s balanced with text */
  opacity: 0.65;
  font-weight: bold;
}


.review-text span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
  display: block;
  margin-top: 4px;
  padding-left: 28px; /* spacing between quote and first word */
}

.testimonial-dots {
  margin-top: 0px;
}

.testimonial-dots button {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dots button.active {
  background-color: #8e44ad;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 6px rgba(142, 68, 173, 0.5); }
  50% { box-shadow: 0 0 16px rgba(142, 68, 173, 0.9); }
  100% { box-shadow: 0 0 6px rgba(142, 68, 173, 0.5); }
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.order-summary {
  border-top: 1px solid #eee;
  padding-top: 2px;
  margin-top: 5px;
  font-size: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
}
.summary-row.total {
  font-size: 14px;
  color: #2c3e50;
}

.cta-button.secondary {
  background: #f5f5f5;
  color: #8e44ad;
  border: 2px solid #8e44ad;
  margin-left: 10px;
}

.cta-button.secondary:hover {
  background: #8e44ad;
  color: #fff;
}

