/* ========================================
   Les Élixirs du Temps - Stylesheet
   ======================================== */

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colori principali */
  --bordeaux: hsl(0, 45%, 25%);
  --bordeaux-light: hsl(0, 35%, 35%);
  --gold: hsl(42, 70%, 55%);
  --gold-light: hsl(42, 60%, 70%);
  --navy: hsl(220, 50%, 20%);
  --navy-deep: hsl(220, 50%, 15%);
  
  /* Neutri */
  --white: hsl(0, 0%, 100%);
  --cream: hsl(35, 30%, 95%);
  --gray-light: hsl(30, 15%, 92%);
  --gray: hsl(220, 15%, 45%);
  --text-dark: hsl(220, 30%, 15%);
  
  /* Ombre */
  --shadow-soft: 0 4px 20px hsla(220, 30%, 15%, 0.08);
  --shadow-card: 0 8px 30px hsla(220, 30%, 15%, 0.12);
  --shadow-gold: 0 4px 20px hsla(42, 70%, 55%, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   Navigazione
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  padding: 0 1rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bordeaux);
}

.navbar-menu {
  display: none;
  gap: 2rem;
}

.navbar-link {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: var(--bordeaux);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bordeaux);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-link {
  display: block;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--bordeaux);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 1rem 3rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

/* ========================================
   Bottoni
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--bordeaux-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px hsla(42, 70%, 55%, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--bordeaux);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-disabled {
  background: var(--gray-light);
  color: var(--gray);
  cursor: not-allowed;
}

.btn-disabled:hover {
  transform: none;
}

/* ========================================
   Sezioni
   ======================================== */
.section {
  padding: 5rem 1rem;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-align: center;
  margin-bottom: 3rem;
}

.section-dark .section-title {
  color: var(--gold);
}

/* ========================================
   Sezione Libro
   ======================================== */
.book-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.book-features {
  background: var(--cream);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

.book-features h3 {
  font-size: 1.25rem;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

.book-features ul {
  list-style: none;
}

.book-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.book-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ========================================
   Sezione Citazioni
   ======================================== */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.quote-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--navy);
}

.quote-text::before {
  content: '"';
  font-size: 2rem;
  color: var(--gold);
  line-height: 0;
  margin-right: 0.25rem;
}

/* ========================================
   Sezione Recensioni
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  border-bottom: 3px solid var(--gold);
}

.review-stars {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.review-author {
  font-weight: 600;
  color: var(--bordeaux);
  font-size: 0.9rem;
}

/* ========================================
   Sezione News
   ======================================== */
.news-highlight {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  border: 2px solid var(--gold);
  text-align: center;
}

.news-highlight-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-highlight-title {
  font-size: 1.25rem;
  color: var(--bordeaux);
  margin-bottom: 0.5rem;
}

.news-highlight-text {
  color: var(--text-dark);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.news-date {
  background: var(--bordeaux);
  color: var(--cream);
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
  min-width: 60px;
}

.news-date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.news-date-day {
  font-size: 1.25rem;
  font-weight: 700;
}

.news-content h4 {
  color: var(--bordeaux);
  margin-bottom: 0.25rem;
}

.news-content p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ========================================
   Sezione Autrice
   ======================================== */
.author-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.author-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.author-bio {
  max-width: 600px;
}

.author-name {
  font-size: 1.5rem;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

.author-text {
  color: var(--text-dark);
  line-height: 1.8;
}

/* ========================================
   Sezione Contatti
   ======================================== */
.contact-content {
  text-align: center;
}

.contact-intro {
  color: var(--cream);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: hsla(255, 255%, 255%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: 1rem;
  border: 2px solid hsla(255, 255%, 255%, 0.2);
  border-radius: 8px;
  background: hsla(255, 255%, 255%, 0.1);
  color: var(--cream);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: hsla(255, 255%, 255%, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--gold);
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
  
  .navbar-toggle {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-text {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero-image img {
    max-width: 350px;
  }
  
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .author-container {
    flex-direction: row;
    text-align: left;
  }
  
  .newsletter-input-group {
    flex-direction: row;
  }
  
  .newsletter-input {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
}
.stores-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.store-logo { width: 20px; height: 20px; object-fit: contain; }
.store-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-store { display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 1rem; font-size: 0.8rem; min-width: 85px; }

.btn-store:not(.btn-disabled) {
  opacity: 1;
  cursor: pointer;
      background: transparent;
    border: 2px solid var(--bordeaux);
    color: var(--bordeaux);
}

.btn-store:not(.btn-disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-email {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.book-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.book-cover img {
  max-width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .book-hero {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Contenitore principale - centrato su desktop */
.book-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.book-cover {
  flex-shrink: 0;
}

.book-cover img {
  max-width: 240px;
  height: auto;
  border-radius: 16px;
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.15),
    0 4px 12px rgba(0,0,0,0.1);
  border: 3px solid var(--gold);
}

/* Card scheda - stile elegante e centrata */
.book-meta-card {
  max-width: 300px;
  background: linear-gradient(135deg, var(--white) 0%, #f8f9ff 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.12),
    0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  backdrop-filter: blur(10px);
}

.book-meta-card h3 {
  font-size: 1.3rem;
  color: var(--bordeaux);
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.book-meta-card h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0.5rem auto 0;
}

.book-meta-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.book-meta-card li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.book-meta-card li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.book-meta-card strong {
  color: var(--bordeaux);
  font-weight: 700;
}

/* Responsive - su mobile tutto centrato */
@media (min-width: 768px) {
  .book-hero {
    gap: 2rem;
  }
  
  .book-meta-card {
    max-width: 320px;
  }
}

.contact-email-block {
  background: linear-gradient(135deg, hsla(255,255%,255%,0.1) 0%, hsla(255,255%,255%,0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 2px solid var(--gold);
  text-align: center;
}

.contact-email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.contact-email a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.contact-email a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.contact-note {
  color: hsla(255,255%,100%,0.8);
  font-size: 1rem;
  margin: 0;
}

.contact-social-block {
  text-align: center;
}

.contact-intro {
  color: var(--cream);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-intro strong {
  color: var(--gold);
}
