/* NASO EXPO – SHABDHRANG Brand Styles */

/* Toast Notification Animations */
.notification-enter {
    animation: slideInFromTop 0.3s ease-out;
}

.notification-exit {
    animation: slideOutToTop 0.3s ease-in;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutToTop {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Custom focus states for better accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(215, 50, 67, 0.1);
}

/* Enhanced button hover effects */
.btn-primary {
    background: #d73243;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #71c6e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 50, 67, 0.3);
}

.btn-secondary {
    background: #384a75;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #71c6e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 74, 117, 0.3);
}

/* Event selection cards enhanced hover */
.event-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 198, 225, 0.2);
}

/* Form section styling */
.form-section {
    background: #f5eadd;
    border-left: 4px solid #71c6e1;
}

/* Success modal enhancements */
.success-icon {
    background: #71c6e1;
    animation: pulse 2s infinite;
}

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

/* Loading state for submit button */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification animations */
.notification-enter {
    animation: slideInRight 0.3s ease-out;
}

.notification-exit {
    animation: slideOutRight 0.3s ease-in;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

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

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

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

/* Enhanced form validation styling */
.error-message {
    color: #d73243;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
}

.error-message::before {
    content: '⚠';
    margin-right: 0.25rem;
}

/* Brand-consistent focus indicators */
.form-input:focus {
    border-color: #d73243;
    box-shadow: 0 0 0 3px rgba(215, 50, 67, 0.1);
}

/* Event checkbox styling */
.event-checkbox:checked {
    background-color: #d73243;
    border-color: #d73243;
}

.event-checkbox:checked:focus {
    box-shadow: 0 0 0 3px rgba(215, 50, 67, 0.1);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .event-card {
        padding: 1rem;
    }
}

/* Floating Header Styles */
.floating-header {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(113, 198, 225, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-header:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Logo Divider */
.logo-divider {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Logo Styles */
.logo-container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-container:hover {
    transform: scale(1.08) translateY(-2px);
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, rgba(113, 198, 225, 0.1), rgba(215, 50, 67, 0.1));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-container:hover::before {
    opacity: 1;
}

.logo-img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    height: auto;
}

.logo-img:hover {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    transform: scale(1.02);
}

/* SVG Logo specific styling */
.logo-img[src$=".svg"] {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img[src$=".svg"]:hover {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)) brightness(1.05);
    transform: scale(1.02);
}

/* Event Details Section - New Layout */
.event-info-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(113, 198, 225, 0.05), rgba(215, 50, 67, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.event-info-card:hover::before {
    opacity: 1;
}

.event-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.event-info-content {
    position: relative;
    z-index: 1;
}

.event-info-icon {
    transition: all 0.3s ease;
}

.event-info-card:hover .event-info-icon {
    transform: scale(1.05);
}

/* Important Notes Section */
.important-notes {
    background: linear-gradient(135deg, rgba(45, 47, 108, 0.05), rgba(214, 22, 47, 0.05));
    border: 1px solid rgba(45, 47, 108, 0.2);
    transition: all 0.3s ease;
}

.important-notes:hover {
    border-color: rgba(45, 47, 108, 0.4);
    box-shadow: 0 4px 15px rgba(45, 47, 108, 0.1);
}

/* Footer Enhancements */
.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #D6162F;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 6px;
}

.social-icon {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::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 ease;
}

.social-icon:hover::before {
    left: 100%;
}

/* Newsletter Signup */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(214, 22, 47, 0.3);
}

.newsletter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-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 ease;
}

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

/* Event Details Spacing */
.event-details-section {
    padding-top: 12rem; /* 48 * 0.25rem = 12rem */
}

/* Mobile Padding Optimization */
@media (max-width: 768px) {
    .event-details-section .max-w-6xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .event-details-section .bg-white\/90 {
        padding: 1.5rem;
    }
    
    .event-details-section .grid {
        gap: 1.5rem;
    }
    
    .event-details-section .event-detail-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .event-details-section .max-w-6xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .event-details-section .bg-white\/90 {
        padding: 1rem;
    }
    
    .event-details-section .grid {
        gap: 1rem;
    }
    
    .event-detail-card {
        padding: 0.75rem;
    }
    
    .event-detail-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .event-detail-icon i {
        font-size: 1rem;
    }
    
    /* Form section mobile optimization */
    .max-w-4xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .bg-white.rounded-2xl {
        padding: 1rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .grid.grid-cols-1.md\\:grid-cols-2 {
        gap: 1rem;
    }
    
    /* Footer mobile optimization */
    .bg-brand-blue .max-w-6xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .bg-brand-blue .grid {
        gap: 1.5rem;
    }
    
    .bg-brand-blue .space-y-4 {
        gap: 0.75rem;
    }
}

/* Responsive adjustments for floating header */
@media (max-width: 1024px) {
    .floating-header .flex {
        space-x: 8rem;
    }
    
    .logo-container {
        width: 8rem;
        height: 5rem;
    }
    
    .event-details-section {
        padding-top: 10rem;
    }
}

@media (max-width: 768px) {
    .floating-header {
        margin: 0.25rem;
        padding: 1rem;
    }
    
    .floating-header .flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .logo-container {
        width: 7rem;
        height: 4rem;
    }
    
    .logo-img {
        max-height: 3.5rem;
    }
    
    /* SVG logo mobile optimization */
    .logo-img[src$=".svg"] {
        max-height: 3.5rem;
        width: auto;
    }
    
    .floating-header .w-px {
        display: none;
    }
    
    .event-details-section {
        padding-top: 8rem;
    }
}

@media (max-width: 480px) {
    .floating-header {
        margin: 0.25rem;
        padding: 0.75rem;
    }
    
    .logo-container {
        width: 6rem;
        height: 3.5rem;
    }
    
    .logo-img {
        max-height: 3rem;
    }
    
    /* SVG logo small mobile optimization */
    .logo-img[src$=".svg"] {
        max-height: 3rem;
        width: auto;
    }
    
    .event-details-section {
        padding-top: 7rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .floating-header {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .form-section {
        background: white !important;
        border: 1px solid #ccc !important;
    }
    
    footer {
        display: none !important;
    }
}
