/* IMAX Theatre Database - Index Page Styles */

/* Navigation cards grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.nav-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #252545 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-top: 3px solid rgba(0, 114, 206, 0.5);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 206, 0.1) 0%, rgba(0, 136, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 114, 206, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-top-color: #0072CE;
}

.nav-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.nav-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.2);
}

.nav-card p {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.nav-card .meta {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.coming-soon {
    position: relative;
}

.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(145deg, #0072CE 0%, #0088ff 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 114, 206, 0.4);
}

/* About section */
.about-section {
    background: linear-gradient(145deg, #1a1a2e 0%, #252545 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0072CE, transparent);
    box-shadow: 0 0 10px rgba(0, 114, 206, 0.5);
}

.about-card {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-3px);
}

.about-card .icon {
    font-size: 3rem;
    margin-right: 30px;
    color: #4a9bd1;
    text-shadow: 0 0 15px rgba(0, 114, 206, 0.3);
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.2);
}

.about-content p {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-content .meta {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    opacity: 0.8;
}

/* Regions section */
.regions-section {
    background: linear-gradient(145deg, #1a1a2e 0%, #252545 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.regions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0072CE, transparent);
    box-shadow: 0 0 10px rgba(0, 114, 206, 0.5);
}

.regions-section h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.2);
}

.regions-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.region-card {
    background: linear-gradient(145deg, #2a2a3e 0%, #353555 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-width: 120px;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 114, 206, 0.1) 0%, rgba(0, 136, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

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

.region-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.region-card .flag {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 1;
}

.region-card h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.region-card .count {
    color: #4a9bd1;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Statistics overview */
.stats-overview {
    text-align: center;
    margin-top: 30px;
}

.stats-overview h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: linear-gradient(145deg, #2a2a3e 0%, #353555 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4a9bd1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.3);
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Mobile responsive styles for index page */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.8rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-card {
        padding: 25px;
    }
    
    .regions-section {
        padding: 30px 20px;
    }
    
    .about-section {
        padding: 30px 20px;
    }
    
    .about-card {
        flex-direction: column;
        text-align: center;
    }
    
    .about-card .icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .regions-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}