/* Enhanced Animations & Effects - Safe Additions */

/* Smooth Hover Effects for Gallery */
.carousel-item img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-item img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Floating Animation for Profile Images */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Enhanced Card Hover */
.elegant-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.welcome-btn {
    animation: pulse 2s infinite;
}

.welcome-btn:hover {
    animation: none;
    transform: scale(1.05);
}

/* Enhanced Countdown */
.sweet-countdown {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(184,92,56,0.1));
    border: 2px solid rgba(212,175,55,0.3);
    transition: all 0.3s ease;
}

.sweet-countdown:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(184,92,56,0.2));
    border-color: rgba(212,175,55,0.5);
}

/* Smooth Section Transitions */
section {
    transition: all 0.3s ease;
}

/* Enhanced Form Elements */
.form-control:focus, .form-select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.25);
}

/* Loading Spinner Enhancement */
.spinner-border {
    border-color: #d4af37;
    border-right-color: transparent;
}

/* Enhanced Navigation */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Subtle Background Pattern */
.batak-subtle-bg {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212,175,55,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184,92,56,0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212,175,55,0.03) 0%, transparent 50%);
}

/* Enhanced Modal */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Enhanced Typography */
.batak-title {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.batak-subtitle {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.batak-subtitle:hover {
    opacity: 1;
}