/* Special Event Promotion Section - Scoped to avoid conflicts */
.special-event {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7a 50%, #1e3a5f 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
    color: #ffffff; /* Ensure all text is white by default */
}

/* Ensure our styles don't affect the main events section */
.special-event * {
    color: inherit;
}

.special-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 140, 0, 0.03);
    pointer-events: none;
}

.event-content {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure this is not a grid container */
    opacity: 1; /* Ensure immediate visibility */
}

/* Centered Header Section - Completely separate from grid */
.event-header-centered {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    display: block; /* Explicitly not part of any grid */
}

.event-title {
    font-family: 'Irish Grover', cursive;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.event-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 500;
}

/* Two Column Grid - Only for the cards */
.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 0; /* Remove top margin since header has bottom margin */
}

/* Card Styles */
.event-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1; /* Ensure immediate visibility */
    position: relative;
}

/* Event Card Icons */
.event-card-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

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

.event-card h3 {
    font-family: 'Irish Grover', cursive;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Sizzle Card Specific Styles */
.sizzle-card .sizzle-content {
    text-align: center;
}

.event-prizes {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 140, 0, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    display: block;
    margin-bottom: 15px;
}

.sizzle-text {
    font-size: 1rem;
    color: #ffffff !important;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Menu Card Specific Styles */
.menu-card .menu-specials {
    text-align: center;
}

.menu-specials p {
    font-size: 1.1rem !important;
    color: #ffffff !important;
    margin-bottom: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ff8c00;
}

.menu-specials p:last-child {
    margin-bottom: 0;
}

.menu-specials strong {
    color: #ff8c00 !important;
    font-weight: 700;
    font-size: inherit !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .event-subtitle {
        font-size: 1.1rem;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-card {
        padding: 20px;
    }
    
    .event-card h3 {
        font-size: 1.4rem;
    }
    
    .menu-specials p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .special-event {
        padding: 30px 0;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-subtitle {
        font-size: 1rem;
    }
    
    .event-prizes {
        font-size: 1rem;
        padding: 10px 12px;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .event-card {
        padding: 15px;
    }
    
    .event-card h3 {
        font-size: 1.3rem;
    }
    
    .sizzle-text {
        font-size: 0.95rem;
    }
}

/* Animation for scroll-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.special-event.animate-in .event-card {
    animation: fadeInUp 0.6s ease forwards;
}

.special-event.animate-in .event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.special-event.animate-in .event-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Light Mode Accessibility Overrides */
.color-filter-light-mode .special-event {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 50%, #e6f3ff 100%) !important;
    color: #000000 !important;
}

.color-filter-light-mode .event-content {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}

.color-filter-light-mode .event-title {
    color: #1e3a5f !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.color-filter-light-mode .event-subtitle {
    color: #2c5f7a !important;
}

.color-filter-light-mode .event-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
}

.color-filter-light-mode .event-card h3 {
    color: #1e3a5f !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.color-filter-light-mode .event-prizes {
    color: #000000 !important;
    background: rgba(255, 140, 0, 0.2) !important;
    border: 1px solid rgba(255, 140, 0, 0.5) !important;
}

.color-filter-light-mode .sizzle-text {
    color: #000000 !important;
}

.color-filter-light-mode .menu-specials p {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-left: 3px solid #ff8c00 !important;
}

.color-filter-light-mode .menu-specials strong {
    color: #ff8c00 !important;
}
