:root {
  --accent: #8a00c4;
  --muted: #6b6b6b;
  --max-w: 1200px;
  --font-family: "Open Sans", sans-serif;
  --font-size-base: 18px;
  --font-size-small: 16px;
  --font-size-large: 22px;
  --font-size-h2: 28px;
  --font-size-h1: 46px;
  --line-height: 1.7;
  --fw-bold: 700;
  --fw-semibold: 600;
} /* Entrance Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromLeftBehind {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} /* Base */
html,
body {
  margin: 0;
  padding: 0;
  color: #111;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  background: url("./assets/website_background.png") center / cover fixed
    no-repeat;
  background-color: #f5e3d0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} /* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.site-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  height: 42px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}
.site-nav a {
  color: #000;
  text-decoration: none;
  margin-left: 16px;
  font-weight: var(--fw-semibold);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.site-nav a:hover::after {
  width: 100%;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}
.site-nav a.active::after {
  width: 100%;
} /* Sections */
.section {
  padding: 120px 20px 80px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.section-inner {
  max-width: var(--max-w);
  width: 100%;
} /* ======================================== HOME PAGE ANIMATIONS ======================================== */
.section-home {
  text-align: center;
  align-items: center;
  padding-top: 80px;
  min-height: 100vh;
}
.hero-logo {
  max-width: 400px;
  width: 100%;
  margin-top: -20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.98;
  animation: fadeInScale 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
.company-name {
  font-size: var(--font-size-h1);
  font-weight: var(--fw-bold);
  margin: 5px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  opacity: 0;
}
.company-name:hover {
  color: var(--accent);
  letter-spacing: 0.5px;
}
.company-tagline {
  font-size: var(--font-size-large);
  color: var(--muted);
  font-style: italic;
  margin-top: 5px;
  transition: color 0.3s ease;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
  opacity: 0;
} /* ======================================== TEA PAGE ANIMATIONS ======================================== */
.section-tea {
  padding-top: 60px;
}
.tea-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
}
.tea-left {
  position: relative;
}
.tea-pack-img {
  width: 70%;
  max-width: 420px;
  margin-top: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.97;
  animation: fadeInScale 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
.tea-pack-img:hover {
  transform: translateY(-4px) scale(1.02);
  opacity: 1;
}
.tea-right {
  animation: slideInFromLeftBehind 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s
    forwards;
  opacity: 0;
}
.tea-right p {
  margin-bottom: 10px;
}
.tea-right h2 {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.tea-right h2::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.tea-right h2:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.tea-right h2:hover::before {
  width: 100%;
}
.tea-right p:first-of-type strong {
  transition: all 0.3s ease;
  cursor: pointer;
}
.tea-right p:first-of-type strong:hover {
  color: var(--accent);
}
.tea-right .tagline {
  transition: opacity 0.3s ease;
  cursor: pointer;
  opacity: 0.92;
}
.tea-right .tagline:hover {
  opacity: 1;
} /* ======================================== ABOUT PAGE ANIMATIONS ======================================== */
.section-about {
  padding-top: 120px;
}
.about-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
}
.about-left {
  position: relative;
}
.Mnrg-logo {
  width: 60%;
  max-width: 300px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.98;
  animation: fadeInScale 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
.Mnrg-logo:hover {
  transform: scale(1.03);
  opacity: 1;
}
.about-right {
  position: relative;
  top: -40px;
  animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  opacity: 0;
}
.about-right h2 {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.about-right h2::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.about-right h2:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.about-right h2:hover::before {
  width: 100%;
}
.about-right p:first-of-type strong {
  transition: all 0.3s ease;
  cursor: pointer;
}
.about-right p:first-of-type strong:hover {
  color: var(--accent);
}
.about-right p:nth-of-type(2) strong {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.about-right p:nth-of-type(2) strong::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.about-right p:nth-of-type(2) strong:hover {
  color: var(--accent);
}
.about-right p:nth-of-type(2) strong:hover::before {
  width: 100%;
} /* ======================================== SHOP PAGE ======================================== */
.section-shop {
  padding-top: 100px;
  text-align: center;
}
.section-shop .section-inner {
  margin-top: 100px;
} /* ======================================== FAQ PAGE ======================================== */
.section-faq {
  padding-top: 70px;
}
.faq-content h3 {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.faq-content h3:hover {
  color: var(--accent);
  transform: translateX(3px);
}
.q-highlight {
  color: var(--accent);
  font-weight: var(--fw-bold);
} /* ======================================== CONTACT PAGE ======================================== */
.section-contact {
  padding-top: 10;
  padding-bottom: 10px;
  text-align: left;
  min-height: auto;
}
.section-contact .section-inner {
  position: relative;
  top: -70px;
}
.section-contact a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 1px;
}
.section-contact a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.section-contact a:hover {
  opacity: 0.8;
}
.section-contact a:hover::after {
  width: 100%;
} /* ======================================== FOOTER ======================================== */
.site-footer {
  text-align: center;
  padding: 10px 0 15px;
  color: var(--muted);
  font-size: var(--font-size-small);
  margin-top: 0;
} /* Responsive */
@media (max-width: 900px) {
  .tea-layout,
  .about-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .section {
    padding: 100px 20px 60px;
  }
} /* ========================= UNIVERSAL RESPONSIVE REFINEMENTS (add at end of styles.css) ========================= */ /* ---------- 1. Very large screens (monitors/TVs ≥1920px) ---------- */
@media (min-width: 1920px) {
  html {
    font-size: 18px; /* Slight upscale for big displays */
  }
  body {
    max-width: 2000px;
    margin: 0 auto; /* center site content */
  }
} /* ---------- 2. Standard desktop/laptop (1200–1919px) ---------- */ /* No changes — your original design remains intact */ /* ---------- 3. Tablets & small laptops (900–1199px) ---------- */
@media (max-width: 1199px) and (min-width: 901px) {
  html {
    font-size: 16px;
  }
  .section {
    padding: 100px 40px;
  }
} /* ---------- 4. Phones & small tablets (601–900px) ---------- */
@media (max-width: 900px) and (min-width: 601px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 90px 25px;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
} /* ---------- 5. Phones (≤600px) ---------- */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .section {
    padding: 80px 18px 50px;
  } /* Optional: center single-column layouts if any */
  .tea-layout,
  .about-layout {
    grid-template-columns: 1fr;
    text-align: center;
  } /* Shrink large images a bit */
  img,
  video {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
  } /* Make text slightly smaller but readable */
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  p,
  li,
  a {
    font-size: 1rem;
    line-height: 1.6;
  }
} /* ---------- 6. Very small phones (≤400px) ---------- */
@media (max-width: 400px) {
  html {
    font-size: 13.5px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  p,
  li,
  a {
    font-size: 0.95rem;
  }
  img,
  video {
    max-width: 85%;
  }
} /* ========================= HOME PAGE RESPONSIVENESS FIX ========================= */ /* Tablets & smaller (≤900px) */
@media (max-width: 900px) {
  .section-home {
    padding-top: 60px;
  }
  .hero-logo {
    max-width: 70%;
    width: auto;
  }
  .company-name {
    font-size: calc(var(--font-size-h1) * 0.75);
  }
  .company-tagline {
    font-size: calc(var(--font-size-large) * 0.85);
  }
} /* Phones (≤600px) */
@media (max-width: 600px) {
  .hero-logo {
    max-width: 60%;
    margin-top: 0;
  }
  .company-name {
    font-size: calc(var(--font-size-h1) * 0.6);
    line-height: 1.2;
  }
  .company-tagline {
    font-size: calc(var(--font-size-large) * 0.7);
  }
} /* Very small phones (≤400px) */
@media (max-width: 400px) {
  .hero-logo {
    max-width: 55%;
  }
  .company-name {
    font-size: calc(var(--font-size-h1) * 0.5);
  }
  .company-tagline {
    font-size: calc(var(--font-size-large) * 0.65);
  }
} /* ========================= FIX: Content hidden behind header (corrected) ========================= */ /* Apply only to smaller devices where header overlap occurs */
@media (max-width: 900px) {
  /* Ensure scrolling to anchors doesn't hide content */
  .section {
    scroll-margin-top: 100px;
  } /* Add top spacing for About page (mobile/tablets only) */
  .section-about {
    padding-top: 90px;
  } /* Add top spacing for Tea page if needed */
  .section-tea {
    padding-top: 20px;
  }
} /* ========================= ABOUT & TEA PAGE TEXT ALIGNMENT FIX ========================= */
@media (max-width: 900px) {
  /* Left-align text while keeping the content centered */
  .section-about .about-right,
  .section-tea .tea-right {
    text-align: left;
    margin: 0 auto;
    max-width: 90%;
  }
}

/* ========================= NAV LOGO RESPONSIVE FIX ========================= */
@media (max-width: 900px) {
  .nav-logo {
    height: auto;
    max-height: 36px;
    width: auto;
    max-width: 140px;
  }
}

@media (max-width: 600px) {
  .nav-logo {
    max-height: 32px;
    max-width: 120px;
  }
}

@media (max-width: 400px) {
  .nav-logo {
    max-height: 28px;
    max-width: 100px;
  }
}

/* MOBILE FIX: Ensure background loads on phones */
@media (max-width: 900px) {
  html, body {
    background-image: url("./assets/website_background.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    background-color: #f5e3d0 !important;
  }
}
