/* ==========================================================================
   AUM JEWELLERS - ULTRA-PREMIUM CSS
   ========================================================================== */

/* --- Variables & Theming --- */
:root {
  --color-bg-dark: #333728;
  --color-bg-olive: #444231;
  --color-bg-light-olive: #444231;

  --color-text-light: #F5EEE7;
  --color-text-muted: #DED5CA;
  --color-text-dark: #2B3427;

  --color-gold: #C79A6B;
  --color-gold-dark: #C79A6B;
  --color-champagne: #EADFD5;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  --ease-premium: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeInPage 1s var(--ease-premium) forwards;
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

em {
  font-style: italic;
  color: var(--color-gold);
}

.heading-large {
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.subheading {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* --- Components --- */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0;
  transition: all 0.4s var(--ease-premium);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-text-dark);
  border: 1px solid var(--color-gold);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-text-light);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-premium);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--color-text-dark);
  border-color: var(--color-text-light);
}

.btn-primary:hover::before {
  transform: scaleY(1);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-top: 2rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(199, 154, 107, 0.3);
  transition: border-color 0.4s ease;
}

.link-arrow::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.4s var(--ease-premium);
}

.link-arrow:hover {
  border-color: var(--color-gold);
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.5s var(--ease-premium);
}

.navbar.scrolled {
  padding: 1rem 0;
  background-color: rgba(51, 55, 40, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(199, 154, 107, 0.1);
}

.navbar.scrolled .logo-img {
  height: 80px;
}

.nav-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  transition: height 0.4s var(--ease-premium);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-premium);
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 30px;
  height: 1px;
  background-color: var(--color-text-light);
  transition: 0.3s;
}

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

.hero-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(51, 55, 40, 0.9) 0%, rgba(51, 55, 40, 0.4) 50%, rgba(51, 55, 40, 0.1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5rem;
}

.hero-desc {
  max-width: 500px;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background-color: rgba(199, 154, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-gold);
  animation: scrollDown 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(200%);
  }
}

/* --- Heritage Section --- */
.heritage {
  padding: 10rem 0;
  background-color: var(--color-bg-dark);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.heritage-image {
  position: relative;
  height: 700px;
}

.heritage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.accent-box {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(199, 154, 107, 0.3);
  z-index: 1;
}

.heritage-text p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* --- Collections Section --- */
.collections {
  padding: 10rem 0;
  background-color: var(--color-bg-olive);
}

.collection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  display: block;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 500px;
  margin-bottom: 2rem;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(51, 55, 40, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.8s var(--ease-premium);
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.card-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.card-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.4s var(--ease-premium);
}

.card:hover .card-link::after {
  width: 100%;
}

/* --- Bridal Statement --- */
.bridal-statement {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.bridal-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bridal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 55, 40, 0.5);
  z-index: 2;
}

.bridal-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
}

.bridal-content p {
  font-size: 1.25rem;
  color: var(--color-champagne);
  margin-bottom: 3rem;
}

/* --- Craftsmanship Section --- */
.craftsmanship {
  padding: 10rem 0;
  background-color: var(--color-bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 6rem;
}

.feature {
  padding-top: 2rem;
  border-top: 1px solid rgba(199, 154, 107, 0.2);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(199, 154, 107, 0.4);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature p {
  color: var(--color-text-muted);
}

/* --- Testimonials Section --- */
.testimonials {
  padding: 10rem 0;
  background-color: var(--color-bg-olive);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.testimonial-card {
  background-color: var(--color-bg-dark);
  padding: 3rem;
  border: 1px solid rgba(199, 154, 107, 0.15);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(199, 154, 107, 0.4);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 15rem;
  color: rgba(199, 154, 107, 0.05);
  line-height: 1;
  pointer-events: none;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  padding: 2px;
}

.testimonial-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.google-icon {
  margin-left: auto;
  opacity: 0.8;
}

.testimonial-stars {
  color: #FBBC05;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-time {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: normal;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--color-champagne);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  font-style: italic;
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0 10rem;
  background-color: var(--color-bg-dark);
}

.cta-box {
  background-color: var(--color-bg-light-olive);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(199, 154, 107, 0.1);
}

.cta-text h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.cta-text p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-details p {
  font-size: 0.875rem;
  color: var(--color-gold);
  margin: 0;
}

.contact-details strong {
  color: var(--color-text-light);
  font-weight: 500;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-text-dark);
  padding: 6rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 100px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  filter: grayscale(100%) brightness(200%);
}

.footer-brand p {
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* --- Animations & Utilities --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1.5s var(--ease-slow);
}

.reveal-fade.in-view {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* --- Page Header --- */
.page-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.page-header-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: blur(5px);
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 55, 40, 0.75);
  z-index: 2;
}

.page-header-content {
  position: relative;
  z-index: 3;
}

/* --- Product Gallery --- */
.product-gallery {
  padding: 8rem 0;
  background-color: var(--color-bg-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.product-card {
  background-color: var(--color-bg-olive);
  border: 1px solid rgba(199, 154, 107, 0.1);
  overflow: hidden;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(199, 154, 107, 0.3);
}

.product-img-wrap {
  height: 500px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-info {
  padding: 3rem 2rem;
  text-align: center;
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-inline: auto;
}

.btn-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 0.25rem;
  transition: opacity 0.3s ease;
}

.btn-text:hover {
  opacity: 0.7;
}

/* --- Stones Collection --- */
.stones-section {
  padding: 10rem 0;
  background-color: var(--color-bg-dark);
}

.stones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.stone-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 107, 0.15);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
  background-color: var(--color-bg-olive);
}

.stone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(199, 154, 107, 0.4);
}

.stone-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.stone-card:hover .stone-card-img {
  transform: scale(1.08);
}

.stone-card-info {
  padding: 1.5rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(51, 55, 40, 0.95) 0%, rgba(51, 55, 40, 0.7) 60%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-premium);
}

.stone-card:hover .stone-card-info {
  opacity: 1;
  transform: translateY(0);
}

.stone-card-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.stone-card-info p {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .collection-cards,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {

  .nav-links,
  .navbar .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(51, 55, 40, 0.9) 0%, rgba(51, 55, 40, 0.4) 100%);
  }

  .collection-cards,
  .testimonials-grid,
  .features-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .heritage-image {
    height: 400px;
  }

  .cta-box {
    padding: 4rem 2rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}