/* ===== Reset & Base ===== */
:root{
  --page-cream: #F4E9DE;
  --nav-cream:  #fcf8f5;
  --text:       #5A4A3F;
  --accent:     #A3573B;
  --accent-light: rgba(163,87,59,0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--page-cream);
  color: var(--text);
  line-height: 1.7;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 32px;
  background: var(--nav-cream);
  box-shadow: 0 1px 0 rgba(90,74,63,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
.navbar .logo a {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  position: relative;
}
.nav-links li a {
  font-size: 1.35rem;
  padding: 10px 20px;
  background-color: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: 12px;
  transition: background-color 0.3s, color 0.3s;
  color: var(--accent);
  text-decoration: none;
}
.nav-links li a:hover,
.nav-links li a:focus {
  background-color: var(--accent);
  color: var(--page-cream);
  transform: translateY(-2px);
}
.nav-links li a.active {
  background-color: var(--accent);
  color: var(--page-cream);
}

/* ===== Hamburger Menu ===== */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 32px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: visible;
}
.nav-toggle-label span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 120ms linear;
}
.nav-toggle-label span:nth-child(1) { top: 5px; }
.nav-toggle-label span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-label span:nth-child(3) { bottom: 5px; }

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ===== Mobile nav: centered dropdown ===== */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex !important;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;          /* center the list itself */
    background: var(--nav-cream);
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    top: 70px;
    left: 0;
    position: absolute;
    z-index: 1001;
    box-shadow: 0 6px 20px rgba(90,74,63,0.06);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  .nav-links li a {
    font-size: 1.45rem;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 14px 0;
  }
}

/* ===== Animations ===== */
@keyframes slideInFromRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInFromLeft {
  from { transform: translateX(-120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== Homepage ===== */
.homepage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  padding: 130px 60px 90px;
}
.homepage-text {
  flex: 1;
  max-width: 620px;
}
.homepage-text h1 {
  font-size: 3.4rem;
  color: var(--text);
  margin-bottom: 25px;
}
.homepage-text p {
  font-size: 1.35rem;
  margin-bottom: 36px;
}
.homepage-image {
  flex: 1;
  max-width: 460px;
  padding: 22px;
  background: var(--page-cream);
  border-radius: 20px;
  box-shadow: 8px 8px 16px rgba(90, 74, 63, 0.2),
              -8px -8px 16px rgba(255, 255, 255, 0.7);
  animation: slideInFromRight 1s ease-out forwards;
}
.homepage-image img {
  width: 100%;
  border-radius: 16px;
}

/* ===== GIF Section ===== */
.video-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 90px;
  gap: 180px;
}
.gif-wrapper {
  flex: 1;
  max-width: 380px;
  padding: 20px;
  background: var(--page-cream);
  border-radius: 20px;
  box-shadow: 8px 8px 16px rgba(90,74,63,0.2),
              -8px -8px 16px rgba(255,255,255,0.7);
  animation: slideInFromLeft 1s ease-out forwards;
}
.gif-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-text {
  flex: 1;
  max-width: 620px;
}
.video-text h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.video-text p {
  font-size: 1.3rem;
}

/* ===== Sections ===== */
.section {
  padding: 140px 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.section h1 {
  font-size: 3rem;
  margin-bottom: 36px;
}
.section p {
  font-size: 1.25rem;
  margin-bottom: 22px;
}

/* ===== Reviews ===== */
blockquote.review-quote {
  padding: 1.8em 2.2em;
  font-size: 1.3rem;
  line-height: 1.6;
}
blockquote.review-quote cite {
  font-size: 1rem;
}

/* ===== Photo grid ===== */
.photo-grid img {
  border-radius: 14px;
}

/* ===== Responsive layout & mobile text padding ===== */
@media (max-width: 768px) {
  .homepage {
    flex-direction: column;
    gap: 40px;
    padding: 110px 24px 70px;
  }

  .homepage-text,
  .video-text {
    max-width: 100%;
  }

  .video-section {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 60px;
  }

  /* keep GIF text away from screen edges */
  .video-text {
    padding: 0 24px;
  }

  .gif-wrapper {
    max-width: 300px;
  }
}

/* ===== Stock Section (simple version) ===== */
.stock-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 90px 60px 120px;
}

.stock-text {
  flex: 1;
  max-width: 520px;
}

.stock-text h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.stock-text p {
  font-size: 1.25rem;
}

.stock-chart {
  flex: 1;
  width: 90vw;
  max-width: 850px;
  background: var(--page-cream);
  border-radius: 20px;
  box-shadow: 8px 8px 16px rgba(90,74,63,0.2),
              -8px -8px 16px rgba(255,255,255,0.7);
  padding: 12px;
}

.tradingview-widget-container {
  width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .stock-section {
    flex-direction: column;
    padding: 70px 22px 100px;
    gap: 30px;
  }

  .stock-text,
  .stock-chart {
    max-width: 100%;
  }
}

/* ===== Reviews Page Grid ===== */

.reviews-page {
  padding-top: 130px;          /* clears the fixed navbar */
  max-width: 1880px;
  margin: 0 auto;
}


/* Grid wrapper */
.reviews-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* 3 cards wide on desktop */
  gap: 30px;
}

/* Individual review card */
.review-card {
  background: var(--page-cream);
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 8px 8px 16px rgba(90, 74, 63, 0.18),
              -8px -8px 16px rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: var(--text);
}

.review-author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

/* Featured final review – spans full width on desktop */
.review-card.featured {
  grid-column: 1 / -1;          /* span all columns */
  padding: 32px 28px;           /* a bit more breathing room */
  font-size: 1.2rem;
  line-height: 1.7;
}


/* Tablet: 2 cards per row */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 card per row */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
}
/* ===== Decorative side strips (desktop only) ===== */

/* Base appearance (no fixed width here) */
.side-strip {
  position: fixed;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;                 /* behind navbar/content */
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.9;
}

/* Anchor them to the edges */
.side-strip.left  { left: 0; }
.side-strip.right { right: 0; }

/* --- Large desktop (>= 1600px) — full 190px strips --- */
@media (min-width: 1600px) {
  .side-strip {
    display: block;
    width: 190px;
    background-size: 190px 500px;
  }
  body {
    padding-left: 210px;      /* 190 strip + 20px gap */
    padding-right: 210px;
  }
}

/* --- Medium desktop / laptops (1200px–1599px) — smaller strips --- */
@media (min-width: 1200px) and (max-width: 1599px) {
  .side-strip {
    display: block;
    width: 120px;
    background-size: 140px 500px;
  }
  body {
    padding-left: 140px;      /* 140 + 20 gap */
    padding-right: 140px;
  }
}

/* --- Small desktop (1025px–1199px) — even smaller strips --- */
@media (min-width: 1025px) and (max-width: 1199px) {
  .side-strip {
    display: block;
    width: 100px;
    background-size: 110px 500px;
  }
  body {
    padding-left: 120px;      /* 110 + 20 gap */
    padding-right: 120px;
  }
}

/* --- Tablet & mobile (< 1025px) — hide strips --- */
@media (max-width: 1024px) {
  .side-strip {
    display: none;
  }
  body {
    padding-left: 0;
    padding-right: 0;
  }
}


/* ===== Day-based themes (set by JS via body class) ===== */

/* Default pattern for most days */
body.theme-default .side-strip {
  background-image: url("../images/strip/strip-christmas.png");
}

body.theme-halloween .side-strip {
  background-image: url("../images/strip/strip-halloween.png");
}

body.theme-birthday .side-strip {
  background-image: url("../images/strip/strip-birthday.png");
}

body.theme-christmas .side-strip {
  background-image: url("../images/strip/strip-christmas.png");
}

body.theme-newyear .side-strip {
  background-image: url("../images/strip/strip-newyears.png");
}


/* ===== Footer ===== */
.site-footer {
  width: 100vw;                 /* full browser width */
  margin-left: calc(-50vw + 50%); /* cancel any body padding, truly full width */
  background: #000;
  color: #fff;
  text-align: center;
  padding: 16px 0;
  font-size: 1rem;
  position: relative;
  z-index: 2000;                /* above side strips */
  margin-top: 80px;
}

/* ===== Mobile Seasonal Icon ===== */
.mobile-season-icon {
  display: none; /* hidden on desktop */
}

/* Mobile only */
@media (max-width: 768px) {
  .mobile-season-icon {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 20px auto;  /* center above footer */
    animation: iconFloat 2.5s ease-in-out infinite;
  }

  @keyframes iconFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
  }
}

/* ===== Theme-based Icons ===== */
body.theme-christmas .mobile-season-icon {
  background-image: url("../images/icons/christmasIcon.png");
}

body.theme-halloween .mobile-season-icon {
  background-image: url("../images/icons/halloweenIcon.png");
}

body.theme-birthday .mobile-season-icon {
  background-image: url("../images/icons/birthdayIcon.png");
}

body.theme-newyear .mobile-season-icon {
  background-image: url("../images/icons/fireworksIcon.png");
}

/* Default (no special day) */
body.theme-default .mobile-season-icon {
    display: none; /* or add your own default icon */
}

