/* Ice Caves Specialized Styles - World Class Design */

/* Navigation */
.ice-cave-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ice-cave-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: #8b5cf6;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.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: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

/* Ice Cave Hero */
.ice-cave-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%, #334155 100%);
}

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

.ice-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.8) 0%, 
        rgba(6, 182, 212, 0.7) 50%, 
        rgba(59, 130, 246, 0.6) 100%);
}

.crystal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 60px 60px;
    animation: crystalShimmer 15s linear infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    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);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3); 
    }
    50% { 
        box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5); 
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #a5b4fc, #c4b5fd);
    -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.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-highlights span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Ice Overview Section */
.ice-overview {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.key-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.fact-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.overview-visual {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.cave-diagram {
    text-align: center;
}

.diagram-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.formation-steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 0 10px 10px 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.step-text {
    font-weight: 500;
    color: var(--dark);
}

/* Cave Cards */
.caves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cave-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cave-card.featured {
    grid-column: span 2;
}

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

.cave-image {
    height: 200px;
    background: linear-gradient(135deg, #0f172a, #1e293b, #374151);
    position: relative;
    overflow: hidden;
}

.cave-card.featured .cave-image {
    height: 280px;
}

.cave-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    background: 
        radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    position: relative;
}

.cave-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: caveShimmer 5s ease-in-out infinite;
}

@keyframes caveShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.cave-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cave-content {
    padding: 2.5rem;
}

.cave-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.cave-location {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cave-details {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
    border-left: 4px solid #8b5cf6;
}

.detail {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cave-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cave-highlights span {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.safety-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Year-Round Caves */
.year-round-caves {
    padding: 6rem 0;
    background: white;
}

.permanent-cave {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

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

.cave-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.availability {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cave-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}

.tunnel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #8b5cf6;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Planning Section */
.planning-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.planning-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.planning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
}

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

.planning-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.season-info,
.clothing-list,
.photo-tips,
.safety-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.season {
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    border-left: 3px solid #8b5cf6;
}

.clothing-item,
.safety-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
}

.item-icon,
.safety-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.tip {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 10px;
    border-left: 3px solid #10b981;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b, #374151);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

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

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cave-card.featured {
        grid-column: span 1;
    }
    
    .nav-links {
        display: none;
    }
    
    .ice-cave-nav .container {
        justify-content: center;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tunnel-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cave-content,
    .permanent-cave,
    .planning-card {
        padding: 2rem;
    }
}

/* Accessibility and Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .cave-card,
    .planning-card,
    .permanent-cave {
        border: 2px solid;
    }
}