/* Custom styles for Prova's Desi Fashion USA */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdfaf0;
}
::-webkit-scrollbar-thumb {
    background: #2d7a2e;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1d4f1e;
}

/* Button focus styles */
.btn-primary:focus-visible {
    outline: 3px solid #d4a843;
    outline-offset: 2px;
}

/* Link focus styles */
a:focus-visible {
    outline: 2px solid #2d7a2e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #d9edda;
}

/* Subtle pattern overlay for cream sections */
.bg-cream-50::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(45,122,46,0.02) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(212,168,67,0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Ensure map container fills its parent */
iframe {
    width: 100%;
    height: 100%;
}

/* Animation for the pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Floating shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

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

.geo-shape-1 {
    animation: float 6s ease-in-out infinite;
}

.geo-shape-2 {
    animation: float-slow 8s ease-in-out infinite;
}

.geo-shape-3 {
    animation: float-slow 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3 {
        animation: none;
    }
    html { scroll-behavior: auto; }
}
