/* Aurora Hub Specialized Styles */

/* Navigation */
.aurora-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(75, 85, 99, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.aurora-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand a {
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a
.nav-links a.active {
    color: #4B5563;
    background: rgba(75, 85, 99, 0.1);
}

/* Aurora Hero */
.aurora-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #374151 70%, #4b5563 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(75, 85, 99, 0.8) 0%, 
        rgba(107, 114, 128, 0.6) 50%, 
        rgba(156, 163, 175, 0.7) 100%);
}

.aurora-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(75, 85, 99, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 20% 70%, rgba(34, 197, 94, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: auroraFlow 20s linear infinite;
}

@keyframes auroraFlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 40px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #d1d5db, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    transition: all 0.3s ease;
}

/* Removed hover effects for consistent user experience across all devices */

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    text-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.7;
    z-index: 2;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Activity Alert */
.activity-alert {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 1.5rem 0;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.alert-icon {
    font-size: 2rem;
}

.alert-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-left: auto;
}

/* Removed hover effects for consistent user experience across all devices */

/* Quick Navigation Cards */
.quick-nav {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e293b, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card.hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4b5563, #6b7280, #9ca3af);
}

/* Removed nav card hover effects for better mobile experience */

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.nav-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 10px;
}

.nav-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-status {
    background: rgba(74, 159, 231, 0.1);
    color: #4a9fe7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
}

.card-arrow {
    font-size: 1.2rem;
    color: #4b5563;
    font-weight: 600;
    transition: transform 0.3s ease;
}

/* Removed card arrow hover effects for better mobile experience */

/* Aurora Map */
.aurora-map {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

#aurora-map {
    height: 400px !important;
    width: 100% !important;
    border-radius: 12px;
    border: none;
    z-index: 1;
    position: relative;
}

#aurora-map .leaflet-container {
    border-radius: 12px;
}

/* Ensure Leaflet controls are visible */
#aurora-map .leaflet-control-zoom {
    border-radius: 8px;
}

#aurora-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.map-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: rgba(75, 85, 99, 0.4);
    clip-path: polygon(
        /* Iceland outline approximation */
        15% 25%, 25% 20%, 35% 15%, 45% 10%, 55% 15%, 65% 12%, 75% 18%,
        85% 25%, 90% 35%, 88% 45%, 85% 55%, 80% 65%, 75% 75%, 70% 82%,
        60% 85%, 50% 88%, 40% 85%, 30% 80%, 25% 75%, 20% 65%, 15% 55%,
        12% 45%, 10% 35%, 15% 25%
    );
    border: 2px solid rgba(75, 85, 99, 0.6);
}

.map-placeholder::after {
    content: 'Iceland Aurora Viewing Map';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #4b5563;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Aurora Timeline */
.aurora-timeline {
    padding: 6rem 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #22c55e, #16a34a);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item.featured::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    border: 3px solid white;
    z-index: 2;
}

.timeline-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: #22c55e;
    min-width: 80px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    flex: 1;
}

.timeline-rating {
    background: rgba(74, 159, 231, 0.1);
    color: #4a9fe7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 15px;
    width: fit-content;
}

.timeline-rating.peak {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Quick Stats */
.quick-stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 159, 231, 0.1);
}

/* Removed stat card hover effects for better mobile experience */

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.stat-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
.aurora-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Removed hover effects for consistent user experience across all devices */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .aurora-hero {
        min-height: 300px; /* Compressed height for mobile as per audit */
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .aurora-nav .container {
        justify-content: center;
    }
    
    .alert-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        gap: 1rem;
    }
    
    .timeline-date {
        min-width: 60px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Aurora Map Markers */
.aurora-marker {
    position: absolute;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.marker-label {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    border: 1px solid rgba(75, 85, 99, 0.2);
    white-space: nowrap;
}

/* Removed hover effects for consistent user experience across all devices */

.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #333;
    border: 1px solid rgba(75, 85, 99, 0.2);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.aurora-marker{
    opacity: 1;
}

.marker-icon.premium { color: #22c55e; }
.marker-icon.coastal { color: #3b82f6; }
.marker-icon.remote { color: #8b5cf6; }