
/* SUNSET NUTRITION WEBSITE */

:root {
  --black: #151515;
  --panel: #202020;
  --gold: #f2c72e;
  --gold-muted: #d6b44a;
  --white: #ffffff;
  --muted: #c9c9c9;
}

/* GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* HEADER */

.site-header {
  background: #ffffff;
  color: #171717;
}


/* SLIM HEADER */

.navbar {
  max-width: 1400px;
  margin: auto;
  min-height: 50px;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
}


.nav-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 800;
}

.nav-links a:hover {
  color: #aa8300;
}

/* HOMEPAGE */

.hero {
  max-width: 1380px;
  margin: auto;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 44px;
  padding: 70px 6%;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* BUTTONS */

.btn {
  display: inline-block;
  background: var(--gold);
  color: #141414;
  text-decoration: none;
  font-weight: 800;
  border-radius: 5px;
  padding: 14px 25px;
}

.btn:hover {
  background: #ffdb4d;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #777777;
}

.btn-outline:hover {
  background: #333333;
}

/* STOREFRONT IMAGE */

.hero-visual {
  background: #111111;
  border: 1px solid #444444;
  border-radius: 15px;
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}

.image-caption {
  display: block;
  color: #aaaaaa;
  padding: 10px 15px;
  font-size: 0.75rem;
}

/* GENERAL SECTIONS */

.section {
  padding: 85px 6%;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.section-heading p,
.about-section p {
  color: var(--muted);
}

/* OFFICIAL MENU CAROUSEL */

.official-menu-section {
  background: #151515;
  padding: 85px 5%;
  text-align: center;
}

.official-menu-section .section-heading {
  margin-bottom: 35px;
}

.official-menu-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 12px;
}

.menu-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1450px;
  margin: 0 auto;
}

.menu-image-container {
  flex: 1;
  min-width: 0;
  background: #151515;
  border: 1px solid #444444;
  border-radius: 10px;
  overflow: hidden;
}

#official-menu-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #151515;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: #ffdb4d;
}

.carousel-bottom {
  margin: 22px auto 28px;
}

#menu-image-label {
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--gold);
}

#menu-image-counter {
  color: #aaaaaa;
  font-size: 13px;
  margin-top: 12px;
}

/* MENU SEARCH */

.menu-controls {
  max-width: 1180px;
  margin: 0 auto 38px;
}

#menu-search {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto 25px;
  background: #292929;
  color: #ffffff;
  border: 1px solid #666666;
  border-radius: 8px;
  padding: 17px 20px;
  font-size: 1rem;
}

#menu-search::placeholder {
  color: #aaaaaa;
}

#menu-search:focus {
  outline: 2px solid var(--gold);
}

.menu-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #272727;
  color: #eeeeee;
  border: 1px solid #555555;
  border-radius: 25px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #151515;
}

/* MENU PRODUCT CARDS */

.menu-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.menu-card {
  background: var(--panel);
  border: 1px solid #393939;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.menu-card:hover {
  border-color: var(--gold-muted);
}

.menu-card-category {
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 14px 0 10px;
}

.menu-description {
  color: var(--gold-muted);
  font-size: 0.91rem;
  margin: 0 0 16px;
}

.menu-card-price {
  font-size: 1.3rem;
  margin-top: auto;
}

.unverified {
  color: #aaaaaa;
  margin: 0 0 12px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
}

/* HOT TEA OPTIONS */

.tea-options {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 24px;
  border: 1px solid #565656;
  border-radius: 10px;
}

.tea-options h3 {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.tea-options h3 span {
  color: #ffffff;
}

.tea-options p {
  color: var(--muted);
}

.menu-note {
  color: #aaaaaa;
  font-size: 0.82rem;
  margin: 30px auto 0;
  max-width: 750px;
}

/* ABOUT */

.about-section {
  background: #242424;
}

.about-section p {
  max-width: 730px;
  margin: 0 auto;
}

/* CONTACT */

.contact-section p {
  font-size: 1.08rem;
}

.contact-section a:not(.btn):not(.instagram-btn) {
  color: var(--gold);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

/* INSTAGRAM BUTTON */

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: transparent;
  color: var(--gold);

  border: 2px solid var(--gold);
  border-radius: 5px;

  padding: 12px 22px;

  font-weight: 800;
  text-decoration: none;

  transition: all 0.2s ease;
}

.instagram-btn:hover {
  background: var(--gold);
  color: #151515;
}

.instagram-btn svg {
  flex-shrink: 0;
}

/* FOOTER */

footer {
  background: #090909;
  border-top: 1px solid #444444;
  padding: 26px 20px;
  text-align: center;
  color: #cccccc;
}

.footer-social {
  margin: 12px 0;
}

.footer-social a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

.demo-note {
  font-size: 0.75rem;
  color: #999999;
}

/* KEYBOARD ACCESSIBILITY */

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible,
.filter-btn:focus-visible,
.btn:focus-visible,
.instagram-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* TABLET */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual img {
    height: 270px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* MOBILE */

@media (max-width: 600px) {

  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .logo {
    width: 175px;
  }

  .nav-links {
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 58px 6%;
    gap: 28px;
  }

  .hero-visual img {
    height: 220px;
  }

  .section {
    padding: 65px 5%;
  }

  .official-menu-section {
    padding: 55px 3%;
  }

  .menu-carousel {
    gap: 5px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .menu-image-container {
    border-radius: 5px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: 150px;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 9px 13px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn,
  .instagram-btn {
    width: min(100%, 300px);
  }

}


/* SECTION SEPARATION */

/* Homepage */
.hero {
  background: #151515;
  max-width: 100%;
  border-bottom: 3px solid #f2c72e;
  padding-top: 90px;
  padding-bottom: 90px;
}


.official-menu-section {
  background: #f2c72e;
  padding-top: 90px;
  padding-bottom: 100px;
  color: #151515;
}

/* Make heading text black */
.official-menu-section h2 {
  color: #151515;
}

/* Make description text black */
.official-menu-section .section-heading p {
  color: #151515;
}

/* Make small heading text black */
.official-menu-section .eyebrow {
  color: #151515;
}


/* Menu Search */
.menu-section {
  background: #151515;
  border-top: 1px solid #404040;
}

/* About Section */
.about-section {
  background: #242424;
  border-top: 1px solid #404040;
}

/* Visit Us Section */
.contact-section {
  background: #151515;
  border-top: 1px solid #404040;
}

/* More distinct section headings */
.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}


/* OFFICIAL MENU - YELLOW BACKGROUND STYLING */

.official-menu-section {
  background: #f2c72e;
  color: #151515;
}

/* Main heading and description */
.official-menu-section h2,
.official-menu-section .section-heading p,
.official-menu-section .eyebrow {
  color: #151515;
}

/* Carousel arrow buttons */
.official-menu-section .carousel-arrow {
  background: #151515;
  color: #f2c72e;
  border: 2px solid #151515;
  transition: all 0.2s ease;
}

.official-menu-section .carousel-arrow:hover {
  background: #ffffff;
  color: #151515;
  border-color: #151515;
}

/* Menu image label */
.official-menu-section #menu-image-label {
  color: #151515;
}

/* Menu image counter */
.official-menu-section #menu-image-counter {
  color: #333333;
}

/* Carousel indicator dots */
.official-menu-section .carousel-dot {
  background: transparent;
  border: 2px solid #151515;
}

.official-menu-section .carousel-dot.active {
  background: #151515;
}

/* Search Individual Products button */
.official-menu-section > .btn {
  background: #151515;
  color: #ffffff;
  border: 2px solid #151515;
}

.official-menu-section > .btn:hover {
  background: #ffffff;
  color: #151515;
}

/* Menu image border */
.official-menu-section .menu-image-container {
  border: 2px solid #151515;
}

/* Keyboard focus */
.official-menu-section .carousel-arrow:focus-visible,
.official-menu-section .carousel-dot:focus-visible,
.official-menu-section > .btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}


/* HOMEPAGE STORE HOURS */

.hero-hours {
  background: #242424;
  border: 1px solid #494949;
  border-left: 4px solid #f2c72e;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  max-width: 480px;
}

.hero-hours h3 {
  color: #f2c72e;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.hero-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 14px;
}

.hero-hours-row span {
  color: #cccccc;
}

.hero-hours-row strong {
  color: #ffffff;
  text-align: right;
}

@media (max-width: 480px) {
  .hero-hours-row {
    font-size: 12px;
  }
}

/* CLICKABLE MENU IMAGE */
#official-menu-image {
  cursor: zoom-in;
}

/* FULL SCREEN MENU VIEWER */
.menu-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.menu-lightbox[hidden] {
  display: none;
}

#lightbox-image {
  display: block;
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  background: transparent;
  border: none;
  font-size: 42px;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* FULL SCREEN MENU ARROWS */

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #151515;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-arrow:hover {
  background: #ffdb4d;
}

/* FULL SCREEN MENU COUNTER */

.lightbox-counter {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Leave room for arrows on mobile */
@media (max-width: 600px) {
  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  #lightbox-image {
    max-width: calc(100% - 65px);
    max-height: 80vh;
  }
}