/* ============================================
   ENHANCEMENTS FINAL — Touches Premium
   ============================================ */

/* === LIVING NAVBAR — Border Glow on Scroll === */
.navbar.scrolled::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 164, 92, 0.5) 25%,
    var(--gold-lighter) 50%,
    rgba(201, 164, 92, 0.5) 75%,
    transparent 100%);
  background-size: 200% 100%;
  animation: navBorderShine 4s linear infinite;
}

@keyframes navBorderShine {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* === HERO ENTRANCE === */
.hero-content {
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center,
    rgba(201, 164, 92, 0.1) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: heroAura 8s ease-in-out infinite;
}

@keyframes heroAura {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* === PRODUCT IMAGE FRAME === */
.product-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(201, 164, 92, 0.05) 0%,
    rgba(201, 164, 92, 0.02) 100%);
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(201, 164, 92, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover .product-image::before {
  opacity: 1;
}

/* === TEXTURE OVERLAY === */
.textured-bg {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(201, 164, 92, 0.03) 50px,
      rgba(201, 164, 92, 0.03) 51px
    );
}

/* === ENHANCED FORM SUBMIT === */
.form-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--black) !important;
  padding: 18px 40px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(201, 164, 92, 0.3);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 164, 92, 0.5);
}

/* === GALLERY GRID ENHANCED === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 0;
}

.gallery-item {
  aspect-ratio: 1;
  border: 1px solid rgba(201, 164, 92, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === CONTACT FORM CARDS === */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 164, 92, 0.2);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  display: block;
  position: relative;
}

.service-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.1);
  box-shadow: 0 10px 30px rgba(201, 164, 92, 0.2);
}

.service-card:has(input:checked) .service-card-check {
  opacity: 1;
  transform: scale(1);
}

.service-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-content {
  padding: 25px 20px;
  text-align: center;
}

.service-card-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 15px;
  filter: drop-shadow(0 0 15px rgba(201, 164, 92, 0.3));
}

.service-card-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

/* === STAT NUMBER ENHANCED === */
.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-number {
  font-size: 3.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
}

/* === FEATURE ITEMS ENHANCED === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 164, 92, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(201, 164, 92, 0.15),
    rgba(201, 164, 92, 0.05));
  border: 2px solid rgba(201, 164, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lighter));
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.5s ease;
}

.feature-item:hover .feature-icon::before {
  opacity: 0.4;
}

/* === CATEGORY CARDS GRID === */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.95) 100%);
}

.category-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-title {
  color: var(--gold-lighter);
  transform: translateY(-5px);
}

/* === PROCESS STEP CARDS === */
.process-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 164, 92, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.process-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.process-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.1);
  border: 2px solid rgba(201, 164, 92, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

/* === MODAL DIALOG STYLE === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, var(--black-light), var(--black-lighter));
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(201, 164, 92, 0.1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* === PRODUCT QUICK VIEW OVERLAY === */
.product-image {
  position: relative;
}

.product-quick-view {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.product-quick-view i {
  font-size: 2rem;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.product-quick-view span {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.product-card:hover .product-quick-view {
  opacity: 1;
}

.product-card:hover .product-quick-view i {
  transform: scale(1);
}

.product-card:hover .product-quick-view span {
  transform: translateY(0);
  opacity: 1;
}

/* === DIVIDER WITH ORNAMENT === */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.divider-ornament .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 164, 92, 0.4) 50%,
    transparent 100%);
}

.divider-ornament .ornament {
  color: var(--gold);
  font-size: 1.2rem;
}

/* === IMAGE GALLERY PARALLAX === */
.parallax-img {
  transform: translateZ(0);
  will-change: transform;
}

/* === CART EMPTY STATE === */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #777;
  font-style: italic;
}

.cart-empty::before {
  content: '🛍️';
  display: block;
  font-size: 3rem;
  margin-bottom: 20px;
  filter: grayscale(0.5);
  animation: emptyBounce 2s ease-in-out infinite;
}

@keyframes emptyBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === DISCOUNT BADGE === */
.product-badge.discount {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* === FORM VALIDATION GLOW === */
input:invalid:not(:placeholder-shown),
input.invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

input:valid:not(:placeholder-shown):not([type="hidden"]) {
  border-color: rgba(46, 204, 113, 0.5);
}

/* === BUTTON LOADING STATE === */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  animation: spin 0.8s linear infinite;
  color: var(--gold);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === SUCCESS CHECK ANIMATION === */
.success-check {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.1);
  border: 3px solid #2ecc71;
  position: relative;
  margin: 0 auto 20px;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-check::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 30%;
  width: 18px;
  height: 35px;
  border-right: 4px solid #2ecc71;
  border-bottom: 4px solid #2ecc71;
  transform: rotate(45deg);
  animation: checkDraw 0.4s ease 0.3s both;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes checkDraw {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

/* === QUOTE SECTION === */
.quote-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 40px 0;
}

/* === FORM HEADER === */
.form-header {
  margin-bottom: 30px;
  text-align: center;
}

.form-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.form-header p {
  color: #aaa;
  font-size: 0.95rem;
}

/* === PRODUCT CONTENT === */
.product-content {
  padding: 20px;
}

.product-category {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 15px;
}

.product-price-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}

/* === FOOTER STYLING === */
.footer p {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 30px 20px;
  text-align: center;
}

/* === SECTION SPACING === */
section:not(.section-shop) {
  padding: 60px 0;
}

/* === NAVBAR PADDING === */
.navbar {
  padding: 20px 5%;
}

/* === RESPONSIVE TEXT SIZE === */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .feature-item {
    padding: 30px 20px;
  }

  .process-number {
    font-size: 3rem;
  }
}
