/* --- VARIABLES --- */
/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --indigo: #4B0082;
  --gold: #D4AF37;
  --gold-light: #f3e5ab;
  --white: #ffffff;
  --black: #1a1a1a;
  --bg-marble: #f9f9f9;
  --grey: #888;
  --grey-light: #eee;
  --grey-dark: #666;
  --font-heading: Playfair Display, serif;
  --font-body: Montserrat, sans-serif;
  --font-la: Ms Madi, cursive;
}

html {
  scroll-padding-top: 100px; /* Ensures anchor links don't hide behind fixed header */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body), serif;
  background-color: var(--bg-marble);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden; /* Prevents horizontal scroll from off-canvas menu */
  scroll-behavior: smooth;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: var(--font-heading), serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 15px;
}
.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: var(--indigo);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  padding: 15px 40px;
  background-color: var(--indigo);
  color: var(--white);
  border: 1px solid var(--indigo);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}
.btn:hover {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* -- ICON STYLES */
.icon {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-color: currentColor; /* This makes 'color: red' work */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  top: 0.1rem;
  position: relative;
}

.icon-cl {
  -webkit-mask-image: url("../assets/cl.svg#icon-cl");
  mask-image: url("../assets/cl.svg#icon-cl");
}

/* --- COMMON SECTION STYLES --- */
.maison-section,
.materials-section,
.stores-section,
.appointment-section {
  background-color: var(--white);
  text-align: center;
  padding: 100px 0;
  width: 100%;
}

.stores-section {
  background-color: #f4f4f4;
}

.materials-section,
.appointment-section {
  border-top: 1px solid #eee;
}

/* --- COMMON CONTAINER STYLES --- */
.container,
.maison-container,
.materials-container,
.appointment-container,
.stores-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- COMMON GRID LAYOUTS --- */
/* Split Layout (Image Left, Text Right) */
.maison-grid,
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

/* Card Grid Layout */
.materials-grid,
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.stores-grid {
  grid-auto-flow: dense;
  gap: 30px; /* Specific override for stores */
}

/* --- COMMON IMAGE STYLES --- */
.christine-img,
.concierge-img,
.stores-img {
  width: 100%;
  border-bottom: 5px solid var(--indigo);
  display: block;
  object-fit: cover;
}

.christine-img,
.concierge-img {
  height: auto;
}

.stores-img {
  height: 100%;
}

/* --- NAVIGATION --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gold);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
.site-header .logo a {
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.site-header .logo a .icon-cl {
  color: var(--indigo);
}

.site-header .logo a, .brand-name {
  font-family: var(--font-body), serif;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.site-header .logo em, .brand-name em {
  font-weight: 700;
  font-style: normal;
  font-size: 1.2em;
  color: var(--indigo);
  font-family: var(--font-la), cursive;
  text-transform: none;
  margin-right: -0.05em;
  display: inline-block;
  transform: scaleX(0.8);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

#main-nav ul {
  display: flex;
  gap: 30px;
}
#main-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
}
#main-nav a:hover {
  color: var(--indigo);
}

.cart-icon {
  position: relative;
  top: 0.25rem;
  cursor: pointer;
  color: var(--black);
  transition: 0.3s;
}
.cart-icon:hover {
  color: var(--indigo);
}
.cart-icon .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--black);
  margin: 5px 0;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65)), url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
  line-height: 1.1;
}
.hero p {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 40px;
  max-width: 800px;
  padding: 0 20px;
  color: var(--indigo);
}

/* --- PRODUCT GRID --- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--white);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 15px 30px rgba(75, 0, 130, 0.1);
  border-color: var(--gold);
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card:hover .vibe-preview {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 5px var(--white);
}

.image-wrapper {
  aspect-ratio: 1/1;
  width: 100%;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 5px solid var(--indigo); /* Signature Sole */
  overflow: hidden;
}
.image-wrapper::after {
  content: "LaPUTAINE";
  position: absolute;
  bottom: 10px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.1);
  font-weight: 700;
  letter-spacing: 3px;
  font-family: "Montserrat", sans-serif;
  pointer-events: none;
  z-index: 1;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 0;
}

/* Vibe Preview Overlay */
.vibe-preview {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  padding: 10px;
  font-size: 0.85rem;
  color: var(--indigo);
  font-style: italic;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 2;
  border-top: 1px solid var(--gold);
}

.card-info {
  padding: 20px;
  text-align: center;
  position: relative;
}
.card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
}
.card-info .price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* Badges */
.label-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
  align-items: flex-end;
}

.product-badge {
  background-color: var(--gold);
  color: #ffffff;
  padding: 5px 10px;
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

/* --- DETAIL VIEW --- */
.product-detail {
  margin: 120px auto 40px; /* Increased top margin to account for fixed header */
  max-width: 1200px;
  padding: 0 20px;
}
.product-detail .breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: right;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.detail-image-wrapper {
  background-color: #f0f0f0;
  position: relative;
  border-bottom: 5px solid var(--indigo);
  aspect-ratio: 3/4; /* Enforce 3:4 aspect ratio */
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover ensures no weird stretching, crops if needed */
  display: block;
}

.detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.detail-info .product-vibe {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--indigo);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: block;
}
.detail-info .price {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.5px;
}
.detail-info .tax {
  font-size: 0.8rem;
  font-weight: 200;
  color: var(--grey);
}
.detail-info .description {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Specs Color Highlighting */
.specs-color {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.specs-color.active-color {
  color: #444; /* Slightly lighter than black */
  text-shadow: 0 0 0.5px #444; /* Faux bold effect */
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.color-swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.swatch-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: 0.2s;
}
.swatch-btn:hover {
  border-color: var(--indigo);
  transform: scale(1.1);
}

/* --- SECTION SPECIFIC CONTENT --- */
/* Maison */
.maison-quote {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--indigo);
  margin: 30px 0;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

/* Materials */
.materials-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  color: #555;
}
.materials-intro a {
  color: var(--indigo);
  border-bottom: 1px solid var(--gold);
}
.materials-intro a:hover {
  color: var(--gold);
  border-bottom: 1px solid var(--indigo);
}

.material-card {
  text-align: center;
  padding: 40px 30px;
  border: 1px solid #eee;
  background: #fdfdfd;
  transition: 0.3s;
  border-radius: 2px;
}
.material-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.material-card h3 {
  color: var(--indigo);
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
}
.material-card .sub-head {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 25px;
  display: block;
  font-weight: 600;
}
.material-card .sub-head em {
  color: #8a8a8a;
  font-size: 0.8rem;
  font-weight: lighter;
  text-transform: lowercase;
}
.material-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.8;
}
.material-card em {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: #1a1a1a;
}

/* Stores */
.store-image-container {
  grid-row: span 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.store-card {
  background: var(--white);
  padding: 30px;
  border-left: 4px solid var(--gold);
  transition: 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 3/2;
}
.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.store-card h3 {
  color: #1a1a1a;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.store-card .address {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
  display: block;
}
.store-card .store-info {
  font-style: italic;
  color: var(--indigo);
  font-size: 0.9rem;
}

/* Appointment */
.appointment-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.sirjonny-wrapper {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.sirjonny-wrapper a {
  width: max-content;
  display: block;
  margin: 0 auto;
}
.sirjonny-wrapper a img {
  height: 4rem;
  width: 4rem;
  margin: 0 auto;
  transition: 0.2s;
  filter: grayscale(1) brightness(0.6);
}
.sirjonny-wrapper a:hover {
  color: var(--gold);
}
.sirjonny-wrapper a:hover img {
  filter: grayscale(0.6) brightness(0.9);
}

/* --- FOOTER --- */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 5%;
  text-align: center;
}
footer .footer-links a {
  margin: 0 15px;
  font-size: 0.9rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer .footer-links a:hover {
  color: var(--gold);
}
footer .legal {
  font-size: 0.8rem;
  color: var(--grey-dark);
  margin-top: 1rem;
}
footer .legal a {
  color: var(--grey);
}
footer .legal a:hover {
  color: var(--gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 2000;
    position: relative;
  }
  #main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1500;
    transform: translateX(100%); /* Start off-screen */
  }
  #main-nav.active {
    transform: translateX(0); /* Slide in */
  }
  #main-nav ul {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .site-header .logo a {
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  /* Common Mobile Resets for Split Layouts */
  .maison-section,
  .appointment-section {
    text-align: center;
  }
  .maison-grid,
  .appointment-grid {
    display: block;
  }
  .christine-img,
  .concierge-img {
    margin: 0 0 2rem 0;
    aspect-ratio: 3/4;
  }
  .maison-content,
  .appointment-content {
    text-align: center;
  }
  /* Stores Mobile */
  .stores-grid {
    grid-auto-rows: auto;
  }
  .store-image-container {
    grid-row: auto;
    height: auto;
    aspect-ratio: 3/4;
  }
  .store-card {
    aspect-ratio: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .swatch-btn {
    width: 40px;
    height: 40px;
  }
  .detail-info {
    /* we want the detail info to be a flex column, so we can change the
     * display order of items in mobile view
     */
    /* Flex order section */
    display: flex;
    flex-direction: column;
  }
  .detail-info h1 {
    order: 2;
  }
  .detail-info .product-vibe {
    order: 4;
  }
  .detail-info .price {
    order: 3;
  }
  .detail-info .specs {
    order: 6;
  }
  .detail-info .description {
    order: 7;
  }
  .detail-info .variations {
    order: 1;
  }
  .detail-info .variations h3 {
    display: none; /* we don't need this in mobile layout. The color swatch should be self-explanatory */
  }
  .detail-info button.btn {
    order: 5;
    margin-bottom: 1rem;
  }
  .detail-info {
    /* End of Flex Order section */
  }
  .detail-info h1 {
    font-size: 2rem;
  }
  .detail-info .product-vibe {
    font-size: 1rem;
  }
  .detail-info .price, .detail-info .product-vibe, .detail-info .description {
    margin-bottom: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
