/* Camping Theme Styles - Cozy Tent Atmosphere */

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f5ac30, #ff8509);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideDown 0.5s ease-out;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.pwa-banner-icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.pwa-banner-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.pwa-banner-text {
    flex: 1;
    color: white;
}

.pwa-banner-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.pwa-banner-desc {
    font-size: 13px;
    opacity: 0.9;
}

.pwa-install-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
}

.pwa-install-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.pwa-dismiss-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.pwa-dismiss-button:hover {
    opacity: 1;
}

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

@media (max-width: 480px) {
    .pwa-banner-content {
        padding: 10px 12px;
    }
    
    .pwa-banner-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .pwa-banner-title {
        font-size: 14px;
    }
    
    .pwa-banner-desc {
        font-size: 12px;
    }
    
    .pwa-install-button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Subtle Ambient Effects - no full background overlay */
.camping-theme-active .tent-atmosphere {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.2), rgba(30, 41, 59, 0.2));
    z-index: -2;
    pointer-events: none;
}

/* Tent Canvas Texture - applied only to specific elements */
.camping-theme-element {
    position: relative;
}

.camping-theme-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ffffff10" stroke-width="0.5"/></svg>');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Warm Lamp Glow */
.lamp-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,190,130,0.15) 0%, rgba(255,171,76,0.05) 50%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
    animation: flicker 5s infinite alternate;
    filter: blur(40px);
    transition: all 0.5s ease-in-out;
}

/* Campfire Light Effect */
.campfire {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,140,60,0.15) 0%, rgba(255,69,0,0.05) 60%, rgba(0,0,0,0) 70%);
    filter: blur(30px);
    z-index: -1;
    animation: fire-glow 3s infinite alternate;
    pointer-events: none;
}

/* Animations */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.95; }
    50% { opacity: 0.97; }
    75% { opacity: 0.92; }
}

@keyframes fire-glow {
    0% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* Custom scrollbar for a wooden feel */
.camping-theme-active::-webkit-scrollbar {
    width: 8px;
}

.camping-theme-active::-webkit-scrollbar-track {
    background: rgba(30, 40, 58, 0.8);
}

.camping-theme-active::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d2a679, #a67c52);
    border-radius: 4px;
}

/* Card enhancements for camping theme */
.camping-card-enhancement {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .lamp-glow {
        width: 300px;
        height: 300px;
        opacity: 0.7;
    }
    
    .campfire {
        width: 200px;
        height: 200px;
    }
} 