/*
  Sightwell Vision Stylesheet - Mobile First Structure

  Proudly built by Eri Marukawa, Fumiko Tech
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Playfair+Display:wght@400;500;700&display=swap");

:root {
  --primary-color: #09236a;
  --flag-red: #bc002d;
  --background-color: #f8f7f3;
  --secondary-background: #e8e8e3;
  --text-color: #383838;
  --gold-color: #b8860b;
  --teal-primary: #008080;
  --green-primary: #0a342b;
  --green-heading: #0f5d28;
  --heading-font: "Playfair Display", serif;
  --body-font: "Noto Sans JP", sans-serif;
  --container-width: 1280px;
}

/* General Styles */
body {
  font-family: var(--body-font);
  background-color: var(--secondary-background);
  color: var(--text-color);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
}

.hover-shadow:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.text-primary {
  color: var(--primary-color);
}

.text-gold {
  color: var(--gold-color);
}

.text-green-primary {
  color: var(--green-primary);
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.content-wrapper {
  flex-grow: 1;
}

/*  Washi Texture Style  */
.washi-texture {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.washi-texture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("media/washi.webp");
  background-size: cover;
  opacity: 0.35;
  z-index: -1;
}

/*  Animation Styles  */
.animate-fade-in,
.animate-fade-in-slide-up,
.animate-slide-in-left,
.animate-slide-in-right,
.animate-fade-in-scale-up {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-fade-in-slide-up {
  transform: translateY(30px);
}

.animate-slide-in-left {
  transform: translateX(-40px);
}

.animate-slide-in-right {
  transform: translateX(40px);
}

.animate-fade-in-scale-up {
  transform: scale(0.95);
}

.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Glisten (Border Trace) */
.trace-container {
  position: relative;
  z-index: 1;
}

.border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.border-shape {
  fill: none;
  stroke: var(--gold-color);
  stroke-width: 4px;
}

.is-tracing-active .border-svg {
  opacity: 1;
}

/*  Homepage Styles  */
.hero-section {
  background-image: url("media/home/fiji.webp");
  background-size: cover;
  background-position: center;
}

.hero-text {
  background-color: rgba(9, 9, 9, 0.708);
  backdrop-filter: blur(7px);
}

.hero-section h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: var(--gold-color);
}

.discover-button{
  display: inline-block;
  font-size: 5vw;
}

.text-home-green{
  color: var(--green-heading);
}

.product-showcase-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--secondary-background);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-showcase-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
}

.product-showcase-card img {
  height: 5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.product-showcase-card .learn-more-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: white;
  background-color: var(--flag-red);
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.product-showcase-card .learn-more-button:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.42);
}

/*  About Us Styles  */
.about-page-hero-h1 {
  font-size: 1.8rem;
}

.monozukuri-item {
  padding: 2rem;
  border: 1px solid var(--gold-color);
  border-radius: 1rem;
}

/*  Optiza Styles  */
.theme-optiza h1,
.theme-optiza h2,
.theme-optiza h3,
.theme-optiza h4 {
  color: var(--teal-primary);
}

.text-optiza-accent {
  color: var(--teal-primary);
}


.premium-plus-section-teal {
  background-color: #007373d8;
  color: white;
}

.premium-plus-section-teal h2 {
  color: #e6aa12;
}

.premium-plus-section-teal p,
.premium-plus-section-teal b {
  color: white;
}

/*  AugenKraft Styles  */
.theme-augenkraft h1,
.theme-augenkraft h2,
.theme-augenkraft h3,
.theme-augenkraft h4 {
  color: var(--green-primary);
}

.theme-augenkraft h1.text-gold {
  color: var(--gold-color);
}

.premium-plus-section-green {
  background-color: #0a342bd8;
}

.premium-plus-section-green img {
  object-fit: contain;
}

.premium-plus-section-green h2 {
  color: var(--gold-color);
}

.premium-plus-section-green p {
  color: #e2e8f0;
}

.theme-augenkraft .border-gold {
  border-color: var(--gold-color);
}

/*  Premium Section Styles  */
.premium-plus-section-teal,
.premium-plus-section-green {
  border-radius: 0;
  padding: 4rem 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  max-width: none;
  text-align: left;
}

.premium-plus-section-green .p-8 {
  padding-left: 0;
  padding-right: 0;
}


/* Navbar style - Logo Section*/
.nav-logo {
  width: 3.5rem;
  height: 3.5rem;
}

.brand-plaque {
  background-color: #f8f7f3;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: 2.5px solid;
  border-color: var(--gold-color);
}

.navbar-scrolled .brand-plaque {
  border-color: var(--gold-color);
}

.navbar-brand-text {
  font-family: "Melodrama", serif;
  font-weight: 700;
  color: #09236a;
}

/*  Light Navbar (Frosted Glass)  */
.navbar-light {
  background-color: rgba(248, 247, 243, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 4px solid transparent;
  transition: border-color 0.4s ease;
}

.navbar-light.navbar-scrolled {
  border-bottom-color: var(--gold-color);
}

.navbar-light .nav-link {
  color: var(--text-color);
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: var(--gold-color);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
}

.nav-link.active {
  font-weight: 700;
  color: var(--gold-color);
  border-color: var(--gold-color);
  box-shadow: inset 2px 1px 2px rgba(0, 0, 0, 0.4);
}
.navbar-light #menu-button {
  color: var(--text-color);
}

body.menu-open {
  overflow: hidden;
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 25, 25, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open #menu-overlay {
  opacity: 1;
  visibility: visible;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 320px;
  height: 100%;
  background-color: rgba(248, 247, 243, 0.77);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

body.menu-open #mobile-menu {
  transform: translateX(0);
}

#mobile-menu #close-button {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-color);
}

#mobile-menu .nav-links-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  text-align: left;
}

#mobile-menu .nav-link {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem 0;
  border: none;
  box-shadow: none;
}

#mobile-menu .nav-link.active {
  color: var(--gold-color);
  font-weight: 700;
}

#mobile-menu .nav-link.active::after {
  display: none;
}

#mobile-menu .menu-footer {
  text-align: center;
  padding-bottom: 1rem;
}

#mobile-menu .menu-footer .brand-plaque {
  display: inline-block;
}

/*  Footer Styles  */
.footer-color {
  background-color: #4a90e2;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* skyline image */
.footer-color::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("media/skyline.webp");
  background-size: cover;
  background-position: left bottom;
  opacity: 0.07;
  z-index: -1;

}


.footer-color .container {
  position: relative;
  z-index: 1;
}

.footer-color h3 {
  color: white;
  font-family: "Melodrama", serif;
  letter-spacing: 0.02em;
  font-size: 1.8rem;
}


.footer-color a {
  transition: color 0.3s ease;
  color: #e2e8f0;
}


.footer-color a:hover {
  color: #ebb838;
}
.bg-primary {
  background-color: var(--primary-color);
}

.text-parchment {
  color: var(--background-color);
}

/* --- Verified Page Styles --- */
.verify-button {
  display: inline-block;
  background-color: var(--green-primary);
  color: white;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: transform 0.3s;
  padding: 1rem 0.8rem;
  font-size: 4.1vw; 
  text-align: center; 
  border-color: var(--gold-color);
  border-width: 3px;
}

.verify-button:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}



/* Tablet Screen specific Styles */
@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3rem;
    line-height: 1.1;
  }
}

/* Desktop Screen specific Styles */
@media (min-width: 768px) {
  .card {
    padding: 3rem 4rem;
  }

  .nav-logo {
    width: 4rem;
    height: 4rem;
  }

  .hero-section h1 {
    font-size: 4.5rem;
    line-height: 1;
  }

  .discover-button{
  font-size: 2.3vw;
}

.border-shape {
  stroke-width: 6px;
}

  .about-page-hero-h1 {
    font-size: 3.15rem;
  }

  .footer-color::before {
    background-position: center bottom;
  }

  .premium-plus-section-teal,
  .premium-plus-section-green {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem 4rem;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-width);
  }

  .premium-plus-section-green .text-center {
    text-align: center;
  }

  .premium-plus-section-green .p-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .verify-button {
    padding: 1rem 3rem; 
    font-size: 1.8vw;
  }
}
