/* Custom enhancements for ICONFEST 2025 website */

/* Highlighted registration button */
.registration-button {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 8px;
    transition: background-color 0.3s ease;
}

.registration-button:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

/* Accepted Papers Section */
.accepted-papers-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.accepted-papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accepted-paper-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.accepted-paper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.paper-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.accepted-paper-card h3 {
    color: #0d2546;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.paper-title {
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 500;
}

.paper-authors {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.accepted-paper-card .btn {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accepted-paper-card .btn-secondary {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.accepted-paper-card .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: white;
}

/* Additional responsive improvements for better mobile experience */
@media (max-width: 576px) {
    /* Hero section improvements */
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .logos {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .logo-img {
        height: 25px;
    }
    
    /* Section improvements */
    .section {
        padding: 40px 0;
    }
    
    .section-heading {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    /* Tracks grid */
    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .topic-card {
        padding: 12px;
        font-size: 13px;
    }
    
    /* Speaker cards */
    .speaker-card-modern {
        padding: 20px 16px 16px 16px;
    }
    
    .speaker-name-modern {
        font-size: 1rem;
    }
    
    .speaker-affiliation-modern {
        font-size: 0.9rem;
    }
    
    /* Dates grid */
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .date-card {
        padding: 15px;
    }
    
    .date-title {
        font-size: 13px;
    }
    
    .date-value {
        font-size: 15px;
    }
    
    .date-description {
        font-size: 11px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 13px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Ensure all interactive elements are at least 44px */
    .btn, .nav-links a, .dropdown-menu a, .accepted-paper-card .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
    }
    
    /* Improve spacing for touch */
    .accepted-paper-card {
        margin-bottom: 10px;
    }
    
    .speaker-card-modern {
        margin-bottom: 15px;
    }
}

/* High DPI screen improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img, .speaker-img-modern, .media-partner-logo, .technical-partner-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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