/**
 * Kaisergarten - Premium Reservation Page Enhancements
 * Modern, luxurious design with gold accents and animations
 */

/* Premium Hero Enhancements */
.premium-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.premium-badge {
    background: linear-gradient(135deg, var(--primary-color), #d42e3f);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    animation: pulse 2s infinite;
}

.gold-badge {
    background: linear-gradient(135deg, var(--gold), #ffb700);
    color: var(--dark-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(250, 183, 0, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(250, 183, 0, 0.15);
    animation: float 20s infinite ease-in-out;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(10deg);
    }
    66% {
        transform: translateY(30px) rotate(-10deg);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 1.2rem;
    color: var(--gold);
}

/* Premium Occasion Field */
.occasion-field {
    position: relative;
}

.occasion-field label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.optional-badge {
    font-size: 0.75rem;
    background: rgba(250, 183, 0, 0.2);
    color: var(--gold);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.select-wrapper {
    position: relative;
}

.occasion-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3rem;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    border: 2px solid var(--border-medium);
    transition: all 0.3s ease;
}

.occasion-select:hover {
    border-color: var(--gold);
}

.occasion-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(250, 183, 0, 0.1);
    background: white;
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.occasion-select:focus + .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

.occasion-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(250, 183, 0, 0.1), rgba(250, 183, 0, 0.05));
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #666;
}

.occasion-note i {
    color: var(--gold);
    font-size: 1rem;
}

/* Admin Table Occasion Column */
.occasion-column {
    min-width: 150px;
    text-align: center;
}

.occasion-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(250, 183, 0, 0.15), rgba(250, 183, 0, 0.1));
    border: 1px solid rgba(250, 183, 0, 0.3);
    border-radius: 20px;
    font-weight: 600;
    color: #856404;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(250, 183, 0, 0.1);
    white-space: nowrap;
}

.no-occasion {
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.5;
}

/* Enhanced Form Styling */
.form-section {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(250, 250, 250, 0.8));
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--gold));
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(250, 183, 0, 0.1);
}

/* Premium Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #d42e3f);
    border: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    border: 2px solid var(--border-medium);
    background: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(250, 183, 0, 0.05);
}

/* Info Card Premium Styling */
.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    background: linear-gradient(135deg, var(--primary-color), #d42e3f);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
}

/* Contact Methods Premium Styling */
.contact-methods {
    background: linear-gradient(135deg, rgba(250, 183, 0, 0.05), rgba(250, 183, 0, 0.02));
    border: 1px solid rgba(250, 183, 0, 0.2);
}

.contact-item i {
    color: var(--gold);
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* Success/Error Messages Premium */
.reservation-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.02));
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius-lg);
}

.success-icon {
    color: var(--success-color);
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.reservation-error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.02));
    border: 2px solid var(--error-color);
    border-radius: var(--border-radius-lg);
}

/* Reservation Details Box */
.reservation-details {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.05));
    border: 2px solid var(--success-color);
}

.reservation-details div strong {
    color: var(--success-dark);
    font-weight: 700;
}

/* Mobile Responsive Premium Features */
@media (max-width: 768px) {
    .premium-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .occasion-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Chinese Symbols Premium Styling */
.chinese-symbol {
    position: absolute;
    font-size: 15rem;
    color: rgba(250, 183, 0, 0.08);
    font-weight: bold;
    z-index: 1;
    animation: symbolFloat 20s infinite ease-in-out;
}

.symbol-left {
    top: 20%;
    left: -5%;
    animation-delay: 0s;
}

.symbol-right {
    bottom: 20%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes symbolFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.08;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.12;
    }
}

/* Section Intro Premium */
.section-intro {
    position: relative;
    padding: 2rem 0 3rem;
}

.section-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold), var(--primary-color));
    border-radius: 2px;
}

.icon-accent {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Enhanced Loading States */
.form-control:disabled,
.form-select:disabled {
    background: linear-gradient(to right, #f0f0f0, #e0e0e0, #f0f0f0);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    cursor: not-allowed;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Premium Scrollbar */
.reservation-form-container::-webkit-scrollbar {
    width: 8px;
}

.reservation-form-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.reservation-form-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--gold));
    border-radius: 4px;
}

.reservation-form-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #d42e3f, #ffb700);
}
