:root {
  --primary-color: #111111; /* Very dark, almost black */
  --secondary-color: #ffffff; /* White */
  --accent-color: #0b1c3d; /* Dark navy for subtle accents */
  --text-main: #dddddd;
  --text-muted: #999999;
  --bg-dark: #000000;
  --bg-light: #1a1a1a;
  --transition-speed: 0.4s;
  --font-sans: 'Mulish', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300; /* elegant thin font */
  color: var(--secondary-color);
  letter-spacing: 0.5px;
}

.font-serif {
  /* Using Mulish but with higher weight/different style to mimic the elegant heading look */
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.text-muted {
  color: var(--text-muted) !important;
}

/* Backgrounds */
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-light {
  background-color: var(--bg-light) !important;
  color: var(--text-main) !important;
}
.bg-white {
  background-color: #ffffff !important;
  color: #111 !important;
}

/* Navbar */
.navbar-custom {
  background-color: transparent;
  transition: all var(--transition-speed) ease;
  padding: 1.5rem 0;
  position: absolute; /* over hero */
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-custom.scrolled {
  background-color: rgba(17, 17, 17, 0.95);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Ensure logo is white */
}

/* Hamburger Menu Toggle (Custom) */
.menu-toggle {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  z-index: 1000;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Side Drawer */
.side-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: #111111;
  z-index: 999;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.side-drawer.open {
  right: 0;
}
.side-drawer ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.side-drawer ul li {
  margin-bottom: 2rem;
}
.side-drawer ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}
.side-drawer ul li a:hover {
  color: var(--text-muted);
}

.btn-primary-custom {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  font-weight: 400;
  padding: 0.8rem 2rem;
  border-radius: 0; /* Sharp edges */
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video, .hero-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
  z-index: -1;
}

.hero-main-copy {
  text-align: center;
  color: var(--secondary-color);
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
}
.hero-main-copy h1 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero Bottom Nav */
.hero-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  z-index: 10;
  flex-wrap: wrap;
}
.hero-bottom-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.hero-bottom-nav a:hover {
  color: #ffffff;
}

/* Silk Content / Asymmetric Blocks */
.art-of-silk {
  padding: 8rem 0;
  background-color: var(--bg-dark);
}
.section-eyebrow {
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.silk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 992px) {
  .silk-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.silk-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.silk-images {
  position: relative;
}
.silk-images img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Categories Wrapper (Cards redesign) */
.categories-wrapper {
  padding: 6rem 0;
  background-color: var(--bg-light);
}
.flex-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.product-card {
  background: transparent;
  border: none;
  overflow: hidden;
}
.card__image-group {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.card__image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .card__image {
  transform: scale(1.05);
}
.tech-specs-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.tech-specs-overlay h4 {
  margin: 0;
  font-size: 1.1rem;
}
.card__info {
  padding: 1.5rem 0;
}
.card__name {
  font-size: 1.25rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background-color: #050505;
  color: var(--text-muted);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.site-footer h5 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}
.site-footer a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  transition: all var(--transition-speed) ease;
}
.floating-whatsapp:hover {
  background-color: #25d366;
  color: white;
  transform: scale(1.1);
}

/* Page Header (Inner pages - replacing primary block with immersive image background) */
.page-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Breadcrumb override */
.breadcrumb-item a {
  color: var(--text-muted);
}

/* Accordion Custom (Dark Mode) */
.accordion-custom .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
  border-radius: 0 !important;
}
.accordion-custom .accordion-button {
  border-radius: 0 !important;
  font-weight: 400;
  color: #ffffff;
  background-color: transparent;
  padding: 1.5rem 0;
  font-size: 1.1rem;
}
.accordion-custom .accordion-button::after {
  filter: invert(1);
}
.accordion-custom .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.accordion-custom .accordion-button:focus {
  box-shadow: none;
}
.accordion-custom .accordion-body {
  background-color: transparent;
  padding: 0 0 1.5rem 0;
  color: var(--text-muted);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-main-copy h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  .hero-lead {
    font-size: 1.1rem;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
  .hero-bottom-nav {
    padding: 1rem;
    gap: 1rem;
  }
  .hero-bottom-nav a {
    font-size: 0.75rem;
  }
}

