/* Beer Kalush Custom Styles */
:root {
    --beer-gold: #f39c12;
    --beer-amber: #e67e22;
    --beer-brown: #8b4513;
    --beer-foam: #f8f9fa;
    --success-green: #28a745;
    --info-blue: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff8e1, #f3e5ab);
    min-height: 100vh;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar {
    background: linear-gradient(135deg, var(--beer-brown), var(--beer-amber)) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff8e1, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.welcome-text {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--beer-gold);
}

/* Bonus Card */
.bonus-card .card {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.bonus-card .card:hover {
    transform: translateY(-5px);
}

/* Quick Action Cards */
.quick-action-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-warning {
    background: linear-gradient(135deg, var(--beer-gold), var(--beer-amber));
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--beer-amber), var(--beer-brown));
    color: white;
}

/* Cards */
.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    border-bottom: none;
    font-weight: 600;
}

/* Alerts */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #343a40, #495057) !important;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 2rem;
    }
    
    .welcome-text {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .feature-item {
        margin-bottom: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Icons */
.text-beer {
    color: var(--beer-gold) !important;
}

.bg-beer {
    background-color: var(--beer-gold) !important;
}

/* Special Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Bonus Wheel Specific Styles */
.wheel-glow {
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.6);
}

/* Print Styles */
@media print {
    .navbar, footer, .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    :root {
        --beer-gold: #f1c40f;
        --beer-amber: #f39c12;
        --beer-brown: #a0522d;
    }
}

/* Menu Styles */
.menu-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.menu-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

/* Menu Item Styles */
.menu-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #e9ecef;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--beer-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-left-color: var(--beer-gold);
}

.menu-item:hover::before {
    opacity: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.item-name {
    flex: 1;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.item-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--beer-amber);
    background: linear-gradient(135deg, var(--beer-gold), var(--beer-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.item-volume {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    background: #f8f9fa;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
}

/* Category Header Styles */
.category-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 1.5rem 0 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid var(--beer-gold);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--beer-gold), var(--beer-amber));
}

.item-description {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.4;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 1rem;
}

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

/* Category Headers */
.category-header {
    background: linear-gradient(135deg, var(--beer-gold), var(--beer-amber));
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Featured items styling */
.menu-item.featured {
    border-left: 5px solid var(--beer-gold);
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.15);
    position: relative;
}

.menu-item.featured::after {
    content: '⭐';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: var(--beer-gold);
}

/* Premium items styling */
.menu-item.premium {
    border-left: 5px solid #dc3545;
    background: linear-gradient(135deg, #fff0f0 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
    position: relative;
}

.menu-item.premium::after {
    content: '👑';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
}

/* Wine item styling */
.menu-item.wine-item {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    margin-bottom: 1rem;
}

.wine-description {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    background: rgba(108, 117, 125, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #dc3545;
}

/* Wine Brand Headers */
.wine-brand-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Wine Card Title */
.wine-card-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #dc3545;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.wine-price-info {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 15px;
    border: 2px dashed #dc3545;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stats-card p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive Design for Menu */
@media (max-width: 768px) {
    .menu-container {
        padding: 1rem;
    }
    
    .menu-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .wine-card-title {
        font-size: 1.8rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-price {
        margin-top: 0.5rem;
        font-size: 1.2rem;
    }
}

/* Accessibility Improvements */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.card:focus-within {
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.25);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid #000;
    }
}

/* Category Cards */
.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--beer-gold), var(--beer-amber));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--beer-amber);
}

.beer-card .category-icon { color: #f39c12; }
.drinks-card .category-icon { color: #27ae60; }
.snacks-card .category-icon { color: #e74c3c; }
.wine-card .category-icon { color: #8b0000; }

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-range {
    font-weight: 600;
    color: var(--beer-amber);
    font-size: 1.1rem;
}

/* Telegram Section */
.telegram-section {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    margin: 0 -15px;
    padding: 0 15px;
}

.telegram-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.telegram-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0088cc, #229ED9);
}

.telegram-icon {
    font-size: 4rem;
    color: #0088cc;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.telegram-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.telegram-subtitle {
    font-size: 1.3rem;
    color: #0088cc;
    font-weight: 600;
    margin-bottom: 2rem;
}

.telegram-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

.benefit-item i {
    color: #0088cc;
    font-size: 1.2rem;
}

.telegram-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.telegram-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;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.4);
    color: white;
    text-decoration: none;
}

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

.telegram-note {
    font-size: 0.95rem;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .telegram-title {
        font-size: 1.8rem;
    }
    
    .telegram-subtitle {
        font-size: 1.1rem;
    }
    
    .telegram-benefits {
        gap: 0.75rem;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .telegram-btn {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }
}

/* Wine Section Styles */
.wine-card-title {
    font-size: 2rem;
    font-weight: 900;
    color: #8b0000;
    text-align: center;
    margin-bottom: 1rem;
}

.wine-price-info {
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.wine-brand-header {
    background: linear-gradient(135deg, #8b0000, #a0522d);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.wine-item {
    background: linear-gradient(135deg, #ffffff, #faf8f8);
    border: 2px solid #8b0000;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.wine-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
    border-color: #a0522d;
}

.wine-description {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Promo Banner Animation */
@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 71, 87, 0.8);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
        transform: scale(1);
    }
}

@keyframes sparkle {
    0% { 
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    100% { 
        opacity: 0.3;
        transform: scale(0.8) rotate(360deg);
    }
}

@keyframes mega-glow {
    0% { 
        background-position: 0% 50%;
        box-shadow: 0 0 30px rgba(255, 23, 68, 0.6), inset 0 0 20px rgba(255,255,255,0.1);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 0 50px rgba(255, 107, 53, 0.8), inset 0 0 30px rgba(255,255,255,0.2);
    }
    100% { 
        background-position: 0% 50%;
        box-shadow: 0 0 30px rgba(255, 23, 68, 0.6), inset 0 0 20px rgba(255,255,255,0.1);
    }
}

@keyframes bounce-shake {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-5px) rotate(-2deg) scale(1.05); }
    50% { transform: translateY(-8px) rotate(0deg) scale(1.1); }
    75% { transform: translateY(-3px) rotate(2deg) scale(1.05); }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 2px 2px 4px rgba(0,0,0,0.5); }
}

@keyframes price-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 235, 59, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 8px 25px rgba(255, 235, 59, 1); }
}

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

@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-15px) rotate(-180deg) scale(1.2); }
}

@keyframes float-3 {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(10px) rotate(180deg); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

.promo-banner {
    animation: rainbow 3s ease-in-out infinite;
    background-size: 400% 400%;
}

.hot-deal-banner {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .promo-banner {
        animation: none !important;
        background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    }
}
