/* Circuits Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--orange) 0%, #d17a1f 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item span {
    color: white;
}

/* Filters Section */
.filters-section {
    background: var(--light-beige);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.filters-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filters-container label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: block;
}

.form-select {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(234, 139, 44, 0.25);
    outline: none;
}

/* Circuits Grid */
.circuits-grid {
    padding: 60px 0;
    background: white;
}

/* Circuit Cards */
.circuit-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.circuit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.circuit-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.circuit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.circuit-card:hover .circuit-image img {
    transform: scale(1.05);
}

.circuit-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.circuit-overlay .duration, .circuit-overlay .price {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.circuit-overlay .price {
    background: var(--orange);
}

.circuit-content {
    padding: 25px;
}

.circuit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.circuit-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.circuit-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--orange);
    font-weight: 600;
}

.rating i {
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #d17a1f;
    border-color: #d17a1f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 139, 44, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .filters-container {
        padding: 20px;
    }
    
    .circuit-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .filters-section {
        padding: 30px 0;
    }
}
