/* Custom styles for Laxmi Jewelers */

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

/* Selection color */
::selection {
    background-color: rgba(6, 78, 59, 0.2);
    color: #064e3b;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #fdf9f0 100%);
}

/* Subtle animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Contact form styles */
.contact-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    background: #fefdf8;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #064e3b;
    transition: all 0.3s ease;
    outline: none;
}

.contact-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.contact-input::placeholder {
    color: #6b7280;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success message */
.success-message {
    display: none;
    padding: 16px 20px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    color: #064e3b;
    font-size: 14px;
    margin-top: 16px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}
