/* Custom styles that extend Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    color: #FFD700;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animation for product cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}
/* Page background with dark blue theme */
body {
    background-color: #1a237e;
    color: #FFD700;
position: relative;
    min-height: 100vh;
}

main {
    background-color: #1a237e;
}
/* Update white elements to match dark theme */
.bg-white {
    background-color: #0f172a !important;
    color: #FFD700;
}

.text-gray-800 {
    color: #FFD700 !important;
}

.text-gray-600 {
    color: #FFD700 !important;
}
.border-gray-300 {
    border-color: #334155 !important;
}
/* Form inputs */
input, textarea {
    background-color: #1e293b !important;
    color: #FFD700 !important;
    border-color: #334155 !important;
}
input::placeholder, textarea::placeholder {
    color: #94a3b8 !important;
}

/* Product cards */
.product-card {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

/* Hero section */
.hero {
    background: linear-gradient(to right, #0f172a, #1e293b) !important;
}
/* Products section styling */
#products h2,
.products-page h1 {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    color: #FFD700;
}
#products h2::after,
.products-page h1::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #ffd700, #c9a227);
    bottom: -8px;
    left: 25%;
    border-radius: 3px;
}
/* Category badge styling */
.bg-blue-100 {
    transition: all 0.3s ease;
    background-color: rgba(255, 215, 0, 0.1) !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.bg-blue-100:hover {
    background-color: rgba(255, 215, 0, 0.2) !important;
    transform: scale(1.05);
    border-color: #ffd700;
}
/* Update button hover states */
button:hover, .btn:hover {
    background-color: #ffd700 !important;
    color: #1a237e !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
/* Cart count animation */
.cart-count {
    transition: all 0.2s ease;
    transform: scale(1);
}

.cart-count.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* Payment section styles */
.border-t {
    border-top: 1px solid #e5e7eb;
}
/* Cart preview styles */
#cart-preview {
    transition: all 0.3s ease;
    background-color: #1a237e;
    border: 2px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    color: #FFD700;
}
.remove-item {
    transition: color 0.2s ease;
}

#checkout-btn {
    transition: all 0.3s ease;
}
#checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dyeverse Ink Section */
.dyeverse-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dyeverse-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

