/*
 * custom.css
 * Anbe Matrimony - Shared Premium Animations, Fonts, and Textures
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Mrs+Saint+Delafield&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* Typography Variables */
.font-display, .font-headline {
    font-family: 'Noto Serif', Georgia, serif;
}

.font-body, .font-sans {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.signature {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Texture & Gradients */
.silk-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238c0330' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.kolam-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='%23ad2546' fill-opacity='0.02'/%3E%3C/svg%3E");
}

.silk-gradient {
    background: linear-gradient(135deg, #ad2546 0%, #cf3f5d 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #c5a059 0%, #e5c07b 100%);
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 248, 247, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(223, 191, 193, 0.25);
}

.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.scrim-shadow {
    box-shadow: 0 8px 32px rgba(46, 26, 38, 0.04);
}

/* Custom Navigation Link Styles */
.nav-link {
    position: relative;
    color: #584143;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ad2546;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #ad2546;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Scrollbars styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #dfbfc1;
    border-radius: 9999px;
}

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

/* Input Fields Adjustments */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(173, 37, 70, 0.15);
}

/* Custom Micro-Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.animate-ring {
    animation: pulse-ring 2.5s infinite;
}
