:root {
  --black: #000000;
  --blood-red: #990000;
  --ash-white: #F2F2F2;
  --steel-grey: #5A5A5A;
}

/* ============================
   Base Styles
============================ */
body {
  margin-top: 200px;
  font-family: 'Cormorant Garamond', serif;
  background-color: #fff;
  background-image: url('chain.png'), url("chain2.png");
  background-repeat: no-repeat;
  background-position: top center, bottom center;
  background-size: 1250px, 1000px;
  color: var(--black);
  
}

/* ============================
   Typography
============================ */
h2 {
  font-family: 'UnifrakturCook', serif;
  font-size: 2em;
  color: var(--black);
}

/* ============================
   Header & Nav
============================ */
header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--blood-red);
  margin-left: 1em;
  text-decoration: none;
  font-weight: bold;
}

/* ============================
   Hero Section
============================ */
.hero {
  text-align: center;
}

.hero h1 {
  font-family: 'UnifrakturCook', serif;
  font-size: 4em;
  color: var(--black);
}
/* ============================
   button
============================ */
.scroll-button {
  margin-top: 2em;
  background-color: black;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1.2em;
  font-family: 'Cormorant Garamond', serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-button:hover {
  background-color: var(--blood-red);
}

/* ============================
   model viewer
============================ */
.hero p {
  font-size: 1.5em;
  margin-bottom: 1.5em;
}
.necklace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  padding: 2em 0;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}


/* @media (max-width: 768px) {
  .necklace-grid {
    grid-template-columns: 1fr;
  }
} */

/* ============================
   3d Model Wrapper
============================ */
.model-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 600px;
  overflow: hidden;
  margin-bottom: 2em;
}

.model-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.load-model-btn {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6em 1.2em;
  font-family: inherit;
  font-size: 1em;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}


/* ============================
  jesus necklace
============================ */
#necklace .product {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================
   Form
============================ */

form, 
form input, 
form textarea, 
form button {
  font-family: 'Cormorant Garamond', serif;
}

form {
  background: var(--black); /* new black background */
  padding: 2em;
  max-width: 400px;
  margin: auto;
  color: var(--ash-white); /* ensure readable text */
}


form input,
form textarea {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 1em;
  border: none;
}

form button {
  background: var(--blood-red);
  color: white;
  padding: 0.7em 1.5em;
  border: none;
  cursor: pointer;
}
form button:hover {
  background: var(--black);
  color: var(--ash-white);
}

/* ============================
Shop Section (2-column)
============================ */
.product-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.product-card {
  width: 259px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 1em;
  text-align: center;
}

.card-content .price {
  font-weight: bold;
  margin: 0.5em 0;
}

.card-content a {
  display: inline-block;
  padding: 10px 20px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-family: 'Cormorant Garamond', serif;
}


/* ============================
   page break
============================ */
.page-break {
  background-image: url('images/Section_background.png'); /* adjust path */
  background-size: cover;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4em 2em;
  color: white; /* if your background is dark */
}
/* ============================
   page break
============================ */
.page-break_top{
  background-image: url('models/page_break.png');
  background-size: cover;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4em 2em;
  color: white; /* if your background is dark */
}

/* ============================
   About Section (2-column)
============================ */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.about-image {
  flex: 1;
  min-width: 250px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--steel-grey);
}

/* ============================
   Footer
============================ */
footer {
  padding: 2em;
  background: #fff;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid var(--steel-grey);
}

.social-icons {
  margin: 1em 0;
}

.social-icons a {
  margin: 0 0.5em;
  color: var(--black);
  text-decoration: none;
}


/* ============================
   Mobile Styles (max 768px)
============================ */
@media (max-width: 768px) {
  body {
    margin-top: 100px; /* less top margin on small screens */
    background-size: contain;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
  }

  nav a {
    margin: 0.5em 0;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1.2em;
  }

  section {
    padding: 2em 1em;
  }

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


  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    margin-top: 1em;
  }

  form {
    width: 100%;
    max-width: 100%;
    padding: 1.5em;
    box-sizing: border-box;
  }

  .necklace-grid model-viewer {
    height: 100px;
  }
  .model-wrapper {
  position: relative;
  width: 100%;
  max-width: 100px;
  height: 200px;
  overflow: hidden;
  margin-bottom: 2em;
}

.load-model-btn {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6em 1.2em;
  font-family: inherit;
  font-size: .75em;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

  #necklace .product {
  height:150px;
}
  #custom-order {
    width: 100%;
    max-width: 100%;
    padding: 1em;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  #custom-order input,
  #custom-order textarea,
  #custom-order select {
    width: 100%;
    box-sizing: border-box;
  }
}