#root {
  /* max-width: 1280px; */
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

a{
    color:black !important;
    text-decoration:none !important;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}




/* index.css */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 8%;

    --card: 0 0% 100%;
    --card-foreground: 0 0% 8%;

    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 8%;

    --primary: 43 74% 49%;
    --primary-foreground: 0 0% 100%;

    --secondary: 0 0% 7%;
    --secondary-foreground: 43 74% 49%;

    --muted: 40 20% 96%;
    --muted-foreground: 0 0% 40%;

    --accent: 43 74% 49%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 40 20% 90%;
    --input: 40 20% 90%;
    --ring: 43 74% 49%;

    --radius: 0.25rem;

    --gold: 43 74% 49%;
    --gold-light: 43 60% 65%;
    --gold-dark: 43 74% 35%;
    --luxury-black: 0 0% 7%;
    --luxury-cream: 40 33% 97%;
    --luxury-dark: 0 0% 12%;

    --font-heading: 'Playfair Display', serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground font-body;
    font-family: var(--font-body);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
  }

  html {
    scroll-behavior: smooth;
  }
}

@layer components {
  .font-heading {
    font-family: var(--font-heading);
  }

  .font-display {
    font-family: var(--font-display);
  }

  .font-body {
    font-family: var(--font-body);
  }

  .gold-gradient {
    background: linear-gradient(135deg, hsl(43 74% 49%), hsl(43 60% 65%), hsl(43 74% 49%));
  }

  .gold-text {
    background: linear-gradient(135deg, hsl(43 74% 49%), hsl(43 60% 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .luxury-shadow {
    box-shadow: 0 20px 60px -15px hsla(0 0% 0% / 0.3);
  }

  .card-hover {
    @apply transition-all duration-500 ease-out;
  }

  .card-hover:hover {
    @apply -translate-y-2;
    box-shadow: 0 25px 50px -12px hsla(43 74% 49% / 0.15);
  }

  .img-zoom {
    @apply transition-transform duration-700 ease-out;
  }

  .img-zoom:hover {
    @apply scale-110;
  }
}



.gold-gradient {
  background: linear-gradient(135deg, #D4AF37, #b8962e);
}

.transition-all {
  transition: all .3s ease;
}

.collection-banner {
  background: linear-gradient(90deg, rgba(212, 174, 84, 1) 0%, rgba(248, 224, 166, 1) 47%, rgba(212, 174, 84, 1) 100%) !important;
  /* Golden background */
  color: #000;
  /* Black text for contrast */
  padding: 50px 20px;
  /* Space inside the section */
  text-align: center;
  /* Center the text */
}

.collection-banner h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.collection-banner p {
  font-size: 18px;
  margin: 0;
}

.product-img {
  height: 250px;
  /* set a fixed height for all images */
  overflow: hidden;
  /* hide overflow if image is larger */
}

.product-img img {
  width: 100%;
  /* make image span the full width */
  height: 100%;
  /* make image span the full height */
  object-fit: cover;
  /* crop/scale the image without distortion */
  display: block;
}



/* Search Modal Styles */

.search-modal {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: 0.4s ease;
  z-index: 9999;
}

.search-modal.active {
  top: 0;
}

.search-box {
  background: #fff;
  width: 100%;
  max-width: 700px;
  margin-top: 80px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* .search-input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
} */

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.search-input {
  flex: 1;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

.search-btn {
  padding: 0 25px;
  background: #facc15; /* yellow */
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.search-btn:hover {
  background: #eab308;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}


#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Circle */
.progress-ring {
    position: absolute;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 6;
}

.progress-bar {
    fill: none;
    stroke: #D4AF37; /* accent color */
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 314; /* circumference */
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 0.3s linear;
}

/* Logo */
.loader-logo {
    width: 80px;
    z-index: 2;
    animation: logoPulse 1.5s ease-in-out infinite;
}

/* Glow/Fade Animation */
@keyframes logoPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Percentage */
.progress-text {
    position: absolute;
    bottom: -30px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}




/* ===== MODAL BASE ===== */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* CLOSE BUTTON */
.btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    background-color: #D4AF37; /* gold background */
    border-radius: 50%;
    opacity: 1;
    padding: 10px;
}

/* IMAGE */
.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 0 0 15px;
}

/* FORM SECTION */
.login-form {
    padding: 30px 25px;
}

/* HEADING */
.login-form h5 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* INPUTS */
.login-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    color: #ffffff;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* BUTTON */
.login-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(45deg, #D4AF37, #b8962e);
    color: #000000;
    font-weight: 600;
    text-align: center;
    border: none;
    transition: 0.3s;
}

.login-btn:hover {
    background: linear-gradient(45deg, #b8962e, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

/* REMEMBER + FORGOT */
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.forgot-pass a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 14px;
}

.forgot-pass a:hover {
    text-decoration: underline;
}

/* CHECKBOX */
.check svg {
    stroke: #D4AF37;
    fill: none;
    stroke-width: 2;
}

/* TEXT BELOW */
.dont-account {
    margin-top: 20px;
    font-size: 14px;
    color: #888888;
}

.dont-account button {
    color: #D4AF37;
    background: none;
    border: none;
    font-weight: 600;
}

.dont-account button:hover {
    text-decoration: underline;
}

/* ERROR / SUCCESS */
#error-messages,
#error-messages-login {
    color: #ff4d4d;
    margin-bottom: 10px;
}

#success-messages {
    color: #4dff88;
}

/* ANIMATION */
.modal.fade .modal-dialog {
    transform: translateY(-30px);
    transition: all 0.4s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .modal-img {
        display: none;
    }

    .login-form {
        padding: 25px;
    }
}