/* Site-wide background + CSS parallax layer */
body {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  background: transparent; /* leave transparent so ::before shows */
}

body::before {
  content: "";
  position: fixed;         /* key for parallax feel (moves differently than content) */
  inset: 0;
  background-image: url(imgs/close-up-mineral-background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0); /* helps with smoothness */
  z-index: -2;
}

/* Optional dark overlay for readability (recommended) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* tweak to taste */
  z-index: -1;
}

html {
    scroll-behavior: smooth;
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}

/* COLOR VARIABLES */
:root {
    --black: #0e0e0e;
    --soft-black: #151515;
    --gold: #d4af37;
    --gold-soft: #bfa24a;
    --white: #ffffff;
    --gray: #999;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: var(--soft-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 10;
     background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(6px);
}

.logo {
    font-size: 1.4rem;
    letter-spacing: 4px;
    color: var(--gold);
}

.navbar nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--gold);
}

/* HERO */
.hero {
    height: 60vh;
    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.65)
    ),
    url("images/hero.jpg") center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.1rem;
    color: #ddd;
}

/* SECTIONS */
.section {
    padding: 4rem 3rem;
    background: var(--black);
    background: rgba(0, 0, 0, 0.85);
}

.section-light {
    background: #111;
    background: rgba(15, 15, 15, 0.75);
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 2px;
}

/* JEWELRY GRID */
.jewelry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.jewel-card {
    text-align: center;
    background: var(--soft-black);
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: rgba(20, 20, 20, 0.75);
}

.jewel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.15);
}

.jewel-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.2rem;
}

.jewel-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.jewel-card p {
    color: var(--gold-soft);
    font-size: 0.95rem;
}

/* ABOUT */
.section-light p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    color: #ccc;
}

.about_us_text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about_us_text p {
  width: auto;          /* remove the 42% constraint */
  padding-bottom: 1.5rem;
  display: block;       /* remove flex */
}

/* FOOTER */
.footer {
    padding: 2rem;
    text-align: center;
    background: var(--soft-black);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 0.85rem;
    color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* =========================================================
   RESPONSIVE UPGRADE (Aidoneus Jewels)
   Paste at the very bottom of style.css
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .hero {
    height: 55vh;
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .jewelry-grid {
    gap: 1.5rem;
  }

  .jewel-card img {
    height: 260px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  /* Navbar: centered + wrapped links */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 1.25rem;
    text-align: center;
  }

  .navbar nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .navbar nav a {
    margin-left: 0; /* override desktop spacing */
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    height: 52vh;
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Sections */
  .section,
  .section-light {
    padding: 2.5rem 1.25rem;
  }

  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  /* Cards + images */
  .jewel-card {
    padding: 1.25rem;
  }

  .jewel-card img {
    height: 220px;
  }

  /* About text spacing */
  .about_us_text {
    text-align: left;
  }

  .about_us_text p {
    padding-bottom: 1.25rem;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .jewel-card img {
    height: 200px;
  }
}