/* Custom styles for GPUmark GitHub Pages */

/* Typography enhancements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Enhanced text effects */
.navbar-brand:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Feature text styling */
.col-md-3 h6 {
    transition: color 0.3s ease;
}

.col-md-3:hover h6 {
    color: #1e293b;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: #f1f3f4;
    transform: scale(1.01);
    transition: all 0.2s ease-in-out;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }
    
    .filter-row select {
        min-width: 100%;
    }
    
    .container {
        margin-top: 20px;
        padding: 25px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    h4 {
        font-size: 1.5rem !important;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    .container {
        padding: 20px;
        margin-top: 15px;
    }
}

/* Custom color scheme */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.95) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    color: #64748b !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e293b !important;
}

.nav-link.active {
    color: #667eea !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 1px;
}

.table th {
    border-top: 2px solid var(--primary-color);
}

/* Image Gallery Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Gallery images */
.row.g-2 img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.row.g-2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Feature icons */
.feature-icon {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.feature-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.feature-icon:hover svg {
    transform: rotate(10deg);
}

/* Feature section responsive */
@media (max-width: 768px) {
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Hero image */
.img-fluid.rounded.shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid.rounded.shadow:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

/* Image placeholder styling */
img[src*="placeholder"] {
    border: 2px dashed #dee2e6;
    background-color: #f8f9fa;
}

/* Lightbox effect for gallery images */
@media (min-width: 768px) {
    .row.g-2 img {
        cursor: zoom-in;
    }
}
