/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #FDF6E3 0%, #fff 100%);
  color: #27374D;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #3655B3;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #27374D;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #27374D;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.75rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.25; }
.subheadline {
  font-size: 1.15rem;
  color: #7C878E;
  margin-bottom: 28px;
}
strong {
  font-weight: 600;
  color: #27374D;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 740px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(39,55,77,0.07);
  position: relative;
  transition: box-shadow 0.2s;
  min-width: 270px;
  flex: 1 1 270px;
  padding: 1.5rem;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(39,55,77,0.15);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(39,55,77,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  color: #27374D;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(39,55,77,0.13);
}
.testimonial-meta {
  font-size: 1rem;
  font-weight: 500;
  color: #7C878E;
}
.testimonial-meta span {
  color: #F4B942;
  margin-left: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #FDF6E3 50%, #E7EDEA 100%);
  box-shadow: 0 1px 12px rgba(39,55,77,0.04);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo img {
  height: 48px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-size: 1rem;
  color: #27374D;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s,color 0.2s;
}
nav a:hover, nav a:focus {
  background: #FDF6E3;
  color: #27374D;
}
.btn-primary {
  background: linear-gradient(90deg, #27374D 50%, #445A7C 100%);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 12px rgba(39,55,77,0.12);
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #3655B3 40%, #27374D 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(39,55,77,0.15);
}

/* HAMBURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  background: #27374D;
  color: #fff;
  border-radius: 9px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 110;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #445A7C;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px rgba(39,55,77,0.10);
  transform: translateX(-110%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 1200;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #27374D;
  font-size: 2rem;
  display: flex;
  align-items: center;
  margin: 24px 0 0 20px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  z-index: 1202;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 48px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #27374D;
  letter-spacing: 0.02em;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDF6E3;
}

/* HERO & MAIN CTA */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 20px 2px;
    margin-bottom: 28px;
  }
  .container {
    padding: 0 2vw;
  }
}
.content-wrapper.text-section,
.text-section {
  padding: 0 0 0 0;
}
.content-wrapper.text-section h1,
.content-wrapper.text-section h2 {
  margin-bottom: 18px;
}

/* FEATURE GRID (Landing Highlights) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(39,55,77,0.07);
  flex: 1 1 220px;
  padding: 28px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 220px;
  max-width: 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s,transform 0.15s;
}
.feature-grid li img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
}
.feature-grid li h3 {
  font-size: 1.12rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 8px;
  color: #3655B3;
}
.feature-grid li p {
  font-size: 1rem;
  color: #7C878E;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(39,55,77,0.13);
  transform: translateY(-3px) scale(1.04);
}

/* LISTING/GROUPED CONTENT */
.genre-listings, .occasion-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.genre-listings li, .occasion-collections li {
  background: #fff;
  border-radius: 12px;
  flex: 1 1 180px;
  min-width: 190px;
  max-width: 260px;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 2px 12px rgba(39,55,77,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.18s,transform 0.13s;
}
.genre-listings li:hover, .occasion-collections li:hover {
  box-shadow: 0 7px 24px rgba(39,55,77,0.13);
  transform: scale(1.03);
}

.editor-picks, .curator-picks, .tips-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.editor-picks li, .curator-picks li, .tips-cards li {
  background: #fff;
  border-radius: 9px;
  padding: 18px 12px;
  box-shadow: 0 2px 10px rgba(39,55,77,0.08);
  flex: 1 1 200px;
  margin-bottom: 20px;
}

/* REVIEW & FAQ CARDS */
.review-cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.review-card {
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 330px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(39,55,77,0.09);
  padding: 24px 16px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s;
}
.review-card h3 {
  font-size: 1.08rem;
  color: #3655B3;
  margin-bottom: 5px;
}
.review-card span {
  color: #7C878E;
  font-size: 0.97rem;
  margin-bottom: 10px;
}
.review-card p {
  color: #27374D;
  font-size: 1rem;
}
.review-card:hover {
  box-shadow: 0 7px 22px rgba(39,55,77,0.17);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0;
}
.faq-list li {
  background: #FDF6E3;
  padding: 18px 18px 18px 18px;
  border-radius: 10px;
  color: #27374D;
  font-size: 1rem;
  line-height: 1.55;
}

.genre-filters, .theme-filters {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  font-size: 1rem;
  color: #3655B3;
}
.genre-filters a,
.theme-filters a {
  color: #3655B3;
  text-decoration: underline;
  padding: 2px 7px;
  border-radius: 5px;
  transition: background 0.13s;
}
.genre-filters a:hover, .theme-filters a:hover {
  background: #FDF6E3;
}

/* CONTACT SECTION & PREVIEW INFO */
.contact-info-preview ul,
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.contact-info-preview li, .contact-details li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #27374D;
  font-size: 1rem;
}
.contact-info-preview img, .contact-details img {
  width: 24px;
  height: 24px;
}
.map-location, .special-notes {
  margin-top: 24px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(39,55,77,0.06);
  padding: 15px 18px;
  color: #27374D;
}

/* NEWSLETTER SIGN UP */
.newsletter-signup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #E9E5DD;
}
.newsletter-signup span {
  font-size: 1rem;
  color: #27374D;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #FDF6E3 65%, #E7EDEA 100%);
  border-top: 2px solid #ECE3D2;
  padding: 28px 0 18px 0;
  margin-top: 60px;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.footer-logo img {
  height: 42px;
}
.footer-menu {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 500;
}
.footer-menu a {
  color: #3655B3;
  text-decoration: underline;
  font-size: 1rem;
  border-radius: 5px;
  padding: 3px 5px;
  transition: background 0.15s;
}
.footer-menu a:hover {
  background: #FDF6E3;
}
.address {
  color: #7C878E;
  margin-bottom: 6px;
  font-size: 1rem;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #27374D;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: background 0.17s;
}
.social-links a img {
  height: 20px;
  width: 20px;
  filter: brightness(1.9);
}
.social-links a:hover {
  background: #3655B3;
}

/* SPECIAL MESSAGES/WELCOME NOTES */
.warm-welcome-note, .context-notes {
  margin-top: 18px;
  background: #ECE3D2;
  color: #27374D;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* MODAL OVERLAYS (for Cookie) */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #27374D;
  padding: 28px 6vw 22px 6vw;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(39,55,77,0.12);
  font-size: 1rem;
  gap: 18px;
  transition: transform 0.37s cubic-bezier(.4,0,.2,1), opacity 0.22s;
}
#cookie-banner.hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-btns {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  background: #fff;
  color: #27374D;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  margin-right: 4px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 4px rgba(39,55,77,0.08);
}
.cookie-btn-accept {
  background: #445A7C;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #3655B3;
}
.cookie-btn-reject {
  background: #EFE4D3;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #f5e9d1;
  color: #27374D;
}
.cookie-btn-settings {
  background: #fff;
  color: #27374D;
  border: 1px solid #ECE3D2;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #ECE3D2;
}

#cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: #27374D;
  border-radius: 16px;
  box-shadow: 0 6px 34px rgba(39,55,77,0.24);
  z-index: 3000;
  padding: 35px 28px 32px 28px;
  min-width: 310px;
  max-width: 97vw;
  width: 390px;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-in 0.36s cubic-bezier(.4,0,.2,1);
}
#cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  0%{ transform:translate(-50%,-48%) scale(0.85); opacity:0; }
  100%{ transform:translate(-50%,-50%) scale(1); opacity:1; }
}
#cookie-modal h3 {
  font-size: 1.2rem;
  color: #27374D;
}
#cookie-modal label {
  cursor: pointer;
}
#cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
#cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: #3655B3;
  width: 20px; height: 20px;
}
#cookie-modal .cookie-cat.essential {
  opacity: 0.7;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
#cookie-modal .modal-actions button {
  min-width: 100px;
}

/* Utility Styles */
.hide { display: none !important; }

@media (max-width: 1120px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 980px) {
  .feature-grid,
  .content-grid,
  .card-container,
  .review-cards-list,
  .genre-listings,
  .occasion-collections {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid li, .review-card,
  .card, .card-container > * {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    min-height: 68px;
  }
  .newsletter-signup {
    flex-direction: column;
    padding-top: 12px;
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .genre-listings, .occasion-collections {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.19rem; }
  .btn-primary { font-size: 0.95rem; padding: 10px 18px; }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    gap: 7px;
    min-height: 54px;
    padding: 0 6px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .logo img { height: 37px; }
  .btn-primary { font-size: 0.93rem; padding: 9px 12px; }
  .newsletter-signup span, .address, .footer-menu a, .social-links a {
    font-size: 0.93rem;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: flex-start !important;
  }
  .card, .review-card, .feature-grid li, .occasion-collections li, .genre-listings li {
    padding: 16px 8px;
  }
  #cookie-banner {
    font-size: 0.98rem;
    padding: 19px 2vw 16px 2vw;
  }
  #cookie-modal {
    width: 96vw;
    min-width: unset;
    padding: 21px 7vw 20px 7vw;
  }
  .mobile-menu {
    padding: 0;
  }
}
@media (max-width: 440px) {
  #cookie-banner {
    font-size: 0.95rem;
    padding: 13px 1vw 13px 1vw;
    gap: 10px;
  }
  #cookie-modal {
    padding: 11px 2vw 12px 2vw;
    width: 97vw;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .feature-grid li, .review-card, .testimonials-card {
  transition: box-shadow 0.19s cubic-bezier(.4,0,.2,1), transform 0.15s cubic-bezier(.4,0,.2,1);
}
.btn-primary, .cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: background 0.19s, color 0.17s, box-shadow 0.15s;
}
nav a, .footer-menu a, .mobile-nav a {
  transition: background 0.17s, color 0.18s;
}

/* FOCUS VISIBLE FOR ACCESSIBILITY */
:focus {
  outline: 2px solid #3655B3;
  outline-offset: 2px;
}

/* CUSTOM FONTS */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* Prevent absolute positioning for layout/content elements except icons/decorative */
