/*
Theme Name: Sagar

--------------------------------------------------------------*/

/* Shared styles */
.glass-morphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mechanical-click:active {
  transform: translateY(1px);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Site logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__img {
  height: 7rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo--footer .site-logo__img {
  height: 6rem;
}

.site-logo--dark .site-logo__img {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

@media (max-width: 640px) {
  .site-logo__img {
    height: 5.5rem;
  }

  .site-logo--footer .site-logo__img {
    height: 5rem;
  }
}

/* Mobile menu */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #c4c6d1;
  background: #ffffff;
  color: #00193c;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  border-color: #00677e;
  color: #00677e;
}

.mobile-menu-toggle__icon {
  font-size: 1.6rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu--open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 60, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu--open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(18rem, 88vw);
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #c4c6d1;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu--open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e3e2e7;
}

.mobile-menu__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00677e;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #c4c6d1;
  background: #ffffff;
  color: #00193c;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: #f4f3f8;
  border-color: #00677e;
  color: #00677e;
}

.mobile-menu__close .material-symbols-outlined {
  font-size: 1.4rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__link {
  display: block;
  padding: 0.875rem 0.75rem;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #00193c;
  text-decoration: none;
  border-bottom: 1px solid #e3e2e7;
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: #00677e;
  background: #f4f3f8;
}

body.mobile-menu-open {
  overflow: hidden;
}

#site-header {
  position: relative;
  z-index: 55;
}

/* Home page */
.custom-scrollbar::-webkit-scrollbar {
  height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #00677e;
}

.bento-hover-effect:hover .schematic-overlay {
  opacity: 1;
}

.schematic-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 212, 255, 0.15) 1px, transparent 0);
  background-size: 24px 24px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.hero-slider-container {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-slider-container::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  scroll-snap-align: start;
  flex: 0 0 100%;
}

/* Hero Owl Carousel */
.hero-section {
  min-height: 85vh;
}

.hero-section .owl-carousel,
.hero-section .owl-stage-outer,
.hero-section .owl-stage,
.hero-section .owl-item,
.hero-section .item {
  min-height: 85vh;
  height: 85vh;
}

.hero-section .owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-section .owl-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  gap: 1rem;
  z-index: 30;
  margin: 0;
  width: auto;
}

.hero-section .owl-dots .owl-dot {
  width: 3rem;
  height: 4px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0;
  transition: background 0.3s ease;
}

.hero-section .owl-dots .owl-dot.active {
  background: #00d2fd;
}

.hero-section .owl-dots .owl-dot span {
  display: none;
}

.hero-section .owl-nav {
  display: none;
}

/* Home products slider */
.our-products-section {
  isolation: isolate;
}

.product-slider-section {
  position: relative;
  padding: 0;
}

.product-slider-section .owl-carousel {
  position: relative;
}

.product-slider-section .owl-stage-outer {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}

.product-slider-section .owl-item {
  display: flex;
  height: auto;
}

.product-slide-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  border-color: #00d2fd;
}

.product-slide-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f4f7;
}

.product-slide-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-slide-card:hover .product-slide-card__image img {
  transform: scale(1.06);
}

.product-slide-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 25, 60, 0.35) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-slide-card:hover .product-slide-card__overlay {
  opacity: 1;
}

.product-slide-card__badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #005669;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 103, 126, 0.2);
}

.product-slide-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.35rem;
  gap: 0.875rem;
}

.product-slide-card__title {
  margin: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #00193c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
  transition: color 0.25s ease;
}

.product-slide-card:hover .product-slide-card__title {
  color: #00677e;
}

.product-slide-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #e3e2e7;
}

.product-slide-card__price {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
  color: #00677e;
}

.product-slide-card__price span {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #43474f;
  margin-left: 0.15rem;
}

.product-slide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00677e;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-slide-card__link .material-symbols-outlined {
  font-size: 0.875rem;
}

.product-slide-card:hover .product-slide-card__link {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .product-slide-card__link {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-slider-section .owl-dots {
  display: none !important;
}

.product-slider-section .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  margin: 0;
  z-index: 20;
}

.product-slider-section .owl-nav button {
  pointer-events: auto;
  width: 3rem;
  height: 3rem;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #00193c !important;
  border: 1px solid rgba(0, 212, 255, 0.35) !important;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-slider-section .owl-nav button:hover {
  background: #00d2fd !important;
  color: #00193c !important;
  border-color: #00d2fd !important;
  transform: scale(1.05);
}

.product-slider-section .owl-nav button.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.product-slider-section .owl-nav button span {
  font-size: 1.35rem;
  line-height: 1;
}

.product-slider-section .owl-nav .owl-prev {
  margin-left: 0.5rem !important;
}

.product-slider-section .owl-nav .owl-next {
  margin-right: 0.5rem !important;
}

.product-slider-section--light .owl-nav button {
  background: #00193c !important;
  color: #ffffff !important;
  border-color: rgba(0, 25, 60, 0.2) !important;
}

.product-slider-section--light .owl-nav button:hover {
  background: #00d2fd !important;
  color: #00193c !important;
}

/* Site footer */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00d2fd;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__link {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: #00d2fd;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__contact .material-symbols-outlined {
  font-size: 1.125rem;
  color: #00d2fd;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Gallery */
.gallery-item {
  cursor: zoom-in;
  text-decoration: none;
}

.gallery-item:hover {
  border-color: rgba(0, 212, 255, 0.5);
}

/* GLightbox brand accents */
.glightbox-clean .gslide-description {
  background: rgba(0, 25, 60, 0.9);
  font-family: "Hanken Grotesk", sans-serif;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev,
.glightbox-clean .gclose {
  background: rgba(0, 103, 126, 0.85);
}

/* Product pages */
.product-thumb.active {
  border-color: #00677e;
  outline: 2px solid #00d2fd;
  outline-offset: -2px;
}

/* About page */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.wireframe-hover:hover {
  outline: 1px solid #00d2fd;
  outline-offset: -1px;
}

/* Category page */
.blueprint-pattern {
  background-color: #faf9fe;
  background-image: radial-gradient(#00677e 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.1);
}
