/* Custom styles for J. Moody & Co Jewelers */

/* Geometric background shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.08;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #FF6B6B;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #FF6B6B;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    opacity: 0.05;
}

.shape-diamond {
    width: 120px;
    height: 120px;
    background: #FF6B6B;
    transform: rotate(45deg);
    top: 30%;
    right: 15%;
    opacity: 0.06;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #FF6B6B;
    bottom: 15%;
    right: 30%;
    opacity: 0.05;
}

.shape-ring {
    width: 160px;
    height: 160px;
    border: 4px solid #FF6B6B;
    border-radius: 50%;
    top: 50%;
    left: 8%;
    opacity: 0.07;
}

/* Floating cards animation */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.card-top-right {
    animation-delay: 0s;
}

.card-bottom-left {
    animation-delay: 1.5s;
}

.card-mid-right {
    animation-delay: 3s;
}

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    .geometric-shape {
        animation: none;
    }
    
    img {
        transition: none;
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f6f6f7;
}

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ee5a5a;
}

/* Selection color */
::selection {
    background: #FF6B6B;
    color: white;
}

/* Image hover zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button ripple effect */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure all text is readable */
.text-charcoal-800 {
    color: #2D3436;
}

.text-charcoal-700 {
    color: #37404a;
}

.text-charcoal-600 {
    color: #4b5563;
}

.bg-charcoal-800 {
    background-color: #2D3436;
}

.bg-charcoal-950 {
    background-color: #141718;
}

/* Print styles */
@media print {
    .floating-card,
    .geometric-shape,
    #mobile-menu-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
